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

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

Open
ChristoCai opened this issue Feb 5, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@ChristoCai
Copy link

🐛 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 ChristoCai added the bug Something isn't working label Feb 5, 2025
@SunsetWolf
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants