quantdata-max-pain

quantdata-max-pain is a skill for Claude Code from celineycn/quantdata-plugin. It costs 140 tokens per session (4,955 once invoked), scanned A, original, MIT.

A market-data skill that reads options trading positions for US-listed stocks and exchange-traded funds (ETFs). It reports max pain, large call and put positions, the put/call ratio, and estimated dealer gamma exposure.

In plain words
What is it for?
Use it to examine options positioning for a stock or ETF by expiration date. It helps compare open-interest walls, max pain, and gamma levels without turning the results into trading advice.
Why use it?
It gathers several measures of options positioning in one place, including where activity may create buying or selling pressure. It can use public pages or Quant Data's API when a key is available.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the quantdata plugin — 3 skills shipped together

Good fit Use it to examine options positioning for a stock or ETF by expiration date. It helps compare open-interest walls, max pain, and gamma levels without turning the results into trading advice.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/celineycn/quantdata-plugin/quantdata-max-pain
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 celineycn/quantdata-plugin --skill quantdata-max-pain
Clone the repo
git clone --depth 1 https://github.com/celineycn/quantdata-plugin

Made for: Claude Code.

Or install quantdata, the plugin that ships this one along with the rest of its 3 skills.

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 quantdata-max-pain

README.md
[![agentmods](https://agentmods.dev/badge/skills/celineycn/quantdata-plugin/quantdata-max-pain/github.svg)](https://agentmods.dev/skills/celineycn/quantdata-plugin/quantdata-max-pain)
Your own site
<a href="https://agentmods.dev/skills/celineycn/quantdata-plugin/quantdata-max-pain"><img src="https://agentmods.dev/badge/skills/celineycn/quantdata-plugin/quantdata-max-pain/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 quantdata-max-pain

Your own site · 80×15
<a href="https://agentmods.dev/skills/celineycn/quantdata-plugin/quantdata-max-pain"><img src="https://agentmods.dev/badge/skills/celineycn/quantdata-plugin/quantdata-max-pain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,955 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00140 $0.04955
Opus 5.5 $0.00056 $0.01982
Sonnet 5.5 $0.00028 $0.00991
Haiku 4.5 $0.00014 $0.00496

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

Security

Grade A, and why

quantdata-max-pain scanned grade A with 1 finding 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 1mo ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -H "X-API-Key: $QUANTDATA_API_KEY" https://api.quantdata.uk/v1/maxpain/NVDA
quantdata/skills/quantdata-max-pain/SKILL.md · 312 lines

How it starts

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

Quant Data — Max Pain & Gamma Exposure

Options positioning for US-listed stocks and ETFs: max pain per expiration, the open-interest call and put walls, put/call ratio, and estimated dealer gamma exposure (GEX) with the zero gamma (flip) level.

There are three ways in. Check whether the environment variable QUANTDATA_API_KEY is set:

  • Key present — use the JSON endpoints on api.quantdata.uk. A free email key gives all four endpoints 10 shared successful calls per UTC day; a paid key removes that evaluation limit. The options routes cover any US-listed stock or ETF with a liquid options chain — not just the tickers that have free pages — and return machine-readable figures instead of rendered HTML.
  • No key, ticker not on the free pages — one anonymous first-look JSON response may succeed per source per UTC day. It is complete. For further calls, ask which email should receive a free key and use the request flow below.
  • No key, ticker is on the free pages — read the public page instead and save the anonymous first look. It is the same number computed by the same code, and it costs nothing.

Never send an X-API-Key header to quantdata.uk. The static site does not read it, and putting a key in a request to the wrong host is how keys leak into logs.

Without a key — the free pages

https://quantdata.uk/max-pain/{ticker}   max pain, OI walls, put/call ratio, per expiration
https://quantdata.uk/gex/{ticker}        net GEX, zero gamma (flip) level, gamma walls

GEX lives on its own page, not on the max-pain page — fetch both if the user wants both views. The ticker goes in lowercase in the path. An uppercase path 301-redirects to the lowercase one, so it works either way, but link and cite the lowercase form.

Coverage — always check, never assume

https://quantdata.uk/max-pain and https://quantdata.uk/gex are the authoritative lists. This document deliberately does not name the covered tickers, because a hardcoded list here goes stale silently the moment coverage changes — which has already happened once.

Read the full file on GitHub · 312 lines

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. 1mo ago First seen · 312 lines · 140 tokens per session scan A 50785a343dc0

Subscribe to this mod's changes

quantdata-max-pain is a skill published in the GitHub repository celineycn/quantdata-plugin (1 stars, last pushed 2mo ago), licensed MIT. It adds 140 tokens to every session and 4,955 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

tushare

A Python interface for Tushare, a financial data service that provides market and company information for stocks, funds, futures, and digital assets. It returns queried data as pandas tables.

HKUDS/Vibe-Trading · 79 tokens

social-media-intelligence

Social media intelligence: financial signal extraction from Twitter/X, Telegram, Discord, and Reddit for sentiment-driven trading strategies.

HKUDS/Vibe-Trading · 28 tokens

credit-analysis

A guide to analysing bonds and other fixed-income investments, including issuer credit quality, interest payments, default risk, credit spreads, and convertible bonds. It also covers Chinese fixed-income markets and local-government financing bonds.

HKUDS/Vibe-Trading · 36 tokens

geopolitical-risk

Geopolitical risk analysis: quantify crisis signals, identify precursors, and build event-driven strategies for war, sanctions, and supply disruption scenarios.

HKUDS/Vibe-Trading · 34 tokens

vibe-trading

Professional finance research toolkit — backtesting (11 engines + benchmark comparison panel), factor analysis, Alpha Zoo (478 pre-built alphas across qlib158/alpha101/gtja191/academic/fundamental), options pricing, 90 finance skills, 30 multi-agent swarm teams, Trade Journal analyzer, and Shadow Account (extract →…

HKUDS/Vibe-Trading · 176 tokens

etf-analysis

A framework for comparing exchange-traded funds (ETFs), which are funds bought and sold on a stock exchange and usually track an index, industry, asset, or strategy. It covers fees, how closely an ETF follows its target, trading activity, and portfolio use.

HKUDS/Vibe-Trading · 39 tokens