Skip to content

Commit

Permalink
修改文档,删除 stock 中的 get_krecord_by_datetime 函数说明
Browse files Browse the repository at this point in the history
  • Loading branch information
fasiondog committed Feb 2, 2022
1 parent 31b4b17 commit e2542a6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docs/source/stock_manager.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e2542a6

Please sign in to comment.