Untitled
Anonymous
plain_text
04/07/2025 7:04 PM
336 B
16
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