Need more than 10 orders per second?

In the API Key panel, the box "Applicable for more than 10 orders per second" must be ticked, and you must submit your exchange-approved algo IDs (one per selected exchange) to complete the update. At 10 orders per second or fewer, leave it unticked. See Create your credentials.

LimitValue
Orders per account20 per second, 200 per minute

The limit is per account, not per program. Two scripts using the same login share it, and so does a dashboard you are testing by hand. Put one rate limiter in front of everything that calls the API.

Two limits at once

Both apply per account: no more than 20 orders in any second and no more than 200 in any minute. A burst of 20 per second would use up the minute budget in 10 seconds, so plan for the minute limit too.

What exceeding it looks like

The gateway answers HTTP 429 Too Many Requests with an empty body. Wait, then retry with back-off (1 s, 2 s, 4 s). No Retry-After header is documented.

Stay well under it

  • Use the WebSocket feeds for prices and order updates instead of polling.
  • Download the symbol master once a day instead of searching for every lookup.
  • Fetch User Details once at login and keep it in memory.
  • Space orders out: a simple queue that sends at most one order every 300 ms (stays under both 20/s and 200/min).
Python
import time, threading
class OrderLimiter:
  """At most 19 orders per rolling second (limit 20/s). Also keep under 200/min."""
  def __init__(self, max_per_sec=19):
      self.max, self.times, self.lock = max_per_sec, [], threading.Lock()
  def wait(self):
      with self.lock:
          while True:
              now = time.monotonic()
              self.times = [t for t in self.times if now - t < 1.0]
              if len(self.times) < self.max:
                  self.times.append(now); return
              time.sleep(1.0 - (now - self.times[0]))
limiter = OrderLimiter()
# limiter.wait() before every order call
Esc
↑↓ navigate↵ openEsc close/ to search