Getting Started¶
Installation¶
With pip¶
To get started, install NiveshPy from PyPi:
pip install niveshpy
With git¶
You can also download the app from GitHub and build it on your own.
First, clone the repository:
git clone https://github.com/yashovardhan99/niveshpy.git
Next, install the package and all it's dependencies with:
pip install -e niveshpy
Quick Start¶
After installing, you can simply start using NiveshPy:
niveshpy <command>
Mutual Funds¶
Indian mutual fund investors can easily import their CAS statements into NiveshPy.
To import your mutual funds, follow the steps:
- Go to CAMS Online
- Download CAS - CAMS + KFinTech with the following settings:
- Statement Type - Detailed (Includes transaction listing)
- Period - Specific Period
- Select an appropriate From date based on when you started investing in mutual funds.
- Leave To date as today's date.
- Folio Lising - Transacted folios and folios with balance
- Enter your email ID, PAN and a suitable password.
- Take a note of this password - you will need this later.
- Submit the form
- You will soon receive an email with your CAS attached.
- Download the PDF and save it on your PC. Take note of where you saved it.
- Run the following command:
niveshpy parse cas <path_to_cas>
For instance, if you saved the file at ~/CAS.pdf, then run
niveshpy parse cas ~/CAS.pdf
You will be prompted for your password, enter the password and follow the prompts to complete importing your mutual fund investments.
What's next?¶
NiveshPy comes with a bundle of useful CLI commands to help you analyze your investments. Go to CLI commands