I was able to check into this and isolate whats going on.
It has to do with increased margin requirement when you scale in and scale out.
The CashValue reported (THIS IS ONLY when NinjaTrader is calculating cash value on the simulator and maraket replay account) is simulated and weighted with margin. Therefor the margin used to execute the traade will be reflected in the CashValue. This is the reason for the different value and it is expected.
The margin used is set in the control center->options->simulator tab->Margin Per Unit. You can try setting this to 0 however ninjaTrader simulator will always use some sort of margin when trading .
The bottom line is however that Cash Value is not just a simple PnL subtraction and this is why the values do not match as they use different calculation techniques.
Again this is only on replay and simulator only and would have more use if you were trading stocks for example however still applies with futures.
-Brett

Comment