Login Page - Create Account

Support Board


Date/Time: Wed, 14 May 2025 21:13:16 +0000



Post From: Replay multiple charts in chartbook. Getting OrderstatusCode == SCT_OSC_UNSPECIFIED

[2017-07-12 06:19:06]
wwwingman - Posts: 185
Thank you.

FWIW : My goal is to have a behavior that is similar on live/sim/replay. By eliminating the orders automatically on tick replay it is impossible for me to know that an order was filled when using GetOrderByOrderID. I can obviously tweak (which is what I did..) to something like "if we are in replay mode and I get an error it means the order was filled" but you can see it is a bad approach. Maybe there are other ways to check my order got filled that I am not aware of... (but going to non precise replay is not an option..).

-- W.