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
AccountAccount ListHTTPQuery account list10/30s
Account BalanceHTTPQuery account balance by account id2/2s
Account PositionsHTTPQuery account position list by account id2/2s
TradingEstimate 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
Estimate 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 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
Trading Event SubscriptionTrading Event SubscriptiongRPCSubsccribe to receive live updates on order status changes\