Metadata-Version: 2.1
Name: Bharat-sm-data
Version: 2.0.0
Summary: Bharat SM Data stands for Bharat(India) Stock Market Data.
Home-page: https://github.com/Sampad-Hegde/Bharat-SM-Data
Author: Sampad Hegde
Author-email: me@sampadhegde.in
License: Apache License 2.0
Project-URL: Documentation, https://bharat-sm-data.readthedocs.io/en/latest/
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3.8
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests >=2.31.0
Requires-Dist: pandas >=2.0.3
Requires-Dist: pydash >=7.0.6
Requires-Dist: beautifulsoup4 >=4.12.2
Requires-Dist: numpy >=1.25.2
Requires-Dist: html5lib >=1.1
Requires-Dist: lxml >=4.9.3
Provides-Extra: dev
Requires-Dist: twine >=4.0.2 ; extra == 'dev'

# Bharat (India) Stock Market Data Collection / Fetch Library

Bharat_SM_Data stands for Bharat(India) Stock Market Data.

<p align="center">
  <img src="https://github.com/Sampad-Hegde/Bharat-SM-Data/raw/master/Logo.png" alt="Logo" width="500" height="400">
</p>

## !!! Disclaimer !!!
**Disclaimer: Use Caution and Consider Legal Implications**
  This project employs third-party private APIs and deals with stock market investing,
both of which come with inherent risks and legal considerations.
Users must ensure
they have the appropriate permissions to use the data obtained from these APIs to avoid potential copyright issues.
Additionally, stock market investing carries financial risks, and users should exercise caution,
conduct thorough research, and seek professional advice before making investment decisions.
The accuracy of third-party data cannot be guaranteed, and this project does not offer financial advice.
Users are responsible for complying with all applicable laws and regulations,
and any unauthorized or illegal use may lead to legal consequences.
This package is strictly for educational purposes,
and any practical applications should be done with careful consideration of the aforementioned risks.
By using this project, users acknowledge and accept these risks and responsibilities,
with the project developers and contributors not liable for any damages,
legal issues, or financial losses resulting from its use.
It is essential to exercise caution and seek legal and financial advice when necessary.


## Library Description
📈 Explore the dynamic world of the Indian Stock Market with our powerful open-source stock market scraping library. 
Effortlessly access real-time and historical data for derivatives, equities, currencies, commodities, ETFs, and more, 
enabling you to make informed investment decisions, develop trading strategies, and stay ahead of market trends.
Our user-friendly API facilitates seamless integration,
making it a valuable tool for traders, investors, and data enthusiasts.
Join Me in harnessing the power of data
to unlock new opportunities in the ever-evolving landscape of the Indian financial markets.
Start scraping today and gain a competitive edge in your financial ventures!
💼📊🚀

### Documentation : [Readthedoc](https://bharat-sm-data.readthedocs.io/en/latest/index.html)

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [Features](#features)
- [License](#license)

## Important Note:
```text
Pass  `is_index=true` whenever calling get_ohlc function for any Indices, Future Contracts and Options Contracts
```

## Installation
Install the package using this command

```bash
pip install Bharat-sm-data
```

## Usage

### Read the Documentation here: [Readthedoc](https://bharat-sm-data.readthedocs.io/en/latest/index.html)

Refer below example Jupyter Notebooks to get know how to use this library :
- [NSE Technical](https://github.com/Sampad-Hegde/Bharat-SM-Data/blob/master/examples/Technical_NSE.ipynb)
- [NSE Derivatives](https://github.com/Sampad-Hegde/Bharat-SM-Data/blob/master/examples/Derivatives_NSE.ipynb)
- [Sensibull  Derivatives](https://github.com/Sampad-Hegde/Bharat-SM-Data/blob/master/examples/Derivatives_Sensibull.ipynb)
- [Tickertape Fundamentals](https://github.com/Sampad-Hegde/Bharat-SM-Data/blob/master/examples/Fundementals_Tickertape.ipynb)
- [Moneycontrol Fundamentals](https://github.com/Sampad-Hegde/Bharat-SM-Data/blob/master/examples/Fundementals_Moneycontrol.ipynb)
 

## Features

- Some basic NSE Data:
  - Last Traded date of Exchange
  - Current Market Status (open/close) and a Nifty 50 current value.
  - Equity Meta data
  - NSE turn-over for the day
  - OHLC data

- Technical Data:
  - Important NSE Reports   
  - All indices data
  - Indices composites
  - OHLC of Indices & Equities
  - Trade Info of Equity
  - Corporate Disclosures
  - SME Data
  - SGB Data
  - ETF
  - Block Deals
  - VIX

- Derivatives (Applicable for both Index and Equity options):
  - Options Expiry Dates
  - Option Chain
  - OHLC of Option contracts
  - PCR (Put Call Ratio)
  - List all Equities allowed for Derivative trading.
  - Option Trade info (Equities Only)
  - Trade Info of Futures
  - OHLC of Future Contracts
  - Currency and commodities Futures
  - Currency and commodities Future contracts OHLC
  - Option Chain with Greeks (From Sensibull)

- Fundamentals :
  - Moneycontrol :
    - Mini Statements from Moneycontrol (some commonly used data out of `annual reports` of few timeframes)
      - overview
      - Income
      - Balance sheet
      - Cash flow
      - Ratios
    - Complete Statements (you get complete data of common reports of all annual/quarter reports)
      - Balance Sheet
      - P & L
      - Quarterly results (25th Percentile)
      - Half-Yearly results (50th Percentile)
      - Nine months (75th Percentile)
      - Yearly results (100th percentile)
      - Cash Flow Statement
      - Ratios
      - Capital Structure
  - Tickertape
    - Index Constituents (Tickertape)
    - Annual Report/ Quarterly Results extracted data
      - Income
      - Balance Sheet
      - Cash flow
    - Peers Comparison (Technical Bsed and Valuation Based)
    - Tickertape Scorecard
    - Share Holding Pattern
    - Mutual Fund Holdings
    - Small Case Holdings
    - Dividend History (paid out + Upcoming which is confirmed)
    - Key Ratios of Stocks and Indices
    - All ETFs under an Index
    - Tickertape Screeners
  - BSE :
    - Download Annual Reports in PDF format

## License

This project is licensed under the Apache License.
See the [LICENSE](https://github.com/Sampad-Hegde/Bharat-SM-Data/blob/master/LICENSE) for more details.

## Acknowledgments
- Pandas
- Requests
- All the websites I used for collecting data
- pydash
- BS4

## Contact
Connect Me over: 
- Email: [me@sampadhegde.in | sampadhegde@gmail.com]
- LinkedIn [sampad-hegde](https://www.linkedin.com/in/sampad-hegde)
- Instagram [@sampad_hegde](https://www.instagram.com/sampad_hegde)
- Facebook [sampad.hegde](https://www.facebook.com/sampad.hegde)
