Trading API Overview
The trading API provides order management, account position queries, and transaction record queries, covering Hong Kong, US, A-shares (Shanghai-Hong Kong Stock Connect / Shenzhen-Hong Kong Stock Connect), Singapore, Japan, Canada, and futures markets.
API Categories
- Account & Positions — Account funds, position list, max tradable quantity, authorized trading accounts.
- Trading — Place order, modify order, cancel order, order confirm.
- Orders — Open orders, historical orders, order details.
- Deals — Today's deals, historical deals.
Account Identifier
All trading APIs use acc_id (trading business account ID) to identify accounts. It can be obtained via the Get Authorized Trading Accounts API.
Reference
- Naming Dictionary — Enumeration reference table containing all enum definitions used by trading APIs.