I am using the Unmanaged approach but I am facing a bit of a struggle.
I am testing a strategy on historic prices (not realtime)
I am debugging with Visual studio my script
For some reason, the first call to SubmitOrderUnmanaged works.
however the second call does not (using F11 to debug).
I used CancelOrder() to cancel the first two orders and checked they were null.
When consition to submit new trades is met, the debugger does go onto the line calling for the order but does not actually do anything.
OCO string is different on every call.
Can you tell me if there is something special i should do ?
Comment