Support Board
Date/Time: Thu, 16 Jan 2025 04:33:27 +0000
ACSIL Detect Change in Position Quantity
View Count: 1023
[2017-10-02 04:16:05] |
knoxville1915 - Posts: 38 |
Hello, How can I detect a change in position quantity in ACSIL? I tried: if (TradeOrder.LastModifyQuantity != TradeOrder.OrderQuantity) but that doesn't seem to work. Thanks! |
[2017-10-02 16:57:01] |
Sierra Chart Engineering - Posts: 104368 |
That is not going to work. Those variables relate to the quantity during an order modification and the current order quantity. In the next release we will add s_SCPositionData::PriorPositionQuantity. 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: 2017-10-02 16:57:12
|
[2017-10-02 17:57:34] |
knoxville1915 - Posts: 38 |
Is there a work around for now? Perhaps through monitoring order fills that do not close the position?
|
[2017-10-02 19:16:27] |
Sierra Chart Engineering - Posts: 104368 |
There is no need for a workaround. This is done and will be out this evening.
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 |
To post a message in this thread, you need to log in with your Sierra Chart account: