From 77ba8bba2590a2c3cc672f7c2935a48a7d59237d Mon Sep 17 00:00:00 2001 From: carlosmiei <43336371+carlosmiei@users.noreply.github.com> Date: Sat, 29 Jul 2023 10:59:52 +0100 Subject: [PATCH] fix(bybit): update order status --- ts/src/bybit.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/src/bybit.ts b/ts/src/bybit.ts index d82f1e133649..11fad2aacf0a 100644 --- a/ts/src/bybit.ts +++ b/ts/src/bybit.ts @@ -3282,13 +3282,13 @@ export default class bybit extends Exchange { 'PENDING_CANCEL': 'open', 'PENDING_NEW': 'open', 'REJECTED': 'rejected', - 'PARTIALLY_FILLED_CANCELLED': 'canceled', + 'PARTIALLY_FILLED_CANCELLED': 'closed', // context: https://github.com/ccxt/ccxt/issues/18685 // v3 contract / unified margin / unified account 'Created': 'open', 'New': 'open', 'Rejected': 'rejected', // order is triggered but failed upon being placed 'PartiallyFilled': 'open', - 'PartiallyFilledCanceled': 'canceled', + 'PartiallyFilledCanceled': 'closed', // context: https://github.com/ccxt/ccxt/issues/18685 'Filled': 'closed', 'PendingCancel': 'open', 'Cancelled': 'canceled',