Metadata-Version: 2.1
Name: pcrm-book
Version: 1.0.8
Summary: Accompanying Python code to the Portfolio Construction and Risk Management book by Anton Vorobets.
Home-page: https://pcrmbook.com
License: GPL-3.0-or-later
Keywords: CVaR,Entropy Pooling,Quantitative Finance,Portfolio Optimization,Risk Management
Author: Anton Vorobets
Author-email: admin@fortitudo.tech
Requires-Python: >=3.9,<3.14
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Office/Business :: Financial
Classifier: Topic :: Office/Business :: Financial :: Investment
Classifier: Topic :: Scientific/Engineering :: Mathematics
Requires-Dist: fortitudo-tech (>=1.1.8,<2.0.0)
Requires-Dist: jupyterlab (>=4.3.0,<5.0.0)
Requires-Dist: seaborn (>=0.13.0,<0.14.0)
Requires-Dist: yfinance (>=0.2.50,<0.3.0)
Project-URL: Documentation, https://antonvorobets.substack.com/p/pcrm-book
Project-URL: Issues, https://github.com/fortitudo-tech/pcrm-book/issues
Project-URL: Repository, https://github.com/fortitudo-tech/pcrm-book
Description-Content-Type: text/markdown

[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/fortitudo-tech/pcrm-book/HEAD?urlpath=%2Fdoc%2Ftree%2F%2Fcode)

# Portfolio Construction and Risk Management book's Python code
This repository contains the accompanying code to Portfolio Construction and Risk
Management book © 2025 by Anton Vorobets.

[You can find the latest PDF version of the book in this Substack post](https://antonvorobets.substack.com/p/pcrm-book).

For a quick video introduction to what you can expect from this book and some
fundamental perspectives, [watch this video](https://antonvorobets.substack.com/p/anton-vorobets-next-generation-investment-framework).

Subscribe to the [Quantamental Investing Substack publication](https://antonvorobets.substack.com)
to stay updated on all news related to the book.

You can still support the project through [buy me a coffee](https://buymeacoffee.com/antonvorobets)
or [Substack](https://antonvorobets.substack.com).

# Applied Quantitative Investment Management course
You can access [a course that carefully goes through the book and its accompanying
code](https://antonvorobets.substack.com/t/course) from this repository.

[Read more about the course and how you get access here](https://antonvorobets.substack.com/p/course-q-and-a).

# Running the code
It is recommended to install the book's code dependencies in a 
[conda environment](https://conda.io/projects/conda/en/latest/user-guide/concepts/environments.html).

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](https://jupyter.org/)
instance using the following commands:

    conda activate pcrm-book
    jupyter lab

If you are completely new to [conda environments](https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html)
and Jupyter notebooks, you can find a lot of information online.

You can also run the code without any local installations using [Binder](https://mybinder.org/v2/gh/fortitudo-tech/pcrm-book/HEAD?urlpath=%2Fdoc%2Ftree%2F%2Fcode).
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](https://github.com/fortitudo-tech/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](https://igg.me/at/pcrm-book),
you can choose to be recognized in the book's preface. You will additionally get a one-year
paid complimentary Substack subscription to the [Quantamental Investing publication](https://antonvorobets.substack.com),
which contains exclusive case studies and allow you to continue asking questions.

# Licenses
The Portfolio Construction and Risk Management book © 2025 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 © 2025 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

