Trading APIs

About 1 min

List of Trading API

The Trading API allows a user to check their account status, place orders and cancel their orders. Please see below for a full list of supported actions and corresponding requests.

Attention

You need to initializeTradeClientopen in new window before calling the trade interfaces below. For an example of initialization, please see Quickstart

View Account Information

InterfaceFunction
get_managed_accountsListing all managed account
get_assetsGet asset information
get_prime_assetsGet asset information for standard/paper trading account
get_positionsGet positions
get_analytics_assetGet analytics asset
get_segment_fund_availableGet segment fund available
transfer_segment_fundtransfer fund
cancel_segment_fundcancel transfer
get_segment_fund_historytransfer history
get_estimate_tradable_quantityget max trading quantity

Get Contracts

InterfaceFuction
get_contractsGet multiple Contract Objects
get_contractGet a Contract Object
get_derivative_contractsGet derivative contracts

Get Order Information

InterfaceFunction
get_orderGet order record
get_ordersGet multiple order records
get_open_ordersGet list of all the un-filled orders
get_cancelled_ordersGet a list of cancelled orders
get_filled_ordersGet a list of filled orders
get_transactionsGet a list of filled orders(only applicable to prime account)

Place Orders

InterfaceFunction
place_orderPlace Order
place_forex_orderPlace forex Order

Modify or Cancel Orders

InterfaceFunction
cancel_orderCancel order
modify_orderModify order
Last update: