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

[Feature] hard minimum when using frrasmin #636

Closed Bonez0r closed 6 years ago

Bonez0r commented 6 years ago

If i understand correctly, if i use frrasmin/frrdelta then mindailyrate is ignored. I would like to use frrdelta, but with a hard minimum, so that when the frr is ridiculously low i don't lend anything.

utdrmac commented 6 years ago

According to this line in the code, mindailyrate is always the absolute lowest the rate can be. So, if frr+yourDelta < mindailyrate, it will use mindailyrate.

Bonez0r commented 6 years ago

You're right, i just tested it. So the mindailyrate IS the hard minimum. I was thrown off by FRR as min, tells the bot whether or not to use the flash return rate instead of mindailyrate. in the config and assumed the frr+frrdelta ALWAYS replaces mindailyrate. Thanks. Issue closed.