qlib icon indicating copy to clipboard operation
qlib copied to clipboard

Download dataset speed is very slow

Open Sheng1e8 opened this issue 3 years ago • 6 comments

❓ Questions and Help

Hello thank you for the great framework. When i try to download the dataset, the speed is slower than 2k/s, sometimes even 0b/s. I follow the command as the readme. /# get 1d data python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data --region cn /# get 1min data python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data_1min --region cn --interval 1min

Is there some solutions to this? Many thanks.

Sheng1e8 avatar Feb 18 '22 15:02 Sheng1e8

There may be some network issue with our data server.

@SunsetWolf Could you please help to check if https://git-lfs.github.com/ is a better solution for the previous one?

you-n-g avatar Feb 19 '22 16:02 you-n-g

Same problem.

Smalltarget108 avatar Feb 23 '22 14:02 Smalltarget108

Hi! @Sheng1e8 @Smalltarget108 I am sorry to reply you so late, the slow download speed of dataset is because the server is in China, we want to use GLFS tool to move the data to the server outside China, after investigation we found that this tool is chargeable, Qlib has no funding as support, so we can't do this at the moment, if you have a good free big data storage tool, you can tell us. For now, you can try to use VPN to increase the download speed.

SunsetWolf avatar Apr 02 '22 02:04 SunsetWolf

@SunsetWolf will move the data to AzureBlob to serve the data

you-n-g avatar Apr 27 '22 10:04 you-n-g

Can we have direct support using the yahoo Finance API? As it is more faster.

mrtushartiwari avatar Jul 15 '22 12:07 mrtushartiwari

It is fixed now. Please try again :)

you-n-g avatar Jul 18 '22 14:07 you-n-g

This issue is stale because it has been open for three months with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

github-actions[bot] avatar Oct 16 '22 15:10 github-actions[bot]