Hi Everyone
I looked through the leverage posts on the forum but cannot seem to find one where someone else has tracked previous day ending cash.
When convenient please let me know if anyone has done this?
I am using previous ending cash as my available cash balance for the next day so that my leverage is zero.
Since I go to cash at market close I tried using portfolio.portfolio_value but I think this gets updated with any new intraday fills.
Any other approaches to keeping leverage to zero are much appreciated.
Merci
Savio