qlib icon indicating copy to clipboard operation
qlib copied to clipboard

AttributeError: 'BaostockCollectorHS3005min' object has no attribute 'DEFAULT_START_DATETIME_5MIN'

Open ChristoCai opened this issue 10 months ago • 1 comments

🐛 Bug Description

AttributeError: 'BaostockCollectorHS3005min' object has no attribute 'DEFAULT_START_DATETIME_5MIN'

To Reproduce

Steps to reproduce the behavior:

  1. run commend python scripts/data_collector/baostock_5min/collector.py download_data

Screenshot

Image

Environment

Linux x86_64 Linux-5.15.167.4-microsoft-standard-WSL2-x86_64-with-glibc2.17 #1 SMP Tue Nov 5 00:21:55 UTC 2024

Python version: 3.8.20 (default, Oct 3 2024, 15:24:27) [GCC 11.2.0]

Qlib version: 0.9.6.99 numpy==1.23.5 pandas==2.0.3 scipy==1.10.1 requests==2.32.3 sacred==0.8.7 python-socketio==5.12.1 redis==5.2.1 python-redis-lock==4.0.0 schedule==1.2.2 cvxpy==1.5.2 hyperopt==0.2.7 fire==0.7.0 statsmodels==0.14.1 xlrd==2.0.1 plotly==6.0.0 matplotlib==3.7.5 tables==3.8.0 pyyaml==6.0.2 mlflow==2.17.2 tqdm==4.67.1 loguru==0.7.3 lightgbm==4.5.0 tornado==6.4.2 joblib==1.4.2 fire==0.7.0 ruamel.yaml==0.18.10

ChristoCai avatar Feb 05 '25 11:02 ChristoCai

Hi, @ChristoCai The moment I saw the command you used, I thought it was incomplete and I think there are some parameters missing in the command you executed. Here is the documentation on the 5 minute data, I hope it helps you.

SunsetWolf avatar Mar 12 '25 08:03 SunsetWolf