Untitled
unknown
plain_text
20 days ago
252 B
3
Indexable
cash_price = prices.loc[current_date, cash_ticker] cash_value = prev_cash_qty * cash_price momentum_value = sum( prev_portfolio[ticker] * prices.loc[current_date, ticker] for ticker in prev_portfolio ) total_aum = momentum_value + cash_value
Editor is loading...
Leave a Comment