okx-dex-ws

okx dex ws

okx 315 ↓ 6k updated 28d ago
Claude Code
View source ↗

What it does

  • --token-pair: chainIndex:tokenContractAddress (e.g. 1:0xdac17f958d2ee523a2206206994597c13d831ec7)
  • --chain-index: comma-separated chain IDs (e.g. 1,501,56)
  • --wallet-addresses: comma-separated addresses, max 200
  • --idle-timeout: auto-stop if no poll within this duration (default 30m; 1h, 2h, 300s, 0 to disable)
  • --min-quote-amount, --min-market-cap, --min-pnl
  • --trader (wallet address prefix match)
  • --tag (smartmoney or kol)

Requirements & configuration

  • | price | market | per-token | --token-pair |
  • | dex-token-candle{period} | market | per-token | --token-pair |
  • | price-info | token | per-token | --token-pair |
  • | trades | token | per-token | --token-pair |
  • | dex-market-memepump-new-token-openapi | trenches | per-chain | --chain-index |

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

okx dex ws

Source

Repository: https://github.com/okx/onchainos-skills

okx-dex-ws FAQ

What does the okx-dex-ws skill do?

Use this skill when the user mentions 'onchainos ws', 'ws start', 'ws poll', 'ws stop', 'ws channels', 'ws session', 'ws channel-info', 'idle-timeout', 'idle timeout', 'WebSocket channels', 'WS频道', or asks about managing WebSocket sessions/会话管理. Also use when writing a custom WebSocket script/脚本/bot for real-time on-chain data. Covers: onchainos ws CLI commands (start/poll/stop/list/channels/channel-info), session lifecycle, idle-timeout configuration, and all 9 DEX WebSocket channels (price, candle, trades, price-info, signals, tracker, meme scanning). --token-pair: chainIndex:tokenContractAddress (e.g. 1:0xdac17f958d2ee523a2206206994597c13d831ec7) --chain-index: comma-separated chain IDs (e.g. 1,501,56)

What does okx-dex-ws require?

| price | market | per-token | --token-pair | | dex-token-candle{period} | market | per-token | --token-pair | | price-info | token | per-token | --token-pair | | trades | token | per-token | --token-pair | | dex-market-memepump-new-token-openapi | trenches | per-chain | --chain-index |

How do I install okx-dex-ws?

Run: npx -y skills add https://github.com/okx/onchainos-skills --skill okx-dex-ws --agent claude-code — the source lives at github.com/okx/onchainos-skills.

Maintain okx-dex-ws?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

okx-dex-ws on getagentictools
[![okx-dex-ws on getagentictools](https://getagentictools.com/badge/skills/okx-onchainos-skills-okx-dex-ws.svg)](https://getagentictools.com/skills/okx-onchainos-skills-okx-dex-ws?ref=badge)
npx agentictools info skills/okx-onchainos-skills-okx-dex-ws

The second line is the CLI lookup for this page — handy in READMEs and docs.