Login Page - Create Account

Support Board


Date/Time: Thu, 19 Mar 2026 23:51:29 +0000



sc.GetTradeAccountData()

View Count: 312

[2026-01-31 16:20:20]
sirron - Posts: 3
I’ve been using sc.GetTradeAccountData to grab TradeAccountDataFields for a long time, currently using Sierra Chart v2624 and it works as expected.

After upgrading to SC v2871 it does not. m_TradeAccount appears empty, m_CurrentCashBalance and m_AvailableFundsForNewPositions appear to have infinite numbers.

I’ve tested with a minimum ACSIL study containing only the sc.GetTradeAccountData etc parts, (using remote build and compiling error free for the respective SC version) which confirms they work on v2624... but not v2871.

I’m using the same hardware running Linux Mint, with the same IB TWS (stable), same trading account and same Wine (v10). The only difference is the SC version.

Is sc.GetTradeAccountData working correctly or have I gone mad and missed something?
[2026-01-31 18:13:17]
Sierra_Chart Engineering - Posts: 23247
The first thing to do is to go to Trade >> Trade Account Monitor and see if the trade account is listed there, and the fields of data, contain data.

We know what the problem is. Refer to:
Interactive Brokers Trading Service: Account Balance Data Support (bottom of the 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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2026-01-31 18:15:19
[2026-02-08 16:58:56]
sirron - Posts: 3
Somewhat alarmed by your answer, “we know what the problem is”.

sc.GetTradeAccountData worked in at least SC 2624. Somewhere between then and now SC pulled support for IB customers.

Call me old fashioned, but I need to know how much money is available before I trade!

I could potentially get it visually from TWS. But then I have to somehow get the value into ACSIL; ultra manual and defeats the reason for using ACSIL.

Correct me if I’m wrong, but the end result is that people using IB will not be able to utilize any of the ACSIL trading functions in any sensible automated/semi-automated trading (can’t calc risk, size, etc). Such a shame, I’ve been using ACSIL trading functions with IB for years and they are superb.

I think its fair to say, you're not members of the IB fan club. I’m sure you have your reasons and I’m not questioning them. But as a paying SC customer for over 18 years I’ve witnessed SC encounter all manner of problems not of your own making, yet impressively put in the effort to resolve them, or come up with novel solutions. So I’m very surprised at you pulling support for something that’s so fundamental.

I’ve no intention of wasting both our time by banging on about this. If you have very few IB customers who use ACSIL functions to automate/semi-automate trading, then I guess it’s a sound business decision. But in an effort to persuade you to reconsider, I’ll leave you with this...

… before sc.GetTradeAccountData came along (circa 2022), we had sc.TradeServiceAvailableFundsForNewPositions. It was very simple, did as it said, and worked with IB. Sure, it didn’t have all the whizzy fields of sc.GetTradeAccountData, but most of those fields could be considered nice-to-have, whereas available funds is essential.
[2026-02-11 02:42:03]
Sierra_Chart Engineering - Posts: 23247
Thank you. We will work on adding account balance data from TWS back, give us a few days:

But as a paying SC customer for over 18 years I’ve witnessed SC encounter all manner of problems not of your own making, yet impressively put in the effort to resolve them, or come up with novel solutions. So I’m very surprised at you pulling support for something that’s so fundamental.

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
[2026-02-13 19:21:48]
Sierra_Chart Engineering - Posts: 23247
In the latest prerelease, account balance data for Interactive Brokers is supported again. Update instructions:
Software Download: Fast Update
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

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

Login

Login Page - Create Account