Add test for okx fetch_stop

This commit is contained in:
Matthias
2023-03-19 20:03:34 +01:00
parent 224f289ec8
commit a7c7f720c0
2 changed files with 54 additions and 2 deletions

View File

@@ -212,7 +212,7 @@ class Okx(Exchange):
self._log_exchange_response('fetch_stoploss_order1', order_reg)
order_reg['id_stop'] = order_reg['id']
order_reg['id'] = order_id
order_reg['type'] = 'stop'
order_reg['type'] = 'stoploss'
order_reg['status_stop'] = 'triggered'
return order_reg
order['type'] = 'stoploss'