Simulating a strategy I would like to calculate the risk according to a % of the account capital, but if I check the capital, it always tells me $10,000.
double cashBalance = Account.Get(AccountItem.CashValue, Currency.UsDollar);
How can I check the account capital in a simulation, updated with the operations?
Thanks
Comment