get_weight_diffs#

get_weight_diffs(existing_weights, new_weights)[source]#

Get the weight diffs.

The diffs include one entry for each token in existing or new portfolio.

Parameters
Return type

Dict[int, float]