How can I prevent this error, "The OCO ID cannot be reused"?
I like to sim test many strategies, up to a thousand. However, I notice the more strategies I test, the more apt I'm to encounter this error of OCO ID. I can only speculate there is some sort of timing issue. When I have two different strategies creating an order at nearly the same time, the system isn't able to issue independent OCO IDs to each?
Then, this issue seems to caused a secondary error. All of my strategies set a profit/loss at 6 ticks. However, on some strategies, the profit/loss is never obeyed. The strategy never closes, even at end of trading day, when I have to close it manually.
Therefore, I can only think there's some timing conflict going on, with running so many strategies simultaniously.
Would you have any thoughts on how to correct this? Thanks,

Comment