JulyIghor / QtBitcoinTrader

Secure multi crypto exchange trading client
https://sourceforge.net/projects/bitcointrader/
736 stars 374 forks source link

API refresh timeouts #106

Closed yerb closed 10 years ago

yerb commented 10 years ago

Sometimes API gets blocked for me, I spoke with some users and one mentioned that he set refresh timeouts to 1 second to avoid the Cloud Flare spam protection filter. Can you make UI setting for this, so we can try different timeout setings before we determine which one works best.

thanx

JulyIghor commented 10 years ago

Hi. Go to the %localappdata%\QtBitcoinTrader or ~/.config/QtBitcoinTrader folder. You can change requests interval and timeout by editing ini file. I'll change requests interval by default for BTC-e to 600 ms. Also I'm working to solve this problem completely, and it will use cookies in right way to prevent IP ban. And if you pick ideal requests interval, this means it will works the best for you only because your provider can give to all users same IP, and if most of them use API with same exchange, this means requests interval is ideal for your privider. But please give me interval what works best for you.

yerb commented 10 years ago

Hey,

I set my .ini to HttpRequestsInterval=800 and the API was never down since..

JulyIghor commented 10 years ago

Fixed