Trading APIs

Less than 1 minute

Trading APIs

Trading APIs are designed to handle any request that relates to market data. Requests are sent by a TradeClient object. TradeClient Class is the HTTP Client used for sending requests for trading. You must initialize an instance of TradeClient。See detailed examples for how to initialize

Get Account Information

APIDescrption
TigerRequest(TradeApiService.ACCOUNTS)Get Account List
TigerRequest(TradeApiService.POSITIONS)Get Positions
TigerRequest(TradeApiService.ASSETS)Get Assets
PrimeAssetRequestGet Asset Information
PrimeAnalyticsAssetRequestGet Historical Asset Analysis Data
SegmentFundAvailableRequestGet Available Fund
SegmentFundTransferRequestTransfer Fund
SegmentFundCancelRequestCancel Funds Transfer
SegmentFundHistoryRequestQuery Historical Funds Transfer
EstimateTradableQuantityRequestGet Max Tradable Quantity

Get Contract Information

APIDescription
ContractRequestGet Contract
ContractsRequestGet Contracts
QuoteContractRequestGet Contract for Options and Warrants

Get Order Information

APIDescription
TigerRequest(TradeApiService.ORDERS)Get All Orders
TigerRequest(TradeApiService.ORDER_TRANSACTIONS)Get Transaction Records
TigerRequest(TradeApiService.ACTIVE_ORDERS)Get Open Orders
TigerRequest(TradeApiService.FILLED_ORDERS)Get Filled Orders
TigerRequest(TradeApiService.INACTIVE_ORDERS)Get Canceled Orders

Place Order

APIDescription
TradeOrderRequestPlace Order

Cancel or Modify

APIDescription
TigerRequest(TradeApiService.MODIFY_ORDER)Place Order
TigerRequest(TradeApiService.CANCEL_ORDER)Cancel Order
Last update: