Skip to main content

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

Python Version from PEP 621 TOML

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-plan supports 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-plan features that interface with yfinance are intended for personal, non-commercial use

Yahoo's Terms of Service can be found at:

The maintainers of portfolio-plan are 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

portfolio_plan-0.1.0.tar.gz (203.2 kB view details)

Uploaded Source

Built Distribution

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

portfolio_plan-0.1.0-py3-none-any.whl (200.7 kB view details)

Uploaded Python 3

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

Hashes for portfolio_plan-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ac907d81d5b082770757da1899195bc5999ec1a69a46f9323a8e4ba6f18b99b1
MD5 a5c331983783c5e9b5b609ac5e984f66
BLAKE2b-256 cc328f26b3248f8962aed92f2005a6c29d298aaf755521b9e1890af88770b29f

See more details on using hashes here.

File details

Details for the file portfolio_plan-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for portfolio_plan-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76f9ccbed4f533561388e224d6d33b03fe9fdb891f3bdf009388e6541ce975f6
MD5 e3c2e09dc992a30eafcb15e9c1de72c5
BLAKE2b-256 f1207f5dfa5a4025cc4df26181a8cba45a95dfeb90a1052f26e1a459cb73fd86

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