Metadata-Version: 2.4
Name: bse-options
Version: 0.1.1
Summary: Unofficial Python API for fetching BSE India Option Chain data
Author-email: Rishav Raj Bhagat <rishav.raj@rmoneyindia.com>
Project-URL: Homepage, http://192.168.100.117/quant/bse_option_chain
Project-URL: Source Code, http://192.168.100.117/quant/bse_option_chain
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: mthrottle>=0.0.2
Requires-Dist: pandas>=2.3.3
Requires-Dist: requests>=2.32.5

# BSE Option Chain Scraper

This repository provides an **Unofficial Python API** to fetch **Option Chain Data** from the [BSE India](https://www.bseindia.com) website.

The scraper uses `requests` and `mthrottle` with proper headers and endpoints exposed by BSE’s API to return option chain data in a structured JSON format, similar to NSE’s option chain format.

---

## 🚀 Features
- Fetch **all available expiries** for Sensex (or other symbols by `scrip_cd`).
- Fetch option chain data for a **single expiry**.
- Fetch and merge option chain data for **all expiries at once**.
- Data is formatted with **CE (Call)** and **PE (Put)** separated, making it analysis-friendly.
- Optionally save the output to `.json` files for further processing.

---

## 📦 Installation

Clone the repo and install dependencies with uv:

```bash
git clone <reponame>
uv sync 
