altangent / ccxws

WebSocket client for 38 cryptocurrency exchanges
MIT License
619 stars 186 forks source link

Coinbase Rate Limited #293

Open Albot15 opened 3 years ago

Albot15 commented 3 years ago

Hi,

I noticed coinbase not able to connect streams. So i checked its documentation and I find that they rate-limiting to 100 per second. I tested by adding manual code that limits subscription and it works perfectly.

Please check this and implement it for coinbase pro.

This is from Coinbase API documentation The websocket feed is publicly available, but connections to it are rate-limited to 1 per 4 seconds per IP, messages sent by client on each connection are rate-limited to 100 per second per IP.

Thanks