okx-market

Fetch public OKX market data for tickers, candles, funding rates, and open interest.

6.1k|1.2k|Updated Jun 9, 2022
One-click install
npx skills add https://github.com/charliedream1/ai_quant_trade --skill okx-market-charliedream1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: okx-market
Source: https://github.com/charliedream1/ai_quant_trade/tree/main/a_%E5%85%A8%E7%BD%91%E4%BC%98%E7%A7%80%E8%B5%84%E6%BA%90/10_%E5%A4%A7%E6%A8%A1%E5%9E%8B/07_skill%E5%8C%85/vibe_trading_skills/okx-market
Command: npx skills add https://github.com/charliedream1/ai_quant_trade --skill okx-market-charliedream1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, pandas, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Public OKX market data endpoints remove authentication barriers, enabling developers to fetch crypto prices and market statistics without credentials and to power dashboards and research workflows.

Core Features & Use Cases

  • Retrieve spot, derivatives, and index data such as tickers, candles, funding rates, and open interest from OKX's public REST API.
  • Build real-time dashboards, run backtests, and perform lightweight market research using freely accessible data.
  • Use cases include price tracking for BTC-USDT, monitoring market depth, and deriving signals from candles and funding rates.

Quick Start

Query the public OKX REST endpoints to fetch tickers, candles, and funding rates for your trading dashboard.

Frequently Asked Questions about okx-market

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

FAQPage Schema
How do I fetch OKX market data without API authentication?

You can fetch OKX market data without authentication by querying the public OKX V5 REST API. This approach retrieves tickers, candles, funding rates, and open interest for crypto assets without requiring credentials.

Can I get cryptocurrency funding rates and open interest using Python?

Yes, you can retrieve cryptocurrency funding rates and open interest using Python. The provided scripts use the requests and pandas libraries to fetch and structure derivatives data from public OKX endpoints.

What types of OKX market instruments does the public API support?

The public OKX API supports SPOT, SWAP, FUTURES, and INDEX market instruments. You can retrieve candlestick data, tickers, and market statistics across these different cryptocurrency product types.

What is the best way to build a crypto price dashboard using OKX data?

The best way to build a crypto price dashboard is to query public OKX REST endpoints for real-time tickers and candles. The Skill provides Python examples to fetch and format this market data for tracking assets like BTC-USDT.

Does this OKX market data approach require any API keys?

No, this approach does not require any API keys. It specifically solves the authentication barrier by using public OKX market data endpoints to fetch crypto prices and statistics directly.