removed TODO-levs about okex liquidation price

This commit is contained in:
Sam Germain
2022-01-28 22:03:16 -06:00
parent d133a7c789
commit ede9012fcc
4 changed files with 5 additions and 13 deletions

View File

@@ -27,7 +27,6 @@ class Ftx(Exchange):
_supported_trading_mode_collateral_pairs: List[Tuple[TradingMode, Collateral]] = [
# TradingMode.SPOT always supported and not required in this list
# TODO-lev: Uncomment once supported
# (TradingMode.MARGIN, Collateral.CROSS),
# (TradingMode.FUTURES, Collateral.CROSS)
]

View File

@@ -636,12 +636,6 @@ class FreqtradeBot(LoggingMixin):
maintenance_amt=maintenance_amt,
mm_ratio=mm_ratio,
taker_fee_rate=taker_fee_rate
# TODO-lev: Okex parameters
# liability: Optional[float]=None,
# interest: Optional[float]=None,
# position_assets: Optional[float]=None, # * Might be same as position
)
else:
isolated_liq = self.exchange.get_liquidation_price(pair)