Support Board
Date/Time: Mon, 03 Feb 2025 20:06:17 +0000
Setting Trading Account
View Count: 854
[2019-12-03 05:26:46] |
User255315 - Posts: 133 |
Hi SC, I recently ran into trouble while i was using multiple trading accounts to trade separate exchanges. The ACSIL custom trading study sent orders from a different trading account than the one registered for the specific exchange causing a temporary delay in deployment. 1) I was wondering if it'd be possible to have an ACSIL function that could set the trade account for the specific custom trading study so that the programmer can set the trading account as per the product/exchange he will deploy the study on. (I am aware of setting the trading account for the chart from the trade window but writing another line of code to set a trading account would be more thorough, but again if its an easy functionality for you to add) Thanks in Advance! |
[2019-12-03 05:31:07] |
Sierra Chart Engineering - Posts: 104368 |
Refer to: Automated Trading From an Advanced Custom Study: Submitting and Managing Orders for Different Symbol and/or Trade Account 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 |
[2019-12-03 06:33:40] |
User255315 - Posts: 133 |
Thank you, but it seems too cumbersome to change my order actions to implement this. What I was looking for is a small variable that could set the trading account for any orders generated by a particular custom trading study. ( I would include this variable set to the respective trading account, in my source code to be used for the specific product i would deploy the code on)
|
[2019-12-03 18:36:56] |
Sierra Chart Engineering - Posts: 104368 |
Refer to: ACSIL Interface Members - Variables and Arrays: sc.SelectedTradeAccount 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 |
[2019-12-05 08:11:13] |
User255315 - Posts: 133 |
What would be the syntax for passing the trade account to this variable?
|
To post a message in this thread, you need to log in with your Sierra Chart account: