From 2bfccb437131b3a0a16c0c5aef8fa68c00332449 Mon Sep 17 00:00:00 2001 From: JJ <103335846+computerscienceiscool@users.noreply.github.com> Date: Tue, 24 Oct 2023 00:27:16 -0700 Subject: [PATCH] Update data.rst Fixed a couple of small spelling errors. --- docs/component/data.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/component/data.rst b/docs/component/data.rst index 7cd2701a590..7c73d77d84a 100644 --- a/docs/component/data.rst +++ b/docs/component/data.rst @@ -52,7 +52,7 @@ Also, ``Qlib`` provides a high-frequency dataset. Users can run a high-frequency Qlib Format Dataset ------------------- ``Qlib`` has provided an off-the-shelf dataset in `.bin` format, users could use the script ``scripts/get_data.py`` to download the China-Stock dataset as follows. User can also use numpy to load `.bin` file to validate data. -The price volume data look different from the actual dealling price because of they are **adjusted** (`adjusted price `_). And then you may find that the adjusted price may be different from different data sources. This is because different data sources may vary in the way of adjusting prices. Qlib normalize the price on first trading day of each stock to 1 when adjusting them. +The price volume data look different from the actual dealing price because of they are **adjusted** (`adjusted price `_). And then you may find that the adjusted price may be different from different data sources. This is because different data sources may vary in the way of adjusting prices. Qlib normalize the price on first trading day of each stock to 1 when adjusting them. Users can leverage `$factor` to get the original trading price (e.g. `$close / $factor` to get the original close price). Here are some discussions about the price adjusting of Qlib. @@ -146,7 +146,7 @@ Users can also provide their own data in CSV format. However, the CSV data **mus | SH600000 | 120 | +-----------+-------+ -- CSV file **must** includes a column for the date, and when dumping the data, user must specify the date column name. Here is an example: +- CSV file **must** include a column for the date, and when dumping the data, user must specify the date column name. Here is an example: .. code-block:: bash