Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 18:35:33 +0000



[Programming Help] - ACSIL to flatten all accounts from a single Rithmic login ID

View Count: 631

[2023-04-18 03:26:26]
Trade Dojo - Posts: 45
I have a single Rithmic login ID with multiple sub-accounts within it. Copy trade function is enabled across all accounts.
From a leading account, for example, account-01, is active all the time on Trade Window + Chart. However, for some reason, a new position was kicked in from my phone, on account-02, which is a part of that Rithmic ID.

So from account-01 with Sierra Chart open 24/7 on my computer, is it possible for me to write ACSIL code to "see" the position on account-2 (which appears in the Trade Positions of Sierra Chart, but not available on the chart of account-01. When seeing this, I would like to call functions to flatten and cancel the position and pending orders of account-02.

I can write ACSIL, but based on my research, there's no way to do that at the moment.

Could you give me some suggestions?
[2023-04-19 03:59:47]
Sierra_Chart Engineering - Posts: 17204
Yes you can determine this account. Refer to:
Automated Trading From an Advanced Custom Study: sc.GetTradePositionForSymbolAndAccount()
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
[2023-04-19 05:56:32]
Trade Dojo - Posts: 45
Thanks. I got that.
I have another question is how can I enumerate all TradeAccount(s) of a single Rithmic login ID in case it has multiple sub-accounts associated with it?

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

Login

Login Page - Create Account