Skip to main content

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

Metadata

Release files for pcrm-book 1.0.10

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

Source distribution (sdist)

Source distribution for pcrm-book 1.0.10
File Size Uploaded
pcrm_book-1.0.10.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pcrm-book 1.0.10
File Interpreter ABI Platform
pcrm_book-1.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 31.4 kB

Release files / pcrm_book-1.0.10.tar.gz

Download URL pcrm_book-1.0.10.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e94eeb6cb7740a6fa13e927835c1032b80ca5621862ebd1f987c23cb99fdddf3
BLAKE2b-256 checksum
How to use checksums
ef25f894b19640e1a87c3d16e0c26bbad8f7214ee8e4017c781590baebbbfea0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.8.10 Linux/5.15.167.4-microsoft-standard-WSL2

Release files / pcrm_book-1.0.10-py3-none-any.whl

Download URL pcrm_book-1.0.10-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b455e421886fb9dd1b15e6cbf01e3a8ddbdaeef791fe427e465bb4477ddd1a9c
BLAKE2b-256 checksum
How to use checksums
305aa2cd159d8409d779d31286751ca83030d68c3d35483a77b270179ac82a09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.8.10 Linux/5.15.167.4-microsoft-standard-WSL2

Release history Release notifications | RSS feed

This release

1.0.10 This release

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0

2 release files

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