mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
OKX stop should convert contracts to amount
This commit is contained in:
parent
1e44cfe2fc
commit
1a4d94a6f3
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user