8000 fix(bybit): ws spot orders parsing by carlosmiei · Pull Request #26291 · ccxt/ccxt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(bybit): ws spot orders parsing #26291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2025

Conversation

carlosmiei
Copy link
Collaborator

DEMO

Debugger attached.
[local]CCXT v4.4.90
bybit.watchOrders ("LTC/USDT")
[
  {
    info: {
      category: 'spot',
      symbol: 'LTCUSDT',
      orderId: '1980059958938790144',
      orderLinkId: '1980059958938790145',
      blockTradeId: '',
      side: 'Sell',
      positionIdx: 0,
      orderStatus: 'Filled',
      cancelType: 'UNKNOWN',
      rejectReason: 'EC_NoError',
      timeInForce: 'IOC',
      isLeverage: '0',
      price: '0',
      qty: '10.00000000',
      avgPrice: '85.16',
      leavesQty: '0.0128',
      leavesValue: '0.00051280',
      cumExecQty: '0.11742',
      cumExecValue: '9.99948720',
      cumExecFee: '0.000299984616',
      orderType: 'Market',
      stopOrderType: '',
      orderIv: '',
      triggerPrice: '0.000',
      takeProfit: '0.000',
      stopLoss: '0.000',
      triggerBy: '',
      tpTriggerBy: '',
      slTriggerBy: '',
      triggerDirection: 0,
      placeType: '',
      lastPriceOnCreated: '85.160',
      closeOnTrigger: false,
      reduceOnly: false,
      smpGroup: 0,
      smpType: 'None',
      smpOrderId: '',
      slLimitPrice: '0.000',
      tpLimitPrice: '0.000',
      marketUnit: 'quoteCoin',
      createdTime: '1750777540974',
      updatedTime: '1750777540981',
      feeCurrency: 'USDT',
      slippageTolerance: '',
      slippageToleranceType: 'UNKNOWN'
    },
    id: '1980059958938790144',
    clientOrderId: '1980059958938790145',
    timestamp: 1750777540974,
    datetime: '2025-06-24T15:05:40.974Z',
    lastTradeTimestamp: 1750777540981,
    lastUpdateTimestamp: 1750777540981,
    symbol: 'LTC/USDT',
    type: 'market',
    timeInForce: 'IOC',
    postOnly: false,
    reduceOnly: false,
    side: 'sell',
    price: 85.16,
    triggerPrice: undefined,
    takeProfitPrice: undefined,
    stopLossPrice: undefined,
    amount: 0.13022,
    cost: 9.9994872,
    average: 85.16,
    filled: 0.11742,
    remaining: 0.0128,
    status: 'closed',
    fee: { cost: 0.000299984616, currency: 'USDT' },
    trades: [],
    fees: [ { cost: 0.000299984616, currency: 'USDT' } ],
    stopPrice: undefined
  }
]

@carlosmiei carlosmiei self-assigned this Jun 24, 2025
@carlosmiei carlosmiei changed the title fix(binance): ws spot orders parsing fix(bybit): ws spot orders parsing Jun 24, 2025
@carlosmiei carlosmiei merged commit e2d4556 into ccxt:master Jun 24, 2025
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0