get_existing_portfolio_weights# get_existing_portfolio_weights(portfolio)[source]# Calculate the existing portfolio weights. Cash is not included in the weighting. Parameters portfolio (Portfolio) – Return type Dict[int, float]