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 |
---|
TigerHttpRequest(MethodName.ORDER_NO) |
TradeOrderRequest |
TigerHttpRequest(MethodName.MODIFY_ORDER) |
TigerHttpRequest(MethodName.CANCEL_ORDER) |
TigerHttpRequest(MethodName.ORDERS) |
TigerHttpRequest(MethodName.ACTIVE_ORDERS) |
TigerHttpRequest(MethodName.INACTIVE_ORDERS) |
TigerHttpRequest(MethodName.FILLED_ORDERS) |
QuoteTimelineRequest |
QuoteRealTimeQuoteRequest |
QuoteTradeTickRequest |
OptionBriefQueryRequest |
OptionTradeTickQueryRequest |
FutureTickRequest |
FutureRealTimeQuoteRequest |
Middle frequency interface list(60 times/min)
Methods |
---|
OptionChainQueryV3Request |
OptionExpirationQueryRequest |
QuoteDepthRequest |
ContractRequest |
ContractsRequest |
QuoteContractRequest |
QuoteShortableStockRequest |
QuoteStockTradeRequest |
FutureTradingDateRequest |
TigerHttpRequest(MethodName.ACCOUNTS) |
TigerHttpRequest(MethodName.ASSETS) |
PrimeAssetRequest |
TigerHttpRequest(MethodName.POSITIONS) |
TigerHttpRequest(MethodName.ORDER_TRANSACTIONS) |
QuoteHistoryTimelineRequest |
QuoteKlineRequest |
OptionKlineQueryRequest |
FutureKlineRequest |
QuoteStockBrokerRequest |
QuoteCapitalDistributionRequest |
QuoteCapitalFlowRequest |
WarrantFilterRequest |
WarrantQuoteRequest |
Low frequency interface list (10 times/min)
Methods |
---|
TigerHttpRequest(MethodName.GRAB_QUOTE_PERMISSION |
TigerHttpRequest(MethodName.GET_QUOTE_PERMISSION) |
QuoteMarketRequest |
QuoteSymbolRequest |
QuoteSymbolNameRequest |
FutureExchangeRequest |
QuoteDelayRequest |
MarketScannerRequest |
UserLicenseRequest |
UserTokenRefreshRequest |