Rate Limit

About 1 min

Rate limit

In order to protect the server and prevent malicious attacks, all interfaces sending requests to the Tiger OpenAPI server will be subject to rate limits.

The interfaces in the API are divided into low-frequency interfaces and high-frequency interfaces. The low-frequency interface is limited to 10 times/min, and the high-frequency interface is 120 times/min. Requests exceeding the frequency limit will be rejected by the server. A sliding window with an arbitrary 60-second count period

The error message for triggering rate limiting is as follows:

code=4 msg=rate limit error(current limiting interface:<api method>, up to 60 times per minute)

CAUTION

If the interface request frequency is too high and continues to be requested, the account may be automatically added to the blacklist by the system, and the account added to the blacklist will not be able to continue to initiate interface calls.
2. If you need higher level rate limit, please contact us. feedback.

High frequency interface list (120 times/min)

Methods
Get order number(order_no)
Create an order (place_order)
Modify Order (modify_order)
Cancel an order (cancel_order)
Query orders (orders)
Query active orders (active_orders)
Query inactive orders (inactive_orders)
Query filled orders (filled_orders)
Timeline
Pre-market and after-hours data (hour_trading_timeline)
Real-time Quotes (quote_real_time)
Tick by Tick(trade_tick)
Options Quote Summary (option_brief)
Option tick (option_trade_tick)
Futures Tick by Tick(future_tick)
Futures real-time quotes (future_real_time_quote)
Futures Contract (future_contract_by_contract_code)
Futures Contract (future_contract_by_exchange_code)
Futures Contracts(future_continuous_contracts)
Futures Contract(future_current_contract)

Middle frequency interface list(60 times/min)

Methods
Get Option Chain(get_option_chain)
Get Option Expirations(get_option_expirations)
Get Depth Quote(quote_depth)
Get Single Contract(contract)
Get Contracts(contracts)
Get Quote Contract(quote_contract)
Get shoratable stocks(quote_shortable_stocks)
Get Stock Trade Info(quote_stock_trade)
Get Futures Trading Date(future_trading_date)
Get Account List(accounts)
Get Global Account Asset(assets)
Get Prime\Paper Account Asset(prime_assets)
Get Posionts(positions)
Get Order Transactions(order_transactions)
Get History Timeline(history_timeline)
Get Bars(get_bars)
Get Option Bars(get_option_bars)
Get Futures Bars(get_future_bars)

Low frequency interface list (10 times/min)

Methods
Market Preemption(grab_quote_permission)
Quote permission list(get_quote_permission)
Market State(market_state)
Stock Symbols(all_symbols)
Stock Symbol Names (all_symbol_names)
Stock Quotes(stock_detail)
K line(kline)
Option K-line(option_kline)
Option chain(option_chain)
Option expiration date (option_expiration)
Futures k-line (future_kline)
Futures Exchange(future_exchange)
Last update: