From bda374180aaaf8a6b01fa0fbf5575ea404343371 Mon Sep 17 00:00:00 2001 From: codecnotsupported Date: Fri, 3 Jan 2025 06:56:49 +0100 Subject: [PATCH] Update links to chenditc/investment_data to always point to latest release (#1877) * Update README.md Link to latest release. https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases#linking-to-the-latest-release * Update README.md Link to latest release. https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases#linking-to-the-latest-release * Update README.md Link to latest release. https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases#linking-to-the-latest-release * Update README.md Link to latest release. https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases#linking-to-the-latest-release * Update README.md * Update README.md --- README.md | 4 ++-- examples/benchmarks_dynamic/README.md | 2 +- scripts/README.md | 2 +- scripts/data_collector/crowd_source/README.md | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index afc17b33c2..5229d32897 100644 --- a/README.md +++ b/README.md @@ -196,9 +196,9 @@ Also, users can install the latest dev version ``Qlib`` by the source code accor ## Data Preparation ❗ Due to more restrict data security policy. The offical dataset is disabled temporarily. You can try [this data source](https://github.com/chenditc/investment_data/releases) contributed by the community. -Here is an example to download the data updated on 20240809. +Here is an example to download the latest data. ```bash -wget https://github.com/chenditc/investment_data/releases/download/2024-08-09/qlib_bin.tar.gz +wget https://github.com/chenditc/investment_data/releases/latest/download/qlib_bin.tar.gz mkdir -p ~/.qlib/qlib_data/cn_data tar -zxvf qlib_bin.tar.gz -C ~/.qlib/qlib_data/cn_data --strip-components=1 rm -f qlib_bin.tar.gz diff --git a/examples/benchmarks_dynamic/README.md b/examples/benchmarks_dynamic/README.md index 6f78fa71a4..1f27284b4f 100644 --- a/examples/benchmarks_dynamic/README.md +++ b/examples/benchmarks_dynamic/README.md @@ -7,7 +7,7 @@ The table below shows the performances of different solutions on different forec ## Alpha158 Dataset Here is the [crowd sourced version of qlib data](data_collector/crowd_source/README.md): https://github.com/chenditc/investment_data/releases ```bash -wget https://github.com/chenditc/investment_data/releases/download/20220720/qlib_bin.tar.gz +wget https://github.com/chenditc/investment_data/releases/latest/download/qlib_bin.tar.gz mkdir -p ~/.qlib/qlib_data/cn_data tar -zxvf qlib_bin.tar.gz -C ~/.qlib/qlib_data/cn_data --strip-components=2 rm -f qlib_bin.tar.gz diff --git a/scripts/README.md b/scripts/README.md index d9cb745d59..e3f6a1b696 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -71,6 +71,6 @@ qlib.init(provider_uri=provider_uri, region=REG_CN) ## Use Crowd Sourced Data The is also a [crowd sourced version of qlib data](data_collector/crowd_source/README.md): https://github.com/chenditc/investment_data/releases ```bash -wget https://github.com/chenditc/investment_data/releases/download/20220720/qlib_bin.tar.gz +wget https://github.com/chenditc/investment_data/releases/latest/download/qlib_bin.tar.gz tar -zxvf qlib_bin.tar.gz -C ~/.qlib/qlib_data/cn_data --strip-components=2 ``` diff --git a/scripts/data_collector/crowd_source/README.md b/scripts/data_collector/crowd_source/README.md index cdf36564b2..91093b50a3 100644 --- a/scripts/data_collector/crowd_source/README.md +++ b/scripts/data_collector/crowd_source/README.md @@ -16,9 +16,9 @@ The packaged docker runtime is hosted on dockerhub: https://hub.docker.com/repos ## How to use it in qlib ### Option 1: Download release bin data -User can download data in qlib bin format and use it directly: https://github.com/chenditc/investment_data/releases/tag/20220720 +User can download data in qlib bin format and use it directly: https://github.com/chenditc/investment_data/releases/latest ```bash -wget https://github.com/chenditc/investment_data/releases/download/20220720/qlib_bin.tar.gz +wget https://github.com/chenditc/investment_data/releases/latest/download/qlib_bin.tar.gz tar -zxvf qlib_bin.tar.gz -C ~/.qlib/qlib_data/cn_data --strip-components=2 ```