Rate Limit
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 ID(create_order) |
Place Order(place_order) |
Modify Order(modify_order) |
Cancel Order(cancel_order) |
Get Orders(get_orders) |
Get Open Orders(get_open_orders) |
Get Cancelled Order(get_cancelled_orders) |
Get Filled Orders(get_filled_orders) |
Get Timeline Quote(get_timeline) |
Get Stock Briefs(get_stock_briefs) |
Get Trade Ticks(get_trade_ticks) |
Get Option Briefs(get_option_briefs) |
Get Option Trade Ticks(get_option_trade_ticks) |
Get Future Current Contract(get_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 Contract(contract) |
Get Multi Contracts(contracts) |
Get Quote Contract(quote_contract) |
Get Shortable Stocks(quote_shortable_stocks) |
Get Quote Stock Trade(quote_stock_trade) |
Get Future Trading Date(future_trading_date) |
Get Accounts(accounts) |
Get Global Account Assets(assets) |
Get Prime/Paper Account Assets(prime_assets) |
Get Postions(positions) |
Get Order Execution(Transaction)(order_transactions) |
Get Quote History Timeline(history_timeline) |
Get Bars(get_bars) |
Get Option Bars(get_option_bars) |
get Future Bars(get_future_bars) |
Low frequency interface list (10 times/min)
Methods |
---|
Grab Quote Permission(grab_quote_permission) |
Get Quote Permission(get_quote_permission) |
Get Market Status(get_market_status) |
Get Symbols(get_symbols) |
Get Symbol Names(get_symbol_names) |
Get Stock Details(get_stock_details) |
Get Future Exchanges(get_future_exchanges) |