Downloading and analyzing financial data, including indices, stocks, bonds, and mutual funds, from India, that is Bharat.
Project description
BharatFinTrack
BharatFinTrack is a Python package designed to simplify the process of downloading and analyzing financial data from India. Conceptualized on September 1, 2024, and launched on September 8, 2024, this package is tailored for long-term investors seeking to streamline their financial data workflows.
BharatFinTrack focuses on open-source financial data, with an initial emphasis on analyzing NSE equity indices. However, it is important to note that the package does not include features for technical indicators or real-time trading. Active development is ongoing, with exciting new features planned for future releases. The goal of BharatFinTrack is to empower users by providing easy access to open-source data, enabling them to make informed financial decisions. Currently, the package offers the following features:
Nifty Indices
- Provides access to detailed information about NSE equity indices.
- Enables downloading and updating daily
Total Return Index (TRI)data for all NSE equity indices. - Fetches closing values for both
Price(excluding dividend reinvestment) andTRIfor all NSE equity indices.
Functionality
- Calculates the updated Compound Annual Growth Rate (CAGR) for both
PriceandTRIsince the inception of all NSE equity indices. - Sorts NSE equity indices by CAGR (%) values.
- Sorts NSE equity indices by CAGR (%) within each category.
Visualization
- Plots the descending CAGR (%) for NSE equity indices, organized by category since inception.
- Plots the top-performing NSE indices by CAGR (%) for a specified number of indices in each category since their launch.
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']
# list of all NSE equity indices
>>> nse_product.all_equity_indices
['NIFTY 100',
'NIFTY 200',
'NIFTY 50',
...]
Top Performing NSE Equity Indices
The bar plot displays the closing values for NSE equity indices TRI with the top five CAGR (%) since launch in each category.
Documentation
For detailed information, see the documentation.
Support
If this project has been helpful and you'd like to contribute to its development, consider sponsoring with a coffee! Support will help maintain, improve, and expand this open-source project, ensuring continued valuable tools for the community.
Toolkit
| Status | Description |
|---|---|
| PyPI | |
| GitHub | |
| Codecov | |
| Read the Docs | |
| PePy | |
| License |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 bharatfintrack-0.1.6.tar.gz.
File metadata
- Download URL: bharatfintrack-0.1.6.tar.gz
- Upload date:
- Size: 191.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29f0663ab9ed49c080786b7b5385ad2f80b9c9e7bb0f911ddbb8897f73ce387c
|
|
| MD5 |
39aa71782523e2f72a0522aeccc066ca
|
|
| BLAKE2b-256 |
63cb7684471f941c5c5c5d5216f2845100a3aa1fea95171ddb13e16f598f4327
|
File details
Details for the file BharatFinTrack-0.1.6-py3-none-any.whl.
File metadata
- Download URL: BharatFinTrack-0.1.6-py3-none-any.whl
- Upload date:
- Size: 191.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4965dd58588afe36d5a818b82329a96b5c56ba7a30a4ccd52ba783676a45691a
|
|
| MD5 |
ca7fd9bba7df77e3260ac618259d5a35
|
|
| BLAKE2b-256 |
359b7a30066dfd9bbca32b32957d4625711d86cf582d971a5ab780411164dab2
|