Skip to content

fix: parse mixed Yahoo date index#2225

Open
he-yufeng wants to merge 1 commit into
microsoft:mainfrom
he-yufeng:fix/yahoo-mixed-datetime-index
Open

fix: parse mixed Yahoo date index#2225
he-yufeng wants to merge 1 commit into
microsoft:mainfrom
he-yufeng:fix/yahoo-mixed-datetime-index

Conversation

@he-yufeng
Copy link
Copy Markdown

What

To verify

  • python -m py_compile scripts\data_collector\yahoo\collector.py tests\test_yahoo_collector.py
  • git diff --check -- scripts\data_collector\yahoo\collector.py tests\test_yahoo_collector.py

Local note

  • python -m pytest tests\test_yahoo_collector.py -q is blocked in this Windows checkout because qlib's local C extensions are not built: ModuleNotFoundError: No module named 'qlib.data._libs.rolling'.
  • python setup.py build_ext --inplace also fails before tests with Conda Python's pyconfig.h unable to include io.h, so I did not classify that as a patch failure.

Fixes #2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

执行yahoo normalize data 发生 ValueError: unconverted data remains when parsing with format "%Y-%m-%d" 错误

1 participant