1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-11 14:56:55 +08:00

Update getdata.rst

This commit is contained in:
you-n-g
2022-07-15 17:58:23 +08:00
committed by GitHub
parent 107d716cf8
commit 6fddae9965

View File

@@ -127,7 +127,7 @@ For example, it looks quite long and complicated:
.. code-block:: python .. code-block:: python
>> from qlib.data import D >> 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. But using string is not the only way to implement the expression. You can also implement expression by code.