sorry if this may sound as a noob question, i looked at other similar threads on the forum but couldn't find a clear answer.
I'm developing a strategy and i'm trying to use the GetAccountValue(AccountItem.CashValue) method to retrieve my current balance but it always returns a 0 value.
I still don't have a data subscription so i'm using the sim101 account connected to the free end of day kinetick, i get the 0 value while backtesting or even if i apply the strategy to a daily chart (initial cash in the options is set to 100.000).
Am i maybe trying to retrieve my account balance the wrong way?
Thanks for any help.
Comment