Background:
I am using managed methods in my strategy. In this specific example my entry has 10 contracts and they got filled in this sequence: 3,3,4 (total 10 filled).
OnOrderUpdate indicates quantity=10 and orderState=Working for both my profit taking and stoploss OCO, so I assume everything is ok.
However stoploss only triggered for 6 contracts. I am in the midst of scrutinizing my custom log vs NT TraceFile. I noticed my OCO filled quantity only reach 6 in the TraceFile.
Is there a reference somewhere to explain how to interpret TraceFile accurately?
Essentially I need explanation on meaning of "ProcessFillEntity", "ProcessOrderVersionEntity" and "UNEXPECTED status='200'"
TLDR: 'missing' OCO not triggering resulting in bad losses in simulation. Trying to understand NTTrace File, hope to get reference.
Thanks!

Comment