Stocky
Library that will generate ISIN to symbol mapping from NSE, BSE, Yahoo, and Zerodha
Install / Use
/learn @rehanhaider/StockyREADME
Stocky McStockface
Stocky Will help you generate a consolidated list of Instruments
- by mapping their ISIN codes to
- BSE Stock codes and symbols
- NSE symbols
- Zerodha symbols
- Yahoo symbols (Both .NS and .BO)
Installation
Clone the repository
git clone https://github.com/justgoodin/stocky.git
Install the dependencies
pip install --upgrade requirements.txt
Instructions
Inputs needed
You need to download 3 files
- BSE Bhavcopy: Download from
https://www.bseindia.com/markets/MarketInfo/BhavCopy.aspx. - NSE Bhavcopy: Download from
https://www1.nseindia.com/products/content/equities/equities/archieve_eq.htm.
Note: Downloading BHAV Copy using programmatic methods is illegal. - Zerodha Instruments: Download from
https://api.kite.trade/instruments
Then place these files in the following locations
- BSE Bhavcopy:
data/marketData/bhavCopies - NSE Bhavcopy:
data/marketData/bhavcopies
You need to update the file name inlib/bin/bhavCopy.py.
In future version, this will be more streamlined - Zerodha Instruments:
data/marketData/zerodha. The filename should be instruments.csv
Running the app
On windows
python app.py
On linux/MacOS
python3 ./app.py
Or open it in your favourite code editor and run from there.
UI Options
There are three options
1. Rebuild stocky.db from scratch: This will delete the existing copy of stocky.db and recreate it from scratch. Requires bhavcopies and zerodha instruments in their respective locations
2. Update all Yahoo data: Downloads Yahoo data using yahooquery library
3. Exit: Exit the program
License
Related Skills
node-connect
347.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
108.4kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
108.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
347.6kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
