Indian market data: NSE, BSE, MCX + custom 1-minute OHLCV
Project description
market-data-feed
Unified Indian Market Data + Custom 1‑Minute OHLCV
📦 Installation
pip install market-data-feed
🚀 Quick Start
python
import nsedata
import bsedata
import mcxdata
from customdata import get_scrip
# NSE: Daily Bhavcopy
nse = nsedata.nse
df = nse.get("capital_market", "equities_sme", "sec_bhavdata_full", "2026-06-30")
print(f"NSE: {len(df)} securities")
# BSE: SENSEX Historical
bse = bsedata.bse
df = bse.get_index("SENSEX", "2026-01-01", "2026-05-22")
print(f"BSE SENSEX: {len(df)} rows")
# MCX: Gold Spot Price
mcx = mcxdata.mcx
df = mcx.get_spot_recent(commodity="GOLD")
print(f"MCX Gold: {len(df)} rows")
📊 What This Package Gives You
Module Source What You Get
nsedata NSE India 91 datasets — equities, F&O, debt, indices, SLB, EGR
bsedata BSE India 55+ indices — SENSEX, BSE500, BANKEX, sectoral/thematic
mcxdata MCX India 28 commodities — spot prices (recent + archive)
customdata Google Drive 1‑minute OHLCV for Nifty 50 & 500 scrips and indices
🔐 Custom Data Setup (One‑Time)
customdata uses Google Drive. One‑time OAuth setup required.
Create a Google Cloud Project and enable the Drive API.
Create an OAuth 2.0 Desktop Client ID and download the JSON.
Place it as credentials/oauth_client.json in your working directory.
Run get_scrip() once — your browser will open for authentication.
📄 License
MIT — Data sourced from NSE India, BSE India, and MCX India.
+w
Happy Trading! 🚀
[](https://praglitch.github.io/market-data-feed-documentation_page/)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
market_data_feed-0.1.5.tar.gz
(50.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file market_data_feed-0.1.5.tar.gz.
File metadata
- Download URL: market_data_feed-0.1.5.tar.gz
- Upload date:
- Size: 50.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db500f1c21839e4dcb0a679e810b4b84151479d18f5ff0d6006c77002d2b3064
|
|
| MD5 |
70e32761944289a1111868c0a9dad899
|
|
| BLAKE2b-256 |
c72d3e6e488d7f36726af1e5cd305aa2d8de3a389fa7ab3307fc5a6b0cffb9e5
|
File details
Details for the file market_data_feed-0.1.5-py3-none-any.whl.
File metadata
- Download URL: market_data_feed-0.1.5-py3-none-any.whl
- Upload date:
- Size: 60.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbf7f5584a41a9f83a9ecedf18205ecaa94fa536f68375d16d8e4244fbfef1aa
|
|
| MD5 |
236c392e23c46eb9c5c0f4c1d5830c8d
|
|
| BLAKE2b-256 |
bc84487ff00696fddf2c508477d19a0b769554db7ec9d34aaf3019d7cf917b1c
|