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 OverviewProtocolDescription
AccountAccount ListHTTPQuery account list
Account BalanceHTTPQuery account balance by account id
Account PositionsHTTPQuery account position list by account id
TradingEstimate Equity OrderHTTPCalculate the estimated order amount and associated costs based on the input information. Supports basic equity orders
Place Equity OrderHTTPPlace equity orders
Modify Equity OrderHTTPModify equity orders
Cancel Equity OrderHTTPCancel the equity order according to the incoming client_order_id
Estimate Option OrderHTTPCalculate estimated amount and fees based on the input information, supporting general options orders
Place Option OrderHTTPPlace options orders
Modify Option OrderHTTPModify existing options orders
Cancel Option OrderHTTPCancel options orders using the provided client_order_id
Query Historical OrdersHTTPRetrieve historical order information, including both equities and options
Query Order DetailsHTTPRetrieve detailed information about specific orders, including both equities and options
Trading Event SubscriptionTrading Event SubscriptiongRPCSubsccribe to receive live updates on order status changes