Support Board
Date/Time: Wed, 05 Mar 2025 04:31:39 +0000
setting trade window configuration when submitting an order from acsil
View Count: 1005
[2020-08-14 17:19:59] |
onnb - Posts: 662 |
When submitting an entry order from acsil, is there a way to specify a trade window configuration? For example, say I create a configuration called MyConfig.twconfig Is there a way to submit and entry order that uses MyConfig regradless of what the current trade window on the chart is set to? |
[2020-08-14 19:33:02] |
|
Not exactly. This variable is available: ACSIL Interface Members - Variables and Arrays: sc.TradeWindowConfigFileName 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 |
[2022-01-16 20:28:35] |
czapeczek - Posts: 13 |
Is there a way to just do the sc.BuyEntry() and the rest would be taken from Trade Window for Chart?
|
[2022-01-16 21:20:21] |
|
What other order parameters are you referring to you would want to come from the current Trade Window configuration?
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 |
[2022-01-16 21:44:15] |
czapeczek - Posts: 13 |
Like Quantity, Attached Orders parameters, move to breakeven, steps The usecase is possibly enrich entry strategy without big need to implement a lot and each time change these parameters in the study setting when they can be changed in trade window. It works like that for spreadsheet study and it's cool. For sc.BuyEntry, I need to define everything or I couldn't find an information about how to do it in the documentation. |
[2022-01-17 17:07:21] |
onnb - Posts: 662 |
See here, I think its what you are looking for * ACSIL to pick up attached orders from the trade window - Automated Trading Management: SupportAttachedOrdersForTrading * ACSIL to use quantity set in the trade window - sc.TradeWindowOrderQuantity (not sure if this one has any docs) |
[2022-01-17 22:01:49] |
czapeczek - Posts: 13 |
Thank you! You saved me quite some time!
|
To post a message in this thread, you need to log in with your Sierra Chart account: