From 6fddae996502c5ff81f2fc0db76e3c1c6fb992d7 Mon Sep 17 00:00:00 2001 From: you-n-g Date: Fri, 15 Jul 2022 17:58:23 +0800 Subject: [PATCH] Update getdata.rst --- docs/start/getdata.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/start/getdata.rst b/docs/start/getdata.rst index c2407efbb..8849eb87c 100644 --- a/docs/start/getdata.rst +++ b/docs/start/getdata.rst @@ -127,7 +127,7 @@ For example, it looks quite long and complicated: .. code-block:: python >> from qlib.data import D - >> data = D.features(["sh600519"], ["(($high / $close) + ($open / $close)) * (($high / $close) + ($open / $close)) / ($high / $close) + ($open / $close)"], start_time="20200101") + >> data = D.features(["sh600519"], ["(($high / $close) + ($open / $close)) * (($high / $close) + ($open / $close)) / (($high / $close) + ($open / $close))"], start_time="20200101") But using string is not the only way to implement the expression. You can also implement expression by code.