A Python package for creating, analyzing and visualizing investment strategies. Portfolio-plan allows users to define portfolios with custom asset allocations, simulate investment plans over time periods, calculate returns, and compare historical performance against benchmarks
Project description
portfolio-plan
A Python package for creating, analyzing and visualizing investment strategies. Portfolio-plan allows users to define portfolios with custom asset allocations, simulate investment plans over time periods, calculate returns, and compare historical performance against benchmarks
⚠️
IMPORTANT DISCLAIMER
portfolio-plansupports download of Yahoo! Finance data with the help of yfinance package. Please note the following important information:
- Yahoo!, Y!Finance, and Yahoo! finance are registered trademarks of Yahoo, Inc.
- This software is not affiliated, endorsed, or vetted by Yahoo, Inc.
- Users are responsible for ensuring their usage complies with Yahoo's Terms of Service.
portfolio-planfeatures that interface withyfinanceare intended for personal, non-commercial useYahoo's Terms of Service can be found at:
The maintainers of
portfolio-planare not responsible for any violations of Yahoo's Terms of Service by end users.
Installation
pip install portfolio-plan
Development
Install uv
pip install uv
Install pre-commit hooks
uv tool run pre-commit install
Running pre-commit hooks
uv tool run pre-commit run --all-files
Running the test suite:
uv run --active -m pytest
Building
uv build
Building the documentation
Installing the documentation dependencies
uv sync --active --only-dev
Generating the documentation:
cd docs/ && uv run --active make html
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 portfolio_plan-0.1.0.tar.gz.
File metadata
- Download URL: portfolio_plan-0.1.0.tar.gz
- Upload date:
- Size: 203.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac907d81d5b082770757da1899195bc5999ec1a69a46f9323a8e4ba6f18b99b1
|
|
| MD5 |
a5c331983783c5e9b5b609ac5e984f66
|
|
| BLAKE2b-256 |
cc328f26b3248f8962aed92f2005a6c29d298aaf755521b9e1890af88770b29f
|
File details
Details for the file portfolio_plan-0.1.0-py3-none-any.whl.
File metadata
- Download URL: portfolio_plan-0.1.0-py3-none-any.whl
- Upload date:
- Size: 200.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76f9ccbed4f533561388e224d6d33b03fe9fdb891f3bdf009388e6541ce975f6
|
|
| MD5 |
e3c2e09dc992a30eafcb15e9c1de72c5
|
|
| BLAKE2b-256 |
f1207f5dfa5a4025cc4df26181a8cba45a95dfeb90a1052f26e1a459cb73fd86
|