-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
fix get data error #1793
fix get data error #1793
Conversation
@@ -27,7 +27,8 @@ pip install arctic # NOTE: pip may fail to resolve the right package dependency | |||
2. Please follow following steps to download example data | |||
```bash | |||
cd examples/orderbook_data/ | |||
python ../../scripts/get_data.py download_data --target_dir . --file_name highfreq_orderbook_example_data.zip | |||
gdown https://drive.google.com/uc?id=15nZF7tFT_eKVZAcMFL1qPS4jGyJflH7e # Proxies may be necessary here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this mean?
fernet = Fernet(self.KEY) | ||
token = fernet.decrypt(self.TOKEN).decode() | ||
return f"{self.REMOTE_URL}/{file_name}?{token}" | ||
return f"{self.REMOTE_URL}/{file_name}" if "/" in file_name else f"{self.REMOTE_URL}/v0/{file_name}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you mean matching string like "v03" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add more comments here
Description
Motivation and Context
How Has This Been Tested?
pytest qlib/tests/test_all_pipeline.py
under upper directory ofqlib
.Screenshots of Test Results (if appropriate):
Types of changes