No coding. No spreadsheets. You type one sentence to Claude, paste two commands, and you have 1-month of minute-by-minute NIFTY & BANKNIFTY data.
Each candle tells you: what price did the market open at, what was the highest, the lowest, and where did it close — every single minute. That's what strategies are built on.
That's it. Claude figures out which library to use, writes the download script, handles errors and retries. You don't write a single line of code.
# Create a workspace $ python3 -m venv data_venv
# Install what's needed $ ./data_venv/bin/python -m pip install dhanhq pandas pyarrow
You don't need to understand these commands. Command 1 creates a clean workspace. Command 2 installs the tools Claude needs. You run them once and never again.
A 10-digit number from your Dhan profile.
1111609313
A long string from Dhan's API page. Expires daily.
eyJ0eXAiOiJKV1Qi...
Downloading NIFTY (security_id=13) NIFTY 2026-04-20 → 2026-04-25 ... 1,877 rows NIFTY 2026-04-26 → 2026-05-01 ... 1,510 rows NIFTY 2026-05-02 → 2026-05-07 ... 1,502 rows NIFTY 2026-05-08 → 2026-05-13 ... 1,502 rows NIFTY 2026-05-14 → 2026-05-19 ... 1,503 rows Saved 7,894 rows → data/nifty_1min.parquet Downloading BANKNIFTY (security_id=25) BANKNIFTY 2026-04-20 → 2026-04-25 ... 1,877 rows ... Saved 7,894 rows → data/banknifty_1min.parquet Done.
Claude converts the data into an HTML table and opens it. You see every candle — scrollable, browsable, on your screen.
NIFTY — 1 Minute Candles 7,894 candles · 2026-04-20 to 2026-05-19 · 21 trading days timestamp open high low close volume 2026-04-20 09:15:00 24,391.50 24,420.20 24,270.20 24,295.85 8,087,933 2026-04-20 09:16:00 24,294.35 24,314.15 24,241.25 24,269.40 5,201,414 2026-04-20 09:17:00 24,270.10 24,322.25 24,264.45 24,318.25 3,471,314 2026-04-20 09:18:00 24,320.50 24,325.95 24,291.35 24,304.10 3,865,764 2026-04-20 09:19:00 24,301.35 24,339.55 24,299.60 24,339.55 2,348,044 ... 7,889 more rows
Picked the right library (dhanhq), figured out the API call, handled the response format. ~50 lines of Python.
The library changed its import name. The data came in an unexpected format. The API silently rate-limited. Claude fixed all three.
Raw data had Unix epoch numbers. Claude converted them to readable dates in IST (Indian Standard Time).
Parquet files are binary — can't open in a browser. Claude generated a styled HTML table you can scroll through.
The skill is knowing what data exists, what questions to ask, and how to describe what you want. Claude handles the plumbing.