Due to the infinite variety of trading strategies, determining whether a particular strategy fits within the trading rate limits can be a complex task, so we provide the following trading rate limit calculator to assist with the rate limit calculations.
The rate limit calculator is implemented as a Google Sheet, and can be used to emulate the trading rate limits for any combination of account verification level, order fill rate, and order lifetime.
- Open the trading rate limit calculator in Chrome (or any other recent web browser)
- Make a copy of the calculator to your own Google Drive via the File -> Make a copy menu (you might need to sign in to your Google account for this step)
- Choose either the Percentage or Quantity version (via the tabs at the bottom of the sheet)
- Edit the yellow input parameters (Account type, Total number of orders, Time period, Fill rate, and Order quantity, depending upon which version of the sheet is being used)
- Review the Order events per time period and Rate limiter values to see whether the specified strategy fits within the trading rate limits or not.
Example 1 (percentage version)
In this example, the account type is a starter level account (a maximum rate limit counter of 60 with a decay rate of 1 per second) and the order activity is placing 40 orders over the course of 190 seconds.
The order fill rate is 25%, with the remaining 25% cancelled after 10 seconds, another 25% cancelled after 15 seconds, and the final 25% cancelled after 90 seconds (giving a total fill rate of 25%).
As shown by the Rate limiter value turning green, the proposed trading strategy fits within the trading rate limits.
Example 2 (quantity version)
In this example, the account type is a pro level account (a maximum rate limit counter of 180 with a decay rate of 3.75 per second) and the order activity is placing 75 orders over the course of 80 seconds.
The order fill rate is 0% (all orders are cancelled) with 25 orders being cancelled within 5 seconds, and 50 orders being cancelled between 15 and 45 seconds.
As shown by the Rate limiter value turning red, the proposed trading strategy does not fit within the trading rate limits.
Please reach out to our API support team if you need any further assistance understanding the trading rate limits.