I have some code that changes a target order.
It works fine 50% of the time ( in simulated data feed).
Then the chart freezes and I have to use Task Manager to exit and re log in - whereupon the original orders are still there.
The order is accepted and gets all the way to working in the queue so I have no idea what error is causing this - can anyone provide some insight?
Its an unmanaged strategy and I am checking that the order is != null before I submit the change.
This is the end of the log/trace file below.
As you can see it kindly informs me there is noError
2024-01-25 14:31:38:316|1|32|Order='d8c6530abbeb49d2bc90ee753 6c9b870/Sim101' Name='MyTarget' New state='Change submitted' Instrument='MES 03-24' Action='Sell' Limit price=4924.75 Stop price=0 Quantity=27 Type='Limit' Time in force=GTC Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
2024-01-25 14:31:38:425|1|32|Order='d8c6530abbeb49d2bc90ee753 6c9b870/Sim101' Name='MyTarget' New state='Accepted' Instrument='MES 03-24' Action='Sell' Limit price=4924.75 Stop price=0 Quantity=27 Type='Limit' Time in force=GTC Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
2024-01-25 14:31:38:426|1|32|Order='d8c6530abbeb49d2bc90ee753 6c9b870/Sim101' Name='MyTarget' New state='Working' Instrument='MES 03-24' Action='Sell' Limit price=4924.75 Stop price=0 Quantity=27 Type='Limit' Time in force=GTC Oco='' Filled=0 Fill price=0 Error='No error' Native error=''
Comment