From 2a50a02331c913fd3125285f6acc5284e5bf2fda Mon Sep 17 00:00:00 2001 From: The Gitter Badger Date: Sat, 26 Sep 2020 09:07:57 -0500 Subject: [PATCH 1/5] Add Gitter badge (#21) --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 061647a2b..78572067b 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,9 @@ For more details, please refer to our paper ["Qlib: An AI-oriented Quantitative # Framework of Qlib + +[![Join the chat at https://gitter.im/Microsoft/qlib](https://badges.gitter.im/Microsoft/qlib.svg)](https://gitter.im/Microsoft/qlib?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +
From 0aa57252de7bf195a7a020c7304c7013bfd2a29b Mon Sep 17 00:00:00 2001 From: you-n-g Date: Sat, 26 Sep 2020 22:08:33 +0800 Subject: [PATCH 2/5] Update README.md Replace gitter logo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 78572067b..99c99156f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ +[![Join the chat at https://gitter.im/Microsoft/qlib](https://badges.gitter.im/Microsoft/qlib.svg)](https://gitter.im/Microsoft/qlib?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +
@@ -26,8 +28,6 @@ For more details, please refer to our paper ["Qlib: An AI-oriented Quantitative # Framework of Qlib -[![Join the chat at https://gitter.im/Microsoft/qlib](https://badges.gitter.im/Microsoft/qlib.svg)](https://gitter.im/Microsoft/qlib?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -
From 2bca76ebee20a95e36f6becbda4970cbbf8a7eca Mon Sep 17 00:00:00 2001 From: Wendi Li Date: Sun, 27 Sep 2020 02:01:12 +0800 Subject: [PATCH 3/5] Update estimator.rst --- docs/component/estimator.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/component/estimator.rst b/docs/component/estimator.rst index fdef92996..51f4251b9 100644 --- a/docs/component/estimator.rst +++ b/docs/component/estimator.rst @@ -617,7 +617,7 @@ The `Fetcher` provides the following interface - `get_experiment(exp_name, exp_id, fields=None)` - The interface takes three parameters. The first parameter is the experiment name, the second parameter is the experiment id, and the third parameter is list of fields. The default value of `fields` is None, which means all fields. + The interface takes three parameters. The first parameter is the experiment name, the second parameter is the experiment id, and the third parameter is a list of fields. The default value of `fields` is None, which means all fields. .. note:: From 18aeb0d48dc9e771c7a89d1386dbdcfeba6abdef Mon Sep 17 00:00:00 2001 From: Wendi Li Date: Sun, 27 Sep 2020 01:57:12 +0800 Subject: [PATCH 4/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 99c99156f..4f6330375 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ [![Join the chat at https://gitter.im/Microsoft/qlib](https://badges.gitter.im/Microsoft/qlib.svg)](https://gitter.im/Microsoft/qlib?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -
+
@@ -57,7 +57,7 @@ This quick start guide tries to demonstrate Users can easily intsall ``Qlib`` according to the following steps: -* Before installing ``Qlib`` from source, you need to install some dependencies: +* Before installing ``Qlib`` from source, users need to install some dependencies: ```bash pip install numpy From 727a6d33b2f60d5d1aab4efd9f2b0b19b5a08311 Mon Sep 17 00:00:00 2001 From: Wendi Li Date: Sun, 27 Sep 2020 02:08:04 +0800 Subject: [PATCH 5/5] Update data.rst Modify the typos. --- docs/component/data.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/component/data.rst b/docs/component/data.rst index 6ebd94700..60fe6da44 100644 --- a/docs/component/data.rst +++ b/docs/component/data.rst @@ -26,7 +26,7 @@ Qlib Format Data ------------------ We've specially designed a data structure to manage financial data, please refer to the `File storage design section in Qlib paper `_ for detailed information. -Such data will be stored with filename suffix `.bin` (We'll call them `.bin` file, `.bin` format or qlib format). `.bin` file is designed for scientific computing on finance data +Such data will be stored with filename suffix `.bin` (We'll call them `.bin` file, `.bin` format, or qlib format). `.bin` file is designed for scientific computing on finance data Qlib Format Dataset -------------------- @@ -45,7 +45,7 @@ When ``Qlib`` is initialized with this dataset, users could build and evaluate t Converting CSV Format into Qlib Format ------------------------------------------- -``Qlib`` has provided the script ``scripts/dump_bin.py`` to convert data in CSV format into `.bin` files(Qlib format). +``Qlib`` has provided the script ``scripts/dump_bin.py`` to convert data in CSV format into `.bin` files (Qlib format). Users can download the china-stock data in CSV format as follows for reference to the CSV format. @@ -65,7 +65,7 @@ After conversion, users can find their Qlib format data in the directory `~/.qli .. note:: - The arguments of `--include_fields` should correspond with the columns names of CSV files. The columns names of dataset provided by ``Qlib`` includes open,close,high,low,volume,factor. + The arguments of `--include_fields` should correspond with the column names of CSV files. The columns names of dataset provided by ``Qlib`` includes open,close,high,low,volume,factor. - `open` The opening price @@ -179,9 +179,9 @@ Qlib also provides two functions to help users init the data handler, users can - `_init_raw_df` Users can init the raw df, feature names, and label names of data handler in this function. - If the index of feature df and label df are not same, users need to override this method to merge them (e.g. inner, left, right merge). + If the index of feature df and label df are not the same, users need to override this method to merge them (e.g. inner, left, right merge). -If users want to load features and labels by config, users can inherit ``qlib.contrib.estimator.handler.ConfigDataHandler``, ``Qlib`` also have provided some preprocess method in this subclass. +If users want to load features and labels by config, users can inherit ``qlib.contrib.estimator.handler.ConfigDataHandler``, ``Qlib`` also provides some preprocess method in this subclass. If users want to use qlib data, `QLibDataHandler` is recommended. Users can inherit their custom class from `QLibDataHandler`, which is also a subclass of `ConfigDataHandler`. @@ -255,7 +255,7 @@ To know more about ``Data Handler``, please refer to `Data Handler API <../refer Cache ========== -``Cache`` is an optional module that helps accelerate providing data by saving some frequently-used data as cache file. ``Qlib`` provides a `Memcache` class to cache the most-frequently-used data in memory, an inheritable `ExpressionCache` class and an inheritable `DatasetCache` class. +``Cache`` is an optional module that helps accelerate providing data by saving some frequently-used data as cache file. ``Qlib`` provides a `Memcache` class to cache the most-frequently-used data in memory, an inheritable `ExpressionCache` class, and an inheritable `DatasetCache` class. Global Memory Cache --------------------- @@ -297,14 +297,14 @@ The following shows the details about the interfaces: .. autoclass:: qlib.data.cache.DatasetCache :members: -``Qlib`` has currently provided implemented disk cache `DiskDatasetCache` which inherits from `DatasetCache` . The datasets data will be stored in the disk. +``Qlib`` has currently provided implemented disk cache `DiskDatasetCache` which inherits from `DatasetCache` . The datasets' data will be stored in the disk. Data and Cache File Structure ================================== -We've specially designed a file structure to manage data and cache, please refer to the `File storage design section in Qlib paper `_ for detailed information.The file structure of data and cache is listed as follows. +We've specially designed a file structure to manage data and cache, please refer to the `File storage design section in Qlib paper `_ for detailed information. The file structure of data and cache is listed as follows. .. code-block:: json