Hi, I just want to get updated (rolling) portfolio value of each security holding. Please see below backtest that I made for a simple example. I just want to see something like this:

current_spy_value : 50,000
current_iwm_value : 51,000
Total_current_value : 101,000


I tried 'HoldingsValue', where I see easily holding value of longed stock (SPY in this example), but it's hard to get holding value of shorted stock (IWM in this example). Can anyone help on this? Thanks :)