Skip to content

Commit 90008e3

Browse files
committed
[CCXT] fix default value in parser
1 parent 442bd1c commit 90008e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

octobot_trading/exchanges/connectors/ccxt/ccxt_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def parse_position(self, fixed, force_empty=False, **kwargs):
302302
):
303303
margin_type = enums.MarginType(margin_type)
304304
if force_empty or liquidation_price is None:
305-
liquidation_price = constants.NaN
305+
liquidation_price = constants.ZERO
306306
else:
307307
liquidation_price = decimal.Decimal(str(liquidation_price))
308308
try:

0 commit comments

Comments
 (0)