Skip to main content

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) and TRI for all NSE equity indices.

Functionality

  • Calculates the updated Compound Annual Growth Rate (CAGR) for both Price and TRI since 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.

Top performing NSE equity indices by CAGR(%)

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.

Buy Me a Coffee

Toolkit

Status Description
PyPI PyPI - Version PyPI - Status PyPI - Python Version PyPI - Wheel
GitHub GitHub last commit flake8 mypy pytest
Codecov codecov
Read the Docs Documentation Status
PePy Pepy Total Downloads
License PyPI - 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.6.tar.gz (191.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

BharatFinTrack-0.1.6-py3-none-any.whl (191.4 kB view details)

Uploaded Python 3

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

Hashes for bharatfintrack-0.1.6.tar.gz
Algorithm Hash digest
SHA256 29f0663ab9ed49c080786b7b5385ad2f80b9c9e7bb0f911ddbb8897f73ce387c
MD5 39aa71782523e2f72a0522aeccc066ca
BLAKE2b-256 63cb7684471f941c5c5c5d5216f2845100a3aa1fea95171ddb13e16f598f4327

See more details on using hashes here.

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

Hashes for BharatFinTrack-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4965dd58588afe36d5a818b82329a96b5c56ba7a30a4ccd52ba783676a45691a
MD5 ca7fd9bba7df77e3260ac618259d5a35
BLAKE2b-256 359b7a30066dfd9bbca32b32957d4625711d86cf582d971a5ab780411164dab2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page