OKEx trading API adopts a per-request charging model, and the share is determined by the following factors: Request type: 0.0002 BTC per request for spot trading, 0.0003 BTC for perpetual contracts, and 0.0004 BTC for delivery contracts. Request frequency: The basic rate applies to less than 10 requests per second, the Tier 1 rate applies to 10-50 requests, the Tier 2 rate applies to 50-100 requests, and the Tier 3 rate applies to more than 100 requests. Other factors: Master API key requests are more expensive, batch requests are less expensive, and live data subscriptions cost extra.
OKEx Trading API Shares
OKEx Trading API adopts a flexible per-request charging model, and the sharing is determined by the following factors:
Request type
Basic rate:
API Key Type:
For example, for executing 20 spot trading requests per second, the Tier 1 rate will be applied:
Base rate: 0.0002 BTCTier 1 rate: 0.0002 BTC + (0.00005 BTC x 10)
Tier 1 Rate: 0.0007 BTC
So the fee per request is 0.0007 BTC and the total fee for 20 requests is 0.014 BTC.
Conclusion
OKEx trading API is divided into factors such as request type, request frequency, API key type and batch request. Understanding these factors is crucial to optimizing your trading costs.
The above is the detailed content of Ouyi okex trading api share. For more information, please follow other related articles on the PHP Chinese website!