Skip to content

2KAbhishek/pyfinance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

License People Stars Forks Watches Last Updated

Personal portfolio analysis πŸ“ˆπŸ’°

What is this

Personal portfolio analysis with Python and Alpaca API. Contains a monte carlo simulation script to predict the returns of a portfolio.

Inspiration

Wanted to try out the Alpaca API and use it to analyze a portfolio.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have the Alpaca API key and have python and jupyter-notebook installed.

Add the API keys to .env file

APCA_API_KEY_ID=SECRET
APCA_API_SECRET_KEY=SECRET

Getting pyfinance

To install pyfinance, follow these steps:

git clone https://github.com/2kabhishek/pyfinance
cd pyfinance

Using pyfinance

Explore the dataset and the notebook, tweak parameters and run the notebook.

How it was built

pyfinance was built using jupyter-notebook and python.

Challenges faced

Understanding different financial instruments and terminology was a challenge.

What I learned

  • Alpaca API and the Alpaca Trading Platform.
  • Monte Carlo simulation.

What's next

Some sections are incomplete.

Hit the ⭐ button if you found this useful.

More Info

About

Personal portfolio analysis πŸ“ˆπŸ’°

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published