Added leverage brackets dry run test

This commit is contained in:
Sam Germain
2021-09-17 00:41:00 -06:00
parent 798a0c9827
commit 32e52cd460
4 changed files with 1283 additions and 74 deletions

View File

@@ -33,7 +33,7 @@ class Binance(Exchange):
# TradingMode.SPOT always supported and not required in this list
# (TradingMode.MARGIN, Collateral.CROSS), # TODO-lev: Uncomment once supported
# (TradingMode.FUTURES, Collateral.CROSS), # TODO-lev: Uncomment once supported
# (TradingMode.FUTURES, Collateral.ISOLATED) # TODO-lev: Uncomment once supported
(TradingMode.FUTURES, Collateral.ISOLATED)
]
def stoploss_adjust(self, stop_loss: float, order: Dict, side: str) -> bool: