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 initializeTradeClient
before calling the trade interfaces below. For an example of initialization, please see Quickstart
View Account Information
Interface | Function |
---|---|
get_managed_accounts | Listing all managed account |
get_assets | Get asset information |
get_prime_assets | Get asset information for standard/paper trading account |
get_positions | Get positions |
get_analytics_asset | Get analytics asset |
get_segment_fund_available | Get segment fund available |
transfer_segment_fund | transfer fund |
cancel_segment_fund | cancel transfer |
get_segment_fund_history | transfer history |
get_estimate_tradable_quantity | get max trading quantity |
Get Contracts
Interface | Fuction |
---|---|
get_contracts | Get multiple Contract Objects |
get_contract | Get a Contract Object |
get_derivative_contracts | Get derivative contracts |
Get Order Information
Interface | Function |
---|---|
get_order | Get order record |
get_orders | Get multiple order records |
get_open_orders | Get list of all the un-filled orders |
get_cancelled_orders | Get a list of cancelled orders |
get_filled_orders | Get a list of filled orders |
get_transactions | Get a list of filled orders(only applicable to prime account) |
Place Orders
Interface | Function |
---|---|
place_order | Place Order |
place_forex_order | Place forex Order |
Modify or Cancel Orders
Interface | Function |
---|---|
cancel_order | Cancel order |
modify_order | Modify order |