You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That should say qlib can get the latest data, but here's dataset loading result:
import qlib
from qlib.contrib.data.handler import Alpha158
data_handler_config = {
"start_time": "2008-01-01",
"end_time": "2023-08-01",
"fit_start_time": "2008-01-01",
"fit_end_time": "2014-12-31",
"instruments": "csi300",
}
if __name__ == "__main__":
qlib.init()
h = Alpha158(**data_handler_config)
# get all the columns of the data
print(h.get_cols())
# fetch all the labels
print(h.fetch(col_set="label"))
# fetch all the features
print(h.fetch(col_set="feature"))
Expected Behavior
Dataset load data just like D did.
Screenshot
Environment
Note: User could run cd scripts && python collect_info.py all under project directory to get system information
and paste them here directly.
Qlib version: 0.8.6
Python version: 3.7/3.8
OS (Windows, Linux, MacOS): Linux
Commit number (optional, please provide it if you are using the dev version):
Additional Notes
The text was updated successfully, but these errors were encountered:
🐛 Bug Description
To Reproduce
Steps to reproduce the behavior:
output:
That should say qlib can get the latest data, but here's dataset loading result:
Expected Behavior
Dataset load data just like D did.
Screenshot
Environment
Note: User could run
cd scripts && python collect_info.py all
under project directory to get system informationand paste them here directly.
Windows
,Linux
,MacOS
): LinuxAdditional Notes
The text was updated successfully, but these errors were encountered: