I'm trying to access the Realized PnL in a strategy using the SIM101 account.
The realized PnL shows up in SuperDom but when I try to call it using;
GetAtmStrategyRealizedProfitLoss(atmStrategyId);
all I get is "0" in the output window. All the other AtmStrategy info like position, quantity, or price show up fine.
Does this function work in the SIM101 account? Or am I missing something?
Thanks in advance.

Comment