Skip to content

Commit

Permalink
Merge pull request #18697 from carlosmiei/bybit-order-status
Browse files Browse the repository at this point in the history
fix(bybit): update order status
  • Loading branch information
kroitor committed Jul 29, 2023
2 parents 18188bc + 77ba8bb commit df13062
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 df13062

Please sign in to comment.