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.
  • Compare CAGR (%) between Price and TRI.
  • Sorts NSE equity indices by CAGR (%) values.
  • Sorts NSE equity indices by CAGR (%) within each category.

Visualization

  • Displays bar graphs of NSE equity indices’ closing values with descending CAGR (%) since inception, both overall and by index category.
  • Shows bar graphs of top-performing NSE equity indices by CAGR (%) since launch, with options to view a specified number of top indices, either overall or within each category.

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',
 ...]

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.7.tar.gz (32.8 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.7-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

Details for the file bharatfintrack-0.1.7.tar.gz.

File metadata

  • Download URL: bharatfintrack-0.1.7.tar.gz
  • Upload date:
  • Size: 32.8 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.7.tar.gz
Algorithm Hash digest
SHA256 593eda4a7619d25152e1877fc17355dd52d5f2495bf9d50c11d35c4241107119
MD5 55c0614ea30d7595d61b0545e4557a98
BLAKE2b-256 69219507b7dfbeaf7ef43b2a901be735c02e8c57d6667966d72b023ee38af658

See more details on using hashes here.

File details

Details for the file BharatFinTrack-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: BharatFinTrack-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 32.9 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9f635dcfdc102505673165958b542c817be435bdf2a0cae9d6f99e00dc1048df
MD5 c8ad48f4ee1a1b4859dd513a22951f13
BLAKE2b-256 d69c4eae089625aed2df1fe72c6e4e14791ec48a393cb05460a23808b552b248

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