HaschekSolutions / cryptotrader

This is an experimental trading bot framework written in PHP. It may contain bugs and should not be trusted with much money
Other
143 stars 49 forks source link

rate-limits #9

Closed phenixtai closed 3 years ago

phenixtai commented 6 years ago

[X] Error getting products [X] Error while making a call. Message: Rate limit exceeded. For rate limit information see https://docs.gdax.com/#rate-limits

Hello, again, thanks to your great work, i use your bot and it's simple and all i need, if i can help i will do it with pleasure :-)

i see this error when i run this beautiful bot :-)


the docs say :

Rate Limits When a rate limit is exceeded, a status of 429 Too Many Requests will be returned.

REST API PUBLIC ENDPOINTS We throttle public endpoints by IP: 3 requests per second, up to 6 requests per second in bursts.

PRIVATE ENDPOINTS We throttle private endpoints by user ID: 5 requests per second, up to 10 requests per second in bursts.

FINANCIAL INFORMATION EXCHANGE API The FIX API throttles each command type (eg.: NewOrderSingle, OrderCancelRequest) to 50 commands per second.

Perhaps can we set the bot to follow the numbers of request ?

phenixtai commented 3 years ago

Solved by christian