Downloading and analyzing financial data, including indices, stocks, and mutual funds, from India, that is Bharat.
Project description
BharatFinTrack
BharatFinTrack is a Python package whose concept originated on September 1, 2024. It is designed to simplify the process of downloading and analyzing financial data from India, that is Bharat. The features of the package include:
-
- Provides access to the characteristics of NSE equity indices.
- Facilitates downloading TRI (Total Return Index) data for all NSE equity indices.
Roadmap
- Add support for downloading equity index price data without dividend reinvestment.
- Provide a summary of daily updated values of equity index price data.
- Include NAV (Net Asset Value) data for mutual funds.
- Include NAV data for the National Pension System (NPS).
Easy Installation
To install, use pip:
pip install BharatFinTrack
Quickstart
A brief example of how to start:
>>> import BharatFinTrack
>>> nse_product = BharatFinTrack.NSEProduct()
>>> nse_product.equity_index_category
['broad', 'sector', 'thematic', 'strategy', 'variant']
# get the list of all NSE equity indices
>>> nse_product.all_equity_indices
['NIFTY 100',
'NIFTY 200',
'NIFTY 50',
'NIFTY 50 ARBITRAGE',
...]
# download TRI data for a specified NSE equity index
>>> nse_tri = BharatFinTrack.NSETRI()
>>> nse_tri.download_historical_daily_data(
index='NIFTY 50',
start_date='23-SEP-2024',
end_date='27-SEP-2024'
)
Date Close
0 2024-09-23 38505.51
1 2024-09-24 38507.55
2 2024-09-25 38602.21
3 2024-09-26 38916.76
4 2024-09-27 38861.64
Documentation
For detailed information, see the documentation.
Toolkit
Status | Description |
---|---|
PyPI | |
GitHub | |
Codecov | |
Read the Docs | |
PePy | |
License |
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
bharatfintrack-0.1.0.tar.gz
(24.8 kB
view hashes)
Built Distribution
Close
Hashes for BharatFinTrack-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c7889bda564f0aac8e596b10694abe5ff5d3bd2c5a28894b877f301a6ebe615 |
|
MD5 | aaf80f22014010c87deec0c1cb3fa9f2 |
|
BLAKE2b-256 | 1439d7520d788881941171df2e3d918008b0ab66da28c132f3bc752ea30cc13b |