Skip to content

FinQuant v0.3.0 added feature: beta parameter

Pre-release
Pre-release
Compare
Choose a tag to compare
@fmilthaler fmilthaler released this 14 Jul 13:22
· 24 commits to master since this release

What's Changed

In this release, a new feature was added by @PietropaoloFrisoni.

Adding computation of the beta parameter for the portfolio. In the
Capital Asset Pricing Model (CAPM), the beta parameter defines how risky
the portfolio is compared to the market.

The additional feature is written so that all the previous
codes and tests should still work: suppose the argument "market_index"
is not explicitly passed to the "build_portfolio" function. In that
case, the Market class instance is not created, and the beta parameter
of the portfolio is not computed or printed in properties.

The example Example-Build-Portfolio-from-web.py shows how to use this new feature.

Full Changelog: v0.2.3...v0.3.0