- Strategy have virtual position
- When virtual position stopped, ı see Stop label on chart.
- Then strategy turns green, and immediately submit ''live order'' for potential entry level.
It flows perfect so far. Strategy accepted ''live order'' and waitig to fill. The problems starts after that;
- When this ''Live'' order updated before the fill ( because of entry condition changed). It firsts cancelled the order.
- Then sending new updated live order.
That time, i am getting '' ...modify historical order that has transitioned to a live order'' error. And strategy disable itself.
Although message saying historical order transitioned to live order, Actually it is not the case. Order sended on Live,.This problems occur on wait on flat mode only.
If i start the strategy on green, Order update works fine no issue.
That sounds like it is not my code related issue. It seems like ''wait on flat'' condition handling process on NT system.
Comment