Account myAccount = Account.All.First(t => t.Name == "Sim101");
AcctBalance = myAccount.Get(AccountItem.NetLiquidation, Currency.UsDollar);
RealizePL = myAccount.Get(AccountItem.RealizedProfitLoss, Currency.UsDollar);
However, during the back test, the account balance is constant and the realized profit/loss is zero. How to track these two numbers during the back test?
Comment