CyberPunkMetalHead / gateio-crypto-trading-bot-binance-announcements-new-coins

This is a crypto trading bot that scans the Binance Annoucements page for new coins, and places trades on Gateio
MIT License
1.21k stars 303 forks source link

monitor interval #115

Open Leo-AO-99 opened 2 years ago

Leo-AO-99 commented 2 years ago

Hi! I would be very grateful if you could let me know how do you determine your monitor interval.

I requested binance annoucement every 10 seconds. It ran well in the beginning few days but it suddenly returned 429 after several days. I also tried 7s, it ran well in one hour. I am wondering how does binance set the frequency limit.

Do you use the proxy pool to solve the problem of high-frequency request? We are trying to achieve monitor interval which is less than 1 second. Thank you!

andreademasi commented 2 years ago

This might be a great improvement that could allow a faster check rate. We can use free (or premium) rotating proxies services or implement our own. For the latter, we can use this python proxy scraper to get a list of proxies every x minute and rotate them for each request. Hopefully, using a proxy won't impact too much on latency.