Skip to main content

Introduction

The Trading API is divided into the Trade API and Data Events API, supporting trading and order status change subscriptions via HTTP and gRPC protocols. Its purpose is to provide investors with convenient, fast, and secure trading services.

To simplify the integration process, we provide SDKs for Python and JAVA. These SDKs are fully featured and enable developers to get started quickly.

Main Features:

Account Information: Query account balance and holdings information.

Trade Management: Create, modify, and cancel orders.

Subscribe to Real-Time Information: Subscribe to order status changes.

Trading API Overview

TypeFunction OverviewProtocolDescriptionThreshold
InstrumentsGet InstrumentsHTTPRetrieve a list of instruments for the given symbols10/30s
Get Futures ContractsHTTPRetrieve futures contracts for the given symbols10/30s
Get Futures Contract By CodeHTTPRetrieve a futures contract using the base code10/30s
Get Futures ProductsHTTPRetrieve the list of available futures products for a specified market. 10/30s
Get Crypto InstrumentHTTPRetrieve a list of cryptocurrency instruments for the specified symbols10/30s
AccountAccount ListHTTPQuery account list10/30s
Account BalanceHTTPQuery account balance by account id2/2s
Account PositionsHTTPQuery account position list by account id2/2s
OrdersEstimate OrdersHTTPEstimate the amount and cost for orders (supports stocks, options, futures, and crypto)150/10s
Place OrdersHTTPPlace orders (supports stocks, options, futures, and crypto)600/60s
Replace OrdersHTTPReplace existing orders (supports stocks, options, futures, and crypto)600/60s
Cancel OrderHTTPCancel ordersusing the provided client_order_id (supports stocks, options, futures, and crypto)600/60s
Equity OrderEstimate Equity OrderHTTPCalculate the estimated order amount and associated costs based on the input information. Supports basic equity orders150/10s
Place Equity OrderHTTPPlace equity orders600/60s
Replace Equity OrderHTTPModify equity orders600/60s
Cancel Equity OrderHTTPCancel the equity order according to the incoming client_order_id600/60s
Option OrderEstimate Option OrderHTTPCalculate estimated amount and fees based on the input information, supporting general options orders150/10s
Place Option OrderHTTPPlace options orders600/60s
Replace Option OrderHTTPModify existing options orders600/60s
Cancel Option OrderHTTPCancel options orders using the provided client_order_id600/60s
Query OrderQuery Historical OrdersHTTPRetrieve historical order information, including both equities and options2/2s
Query Open OrderHTTPQuery pending orders by page2/2s
Query Order DetailsHTTPRetrieve detailed information about specific orders, including both equities and options2/2s
EventTrading Event SubscriptiongRPCSubsccribe to receive live updates on order status changes\