merged lev-freqtradebot with feat/short

This commit is contained in:
Sam Germain
2021-09-16 23:49:43 -06:00
3 changed files with 221 additions and 484 deletions

View File

@@ -320,6 +320,7 @@ class LocalTrade():
if self.isolated_liq:
self.set_isolated_liq(self.isolated_liq)
self.recalc_open_trade_value()
# TODO-lev: Throw exception if on margin and interest_rate is none
def _set_stop_loss(self, stop_loss: float, percent: float):
"""