Fix $volume normalization issue#792
Merged
you-n-g merged 4 commits intomicrosoft:mainfrom Jan 1, 2022
2young-2simple-sometimes-naive:patch-1
Merged
Fix $volume normalization issue#792you-n-g merged 4 commits intomicrosoft:mainfrom 2young-2simple-sometimes-naive:patch-1
you-n-g merged 4 commits intomicrosoft:mainfrom
2young-2simple-sometimes-naive:patch-1
Conversation
Collaborator
|
@2young-2simple-sometimes-naive Thanks for your contribution! |
black formatting
black formatting
black formatting
Collaborator
|
Besides, will your results change significantly if you add this patch? |
Collaborator
|
The format errors are listed in the CI output. |
Contributor
Author
Depends on the selection of stocks. My strategy has a lot of low volumes stocks, and the fix does not change the IC/RIC significantly. It turns out the volume info is not that important in my stock pool. |
Collaborator
|
It looks great to me. |
qianyun210603
pushed a commit
to qianyun210603/qlib
that referenced
this pull request
Mar 23, 2023
* Fix $volume normalization issue Fix: microsoft#765 * black formatting black formatting * black formatting black formatting * black formatting black formatting
you-n-g
added a commit
to you-n-g/qlib
that referenced
this pull request
Aug 16, 2025
…t#792) * refactor: use dynamic input path and update template loader * fix: update include syntax for data source in prompts.yaml * add customization path * docs: update prompts for ensemble scoring and metric direction * chore: remove obsolete data_science/share.yaml file
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fix: #765
Description
change $volume to $volume+1e-12 such that low volume stocks will not create infinity in features.
Motivation and Context
https://github.com//issues/765 $volume creates infinity for low volume stocks.How Has This Been Tested?
pytest qlib/tests/test_all_pipeline.pyunder upper directory ofqlib.Screenshots of Test Results (if appropriate):
Types of changes