Skip to main content

Portfolio Optimization Experiments

I've been interested in finance for a long time, but I've never had the opportunity to learn about it in a structured way. This idea came to me after a twitter mutual mentioned that french state pensions had to be better in terms of revenue for middle class people compared to S&P 500. I was curious about how to compare the two, and I started to learn about financial concepts such as volatility, risk, and return. I also wanted to learn about how to compare metrics such as the IRR via the Sharpe ratio, and how to compare risk-free assets such as french pensions to risky assets such as S&P 500.

The experiments can be found on GitHub, and the results are published in sections of my optimization book (which is also open source).

Main tools (for now)

Upcoming experiments

  • Model the french pension system as an asset & compare it to S&P 500
  • Estimate risk aversion from historical data
  • Calculate the tradeoff curve for the french pension system

Contributors

Metadata

Release files for portfolios 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for portfolios 0.1.0
File Size Uploaded Provenance Actions
portfolios-0.1.0.tar.gz 6.5 kB Without provenance Details for portfolios-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for portfolios 0.1.0
File Interpreter ABI Platform Actions
portfolios-0.1.0-py3-none-any.whl Python 3 none any Details for portfolios-0.1.0-py3-none-any.whl

Total release size: 13.6 kB

Release files / portfolios-0.1.0.tar.gz

Download URL portfolios-0.1.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4c199230c34b469ac6d1b71abbb073db4a3392af15f9b9f4d345115db2adebc4
BLAKE2b-256 checksum
How to use checksums
fbfcff957d1caff38c3b579fee6a0226bef268c8110bea7a731a57494bdb6c27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.9.13 Windows/10

Release files / portfolios-0.1.0-py3-none-any.whl

Download URL portfolios-0.1.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79e492d6316a96a37b0aed3fe3dd6f51cbd6af1f21fa6933961841d82e35efa7
BLAKE2b-256 checksum
How to use checksums
52d8c6d69b0c14674b665f49bb5c36d220cf67fc18000e51b1649cbd219bc415
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.9.13 Windows/10

Security for portfolios 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page