okx_symbol_prices
Fetch specified crypto spot prices from OKX and present them in USD display. Use when the user asks to get OKX prices/quotes for specific symbols (e.g. BTC,...
Latest: v1.0.0
- Initial release of okx-symbol-prices skill.
- Fetches current spot prices for specified cryptocurrencies from OKX, prioritizing USDT > USDC > USD pairs.
- Displays results in USD format with a $ sign.
- Supports specifying multiple symbols; outputs results in query order.
- Provides both plain text and optional JSON output formats.
- Reports N/A if a requested symbol lacks a supported USD-based ticker on OKX.
Full description
Fetch specified crypto spot prices from OKX and present them in USD display. Use when the user asks to get OKX prices/quotes for specific symbols (e.g. BTC, ETH, SOL) or mentions OKX markets/top-cryptocurrency price list.
OKX Symbol Prices (USD display)
What this skill does
Gets one-shot spot prices for user-specified symbols from OKX, displayed with a $ sign. For each symbol it prefers quote currency USDT > USDC > USD.
How to run (Windows / PowerShell)
From the workspace root, run:
python ".openclaw/workspace/skills/okx-symbol-prices/scripts/okx_symbol_prices.py" --symbols BTC,ETH,SOL
Optional:
- Increase timeout (seconds):
python ".openclaw/workspace/skills/okx-symbol-prices/scripts/okx_symbol_prices.py" --symbols BTC,ETH,SOL --timeout 20
- Output JSON (one object per symbol):
python ".openclaw/workspace/skills/okx-symbol-prices/scripts/okx_symbol_prices.py" --symbols BTC,ETH,SOL --format json
Output conventions
- Prints results in the same order as
--symbols. - If a symbol has no
USDT/USDC/USDspot ticker on OKX, printsN/A.
