rearanged isolated_liq in models a bit

This commit is contained in:
Sam Germain 2021-09-19 00:51:06 -06:00
parent 3709130eb7
commit d26a068adf

View File

@ -375,7 +375,14 @@ class LocalTrade():
is_short=self.is_short,
leverage=self.leverage,
trading_mode=self.trading_mode,
collateral=Collateral.ISOLATED
collateral=Collateral.ISOLATED,
mm_ex_1=0.0,
upnl_ex_1=0.0,
# TODO-lev: position=amount * current_price,
# TODO-lev: maintenance_amt,
# TODO-lev: wallet_balance,
# TODO-lev: mm_rate,
)
if isolated_liq is None:
raise OperationalException(