okx-dex-market

Retrieve token prices, OHLC candlesticks, and wallet PnL from Onchain OS market endpoints.

Updated May 10, 2026
One-click install
npx skills add https://github.com/Tsin418/crypto-research-agent --skill okx-dex-market-tsin418
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: okx-dex-market
Source: https://github.com/Tsin418/crypto-research-agent/tree/main/.agents/skills/okx-dex-market
Command: npx skills add https://github.com/Tsin418/crypto-research-agent --skill okx-dex-market-tsin418

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Markets, candlesticks, and wallet PnL are hard to query consistently across tokens and chains, especially when you need clear, human-readable outputs with the right command routing and payment/charging guardrails.

Core Features & Use Cases

  • Token market data: Fetch single or batch token prices (including USD values) and index/aggregate prices only when explicitly requested.
  • Candlestick (K-line) charts: Retrieve OHLCV K-line data with correct bar-size handling when the user mentions chart/candle/K线/OHLC explicitly.
  • Wallet performance & trade context: Analyze wallet portfolio PnL (overview, recent PnL, DEX history) and produce per-token PnL snapshots with supported-chain checks.

Quick Start

Use the okx-dex-market skill to get the latest price and USD value for a token by asking: "What is the current price of OKB on Ethereum?"

Frequently Asked Questions about okx-dex-market

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get on-chain token prices across multiple DEXs?

To get on-chain token prices across multiple DEXs, you can query specific tokens by name and chain to retrieve current market prices alongside their USD values. Batch token price fetching is also supported for multiple assets simultaneously.

Can I retrieve OHLC candlestick K-line data for a specific crypto token?

Yes, you can retrieve OHLC candlestick K-line data for a specific crypto token by explicitly mentioning chart, candle, K-line, or OHLC in your request. The system applies correct bar-size handling to return accurate OHLCV data.

How do I check my wallet PnL and DEX trading history?

You can check your wallet PnL and DEX trading history by requesting a portfolio overview, recent PnL analysis, or DEX trade history. The system provides per-token PnL snapshots after verifying your wallet is on a supported chain.

Does this tool support cross-exchange index pricing for crypto?

Cross-exchange index pricing for crypto is supported, but it is only retrieved when explicitly requested by the user. Standard queries return direct on-chain DEX market prices unless aggregate index pricing is specifically asked for.

What happens if I ask for crypto price predictions or market direction?

If you ask for crypto price predictions or market direction, the request is blocked by built-in safety routing rules. The system enforces these guardrails to prevent answering prediction-market up/down queries.

Do I need to specify the blockchain chain when asking for token market data?

You need to specify the blockchain chain when asking for token market data if the token exists across multiple networks. If parameters are missing, the system handles it via dependent token and chain resolution flows to find the correct data.