BitBotFactory / MikaLendingBot

Automated lending on Cryptocurrency exchanges Poloniex and Bitfinex
http://poloniexlendingbot.readthedocs.io/en/latest/index.html
MIT License
1.11k stars 344 forks source link

MACD analysis stuck on ~150/270 records #635

Open d3spwn opened 6 years ago

d3spwn commented 6 years ago

I've been running the bot for close to a day now. I've set up MACD market analysis with the values suggested in the documentation. The bot seems stuck on ~150/270 records. Sometimes the number even goes down:

Note: this in on Bitfinex and I'm only analyzing BTC

Lowering data_tolerance is not an option because the minimum (10) would mean at least 180 records are needed. I can't even get to that.

BTC : Need more data for analysis, still collecting. I have 147/270 records Caught exception during MACD analysis, using percentile for now BTC : Need more data for analysis, still collecting. I have 146/270 records Caught exception during MACD analysis, using percentile for now BTC : Need more data for analysis, still collecting. I have 145/270 records Caught exception during MACD analysis, using percentile for now BTC : Need more data for analysis, still collecting. I have 144/270 records Caught exception during MACD analysis, using percentile for now

d3spwn commented 6 years ago

As it turns out, this is due to the request throttling. I changed Bitfinex.py to rotate requests though a couple different proxies. This seems like a decent workaround.

sanitariu commented 6 years ago

I have the same issue with bitfinex. How you managed to add proxies ? How can i slow MACD data collecting ?

Grzesiek83 commented 5 years ago

@d3spwn could you share your bitfinex.py? i Have the same issue right now :(

jorijn commented 5 years ago

I'm having the same issue too.

yehjames commented 5 years ago

same issue, too