Closed tomml closed 3 years ago
We have to discuss which is a proper amount of lending packages.
I think this is up to the user how much it shall be lend. But there could also be an option to take the entire amount on the account.
I think this is up to the user how much it shall be lend. But there could also be an option to take the entire amount on the account.
Additionally: One distinct amount should also use its own lending config parameters, like correction, default_interest, interval
you mean every distinct currency should use its own lending configuration. implementation see #8
you mean every distinct currency should use its own lending configuration. implementation see #8
Yes, also for every currency. But also for every lending trade. For instance: You have 1000 USDT and 1000ETH ( imagine thats huuge ^^) deposited to your trading account to take lending steps. But you would like to split options for your funds a little bit. Saying that you would like to take 500USDT which shall be lend for 14 days with a day rate of 0.086%. The other 500USDTs you are going to lend for 28 days with day rate of 0.09%. Similar for ETH but also in that manner of freedom choice.
For the first Step we should concentrate us on the reserved amount on the main account.
Some config ideas:
currencies = [{"USDT": {"reserved_amount": 0}}, {"ETC": {"reserved_amount": 0}}]
currencies = [("USDT", 0), ("ETC", 0)]
return json.loads(self.__config['test'].get('currencies'))
Currency Config finally set to:
currencies = [{"currency": "USDT"}]
For now the bot takes all the USDTs and lends it. We need to support the ability to keep this up to the user how much USDT should be lend.