Merge branch 'feat/short' into funding-fee

This commit is contained in:
Sam Germain
2021-09-16 23:32:44 -06:00
2 changed files with 6 additions and 0 deletions

View File

@@ -325,6 +325,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):
"""