-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
fix_issue_1060 #1092
fix_issue_1060 #1092
Conversation
@@ -11,10 +12,11 @@ | |||
import baostock as bs | |||
from loguru import logger | |||
|
|||
from scripts.data_collector.base import BaseCollector, BaseRun, BaseNormalize | |||
from scripts.data_collector.utils import get_hs_stock_symbols, get_calendar_list | |||
BASE_DIR = Path(__file__).resolve().parent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure this is not affected?
https://github.com/microsoft/qlib/blob/main/scripts/data_collector/pit/collector.py#L254
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure this is not affected? https://github.com/microsoft/qlib/blob/main/scripts/data_collector/pit/collector.py#L254
Yes, this doesn't affect the normal operation of the program.
|
||
BASE_DIR = Path(__file__).resolve().parent.parent | ||
from base import BaseCollector, BaseRun, BaseNormalize |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
base
and utils
may easily conflict with other modules.
Will data_collector
will be better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already fixed.
* fix_issue_1060 * fix_import_error
Description
Motivation and Context
How Has This Been Tested?
pytest qlib/tests/test_all_pipeline.py
under upper directory ofqlib
.Screenshots of Test Results (if appropriate):
Types of changes