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

If actual rate equals lending rate bot should proceed with loan? #641

Open SloRunner opened 5 years ago

SloRunner commented 5 years ago

So as you can see the actual rate is same as rate set for lending, but it won't lend at that value, i guess only one if block has to be changed?

2018-12-06 11:59:44 Not lending DOGE due to rate below 0.0020% (actual: 0.0020%)

rnevet commented 5 years ago

The check is below_min = Decimal(orders['rates'][i]) < Decimal(cur_min_daily_rate) https://github.com/BitBotFactory/MikaLendingBot/blob/c13e6b376de847060e97a86b453f9f9fca67f736/modules/Lending.py#L452

Not sure but this could be a display issue, rounding up in the log message. `