1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00

Add docs for explaining prepared dataset

This commit is contained in:
Jactus
2020-09-25 11:57:06 +08:00
parent 3557fac1ae
commit c539d81223
3 changed files with 15 additions and 12 deletions

View File

@@ -34,6 +34,7 @@ class GetData:
raise requests.exceptions.HTTPError()
chuck_size = 1024
logger.warning(f"The data for the example is collected from Yahoo Finance. Please be aware that the quality of the data might not be perfect. (You can refer to the original data source: https://finance.yahoo.com/lookup.)")
logger.info(f"{file_name} downloading......")
with tqdm(total=int(resp.headers.get("Content-Length", 0))) as p_bar:
with target_path.open("wb") as fp: