Support Board
Date/Time: Sat, 31 Jan 2026 20:40:20 +0000
Post From: sc.GetTradeAccountData()
| [2026-01-31 16:20:20] |
| sirron - Posts: 1 |
|
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? |
