技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
okx-cex-market【数据与研究】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.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use the OKX CLI on Zo for read-only market data and technical indicator queries.
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.
okx market ... commandsnpm install -g @okx_ai/okx-trade-cli
okx market ticker BTC-USDT
No API credentials are required for this skill.
All commands in this skill are read-only. No confirmation is needed unless the requested historical pull is unusually large.
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
Load the matching reference file before running less-obvious commands or multi-step workflows:
references/price-data-commands.mdreferences/indicator-commands.mdreferences/derivatives-commands.mdreferences/instrument-commands.mdreferences/workflows.mdokx 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.
Run the minimal command that answers the question.
Summarize the result in chat rather than dumping raw terminal output unless the user asked for raw output.
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.
okx-cex-portfolio for account state.okx-cex-trade for execution.okx-cex-portfoliookx-cex-trade