OKX stop should convert contracts to amount

This commit is contained in:
Matthias 2023-06-12 19:59:18 +02:00
parent 1e44cfe2fc
commit 1a4d94a6f3

View File

@ -199,6 +199,7 @@ class Okx(Exchange):
order_reg['type'] = 'stoploss'
order_reg['status_stop'] = 'triggered'
return order_reg
order = self._order_contracts_to_amount(order)
order['type'] = 'stoploss'
return order