Ensuring an order is executed
1件の返信
こんにちは、マーク,
While creating and testing some EAs I noticed that some times orders are not placed because of some error maybe server-client issues etc. This can be a problem when the conditions to place the order no longer apply, especially when closing a position since it will be kept open and then it wont be closed at all until manual intervention.
How could somebody create a loop of placing a particular order until it will be fulfilled? Do you have any other suggestions?
よろしくお願いいたします。,
ベンジャミン
0
Hello Benjamin,
there already is a loop, EA tries to open the position 3 times, but if the server issue takes too long it will be not able to place the order even in this case.
You can see how it is done in sqOpenOrder() function and see the loop there.
マーク
StrategyQuantアーキテクト
0
1件の返信を表示中 - 1 - 1件目 (全1件中)