Skip to main content

Trading API Overview

The Trading API lets you manage accounts, place and manage orders, and receive real-time order status updates — all programmatically. It supports US stocks, ETFs, and options, Hong Kong stocks and ETFs, and China Mainland A-shares via Stock Connect.

tip

The Webull SDK simplifies integration by handling authentication and protocol details. See SDKs and Tools for installation.

Supported Markets

MarketRegionSupported Instruments
US MarketUnited StatesStocks, ETFs, Options
HK MarketHong KongStocks, ETFs
A-Share (Stock Connect)China MainlandStock Connect eligible stocks
caution

A-Share trading is disabled by default. Contact Webull to enable Stock Connect permissions.

Feature Matrix

✓ = Supported, — = Not supported / Not applicable

FeatureUS StocksUS OptionsHK StocksA-Share
Order Types
Limit Order (LIMIT)
Market Order (MARKET)
Enhanced Limit Order (ENHANCED_LIMIT)
Stop Loss (STOP_LOSS)
Stop Loss Limit (STOP_LOSS_LIMIT)
Trailing Stop Loss (TRAILING_STOP_LOSS)
Trailing Stop Loss Limit (TRAILING_STOP_LOSS_LIMIT)
Touch Market (TOUCH_MKT)
Touch Limit (TOUCH_LMT)
At-Auction (AT_AUCTION)
At-Auction Limit (AT_AUCTION_LIMIT)
Market on Open (MARKET_ON_OPEN)
Market on Close (MARKET_ON_CLOSE)
Time in Force
Day (DAY)
Good Till Cancelled (GTC)
Good Till Date (GTD)
Trading Sessions
Regular Hours (CORE)
Extended Hours (ALL)
Night Session (NIGHT)
Overnight (ALL_DAY)
Other Features
Fractional Shares (by amount)
Short Selling
BCAN Party ID Required

HK stock orders require BCAN party identifiers (no_party_ids) for regulatory compliance.

API Reference

Account

EndpointRate LimitDescription
Account List60/60sRetrieve all accounts under your credentials
Account Balance60/60sQuery balance, buying power, and cash details
Account Positions60/60sRetrieve current holdings and positions

Orders

EndpointRate LimitDescription
Preview Order40/10sEstimate costs before placing an order
Place Order15 req/s (US), 1 req/s (HK/A-share)Submit orders
Replace Order15 req/s (US), 1 req/s (HK/A-share)Modify an existing open order
Cancel Order15 req/s (US), 1 req/s (HK/A-share)Cancel a pending or open order
Order History40/2sQuery historical order records
Open Orders40/2sRetrieve current open orders
Order Detail40/2sGet detailed info for a specific order

Real-Time Events

EndpointProtocolDescription
Trade Event SubscriptiongRPCSubscribe to live order status changes (filled, cancelled, failed, etc.)

What's Next