Support Board
Date/Time: Sun, 24 Nov 2024 19:31:35 +0000
Post From: ACSIL: modify order
[2013-11-04 17:45:12] |
Sierra Chart Engineering - Posts: 104368 |
In the case of LMAX, the Internal Order ID does change when modifying a Stop order because LMAX does not support modification of stop orders. We first have to cancel the order and issue a new order. It is not possible after a modifying a Stop order through LMAX to immediately get the new internal order ID like this: int result = sc.ModifyOrder(NewOrder);
if (result>0) OrderID = NewOrder.InternalOrderID; So therefore, after the order modification is complete you would need to iterate through the orders using this function: http://www.sierrachart.com/index.php?l=doc/doc_ACSILTrading.html#GetOrderByIndex to find the particular stop order you are looking for. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2013-11-04 17:45:28
|