-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Implement Enhanced Indexing as a Portfolio Optimizer #280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 15 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
988b42e
Add Structured Covariance Estimator to riskmodel.py
7b01c5c
Add an implementation of Enhanced Indexing to optimizer.py
9c2653f
Add an implementation of Enhanced Indexing to optimizer.py
4000518
Separate specific implementation of Portfolio Optimizer to folder.
b2e2142
Applied slight modification to follow PEP 8.
2cc057e
Fix minor mismatches of type hints.
9448a6e
Add a abstract class as the base class for all optimization related p…
42f8825
Reformat code to follow PEP 8.
f7d3e56
Merge optimization related portfolio construction back to portfolio/o…
58f74cf
Reformat code to follow PEP 8.
164687d
Add scikit-learn to dependencies.
b8647c1
Reformat code to follow PEP 8.
2f9d45e
Reformat code with black.
3787138
Format code with the latest version of black.
yongzhengqi dc4aa67
Black format
Derek-Wds f947a2f
Correct two mistakes in annotation.
d3caea6
Add unittest for TestStructuredCovEstimator.
527718a
Allow enhanced indexing to generate portfolio without industry relate…
2bff6eb
Split classes in riskmodel.py & optimizer.py into seperate files.
83c6e74
Reindex files.
0f3e3d2
Update __init__.py.
79c1142
Pass nan_option to structured covariance estimator.
4d5a30b
Resolve https://github.com/microsoft/qlib/pull/280\#discussion_r58916…
81b86f8
Update test to cover changes in structured_cov_estimator
351d598
Resolve https://github.com/microsoft/qlib/pull/280\#discussion_r58916…
c6675be
Resolve https://github.com/microsoft/qlib/pull/280\#discussion_r58916…
fc89fec
Resolve https://github.com/microsoft/qlib/pull/280\#discussion_r58916…
2f9af1a
Resolve https://github.com/microsoft/qlib/pull/280\#discussion_r58916…
7022675
Resolve https://github.com/microsoft/qlib/pull/280\#discussion_r58916…
6a305c7
Resolve https://github.com/microsoft/qlib/pull/280\#discussion_r58916…
8b9065c
Reformat with black.
53cf89d
Reformat with black.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.