Login Page - Create Account

Support Board


Date/Time: Mon, 24 Feb 2025 21:31:37 +0000



ACSIL Accessing Account of s_SCTradeOrder Object through Text Tag

View Count: 684

[2021-03-20 21:07:20]
tradefromjoe - Posts: 4
In ACSIL I would like to access the trade account for an order. I am grabbing the order using the sc.GetOrderByOrderID function, which populates the structure members of a s_SCTradeOrder object. But it appears the account is not a member. I am referencing Automated Trading From an Advanced Custom Study: s_SCTradeOrder Structure Members

Is it possible to grab the trade account for an order directly, and if not, is this a feature you would consider adding?

Alternatively, I tried to store the trade account through a Text Tag. When placing the order, I set the Text Tag equal to the trade account. But when I try to access the TextTag structure member of the s_SCTradeOrder object, I get an empty string. I'm also not seeing the Text Tag set in the Trade Orders window or in the Trade Activity Log.

Please let me know if there is anything you can do to help, or if there is any more information I can provide for you. Thank you!
Date Time Of Last Edit: 2021-03-23 17:31:23
[2021-03-23 17:54:48]
Sierra Chart Engineering - Posts: 104368
We will add the TradeAccount member to that structure. This will be out in the next release.

For information to use the Text Tag, refer to the information for this field on the Basic Trading and Trade Window documentation page.
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: 2021-03-23 17:54:58
[2021-03-24 14:47:47]
tradefromjoe - Posts: 4
Excellent, thank you so much! Approximately how long until the next release?

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account