Skip to main content
Version: v25

Broker API

info

This API is only relevant to Trading Terminal.

Broker API is a key component that enables live trading. Its main purpose is to connect our charts with your trading logic. In terms of JS, it is an object which is expected to expose the specific interface. Here is a list of API's methods that Terminal is expected to have.

The constructor of the Broker API (broker_factory) usually takes Trading Host.

Broker Configuration

The broker API can be configured with the broker_config property of the Trading Terminal Widget Constructor options.