Skip to main content

Accompanying Python code to the Portfolio Construction and Risk Management book by Anton Vorobets.

Project description

Binder

Portfolio Construction and Risk Management book's Python code

This repository contains the accompanying code to Portfolio Construction and Risk Management book © 2024-2026 by Anton Vorobets.

You can find the latest PDF version of the book in this Substack post.

For a quick video introduction to what you can expect from this book and some fundamental perspectives, watch this video.

Subscribe to the Quantamental Investing Substack publication to stay updated on all news related to the book.

You can still support the project through buy me a coffee or Substack.

Applied Quantitative Investment Management course

You can access a course that carefully goes through the book and its accompanying code from this repository.

Read more about the course and how you get access here.

Running the code

It is recommended to install the book's code dependencies in a conda environment.

After cloning the repository to your local machine, you can install the dependencies using the following command in your terminal:

conda env create -f environment.yml

You can then activate the conda environment and start a JupyterLab instance using the following commands:

conda activate pcrm-book
jupyter lab

If you are completely new to conda environments and Jupyter notebooks, you can find a lot of information online.

You can also run the code without any local installations using Binder. Note however that Binder servers are not always available and might have insufficient resources to run all the examples.

Feedback

Please post your feedback in the community Discussions forum. I will try to incorporate the feedback in the book. See the book's preface for some general perspectives on what it tries to achieve, and which kind feedback will be considered appropriate.

Thank you for your support

Your support made it possible for this book to be written.

Besides your personal monetary support, you can help improve the quality of the book by simply publicly sharing your positive experience with the book and its code, thereby encouraging more people to support the project. You are also encouraged to give this and the supporting fortitudo.tech repository a star.

No matter how much economic support this project realistically gets, it will only be a small fraction of the opportunity costs from writing the book and making it freely available online. Hence, you are encouraged to support it by the amount that you think it is worth to you.

If you claim one of the significiant contributor perks, you can choose to be recognized in the post that contains the latest version of the book

Licenses

The Portfolio Construction and Risk Management book © 2024-2026 by Anton Vorobets is licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-nd/4.0/

The accompanying code to the Portfolio Construction and Risk Management book © 2024-2026 by Anton Vorobets is licensed under version 3 of the GNU General Public License. To view a copy of this license, visit https://www.gnu.org/licenses/gpl-3.0.en.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

pcrm_book-1.0.9.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

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

pcrm_book-1.0.9-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file pcrm_book-1.0.9.tar.gz.

File metadata

  • Download URL: pcrm_book-1.0.9.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.10 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for pcrm_book-1.0.9.tar.gz
Algorithm Hash digest
SHA256 b7ad51ed526395544d6499bfa0e51e79885d671cafe940fc91c70e766923ed66
MD5 2907f9a3c588b22831d3677b82ff37fb
BLAKE2b-256 e554e03d1e7896d2e7aba189cb57eed7838872244d959738e7ec0d459842fa88

See more details on using hashes here.

File details

Details for the file pcrm_book-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: pcrm_book-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.10 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for pcrm_book-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 9af7e04c82265e09380178d0cff474f346591984d92c1a86fed2275e405480bf
MD5 ff93faf0fe8a83d87fe092f5672d07fb
BLAKE2b-256 769dbca8ed876195504113bc311f424d946be994059d4dd0e832c66c1e36f609

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