Skip to content

bybit options websocket subscribe args mapper bug #34

@malcolm-qian

Description

@malcolm-qian

2025-07-26T05:06:20.815Z tardis-dev:machine creating new ReplaySession 2025-07-26T05:06:20.815Z tardis-dev:machine added new connection to ReplaySession, {"exchange":"bybit-options","from":"2025-07-25 02:42:00","to":"2025-07-25 02:42:20","filters":[]} 2025-07-26T05:06:20.818Z tardis-dev:machine Received subscribe websocket message: {"op": "subscribe", "args": ["orderbook.25.BTC-1AUG25-112000-P-USDT"]}, mapped filters: [ { channel: 'orderbook', symbols: [ 'BTC-1AUG25-112000-P-USDT' ] } ] 2025-07-26T05:06:22.816Z tardis-dev:machine starting ReplaySession, {"exchange":"bybit-options","from":"2025-07-25 02:42:00","to":"2025-07-25 02:42:20","filters":[{"channel":"orderbook","symbols":["BTC-1AUG25-112000-P-USDT"]}]} 2025-07-26T05:06:22.817Z tardis-dev:machine received error in ReplaySession, Error: Invalid "filters[].channel" argument: orderbook. Please provide one of the following channels: orderbook.25, orderbook.100, publicTrade, tickers. at validateReplayOptions (/usr/local/lib/node_modules/tardis-machine/node_modules/tardis-dev/dist/replay.js:233:23) at replay (/usr/local/lib/node_modules/tardis-machine/node_modules/tardis-dev/dist/replay.js:20:5) at replay.next (<anonymous>) at ReplaySession._start (/usr/local/lib/node_modules/tardis-machine/dist/ws/replay.js:79:44) at Timeout._onTimeout (/usr/local/lib/node_modules/tardis-machine/dist/ws/replay.js:49:18) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7) 2025-07-26T05:06:22.818Z tardis-dev:machine Closed websocket connection {"exchange":"bybit-options","from":"2025-07-25 02:42:00","to":"2025-07-25 02:42:20","filters":[{"channel":"orderbook","symbols":["BTC-1AUG25-112000-P-USDT"]}]}, error: Error: Invalid "filters[].channel" argument: orderbook. Please provide one of the following channels: orderbook.25, orderbook.100, publicTrade, tickers. at validateReplayOptions (/usr/local/lib/node_modules/tardis-machine/node_modules/tardis-dev/dist/replay.js:233:23) at replay (/usr/local/lib/node_modules/tardis-machine/node_modules/tardis-dev/dist/replay.js:20:5) at replay.next (<anonymous>) at ReplaySession._start (/usr/local/lib/node_modules/tardis-machine/dist/ws/replay.js:79:44) at Timeout._onTimeout (/usr/local/lib/node_modules/tardis-machine/dist/ws/replay.js:49:18) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions