Skip to content
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

Merged
merged 2 commits into from May 7, 2022
Merged

fix_issue_1060 #1092

merged 2 commits into from May 7, 2022

Conversation

SunsetWolf
Copy link
Collaborator

Description

Motivation and Context

How Has This Been Tested?

  • Pass the test by running: pytest qlib/tests/test_all_pipeline.py under upper directory of qlib.
  • If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

  1. Pipeline test:
  2. Your own tests:

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

@@ -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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

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
Copy link
Collaborator

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already fixed.

@you-n-g you-n-g merged commit 2de9903 into microsoft:main May 7, 2022
@SunsetWolf SunsetWolf mentioned this pull request Jun 8, 2022
@you-n-g you-n-g added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 15, 2022
qianyun210603 pushed a commit to qianyun210603/qlib that referenced this pull request Mar 23, 2023
* fix_issue_1060

* fix_import_error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants