Krypto-trading-bot: Limit openorders / sec to prevent 429

Created on 25 Sep 2018  ·  5Comments  ·  Source: ctubio/Krypto-trading-bot

Hiya Carles and all,
I've been trading 3 majors on Coinbase Pro, over the last week I've thought of adding the 2 newer guys to my game. Sadly, Coinbase Pro limits requests to "5 requests per second, up to 10 requests per second in bursts", thus when I operate 5 bots at a party, soon I get "429 Too Many Requests" and the bot that gets this is thrown out of the party until I intervene.
However, the number of actual trades are much less than the number of requests K is pushing as it's constantly pushing and cancelling orders, and the pushes the same orders again. Can we limit the number of "orders" per second, much like the "trades" per second?

question

All 5 comments

morniing'''

theres the argument --lifetime=NUMBER (where NUMBER is in seconds), so orders are not canceled immediately; hope this helps reducing the rate of orders''

That helped a little Carles, thanks a lot as always 👍

tir. 25. sep. 2018 kl. 19.50 skrev nonkreon notifications@github.com:

That helped a little Carles, thanks a lot as always 👍


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ctubio/Krypto-trading-bot/issues/814#issuecomment-424438892,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ4RUdbBuYwZIZzsAAYRn0yL6ZtbnOVrks5uemzfgaJpZM4W5EMk
.

>

hanne brænna

Just to follow up if somebody else needs it: Setting a lifetime of 60 seconds allows you to trade all 5 pairs without a single disconnection in 2 days 👍

engage

Was this page helpful?
0 / 5 - 0 ratings

Related issues

IgorPcelnikov picture IgorPcelnikov  ·  4Comments

juaxix picture juaxix  ·  4Comments

CarlitoGrey picture CarlitoGrey  ·  7Comments

mattygug picture mattygug  ·  6Comments

rconnelly picture rconnelly  ·  4Comments