/
Account Balance

Account Balance

Use get_account_balance to retrieve the current account balance.

Accounts

This function only works when connected to an account.

It does not work when Trade Simulation Mode is checked.

SC’s Futures Trading Service

It does work with SC’s built in trade evaluator connections and the associated accounts.

See here for more:

Selecting the account

The account balance retrieved is the account that you see in the Trade Window that is attached to the chart

Example Code

The method has 2 parameters:

  • key - the chart from which to get the account balance

  • subscribe

Use the field account_balance to get the response

from trade29.sc.bridge import SCBridge bridge = SCBridge() bridge.get_account_balance('xx', subscribe=True) while True: ret = bridge.get_response_queue().get() print(ret.account_balance)

Related content

Concepts and Overview
Concepts and Overview
More like this
Trade Imbalance Gauge (Expanding Window)
Trade Imbalance Gauge (Expanding Window)
More like this
T29 SierraChart-Discord
T29 SierraChart-Discord
More like this
T29 SierraChart-Slack
T29 SierraChart-Slack
More like this
Dtc AddIn
Dtc AddIn
More like this
T29 AutoTrader1
T29 AutoTrader1
More like this