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 |
---|
TigerRequest(TradeApiService.ORDER_NO) |
TigerRequest(TradeApiService.PLACE_ORDER) |
TigerRequest(TradeApiService.MODIFY_ORDER) |
TigerRequest(TradeApiService.CANCEL_ORDER) |
TigerRequest(TradeApiService.ORDERS) |
TigerRequest(TradeApiService.ACTIVE_ORDERS) |
TigerRequest(TradeApiService.INACTIVE_ORDERS) |
TigerRequest(TradeApiService.FILLED_ORDERS) |
TigerRequest(QuoteApiService.TIMELINE) |
TigerRequest(QuoteApiService.QUOTE_REAL_TIME) |
TigerRequest(QuoteApiService.TRADE_TICK) |
TigerRequest(QuoteApiService.OPTION_BRIEF) |
TigerRequest(QuoteApiService.OPTION_TRADE_TICK) |
TigerRequest(QuoteApiService.FUTURE_TICK) |
TigerRequest(QuoteApiService.FUTURE_REAL_TIME_QUOTE) |
Middle frequency interface list(60 times/min)
Methods |
---|
TigerRequest(QuoteApiService.OPTION_CHAIN) |
TigerRequest(QuoteApiService.OPTION_EXPIRATION) |
TigerRequest(QuoteApiService.QuoteApiService.QUOTE_DEPTH) |
TigerRequest(TradeApiService.CONTRACT) |
TigerRequest(QuoteApiService.QUOTE_CONTRACT) |
TigerRequest(QuoteApiService.QUOTE_SHORTABLE_STOCKS) |
TigerRequest(QuoteApiService.QUOTE_STOCK_TRADE) |
TigerRequest(QuoteApiService.FUTURE_TRADING_DATE) |
TigerRequest(TradeApiService.ACCOUNTS) |
TigerRequest(TradeApiService.ASSETS) |
TigerRequest(TradeApiService.PRIME_ASSETS) |
TigerRequest(TradeApiService.POSITIONS) |
TigerRequest(TradeApiService.ORDER_TRANSACTIONS) |
TigerRequest(QuoteApiService.HISTORY_TIMELINE) |
TigerRequest(QuoteApiService.KLINE) |
TigerRequest(QuoteApiService.OPTION_KLINE) |
TigerRequest(QuoteApiService.FUTURE_KLINE) |
TigerRequest(QuoteApiService.STOCK_BROKER) |
TigerRequest(QuoteApiService.CAPITAL_DISTRIBUTION) |
TigerRequest(QuoteApiService.CAPITAL_FLOW) |
TigerRequest(QuoteApiService.WARRANT_FILTER) |
TigerRequest(QuoteApiService.WARRANT_REAL_TIME_QUOTE) |
Low frequency interface list (10 times/min)
Methods |
---|
TigerRequest(QuoteApiService.GRAB_QUOTE_PERMISSION |
TigerRequest(QuoteApiService.GET_QUOTE_PERMISSION |
TigerRequest(QuoteApiService.MARKET_STATE) |
TigerRequest(QuoteApiService.ALL_SYMBOLS) |
TigerRequest(QuoteApiService.ALL_SYMBOL_NAMES) |
TigerRequest(QuoteApiService.FUTURE_EXCHANGE) |
TigerRequest(QuoteApiService.QUOTE_DELAY) |
TigerRequest(QuoteApiService.MARKET_SCANNER) |
TigerRequest(QuoteApiService.USER_LICENSE) |
TigerRequest(QuoteApiService.USER_TOKEN_REFRESH) |