AGENT-NATIVE · EQUITIES · ETFs · INDEXES

Equities, ETFs, and indexes for agents,
without the infrastructure detour.

SparkData Market Data Skill gives Claude Code, Codex, and OpenClaw one consistent interface for mainland equities, exchange-traded ETFs, indexes, latest quotes, and complete OHLCV bars—with source, cache, and aggregation semantics attached.

  • Equities · ETFs · indexes
  • 1m — 1y bars
  • Traceable sources
AGENT RUN · XSHG:600519LIVE

$sparkdata-market-data get the latest Kweichow Moutai quote

60057032.48+1.12%
instrument
Kweichow Moutai
last
1448.20 CNY
event_time
2026-08-08T07:00:03Z
source
sparkdata-market-data
cache
hit · 1.2s
01

Not just a number. The evidence behind it.

Every response retains source, cache_status, generated_at, and aggregation_source. The agent can judge freshness and tell upstream bars from sampled aggregation instead of turning uncertainty into a claim.

SOURCE
VERIFIED

01 / CAPABILITY BOUNDARY

Four operations for the market questions agents ask most.

The surface is intentionally focused. No orders, accounts, or tick trades—and no pretending a latest quote is a trade tape.

01instrument()

Instrument identity

Classifies equities, ETFs, indexes, and their markets.

02quote()

Latest quote

The complete snapshot, not an isolated last price.

03bars()

Historical bars

1m, 5m, 15m, 30m, 1h, 1d, 1w, 1mo, 1q, and 1y.

04stream()

Market stream

Best-effort SSE updates, explicitly marked as non-replayable.

02 / INSTALL

One command. Three agents.

The installer detects macOS Intel / Apple Silicon or Linux x86_64, verifies the CLI, and installs one shared Skill for all three agents.

Paste into your terminalSH
curl -fsSL https://test.spark-data.cn/install.sh | sh

Keys stay out of chat

Setup reads your API key invisibly in the terminal and stores it at ~/.config/sparkdata/config.json with mode 0600. Agents only invoke the local CLI.

C

Claude Code

~/.claude/skills/sparkdata-market-data

Start a new session, then invoke /sparkdata-market-data.

01
C

Codex

~/.agents/skills/sparkdata-market-data

Restart or open a new task, then invoke $sparkdata-market-data.

02
O

OpenClaw

~/.openclaw/skills/sparkdata-market-data

Open a new session; use /sparkdata-market-data in channels.

03

03 / USAGE

Ask naturally. The answer still follows a data contract.

LATEST QUOTE

$sparkdata-market-data get the latest XSHG:600519 quote and report meta.source and event_time

HISTORICAL BARS

$sparkdata-market-data get 30 days of 1d bars for XSHG:600519 and explain aggregation_source

COMPARE

$sparkdata-market-data compare the complete latest snapshots for XSHG:600519 and XSHE:000001

ETF + INDEX

$sparkdata-market-data compare XSHG:510300 ETF with XSHG:000300 index over the last 30 days

SPARKDATA / MARKET DATA SKILL

Make market data a native agent capability.

Install once, then ask from the coding agent you already use.
Install nowRead the full docs