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, ETH, SOL) or mentions OKX markets/top-cryptocurrency price list.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/chgy123/okx-symbol-pricesWhat This Skill Does
The okx-symbol-prices skill is a specialized utility designed for the OpenClaw AI ecosystem that enables users to retrieve real-time spot market prices directly from the OKX exchange. When invoked, the skill queries the OKX API to fetch the current price for a provided list of cryptocurrency symbols. It is engineered with an intelligent preference logic, automatically selecting USDT, then USDC, and finally USD as the quote currency to ensure the most relevant price data is delivered. The tool presents these values formatted with a standard currency prefix, ensuring clarity for financial monitoring tasks. Whether you are checking a single asset or a portfolio of tokens, the skill handles the request in a single, efficient execution, returning data in the exact sequence requested by the user. It supports custom configurations such as output formatting (plain text vs. JSON) and adjustable request timeouts, making it suitable for both casual market lookups and automated integration scripts.
Installation
To integrate this skill into your OpenClaw workspace, open your terminal or command prompt and execute the following command from your workspace root directory:
clawhub install openclaw/skills/skills/chgy123/okx-symbol-prices
This command automatically pulls the necessary files from the openclaw/skills repository, managed by developer chgy123. Ensure that your Python environment is correctly configured to support the execution scripts found in the .openclaw/workspace/skills/okx-symbol-prices directory.
Use Cases
- Market Snapshot: Quickly check current prices for a basket of top assets like BTC, ETH, and SOL during a trading session.
- Portfolio Monitoring: Verify the current valuation of your crypto holdings using live exchange data.
- Data Integration: Use the
--format jsonoutput flag to feed price data into other local scripts or dashboard tools for further analysis or spreadsheet automation. - Alerting Systems: Build custom notification triggers that fire when a price hits a specific target, using this skill to perform the data retrieval.
Example Prompts
- "OpenClaw, what is the current price of BTC, ETH, and SOL on OKX?"
- "Can you check the live price list for the top cryptocurrencies: ADA, DOT, and LINK?"
- "Fetch the latest quotes for PEPE and SHIB and output the result in JSON format."
Tips & Limitations
- Timeout Handling: If you are operating on a slow network connection, use the
--timeoutflag to increase the wait time, preventing premature execution failures. - Asset Availability: If a specific symbol does not offer a spot ticker in USDT, USDC, or USD, the tool will return "N/A". Ensure that the tokens you are searching for are actively traded on the OKX spot market.
- Precision: While the tool fetches real-time data, always verify large trade orders directly on the exchange platform to account for minor latency or spread variations.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-chgy123-okx-symbol-prices": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api