Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
QuantConnect
/
Tutorials
Public
Notifications
You must be signed in to change notification settings
Fork
246
Star
742
Code
Issues
38
Pull requests
6
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
67580984b715b02d829840831b8bc487f29c7213
Breadcrumbs
Tutorials
/
04 Strategy Library
/
01 CAPM Alpha Ranking Strategy on Dow 30 Companies
/
04 总结.cn.html
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
14 lines (11 loc) · 1.59 KB
6758098
Breadcrumbs
Tutorials
/
04 Strategy Library
/
01 CAPM Alpha Ranking Strategy on Dow 30 Companies
/
04 总结.cn.html
Copy path
Top
File metadata and controls
Code
Blame
14 lines (11 loc) · 1.59 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<p>
我们已经证明,在一个平稳的市场中,上个月跑赢大盘的股票很可能在接下来的一个月里再次跑赢大盘。当市场波动时,线性回归的显著性水平降低,模型性能下降。我们可以通过观察资产(x)和基准(y)的协方差来理解这一点。当协方差减小到零时,beta将会减小。
</p>
\[\hat{\beta} = \frac{Cov[x,y]}{\sum (x_i - \beta{x})^2}\]
<p>
作为实验,我们根据2015年的市场数据对算法进行了测试。对市场来说,这是一个极不稳定的时期,波动回到了接近于零的平均值,并在当年8月18日至8月25日期间下跌了近10%。该算法在今年的表现很差,收益率为-11.58%。与这一策略相关的风险包括大幅削减、缺乏对冲和止损。由于我们使用杠杆,风险增加了,因此在1月份有追加保证金的通知。我们可以通过应用以下技术来提高性能:
</p>
<ul>
<li>进行优化:我们可以实施均值方差分析来确定每月的资产配置,选择更多的股票进行交易。这将降低我们的风险,更科学地管理投资组合。</li>
<li>考虑beta:如果我们想要更加积极,我们可以结合alpha和beta来选择目标。这意味着我们选择的股票具有比市场波动更大的高alpha值。然而,如果我们是保守的投资者,我们可以使策略保持市场中立,这意味着投资组合不会受到市场表现的影响。例如,如果我们做多两只beta值为1和-1的股票,并分别持有相同的头寸大小,那么我们的投资组合就会变得市场中性。</li>
</ul>
You can’t perform that action at this time.