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
The following error occurs when you run the pit download_data script: TypeError: download_data() takes from 1 to 7 positional arguments but 8 were given
🐛 Bug Description
The following error occurs when you run the pit download_data script:
TypeError: download_data() takes from 1 to 7 positional arguments but 8 were given
To Reproduce
Steps to reproduce the behavior:
cd scripts/data_collector/pit/
python collector.py download_data --source_dir ./csv_pit --start 2000-01-01 --end 2020-01-01 --interval quarterly --symbol_flt_regx "^(600519|000725).*"
Expected Behavior
Data download successful.
Screenshot
Environment
Note: User could run
cd scripts && python collect_info.py all
under project directory to get system informationand paste them here directly.
Darwin
x86_64
macOS-10.14.6-x86_64-i386-64bit
Darwin Kernel Version 18.7.0: Thu Jun 20 18:42:21 PDT 2019; root:xnu-4903.270.47~4/RELEASE_X86_64
Python version: 3.8.12 (default, Feb 9 2022, 10:43:54) [Clang 10.0.1 (clang-1001.0.46.4)]
Qlib version: 0.8.4.99
numpy==1.22.2
pandas==1.4.1
scipy==1.8.0
requests==2.27.1
sacred==0.8.2
python-socketio==5.5.2
redis==4.1.4
python-redis-lock==3.7.0
schedule==1.1.0
cvxpy==1.0.21
hyperopt==0.1.1
fire==0.4.0
statsmodels==0.13.2
xlrd==2.0.1
plotly==4.12.0
matplotlib==3.1.3
tables==3.7.0
pyyaml==6.0
mlflow==1.24.0
tqdm==4.63.0
loguru==0.6.0
lightgbm==3.3.2
tornado==6.1
joblib==1.1.0
fire==0.4.0
ruamel.yaml==0.17.21
Additional Notes
The text was updated successfully, but these errors were encountered: