[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77X1RJR0YGWWH75R3E87W5P":3,"skill-same:01M77X1RJR0YGWWH75R3E87W5P":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M77X1RJR0YGWWH75R3E87W5P","okx-cex-market",null,"Use this skill when the user asks for: price of any asset, ticker, order book, candles, OHLCV, funding rate, open interest, OI change scanner, market screener (top movers, high-volume, newly listed), mark price, index price, recent trades, instrument list, stock tokens, metals prices (gold, XAU, XAG), commodities (oil, OIL), forex rates (EUR\u002FUSD, EURUSDT), bond instruments, non-crypto assets, or any technical indicator query (RSI, MACD, EMA, Bollinger Bands, KDJ, SuperTrend, AHR999, BTC rainbow, and 70+ more). All commands are read-only and do NOT require API credentials. Do NOT use for account balance\u002Fpositions (okx-cex-portfolio), placing\u002Fcancelling orders (okx-cex-trade), or bots (okx-cex-bot).","Jinhong270\u002FAI-Agent","Jinhong270","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F193703602?v=4","01M77SB4J7ATDYATSD7AW4B8XP","01M77SB4JWRQWNGTTR291BHMQP",3,"MIT","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fokx-cex-market\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: okx-cex-market\ndescription: \"Use this skill when the user asks for: price of any asset, ticker, order book, candles, OHLCV, funding rate, open interest, OI change scanner, market screener (top movers, high-volume, newly listed), mark price, index price, recent trades, instrument list, stock tokens, metals prices (gold, XAU, XAG), commodities (oil, OIL), forex rates (EUR\u002FUSD, EURUSDT), bond instruments, non-crypto assets, or any technical indicator query (RSI, MACD, EMA, Bollinger Bands, KDJ, SuperTrend, AHR999, BTC rainbow, and 70+ more). All commands are read-only and do NOT require API credentials. Do NOT use for account balance\u002Fpositions (okx-cex-portfolio), placing\u002Fcancelling orders (okx-cex-trade), or bots (okx-cex-bot).\"\nlicense: MIT\nmetadata:\n  author: okx\n  version: \"1.3.5\"\n  homepage: \"https:\u002F\u002Fwww.okx.com\"\n  agent:\n    requires:\n      bins: [\"okx\"]\n    install:\n      - id: npm\n        kind: node\n        package: \"@okx_ai\u002Fokx-trade-cli@1.3.3\"\n        bins: [\"okx\"]\n        label: \"Install okx CLI (npm)\"\n---\n\n# OKX CEX Market Data CLI\n\n> **Compliance notice**: This skill provides raw market data only. No strategy, recommendation, or optimization logic is embedded. All indicator outputs are objective numerical values; interpretation and trading decisions remain solely with the user.\n\nPublic market data for OKX: prices, order books, candles, funding rates, open interest, instrument info, and technical indicators. All commands are **read-only** and require **no API credentials**.\n\n**Skill routing**\n- Market data \u002F indicators → `okx-cex-market` (this skill)\n- Account balance \u002F positions → `okx-cex-portfolio`\n- Place \u002F cancel orders → `okx-cex-trade`\n- Grid \u002F DCA bots → `okx-cex-bot`\n\n## Preflight\n\nBefore running any command, follow [`..\u002F_shared\u002Fpreflight.md`](..\u002F_shared\u002Fpreflight.md).\nUse `metadata.version` from this file's frontmatter as the reference for Step 2.\n\n## Install\n\n```bash\nnpm install -g @okx_ai\u002Fokx-trade-cli\nokx market ticker BTC-USDT   # verify\n```\n\nMarket data commands return the same public data regardless of demo\u002Flive mode — no API credentials required. If the user's profile has `demo=true` set and they want live data context, they can use `--live` to confirm they are in live mode (it has no effect on public market data but clarifies environment). Always inform the user which environment is active (demo or live) when it is relevant to their query. No confirmation needed before running any market command. Add `--json` to any command for raw OKX API v5 response. Add `--env` to wrap the output as `{\"env\", \"profile\", \"data\"}`.\n\n---\n\n## Command Index\n\n| # | Command | Description |\n|---|---|---|\n| 1 | `okx market ticker \u003CinstId>` | Last price, 24h high\u002Flow\u002Fvol\u002Fchange% |\n| 2 | `okx market tickers \u003CinstType>` | All tickers for SPOT \u002F SWAP \u002F FUTURES \u002F OPTION |\n| 3 | `okx market instruments --instType \u003Ctype> [--instId \u003Cid>]` | List instruments (instId, ctVal, lotSz, minSz, tickSz, state) |\n| 4 | `okx market orderbook \u003CinstId> [--sz \u003Cn>]` | Order book asks\u002Fbids (default top 5 per side, max 400) |\n| 5 | `okx market candles \u003CinstId> [--bar \u003Cbar>] [--limit \u003Cn>] [--after \u003Cts>] [--before \u003Cts>]` | OHLCV candles (default `--bar 1m`); auto-routes to historical endpoint for data back to 2021; `--after` paginates back in time, `--before` paginates forward |\n| 6 | `okx market index-candles \u003CinstId> [--bar \u003Cbar>] [--limit \u003Cn>] [--history]` | Index OHLCV (use `BTC-USD` not `BTC-USDT`) |\n| 7 | `okx market funding-rate \u003CinstId> [--history] [--limit \u003Cn>]` | Current or historical funding rate (SWAP only) |\n| 8 | `okx market trades \u003CinstId> [--limit \u003Cn>]` | Recent public trades |\n| 9 | `okx market mark-price --instType \u003Ctype> [--instId \u003Cid>]` | Mark price (SWAP \u002F FUTURES \u002F OPTION) |\n| 10 | `okx market index-ticker [--instId \u003Cid>] [--quoteCcy \u003Cccy>]` | Index price (e.g., BTC-USD) |\n| 11 | `okx market price-limit \u003CinstId>` | Upper\u002Flower price limits (SWAP \u002F FUTURES only) |\n| 12 | `okx market open-interest --instType \u003Ctype> [--instId \u003Cid>]` | Open interest in contracts and base currency |\n| 13 | `okx market instruments-by-category --instCategory \u003C3\\|4\\|5\\|6\\|7>` | Discover instruments by asset category: 3=Stock tokens (AAPL\u002FTSLA), 4=Metals (gold\u002Fsilver), 5=Commodities (oil\u002Fgas), 6=Forex (EUR\u002FUSD), 7=Bonds |\n| 13† | `okx market stock-tokens` | **Deprecated** — use `instruments-by-category --instCategory 3` instead |\n| 14 | `okx market filter --instType \u003CSPOT\\|SWAP\\|FUTURES> [--sortBy \u003Cfield>] [--sortOrder \u003Casc\\|desc>] [--limit \u003Cn>] [--baseCcy \u003Cccy>] [--quoteCcy \u003Cccy>] [--settleCcy \u003Cccy>] [--instFamily \u003Cfam>] [--ctType \u003Clinear\\|inverse>] [--minLast \u003Cn>] [--maxLast \u003Cn>] [--minChg24hPct \u003Cn>] [--maxChg24hPct \u003Cn>] [--minMarketCapUsd \u003Cn>] [--maxMarketCapUsd \u003Cn>] [--minVolUsd24h \u003Cn>] [--maxVolUsd24h \u003Cn>] [--minFundingRate \u003Cn>] [--maxFundingRate \u003Cn>] [--minOiUsd \u003Cn>] [--maxOiUsd \u003Cn>]` | Screen \u002F rank instruments by multi-dimensional criteria (price, volume, OI, funding rate, market cap) |\n| 15 | `okx market oi-history \u003CinstId> [--bar \u003C5m\\|15m\\|1H\\|4H\\|1D>] [--limit \u003Cn>] [--ts \u003Cms>]` | OI history time series with bar-over-bar delta for a single instrument |\n| 16 | `okx market oi-change --instType \u003CSWAP\\|FUTURES> [--bar \u003C5m\\|15m\\|1H\\|4H\\|1D>] [--sortBy \u003Cfield>] [--sortOrder \u003Casc\\|desc>] [--limit \u003Cn>] [--minOiUsd \u003Cn>] [--minVolUsd24h \u003Cn>] [--minAbsOiDeltaPct \u003Cn>]` | Find instruments with largest OI changes (accumulation\u002Fdistribution scanner) |\n| 17 | `okx market indicator list` | List all supported indicator names and descriptions |\n| 18 | `okx market indicator \u003Cindicator> \u003CinstId> [--bar] [--params] [--list] [--limit] [--backtest-time]` | Technical indicator values |\n| 19 | `okx market pair-spread \u003CinstIdA> \u003CinstIdB> [--bar \u003C5m\\|15m>] [--window \u003Cwindow>] [--backtest-time \u003Cms>]` | Spread statistics (abs + ratio: mean\u002FstdDev\u002Fmedian\u002Fmin\u002Fmax) over a lookback window; supports backtest mode |\n\n---\n\n## Operation Flow\n\n### Step 1 — Identify data type and load reference\n\n| User intent | Reference to load |\n|---|---|\n| Price, candles, order book, recent trades | `{baseDir}\u002Freferences\u002Fprice-data-commands.md` |\n| Technical indicators (RSI, MACD, EMA, BB, KDJ, SuperTrend, AHR999, Rainbow, etc.) | `{baseDir}\u002Freferences\u002Findicator-commands.md` |\n| Funding rate, mark price, open interest, price limit, index ticker | `{baseDir}\u002Freferences\u002Fderivatives-commands.md` |\n| Screen \u002F rank instruments; find top movers, high-OI, high-volume contracts | Use `okx market filter` directly |\n| OI history time series for a single instrument | Use `okx market oi-history` directly |\n| OI change scanner; find contracts with large OI shifts | Use `okx market oi-change` directly |\n| Pair spread statistics; mean-reversion \u002F pairs-trade sizing | Use `okx market pair-spread` directly |\n| List instruments, discover stock tokens, metals\u002Fcommodities\u002Fforex\u002Fbonds, find option instIds | `{baseDir}\u002Freferences\u002Finstrument-commands.md` |\n| Multi-step or cross-skill workflows; MCP tool names | `{baseDir}\u002Freferences\u002Fworkflows.md` |\n\n### Step 2 — Run commands immediately\n\nAll market data commands are read-only — no confirmation needed.\n\n### Step 3 — No writes, no verification needed\n\nAll commands in this skill are read-only.\n\n---\n\n## Edge Cases\n\n- **instId format**: SPOT `BTC-USDT` · SWAP `BTC-USDT-SWAP` · FUTURES `BTC-USDT-250328` · OPTION `BTC-USD-250328-95000-C` · Index `BTC-USD` · Stock token `TSLA-USDT-SWAP` · Metals\u002FCommodities\u002FForex\u002FBonds: use `instruments-by-category` to discover valid instIds first\n- **OPTION listing**: `instruments --instType OPTION` requires `--uly BTC-USD`; if unknown, run `open-interest --instType OPTION` first to discover active instIds\n- **funding-rate \u002F price-limit**: SWAP only · mark-price: SWAP \u002F FUTURES \u002F OPTION only\n- **candles `--bar`**: uppercase — `1H` not `1h`; use `--after \u003Cts>` to paginate back into historical data (back to 2021); index-candles supports `--history` for extended history\n- **⚠️ Large historical range**: before fetching with `--after`\u002F`--before`, estimate candle count = `time_range_ms \u002F bar_interval_ms`. If estimate > 500, tell the user the estimated count and ask for confirmation before proceeding. This prevents silently filling the context window.\n- **indicator `--bar`**: uses `1Dutc` not `1D`, `1Wutc` not `1W` — different from candle bar values\n- **`market filter` sortBy values**: `last` `chg24hPct` `marketCapUsd` `volUsd24h` `fundingRate` `oiUsd` `listTime` — default `volUsd24h`\n- **`market filter` ctType**: `linear` or `inverse` (SWAP\u002FFUTURES only); omit for SPOT\n- **`market filter` quoteCcy**: comma-separated list supported, e.g. `--quoteCcy USDT,USDC`\n- **`market filter` SPOT + quoteCcy**: when `--instType SPOT`, the API returns instruments across **all** quote currencies (USDT, USDC, BTC, ETH, etc.) mixed together — this pollutes sort order and bloats results. Always pass `--quoteCcy USDT` by default unless the user explicitly asks for other quote currencies.\n- **`market filter` chg24hPct**: value is a percentage number — `--minChg24hPct -5` means -5%, `--maxChg24hPct 10` means 10%\n- **`market oi-history` ts**: Unix ms timestamp; returns bars with ts ≤ this value for historical pagination\n- **`market oi-history` \u002F `oi-change` bar**: valid values `5m` `15m` `1H` `4H` `1D` — default `1H`. Server accepts case variants (`1h` == `1H`) but prefer canonical casing.\n- **`market oi-history` limit**: 1–500 (default 50)\n- **`market oi-change` instType**: only `SWAP` or `FUTURES` supported (not SPOT)\n- **`market oi-change` minAbsOiDeltaPct**: filters by absolute OI change — `1.0` keeps only rows where |oiDeltaPct| ≥ 1%\n- **`market oi-change` sortBy values**: `oiUsd` `oiDeltaUsd` `oiDeltaPct` `absOiDeltaPct` `volUsd24h` `fundingRate` `last` — default `oiDeltaPct` (signed). Use `absOiDeltaPct` to rank by |oiDeltaPct| (largest magnitude regardless of direction).\n- **`market oi-change` limit**: 1–100 (default 20). For deeper than 100 rows, fetch `oi-history` per instId.\n- **indicator `--bar` valid values**: `3m` `5m` `15m` `1H` `4H` `12Hutc` `1Dutc` `3Dutc` `1Wutc` — `1m` is **not supported** for indicators (use `candles` for 1-minute data)\n- **indicator `--limit`**: 1–100 (only used with `returnList`, i.e. when a historical series is requested)\n- **indicator arg order**: indicator name before instId — `okx market indicator rsi BTC-USDT`\n- **indicator `--params`**: comma-separated, no spaces — `--params 5,20`\n- **BTC-only indicators**: `ahr999`, `rainbow` — BTC-USDT only\n- **Unknown indicator name**: returns a `ValidationError` with similar-name suggestions before the API is called — use `market_list_indicators` \u002F `okx market indicator list` to see all valid names\n- **Stock token hours**: US stocks trade Mon–Fri ~09:30–16:00 ET; verify live price before acting\n- **No data returned**: instrument may be delisted — verify with `okx market instruments`\n- **`boll`** is an alias for `bb`\n\n## Global Notes\n\n- No API key required for any command in this skill\n- Rate limit: 20 req \u002F 2 s per IP\n- Candle data is sorted newest-first\n- `vol24h` is in base currency (e.g., BTC for BTC-USDT)\n- `--demo`\u002F`--live` and `--profile` do not affect market data results via CLI (public endpoints); they only determine the active trading environment context\n","# OKX CEX Market Data CLI\n\n> **Compliance notice**: This skill provides raw market data only. No strategy, recommendation, or optimization logic is embedded. All indicator outputs are objective numerical values; interpretation and trading decisions remain solely with the user.\n\nPublic market data for OKX: prices, order books, candles, funding rates, open interest, instrument info, and technical indicators. All commands are **read-only** and require **no API credentials**.\n\n**Skill routing**\n- Market data \u002F indicators → `okx-cex-market` (this skill)\n- Account balance \u002F positions → `okx-cex-portfolio`\n- Place \u002F cancel orders → `okx-cex-trade`\n- Grid \u002F DCA bots → `okx-cex-bot`\n\n## Preflight\n\nBefore running any command, follow [`..\u002F_shared\u002Fpreflight.md`](..\u002F_shared\u002Fpreflight.md).\nUse `metadata.version` from this file's frontmatter as the reference for Step 2.\n\n## Install\n\n```bash\nnpm install -g @okx_ai\u002Fokx-trade-cli\nokx market ticker BTC-USDT   # verify\n```\n\nMarket data commands return the same public data regardless of demo\u002Flive mode — no API credentials required. If the user's profile has `demo=true` set and they want live data context, they can use `--live` to confirm they are in live mode (it has no effect on public market data but clarifies environment). Always inform the user which environment is active (demo or live) when it is relevant to their query. No confirmation needed before running any market command. Add `--json` to any command for raw OKX API v5 response. Add `--env` to wrap the output as `{\"env\", \"profile\", \"data\"}`.\n\n---\n\n## Command Index\n\n| # | Command | Description |\n|---|---|---|\n| 1 | `okx market ticker \u003CinstId>` | Last price, 24h high\u002Flow\u002Fvol\u002Fchange% |\n| 2 | `okx market tickers \u003CinstType>` | All tickers for SPOT \u002F SWAP \u002F FUTURES \u002F OPTION |\n| 3 | `okx market instruments --instType \u003Ctype> [--instId \u003Cid>]` | List instruments (instId, ctVal, lotSz, minSz, tickSz, state) |\n| 4 | `okx market orderbook \u003CinstId> [--sz \u003Cn>]` | Order book asks\u002Fbids (default top 5 per side, max 400) |\n| 5 | `okx market candles \u003CinstId> [--bar \u003Cbar>] [--limit \u003Cn>] [--after \u003Cts>] [--before \u003Cts>]` | OHLCV candles (default `--bar 1m`); auto-routes to historical endpoint for data back to 2021; `--after` paginates back in time, `--before` paginates forward |\n| 6 | `okx market index-candles \u003CinstId> [--bar \u003Cbar>] [--limit \u003Cn>] [--history]` | Index OHLCV (use `BTC-USD` not `BTC-USDT`) |\n| 7 | `okx market funding-rate \u003CinstId> [--history] [--limit \u003Cn>]` | Current or historical funding rate (SWAP only) |\n| 8 | `okx market trades \u003CinstId> [--limit \u003Cn>]` | Recent public trades |\n| 9 | `okx market mark-price --instType \u003Ctype> [--instId \u003Cid>]` | Mark price (SWAP \u002F FUTURES \u002F OPTION) |\n| 10 | `okx market index-ticker [--instId \u003Cid>] [--quoteCcy \u003Cccy>]` | Index price (e.g., BTC-USD) |\n| 11 | `okx market price-limit \u003CinstId>` | Upper\u002Flower price limits (SWAP \u002F FUTURES only) |\n| 12 | `okx market open-interest --instType \u003Ctype> [--instId \u003Cid>]` | Open interest in contracts and base currency |\n| 13 | `okx market instruments-by-category --instCategory \u003C3\\|4\\|5\\|6\\|7>` | Discover instruments by asset category: 3=Stock tokens (AAPL\u002FTSLA), 4=Metals (gold\u002Fsilver), 5=Commodities (oil\u002Fgas), 6=Forex (EUR\u002FUSD), 7=Bonds |\n| 13† | `okx market stock-tokens` | **Deprecated** — use `instruments-by-category --instCategory 3` instead |\n| 14 | `okx market filter --instType \u003CSPOT\\|SWAP\\|FUTURES> [--sortBy \u003Cfield>] [--sortOrder \u003Casc\\|desc>] [--limit \u003Cn>] [--baseCcy \u003Cccy>] [--quoteCcy \u003Cccy>] [--settleCcy \u003Cccy>] [--instFamily \u003Cfam>] [--ctType \u003Clinear\\|inverse>] [--minLast \u003Cn>] [--maxLast \u003Cn>] [--minChg24hPct \u003Cn>] [--maxChg24hPct \u003Cn>] [--minMarketCapUsd \u003Cn>] [--maxMarketCapUsd \u003Cn>] [--minVolUsd24h \u003Cn>] [--maxVolUsd24h \u003Cn>] [--minFundingRate \u003Cn>] [--maxFundingRate \u003Cn>] [--minOiUsd \u003Cn>] [--maxOiUsd \u003Cn>]` | Screen \u002F rank instruments by multi-dimensional criteria (price, volume, OI, funding rate, market cap) |\n| 15 | `okx market oi-history \u003CinstId> [--bar \u003C5m\\|15m\\|1H\\|4H\\|1D>] [--limit \u003Cn>] [--ts \u003Cms>]` | OI history time series with bar-over-bar delta for a single instrument |\n| 16 | `okx market oi-change --instType \u003CSWAP\\|FUTURES> [--bar \u003C5m\\|15m\\|1H\\|4H\\|1D>] [--sortBy \u003Cfield>] [--sortOrder \u003Casc\\|desc>] [--limit \u003Cn>] [--minOiUsd \u003Cn>] [--minVolUsd24h \u003Cn>] [--minAbsOiDeltaPct \u003Cn>]` | Find instruments with largest OI changes (accumulation\u002Fdistribution scanner) |\n| 17 | `okx market indicator list` | List all supported indicator names and descriptions |\n| 18 | `okx market indicator \u003Cindicator> \u003CinstId> [--bar] [--params] [--list] [--limit] [--backtest-time]` | Technical indicator values |\n| 19 | `okx market pair-spread \u003CinstIdA> \u003CinstIdB> [--bar \u003C5m\\|15m>] [--window \u003Cwindow>] [--backtest-time \u003Cms>]` | Spread statistics (abs + ratio: mean\u002FstdDev\u002Fmedian\u002Fmin\u002Fmax) over a lookback window; supports backtest mode |\n\n---\n\n## Operation Flow\n\n### Step 1 — Identify data type and load reference\n\n| User intent | Reference to load |\n|---|---|\n| Price, candles, order book, recent trades | `{baseDir}\u002Freferences\u002Fprice-data-commands.md` |\n| Technical indicators (RSI, MACD, EMA, BB, KDJ, SuperTrend, AHR999, Rainbow, etc.) | `{baseDir}\u002Freferences\u002Findicator-commands.md` |\n| Funding rate, mark price, open interest, price limit, index ticker | `{baseDir}\u002Freferences\u002Fderivatives-commands.md` |\n| Screen \u002F rank instruments; find top movers, high-OI, high-volume contracts | Use `okx market filter` directly |\n| OI history time series for a single instrument | Use `okx market oi-history` directly |\n| OI change scanner; find contracts with large OI shifts | Use `okx market oi-change` directly |\n| Pair spread statistics; mean-reversion \u002F pairs-trade sizing | Use `okx market pair-spread` directly |\n| List instruments, discover stock tokens, metals\u002Fcommodities\u002Fforex\u002Fbonds, find option instIds | `{baseDir}\u002Freferences\u002Finstrument-commands.md` |\n| Multi-step or cross-skill workflows; MCP tool names | `{baseDir}\u002Freferences\u002Fworkflows.md` |\n\n### Step 2 — Run commands immediately\n\nAll market data commands are read-only — no confirmation needed.\n\n### Step 3 — No writes, no verification needed\n\nAll commands in this skill are read-only.\n\n---\n\n## Edge Cases\n\n- **instId format**: SPOT `BTC-USDT` · SWAP `BTC-USDT-SWAP` · FUTURES `BTC-USDT-250328` · OPTION `BTC-USD-250328-95000-C` · Index `BTC-USD` · Stock token `TSLA-USDT-SWAP` · Metals\u002FCommodities\u002FForex\u002FBonds: use `instruments-by-category` to discover valid instIds first\n- **OPTION listing**: `instruments --instType OPTION` requires `--uly BTC-USD`; if unknown, run `open-interest --instType OPTION` first to discover active instIds\n- **funding-rate \u002F price-limit**: SWAP only · mark-price: SWAP \u002F FUTURES \u002F OPTION only\n- **candles `--bar`**: uppercase — `1H` not `1h`; use `--after \u003Cts>` to paginate back into historical data (back to 2021); index-candles supports `--history` for extended history\n- **⚠️ Large historical range**: before fetching with `--after`\u002F`--before`, estimate candle count = `time_range_ms \u002F bar_interval_ms`. If estimate > 500, tell the user the estimated count and ask for confirmation before proceeding. This prevents silently filling the context window.\n- **indicator `--bar`**: uses `1Dutc` not `1D`, `1Wutc` not `1W` — different from candle bar values\n- **`market filter` sortBy values**: `last` `chg24hPct` `marketCapUsd` `volUsd24h` `fundingRate` `oiUsd` `listTime` — default `volUsd24h`\n- **`market filter` ctType**: `linear` or `inverse` (SWAP\u002FFUTURES only); omit for SPOT\n- **`market filter` quoteCcy**: comma-separated list supported, e.g. `--quoteCcy USDT,USDC`\n- **`market filter` SPOT + quoteCcy**: when `--instType SPOT`, the API returns instruments across **all** quote currencies (USDT, USDC, BTC, ETH, etc.) mixed together — this pollutes sort order and bloats results. Always pass `--quoteCcy USDT` by default unless the user explicitly asks for other quote currencies.\n- **`market filter` chg24hPct**: value is a percentage number — `--minChg24hPct -5` means -5%, `--maxChg24hPct 10` means 10%\n- **`market oi-history` ts**: Unix ms timestamp; returns bars with ts ≤ this value for historical pagination\n- **`market oi-history` \u002F `oi-change` bar**: valid values `5m` `15m` `1H` `4H` `1D` — default `1H`. Server accepts case variants (`1h` == `1H`) but prefer canonical casing.\n- **`market oi-history` limit**: 1–500 (default 50)\n- **`market oi-change` instType**: only `SWAP` or `FUTURES` supported (not SPOT)\n- **`market oi-change` minAbsOiDeltaPct**: filters by absolute OI change — `1.0` keeps only rows where |oiDeltaPct| ≥ 1%\n- **`market oi-change` sortBy values**: `oiUsd` `oiDeltaUsd` `oiDeltaPct` `absOiDeltaPct` `volUsd24h` `fundingRate` `last` — default `oiDeltaPct` (signed). Use `absOiDeltaPct` to rank by |oiDeltaPct| (largest magnitude regardless of direction).\n- **`market oi-change` limit**: 1–100 (default 20). For deeper than 100 rows, fetch `oi-history` per instId.\n- **indicator `--bar` valid values**: `3m` `5m` `15m` `1H` `4H` `12Hutc` `1Dutc` `3Dutc` `1Wutc` — `1m` is **not supported** for indicators (use `candles` for 1-minute data)\n- **indicator `--limit`**: 1–100 (only used with `returnList`, i.e. when a historical series is requested)\n- **indicator arg order**: indicator name before instId — `okx market indicator rsi BTC-USDT`\n- **indicator `--params`**: comma-separated, no spaces — `--params 5,20`\n- **BTC-only indicators**: `ahr999`, `rainbow` — BTC-USDT only\n- **Unknown indicator name**: returns a `ValidationError` with similar-name suggestions before the API is called — use `market_list_indicators` \u002F `okx market indicator list` to see all valid names\n- **Stock token hours**: US stocks trade Mon–Fri ~09:30–16:00 ET; verify live price before acting\n- **No data returned**: instrument may be delisted — verify with `okx market instruments`\n- **`boll`** is an alias for `bb`\n\n## Global Notes\n\n- No API key required for any command in this skill\n- Rate limit: 20 req \u002F 2 s per IP\n- Candle data is sorted newest-first\n- `vol24h` is in base currency (e.g., BTC for BTC-USDT)\n- `--demo`\u002F`--live` and `--profile` do not affect market data results via CLI (public endpoints); they only determine the active trading environment context\n",{"name":5,"license":14,"metadata":23,"description":7},{"agent":24,"author":29,"version":35,"homepage":36},{"install":25,"requires":33},[26],{"id":27,"bins":28,"kind":30,"label":31,"package":32},"npm",[29],"okx","node","Install okx CLI (npm)","@okx_ai\u002Fokx-trade-cli@1.3.3",{"bins":34},[29],"1.3.5","https:\u002F\u002Fwww.okx.com","main","cb3f39689b7b3a95edb2753c8f3e97a313b885fc","Xiao-Q\u002Fskills\u002Fokx-cex-market",0,"https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent","https:\u002F\u002Fgithub.com\u002FJinhong270","2026-09-30 23:42:56",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add Jinhong270\u002FAI-Agent --skill okx-cex-market",{"tool":50,"command":51},"bunx","bunx skills add Jinhong270\u002FAI-Agent --skill okx-cex-market",{"tool":53,"command":54},"pnpm","pnpm dlx skills add Jinhong270\u002FAI-Agent --skill okx-cex-market","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fokx-cex-market\u002FSKILL.md",true,[58,64,68,72,76,80],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"_meta.json","REFERENCE","参考文档",133,"https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fokx-cex-market\u002F_meta.json",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fderivatives-commands.md",4640,"https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fokx-cex-market\u002Freferences\u002Fderivatives-commands.md",{"path":69,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Findicator-commands.md",8734,"https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fokx-cex-market\u002Freferences\u002Findicator-commands.md",{"path":73,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Finstrument-commands.md",4958,"https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fokx-cex-market\u002Freferences\u002Finstrument-commands.md",{"path":77,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fprice-data-commands.md",3651,"https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fokx-cex-market\u002Freferences\u002Fprice-data-commands.md",{"path":81,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fworkflows.md",5526,"https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fokx-cex-market\u002Freferences\u002Fworkflows.md",[85,92,100,107,114,121],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M77Z0W1XHJVFS4M183VZTF3Z","xlsx","Open, create, read, analyze, edit, repair, or validate spreadsheet files (.xlsx, .xlsm, .xltx, .csv, .tsv) with zero format loss, with first-class support for Chinese \u002F CJK content. Use whenever the user asks to create, build, modify, fill, analyze, read, repair, validate, or format any spreadsheet, workbook, report, dashboard, budget, financial model, pivot table, or tabular data file. Handles Chinese text, encodings (UTF-8 \u002F GB18030 \u002F GBK), full-width characters, CJK fonts in rendering, and Chinese number\u002Fdate conventions (¥, 万\u002F亿, 年\u002F月\u002F日). Covers: creating new workbooks from scratch, reading and analyzing existing files, editing existing workbooks while preserving pivot tables \u002F VBA macros \u002F charts \u002F sparklines \u002F conditional formatting \u002F named ranges, formula recalculation and validation, visual review of results, and applying professional formatting. Triggers on 'spreadsheet', 'Excel', 'workbook', '表格', '工作簿', '.xlsx', '.xlsm', '.csv', 'pivot table', '透视表', 'macro', '宏', 'chart', '图表', 'financial model', '财务模型', 'formula', '公式', or any request to produce tabular data.","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fxlsx007-skill\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":96,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":18},"01M77Z0EVYYQEYGJME2K56STBZ","xlsx-formula-master","你描述需求(人话)，它给你 Excel \u002F WPS 公式 + 解释 + 不踩坑的边界条件。\n专攻 VLOOKUP \u002F XLOOKUP \u002F INDEX-MATCH \u002F SUMIFS \u002F 数组公式 \u002F 动态数组 \u002F Power Query 等高频但易错场景。\n自动适配你的 Excel 版本（2019 \u002F 365 \u002F WPS）——版本不同公式可能不能用。\n触发：用户说 \"Excel 公式\"、\"VLOOKUP\"、\"怎么算\"、\"WPS 公式\"、\"求和怎么写\"、\"匹配数据\"、\"数据透视\"。","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fxlsx-formula-master\u002FLICENSE.md","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fxlsx-formula-master\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":18},"01M77Z05X53XF8VVQFFFZE2Z4Z","self-improving-agent","Self-improving agent system that analyzes conversation quality, identifies improvement opportunities, and continuously optimizes response strategies.","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fxiucheng-self-improving-agent\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":18},"01M77YZ7KXV2B7GDCBKE07QRWE","xiaohongshu-content-tools","小红书运营数据工具｜当提到小红书关键词搜索,小红书笔记详情及评论,小红书博主作品时使用，可实现爆款挖掘\u002F竞品分析\u002FKOL筛选\u002F趋势洞察，用数据驱动小红书流量增长，告别盲目创作","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fxiaohongshu-content-tools\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":18},"01M77YYQVPA4EWZPQ8J88BYVYA","xfg-ddd-skills","DDD 六边形架构设计与部署技能包。提供 Domain\u002FCase\u002FInfrastructure 层设计模式与代码模板，以及 Docker 环境部署脚本。当用户询问 DDD 架构、设计模式或需要部署项目时调用。","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fxfg-ddd-skills\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":125,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":18},"01M77YXP7QKKD0HX26W2V63Q9M","wordpress","WordPress.com API integration with managed OAuth. Manage posts, pages, sites, and content.\nUse this skill when users want to create, read, update, or delete WordPress.com posts, pages, or manage site content.\nFor other third party apps, use the api-gateway skill (https:\u002F\u002Fclawhub.ai\u002Fbyungkyu\u002Fapi-gateway).\nRequires network access and valid Maton API key.","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fwordpress-api\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FJinhong270\u002FAI-Agent\u002Fblob\u002Fmain\u002FXiao-Q\u002Fskills\u002Fwordpress-api\u002FSKILL.md",[],[]]