Skip to content
Skills Library
Finance & accounting · Tool integration

market-data

/market-data

Fetch market data with no API key - official NSE end-of-day prices (bhavcopy), live NSE F&O lot sizes, official AMFI mutual fund NAVs and scheme search, futures contract specifications (MCX and US), and daily prices for US stocks, ETFs and futures. Use when the user asks for the closing price of an Indian or US stock, a mutual fund NAV or scheme code, the lot size of Nifty or any F&O stock, the size of a gold or crude contract, or when another skill needs a price, lot size or NAV.

Licence
MIT
Last repository change
12.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/market_data.py

What it does and when to use it

Fetch market data with no API key - official NSE end-of-day prices (bhavcopy), live NSE F&O lot sizes, official AMFI mutual fund NAVs and scheme search, futures contract specifications (MCX and US), and daily prices for US stocks, ETFs and futures. Use when the user asks for the closing price of an Indian or US stock, a mutual fund NAV or scheme code, the lot size of Nifty or any F&O stock, the size of a gold or crude contract, or when another skill needs a price, lot size or NAV.

Original author description

Fetch market data with no API key - official NSE end-of-day prices (bhavcopy), live NSE F&O lot sizes, official AMFI mutual fund NAVs and scheme search, futures contract specifications (MCX and US), and daily prices for US stocks, ETFs and futures. Use when the user asks for the closing price of an Indian or US stock, a mutual fund NAV or scheme code, the lot size of Nifty or any F&O stock, the size of a gold or crude contract, or when another skill needs a price, lot size or NAV.

How it works

  1. Which source for what
  2. Rules for using the data
  3. Limits
Original SKILL.md headings · 38 lines, 381 words
SKILL.md preview
---
name: market-data
description: Fetch market data with no API key - official NSE end-of-day prices (bhavcopy), live NSE F&O lot sizes, official AMFI mutual fund NAVs and scheme search, futures contract specifications (MCX and US), and daily prices for US stocks, ETFs and futures. Use when the user asks for the closing price of an Indian or US stock, a mutual fund NAV or scheme code, the lot size of Nifty or any F&O stock, the size of a gold or crude contract, or when another skill needs a price, lot size or NAV.
---

# Market Data

One script, six commands. Prefer the official sources; they are the record a broker or tax officer would use.

```bash
python scripts/market_data.py nse-quote RELIANCE [--date 2026-11-11] [--series EQ]
python scripts/market_data.py nse-lot BANKNIFTY [--expiry-month DEC-26]
python scripts/market_data.py mf-search "parag parikh flexi cap direct growth"
python scripts/market_data.py mf-nav --scheme-code 122639        # or --isin INF879O01027
python scripts/market_data.py contract GOLDM                      # MCX and US futures specs
python scripts/market_data.py yahoo AAPL --range 1mo              # also SPY, GC=F, CL=F, ^NSEI
```

## Which source for what

| Need | Command | Source | Standing |
|---|---|---|---|
| Indian stock close, OHLC, volume | `nse-quote` | NSE bhavcopy | Official end-of-day record |
| F&O lot size | `nse-lot` | NSE `fo_mktlots.csv` | Official, current |
| Mutual fund NAV, scheme code | `mf-nav`, `mf-search` | AMFI `NAVAll.txt` | Official daily NAV |
| MCX / US futures contract size | `contract` | Repo rulebook | Secondary or unverified - see `source_kind` |
| US stocks, ETFs, futures, indices | `yahoo` | Yahoo chart endpoint | **Unofficial**, indicative only |

## Rules for using the data

- **Always state the date of a price.** NSE data is end-of-day; today's bhavcopy appears in the evening (India time). Without `--date`, `nse-quote` returns the latest published day: say which day that is. These are not live quotes.
- **Never present a Yahoo price as official.** It is fine for sizing a position or a rough valuation; it is not a settlement price. For Indian stocks use `nse-quote`, not `yahoo SYMBOL.NS`.
- Mutual fund search returns Direct and Regular plans, Growth and IDCW options separately. Confirm with the user which one they hold before using a NAV.
- NSE series: `EQ` is normal equity. `BE` is trade-for-trade. ETFs trade in `EQ`. If a symbol is not found, try `--series BE` before saying it does not exist.
- Every result includes a `source` URL. Quote it when the number matters (tax, a dispute over a contract note).

## Limits

- No intraday or live prices, no options chains, no MCX prices, no fundamentals.
- Files are cached under `~/.cache/market-skills` (bhavcopy forever, lot sizes 12 hours, NAVs 3 hours).
- If NSE or AMFI is unreachable, the script returns an error. Report it; do not substitute a remembered or estimated price.
Files in this package (2)
  • SKILL.md 3 KB
  • scripts/market_data.py 3 KB

Versions

RepositoryScoreLicence
This page · krish-vd/claude-quant-skills100MIT
reddygopalkrishna/tradingkit-skills100MIT
JoelLewis/finance_skills100MIT
lisonevf/finance-skills100MIT

Database snapshot: 13.11.2026 · package version f77ebf8f67ce (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100artha-navigator
    Real NAV history, returns and weekly performance for Indian mutual funds, from AMFI and mfapi.in (free, no keys). Use whenever the user asks how an Indian mutual fund or their MF portfolio performed — weekly or monthly returns, 1Y/3Y/5Y CAGR, drawdown, "how did my funds do this…
  • 100position-sizer
    Calculate how many shares, futures lots or option lots to trade so that a stop-out loses a fixed percent of the account. Covers Indian and US stocks, NSE index and stock futures and options (lot sizes read live from NSE), MCX commodities (gold, silver, crude, natural gas,…
  • 100artha-ticker
    NSE/BSE stock and ETF prices, history, splits/bonuses and the NSE trading calendar (IST hours, holidays, Muhurat sessions), from free public data. Use whenever the user asks about an Indian stock's price, 52-week range, how their Indian stocks did this week or vs Nifty, price…
  • 100portfolio-xirr
    Calculate XIRR (annualised, money-weighted return) for a SIP, a mutual fund folio, a stock position or a whole portfolio from dated cash flows, optionally valuing mutual fund units at the official AMFI NAV. Use when the user asks for their SIP returns, XIRR, annualised return,…
  • 100dhanhq
    Use when the user mentions DhanHQ, Dhan API, or wants to trade on Indian exchanges (NSE, BSE, MCX). Triggers for: place, modify, or cancel stock/F&O/commodity orders on Dhan; fetch portfolio holdings or positions; get live or historical market data; access option chains with…
  • 100trader-in-scanner
    Chart Scanner for the Indian market (NSE). Builds a day-trading list from NSE's EQUITY_L.csv (EQ series, minus ASM/GSM surveillance stocks, MIS-eligible at Zerodha), runs a pre-market scan of daily closes (20-day closing-high breakout, bull flag, reclaimed the 20-day average,…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.