Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 99411cd

Browse filesBrowse files
shinny-hongyanshinny-chenli
authored andcommitted
Update Version 3.7.8
1 parent 1adf688 commit 99411cd
Copy full SHA for 99411cd
Expand file treeCollapse file tree

22 files changed

+103
-133
lines changed
Open diff view settings
Collapse file

‎PKG-INFO‎

Copy file name to clipboardExpand all lines: PKG-INFO
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
22
Name: tqsdk
3-
Version: 3.7.6
3+
Version: 3.7.8
44
Summary: TianQin SDK
55
Home-page: https://www.shinnytech.com/tqsdk
66
Author: TianQin
Collapse file

‎doc/advanced/index.rst‎

Copy file name to clipboardExpand all lines: doc/advanced/index.rst
-1Lines changed: 0 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@
1717
unanttended.rst
1818
targetpostask2.rst
1919
scheduler.rst
20-
tqsdk2ctptest.rst
Collapse file

‎doc/conf.py‎

Copy file name to clipboardExpand all lines: doc/conf.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@
4040

4141
# General information about the project.
4242
project = u'TianQin Python SDK'
43-
copyright = u'2018-2024, TianQin'
43+
copyright = u'2018-2025, TianQin'
4444
author = u'TianQin'
4545

4646
# The version info for the project you're documenting, acts as replacement for
4747
# |version| and |release|, also used in various other places throughout the
4848
# built documents.
4949
#
5050
# The short X.Y version.
51-
version = u'3.7.6'
51+
version = u'3.7.8'
5252
# The full version, including alpha/beta/rc tags.
53-
release = u'3.7.6'
53+
release = u'3.7.8'
5454

5555
# The language for content autogenerated by Sphinx. Refer to documentation
5656
# for a list of supported languages.
Collapse file

‎doc/profession.rst‎

Copy file name to clipboardExpand all lines: doc/profession.rst
+1Lines changed: 1 addition & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ TqSdk 中大部分功能是供用户免费使用的, 同时我们也提供了专
2020

2121
.. figure:: images/how-grafana04.gif
2222

23+
2324
`快期专业版官网地址 <https://www.shinnytech.com/qpro>`_
2425

2526
`快期专业版文档地址 <https://publish2.shinnytech.com/doc/qpro/latest/quickstart.html>`_
Collapse file

‎doc/quickstart.rst‎

Copy file name to clipboardExpand all lines: doc/quickstart.rst
-6Lines changed: 0 additions & 6 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,6 @@ klines是一个pandas.DataFrame对象. 跟 api.get_quote() 一样, api.get_kline
107107

108108
这部分的完整示例程序请见 :ref:`tutorial-t30` .
109109

110-
我们也可以通过传入一个合约列表作为参数,来获取包含多个合约数据的K线::
111-
112-
klines = api.get_kline_serial(["SHFE.au1912", "SHFE.au2006"], 5) # 获取SHFE.au2006向SHFE.au1912对齐的K线
113-
114-
详细使用方法及说明请见 :py:meth:`~tqsdk.TqApi.get_kline_serial` 函数说明。
115-
116110
到这里为止, 你已经知道了如何获取实时行情和K线数据, 下面一段将介绍如何访问你的交易账户并发送交易指令
117111

118112
.. _quickstart_2_web_gui:
Collapse file

‎doc/usage/backtest.rst‎

Copy file name to clipboardExpand all lines: doc/usage/backtest.rst
+2-4Lines changed: 2 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
策略程序回测
44
=================================================
5-
策略程序回测是 TqSdk 专业版中的功能,能让用户在不改变代码的情况下去回测自己的策略在历史行情的表现
5+
策略程序回测能让用户在不改变代码的情况下去回测自己的策略在历史行情的表现
66

7-
如果想使用策略回测该功能,可以点击 `天勤量化专业版 <https://www.shinnytech.com/tqsdk-buy/>`_ 申请使用或购买
8-
9-
用户也可以申请模拟账户后模拟运行来检验策略 :ref:`sim_trading`
7+
用户也可以使用快期模拟账户来模拟运行来检验策略 :ref:`sim_trading`
108

119
执行策略回测
1210
-------------------------------------------------
Collapse file

‎doc/usage/option_trade.rst‎

Copy file name to clipboardExpand all lines: doc/usage/option_trade.rst
+1-5Lines changed: 1 addition & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
期权交易 & 交易所官方组合
44
====================================================
5-
TqSdk 中期权交易(商品期权、金融期权和 ETF 期权)和交易所官方组合交易,均是 TqSdk 专业版中的功能
6-
7-
用户如果想在 TqSdk 中进行上述操作,可以点击 `天勤量化专业版 <https://www.shinnytech.com/tqsdk-buy/>`_ 申请使用或购买
8-
95
TqSdk 中期权合和交易所官方组合的约代码格式参考如下::
106

117
DCE.m1807-C-2450 - 大商所豆粕期权
@@ -20,7 +16,7 @@ TqSdk 中期权合和交易所官方组合的约代码格式参考如下::
2016

2117

2218

23-
对于交易所官方组合,目前 TqSdk 中只支持交易所官方组合进行实盘交易
19+
对于交易所官方组合,目前 TqSdk 中只支持交易所官方组合进行实盘交易,不支持在模拟中进行交易所官方组合交易
2420

2521

2622
期权指标计算&序列计算函数
Collapse file

‎doc/usage/shinny_account.rst‎

Copy file name to clipboardExpand all lines: doc/usage/shinny_account.rst
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
-------------------------------------------------
2222
对于 TqSdk 免费版,每个快期账户支持最多绑定一个实盘账户,而天勤量化专业版支持一个快期账户绑定任意多个实盘账户
2323

24-
快期账户会在用户使用实盘账户时自动进行绑定,直到该快期账户没有能绑定实盘账户的名额(自动绑定功能需要 TqSdk 版本> 1.8.3)::
24+
快期账户会在用户使用实盘账户时自动进行绑定,直到该快期账户没有能绑定实盘账户的名额::
2525

2626
from tqsdk import TqApi, TqAccount, TqAuth, TqKq
2727
api = TqApi(TqAccount("H海通期货", "320102", "123456"), auth=TqAuth("快期账户", "账户密码"))
Collapse file

‎doc/usage/targetpostask.rst‎

Copy file name to clipboardExpand all lines: doc/usage/targetpostask.rst
-2Lines changed: 0 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,3 @@
7272

7373

7474

75-
:py:class:`~tqsdk.InsertOrderUntilAllTradedTask` 是追价下单task, 该task会在行情变化后自动撤单重下,直到全部成交.
76-
Collapse file

‎doc/version.rst‎

Copy file name to clipboardExpand all lines: doc/version.rst
+12Lines changed: 12 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
版本变更
44
=============================
5+
3.7.8 (2025/01/23)
6+
7+
* docs: 修正部分文档
8+
* 修复: 因郑商所三位合约导致合约信息中部分字段错误的问题
9+
10+
11+
3.7.7 (2025/01/14)
12+
13+
* docs: 修正部分文档,补充 wait_update 的 deadline 参数说明
14+
* 自该版本起不再支持使用 api._data['quotes'] 获取全部合约
15+
16+
517
3.7.6 (2024/11/14)
618

719
* 修复: 增加依赖库 packaging

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.