From e2542a647a3b228a8d5f264a2e960f11523f4930 Mon Sep 17 00:00:00 2001 From: fasiondog Date: Wed, 2 Feb 2022 16:38:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=A3=EF=BC=8C?= =?UTF-8?q?=E5=88=A0=E9=99=A4=20stock=20=E4=B8=AD=E7=9A=84=20get=5Fkrecord?= =?UTF-8?q?=5Fby=5Fdatetime=20=E5=87=BD=E6=95=B0=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/source/stock_manager.rst | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/docs/source/stock_manager.rst b/docs/source/stock_manager.rst index e40a4663c..7a87c1dc0 100644 --- a/docs/source/stock_manager.rst +++ b/docs/source/stock_manager.rst @@ -295,19 +295,11 @@ StockManager/Block/Stock 获取指定索引的K线数据记录,未作越界检查 - :param int pos: 指定的索引位置 + :param int pos | Datetime datetime: 指定的索引位置,或日期 :param Query.KType ktype: K线数据类别 :return: K线记录 :rtype: KRecord - .. py:method:: get_krecord_by_datetime(self, datetime[, ktype=Query.DAY]) - - 根据数据类型(日线/周线等),获取指定时刻的KRecord - - :param Datetime datetime: 指定时刻 - :param Query.KType ktype: K线数据类别 - :return: K线记录 - :rtype: KRecord .. py:method:: get_krecord_list(self, start, end, ktype)