Type/to search
Built-in Functions
Global
Log
Market
Trade
Account
exchange.GetAccount
exchange.GetAssets
Futures
Exchange
IO
Network
Storage
Threads
TA
Talib
OS
Structures
Built-in Variables and Constants
Conventions
Exchanges

Query the funds of the account bound to an exchange object: exchange.GetAccount returns the quote and base currency balances of the current trading pair (margin and equity on futures), and exchange.GetAssets returns the assets of every currency in the account.

A failed query returns a null value. Query futures positions with exchange.GetPositions; for unified and other cross-currency margin accounts, see the exchange pages for how each exchange reports balances.

In this sectionRead the whole section

NameDescription
exchange.GetAccountRequests the exchange account information.
exchange.GetAssetsRequests the asset information of the exchange account.