In the log, I get the message "Error in realtime market data handling: System.ArgumentException: Order quantity has to be greater than 0 Parameter name: quantity at NinjaTrader.Cbi.Account.CreateOrder(Instrument instrument, . . .".
Executions, in the Control Center show correct :
Buy entry, quantity 2; position 2 L
a second Buy entry, quantity 2;position 4 L
Sell exit, quantity 2; position 2 L
Positions, in the Control Center are INCORRECT :
position 2 L
position 2 L
position 0
Chart trader shows the same incorrect positions.
I updated, so I'm now using Ver 8.0.20.1 64-bit, the problem started when I was using 8.0.19.0.
I've reset the DB, Historical orders & executions, several times . . .
This is done in an indicator, which was working fine until I guess I messed something up, any insights would be wonderful.
Thanks,
Bruce

Comment