Built-in Functions
Structures
Built-in Variables and Constants
Conventions
Exchanges
EXCHANGE
The first exchange object added in the robot or backtest configuration is exchange; exchanges is the array of all exchange objects in the order they were added, so exchanges[0] is exchange.
Market, trading, account and futures functions are member functions of an exchange object, for example exchange.GetTicker() and exchanges[1].GetAccount(), and act only on the account bound to that object.
In this sectionRead the whole section
| Name | Description |
| exchange | The first exchange object added in the strategy live trading settings and backtesting settings. |
| exchanges | An array of exchange objects that contains all the exchange objects added in the strategy's live trading settings or backtesting settings, where exchanges[0] is… |