Support Board
Date/Time: Tue, 25 Feb 2025 00:16:41 +0000
Post From: ACSIL Accessing Account of s_SCTradeOrder Object through Text Tag
[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
|