market-data-engine

market-data-engine is a skill for Claude Code, Codex from JansenAnalytics/claudex. It costs 83 tokens per session (964 once invoked), scanned A, original, MIT.

A tool for collecting economic-calendar events and market data, then turning the latest information into a formatted macroeconomic briefing. Macroeconomics is the study of broad trends such as interest rates, employment, inflation, and markets.

In plain words
What is it for?
Use it to collect macro market data, review economic-calendar events by trading session, store snapshots in SQLite, and generate market briefings.
Why use it?
It gathers recurring market and calendar information into one stored snapshot, reducing manual preparation for regular briefings. The output can be formatted for Telegram, plain text, or JSON.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to collect macro market data, review economic-calendar events by trading session, store snapshots in SQLite, and generate market briefings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jansenanalytics/claudex/market-data-engine
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JansenAnalytics/claudex --skill market-data-engine
Clone the repo
git clone --depth 1 https://github.com/JansenAnalytics/claudex

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for market-data-engine

README.md
[![agentmods](https://agentmods.dev/badge/skills/jansenanalytics/claudex/market-data-engine/github.svg)](https://agentmods.dev/skills/jansenanalytics/claudex/market-data-engine)
Your own site
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/market-data-engine"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/market-data-engine/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for market-data-engine

Your own site · 80×15
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/market-data-engine"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/market-data-engine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 964 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.00964
Opus 5.5 $0.00033 $0.00386
Sonnet 5.5 $0.00017 $0.00193
Haiku 4.5 $0.00008 $0.00096

Measured 2mo ago against content hash 987b43989cfe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

market-data-engine scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/collect.py, scripts/db.py, scripts/query.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/market-data-engine/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Market Data Engine

Quick Start

SKILL=${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/market-data-engine/scripts

# Collect daily data for all instruments
python3 $SKILL/collect.py --interval 1d

# Collect 1-hour data for forex majors
python3 $SKILL/collect.py --interval 1h --subclass major

# Collect 4-hour data (uses TradingView)
python3 $SKILL/collect.py --interval 4h --instruments EURUSD,GBPUSD

# Currency strength rankings
python3 $SKILL/collect.py --currency-strength --interval 1d --json

# Quick price snapshot of everything
python3 $SKILL/collect.py --snapshot --json

# Backfill 1 year of daily data
python3 $SKILL/collect.py --interval 1d --n-bars 365

Query Data

# Last 30 daily bars for EURUSD
python3 $SKILL/query.py ohlcv EURUSD --interval 1d --last 30

# Latest currency strength
python3 $SKILL/query.py strength --latest

# Latest snapshots
python3 $SKILL/query.py snapshot --latest

# Database stats
python3 $SKILL/query.py stats

Instruments (79 total)

Class Count Examples
Currency Indices 8 DXY, EXY, BXY, JXY, CXY, AXY, ZXY, SXY
Forex Majors 7 EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, USDCHF, NZDUSD
Forex Crosses 21 EURJPY, GBPJPY, AUDNZD, EURGBP, ...
Forex Exotics 27 EURNOK, USDNOK, EURSEK, USDTRY, USDZAR, ...
Equity Indices 9 SPX500, NAS100, DAX, UK100, JPN225, US30, ...
Metals 2 XAUUSD (Gold), XAGUSD (Silver)
Energy 3 BRENT, WTI, NATGAS
Crypto 2 BCH, ETH

Data Sources

  • yfinance — primary for daily/hourly/minute data. Free, no API key.
  • tvdatafeed — TradingView data. Required for 4h timeframe and currency indices. Free without login (limited).
  • Auto-fallback: yfinance first, tvdatafeed fills gaps.

Intervals

Interval yfinance tvdatafeed Max History
1m ✅ ✅ 7 days
5m ✅ ✅ 60 days
15m ✅ ✅ 60 days
30m ✅ ✅ 60 days
1h ✅ ✅ 730 days
4h ❌ ✅ 5000 bars
1d ✅ ✅ max
1w ✅ ✅ max

Read the full file on GitHub · 107 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 107 lines · 83 tokens per session scan A 987b43989cfe

Subscribe to this mod's changes

market-data-engine is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 5mo ago), licensed MIT. It adds 83 tokens to every session and 964 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

market-data-engine compared with skills from other repositories

market-data-engine next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
market-data-engineJansenAnalytics/claudexSkill55mo agoMITA83Claude Code, Codex
trade-memorymnemox-ai/tradememory-protocolSkill1.5k6d agoMITA70Claude Code, Codex
tradememory-bridgemnemox-ai/tradememory-protocolSkill1.5k6d agoMITA53Claude Code, Codex
evolution-enginemnemox-ai/tradememory-protocolSkill1.5k6d agoMITA94Claude Code
risk-managementmnemox-ai/tradememory-protocolSkill1.5k6d agoMITA89Claude Code
trading-memorymnemox-ai/tradememory-protocolSkill1.5k6d agoMITA88Claude Code
tickdb-market-dataTickDB/tickdb-unified-realtime-marketdata-apiSkill94925d agoMITA165Claude Code, Codex