Support Board
Date/Time: Tue, 03 Dec 2024 15:46:22 +0000
Order Events?
View Count: 1599
[2013-07-05 18:12:38] |
drmrboyc - Posts: 7 |
Hi, I was wondering if there is any type of event, in ACSIL, I can tie into to catch when an order is filled. If not, is there a standard practice used in SierraChart to emulate this? Right now, the only way I can see would be to monitor the s_SCPositionData.PositionQuantity property for any changes. Thank you! Kenny Date Time Of Last Edit: 2013-07-05 18:15:21
|
[2013-07-05 19:11:00] |
Sierra Chart Engineering - Posts: 104368 |
An ACSIL study function will be called when an order fills for the symbol of the chart it is on. You can get the details of an order to see if it has been filled or partially filled. Here is the documentation: http://www.sierrachart.com/index.php?l=doc/doc_ACSILTrading.html#GettingOrderInformation 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-07-05 19:11:42
|
[2023-08-20 07:40:08] |
Trade Dojo - Posts: 45 |
So this is the only way to know the order eventa by polling call for updates. Is there a way to trigger event driven? |
[2023-08-20 21:44:40] |
Sierra_Chart Engineering - Posts: 17330 |
The study function is going to automatically be called, when there is change to an order but you do have to iterate the orders or be monitoring a particular order to know If the order has changed. Maybe we could set an ACSIL flag variable indicating an order has changed for the Symbol and Trade Account of the chart. Would that help?
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, use the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2023-08-20 21:45:17
|
[2023-08-21 03:09:36] |
Trade Dojo - Posts: 45 |
Yeah a flag definitely would help. Thanks for always listening to customers.
|
To post a message in this thread, you need to log in with your Sierra Chart account: