Trading APIs

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 initializeTradeClient before calling the trade interfaces below.

View Account Information

InterfaceFunction
get_managed_accountsLists all managed accounts
get_assetsGet asset information
get_prime_assetsGet asset information for standard/paper trading account
get_positionsGet positions
get_analytics_assetGet analytics asset
get_estimate_tradable_quantityGet estimated tradable quantity

Get Contracts

InterfaceFunction
get_contractsGet multiple Contract Objects
get_contractGet a Contract Object

Get Order Information

InterfaceFunction
get_orderGet order record
get_ordersGet multiple order records
get_active_ordersGet list of all 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

Modify or Cancel Orders

InterfaceFunction
cancel_orderCancel order
modify_orderModify order

Did this page help you?