okx-dex-ws

Stream real-time DEX data via Onchain OS WebSocket channels.

1|2|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/ranimth0707/PanicShield --skill okx-dex-ws-ranimth0707
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: okx-dex-ws
Source: https://github.com/ranimth0707/PanicShield/tree/main/.agents/skills/okx-dex-ws
Command: npx skills add https://github.com/ranimth0707/PanicShield --skill okx-dex-ws-ranimth0707

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provide reliable real-time DEX data streams via Onchain OS WebSocket channels to power monitoring and automation workflows.

Core Features & Use Cases

  • Real-time data streams across 9 channels including price, trades, candles, and signals to feed bots and dashboards.
  • Channel discovery, channel-info, and session management for start/poll/stop workflows.
  • Per-channel parameters such as --token-pair, --chain-index, and --wallet-addresses to tailor feeds to specific use cases.

Quick Start

Start a background WebSocket session for a chosen channel using the CLI and monitor events as they arrive.

Frequently Asked Questions about okx-dex-ws

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stream realtime DEX data via WebSocket for a trading bot?

To stream realtime DEX data via WebSocket, you can subscribe to specific channels like price, trades, and candles. This approach provides low-latency data feeds essential for automating trading bot workflows and monitoring dashboards.

What channels are available for monitoring onchain DEX data?

Available channels for monitoring onchain DEX data include price, trades, candles, and signals. You can use channel discovery and channel-info features to identify the specific data streams needed for your monitoring workflows.

How do I manage a WebSocket session for realtime onchain data?

You manage a WebSocket session for realtime onchain data by utilizing start, poll, and stop workflows. This session management process includes maintaining heartbeat maintenance and handling subscribe/unsubscribe protocols per channel.

Do I need HMAC authentication to subscribe to DEX WebSocket channels?

Yes, HMAC authentication is a required prerequisite to subscribe to DEX WebSocket channels. This authentication mechanism secures your session alongside channel discovery and heartbeat maintenance before streaming realtime data.

Can I filter realtime DEX data streams using specific token pairs or wallet addresses?

You can filter realtime DEX data streams by applying per-channel parameters such as token-pair, chain-index, and wallet-addresses. These parameters tailor the WebSocket feeds to match specific trading pairs and networks across multiple chains.