跳至内容
Python

Projects

Analyze Your Stock Portfolio for Risks and Returns

中间的技能水平
更新 2024年4月
Use mean-variance optimization to find optimal portfolio weights and then check how well they would have performed.
启动项目

包含优质的 or 团队

PythonApplied Finance1小时1 Tasks1,500 XP

创建您的免费帐户

或者

继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。

深受数千家公司学员的喜爱

Group

培训2人或以上?

试试DataCamp for Business

项目描述

Analyze Your Stock Portfolio for Risks and Returns

When deciding on asset allocation, you can use modern portfolio theory (MPT). MPT emphasizes that you should consider both the expected return and the associated risk (variance) when constructing portfolios.In this project, you will find and evaluate a set of portfolios using mean-variance optimization using libraries such as PyPortfolioOpt.

Analyze Your Stock Portfolio for Risks and Returns

Use mean-variance optimization to find optimal portfolio weights and then check how well they would have performed.
启动项目
  • 1

    Task 1

加入 19百万名学习者 立即开始Analyze Your Stock Portfolio for Risks and Returns !

创建您的免费帐户

或者

继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。