Zo okx cex market

From zocomputer/skills · View interactive version

Zo okx cex market is an AI agent skill from the GitHub repository zocomputer/skills. Query OKX market data on Zo, including prices, candles, order books, funding rates, open interest, instruments, and technical indicators. Use for read-only market questions and never for account or trading actions.

How to use this skill

Skill file

OKX Market Data

Use the OKX CLI on Zo for read-only market data and technical indicator queries.

Preflight

Before running any OKX command in this session, follow ../_shared/preflight.md.

Use metadata.version from this file as the comparison version for drift checks.

What Zo Uses

Prerequisites

npm install -g @okx_ai/okx-trade-cli
okx market ticker BTC-USDT

No API credentials are required for this skill.

Read-Only Rule

All commands in this skill are read-only. No confirmation is needed unless the requested historical pull is unusually large.

Common Commands

okx market ticker BTC-USDT
okx market orderbook BTC-USDT --sz 20
okx market candles BTC-USDT --bar 1H --limit 100
okx market funding-rate BTC-USDT-SWAP
okx market open-interest --instType SWAP --instId BTC-USDT-SWAP
okx market instruments --instType SPOT

Reference Files

Load the matching reference file before running less-obvious commands or multi-step workflows:

Workflow

  1. Identify whether the user wants:
  1. If the user wants indicators, verify the subcommand exists before using any indicator reference:
okx market --help

Only continue with indicator commands if indicator appears in the available market subcommands. If it does not, stop and tell the user that this installed OKX CLI build does not expose indicator commands yet.

  1. Run the minimal command that answers the question.
  1. Summarize the result in chat rather than dumping raw terminal output unless the user asked for raw output.

Historical Pull Guardrail

Before large candle pulls with pagination or broad ranges, estimate the number of candles. If the request will produce more than roughly 500 rows, tell the user the estimate and ask before continuing.

Failure Handling

Safety Notes

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.