Skip to content

Commit

Permalink
fix(bybit): update order status
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmiei committed Jul 29, 2023
1 parent 18188bc commit 77ba8bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ts/src/bybit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 77ba8bb

Please sign in to comment.