<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>信易科技用户论坛| 全站动态</title>
	<link>https://forum.shinnytech.com/%e5%8a%a8%e6%80%81/</link>
	<atom:link href="https://forum.shinnytech.com/%e5%8a%a8%e6%80%81/feed/" rel="self" type="application/rss+xml" />
	<description>全站动态信息。</description>
	<lastBuildDate>Mon, 05 Oct 2026 02:22:52 +0800</lastBuildDate>
	<generator>https://buddypress.org/?v=10.4.0</generator>
	<language>zh-CN</language>
	<ttl>30</ttl>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>2</sy:updateFrequency>
	
						<item>
				<guid isPermaLink="false">b90973759b333ef74f5b84428a8dda03</guid>
				<title>qyh46 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26567</link>
				<pubDate>Thu, 24 Sep 2026 03:04:30 +0800</pubDate>

									<content:encoded><![CDATA[<p>我还以为代码出错，行情推送的有差异啊，主连和主力，要么就都是2611，要么就都是2610，搞出两种标准是什么情况</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">dfb7644d5754e736da12fa7b9edee697</guid>
				<title>wds_tom 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26563</link>
				<pubDate>Wed, 23 Sep 2026 11:01:02 +0800</pubDate>

									<content:encoded><![CDATA[<p>一、环境信息<br />
============================================================<br />
&#8211; 产品：TqSdk（python），版本 3.10.2<br />
&#8211; 账户：免费版（信易账户登录，1 个实盘账户 宏源期货账户）<br />
&#8211; 部署：Linux 云服务器，常驻一个 scheduler 进程，仅此一个进程使用本信易账户<br />
&#8211; 订阅内容：约 65 个期货品种主连 KQ.m@XXXX 的 3 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0c4914116a5d090c1a5bf8f5c3d3627c</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26561</link>
				<pubDate>Wed, 23 Sep 2026 05:48:30 +0800</pubDate>

									<content:encoded><![CDATA[<p>天勤里面没有直接计算vp指标的函数，软件内部的公式估计不会对外公开，你可以截图让AI反推看看</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">808fbafcc4910d11c5a083b75c6ecb3e</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26560</link>
				<pubDate>Wed, 23 Sep 2026 05:41:33 +0800</pubDate>

									<content:encoded><![CDATA[<p>这是回测框架的既定规则，不是异步或多品种导致的。</p>
<p>天勤文档《策略程序回测》里“回测时的成交规则和推进”的规则3写得很明确：某个合约订阅的最小 K 线周期大于 1 分钟时，回测框架会隐式再订阅一根 1 分钟 K 线，保证这个合约 quote 的更新周期不超过 1 分钟。</p>
<p>你用的是日线，周期 86400 秒，远大于 1 分钟，所以必然命中这条。表现就是：日线序列本身仍按天推进，但框架额外挂了一根 1 分钟序列，wa [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3c54307aaa6453689cbf36d1534b1a61</guid>
				<title>mazhonghui 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26559</link>
				<pubDate>Wed, 23 Sep 2026 01:12:26 +0800</pubDate>

									<content:encoded><![CDATA[<p>您好老师，快期里VP成交量指标中的VAH POC VAL三线有公式吗，数据结果和软件显示一致的。或者告知这三线的计算方法逻辑。谢谢！</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">68173cb4add05eeb7bacf82e543c2015</guid>
				<title>amendsan 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26558</link>
				<pubDate>Tue, 22 Sep 2026 14:53:38 +0800</pubDate>

									<content:encoded><![CDATA[<p> klines = await api.get_kline_serial(symbol, 86400, data_length=300)<br />
代码里我就调用了日线，以及这些：</p>
<p>  position = api.get_position(symbol)<br />
    account = api.get_account(）<br />
天勤gui也能日线显示跑的起来，但 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">be83aad2abe16ba347899970c19e7145</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26557</link>
				<pubDate>Tue, 22 Sep 2026 03:26:13 +0800</pubDate>

									<content:encoded><![CDATA[<p>TqSdk 底层使用 Python，快期3使用 C++，两边采用的指标计算库和具体实现并不相同。因此，即使合约、K线周期和 ATR 参数相同，计算结果也不保证完全一致。</p>
<p>对比时还需要确认两边使用的历史数据范围、当前未结束 K 线是否参与计算、数据初始化及精度处理等条件完全相同。</p>
<p>建议同一套策略固定使用同一平台、同一计算库生成的 ATR，不要将快期3的指标值与 `tqsdk.ta.ATR` 的结果直接混用。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9512c2ff553a1906bb69557860ddc6e8</guid>
				<title>1126400579 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26556</link>
				<pubDate>Mon, 21 Sep 2026 14:39:01 +0800</pubDate>

									<content:encoded><![CDATA[<p>举个例：20260921 22：37  SHFE.cu2610  30分钟K线 20周期的ATR: 天勤=220 ，快期3=233.64 。不仅是30分钟K线，其他K线都不一样，盼老师解答，谢谢。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">505a6eb79dc75e336993e51c02903430</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26555</link>
				<pubDate>Mon, 21 Sep 2026 09:23:00 +0800</pubDate>

									<content:encoded><![CDATA[<p>这是回测的时间推进机制导致的：回测只在已订阅的历史行情到来时推进，并不会在交易时段结束时额外生成一个“已经收盘”的事件。因此最后一笔行情停在 14:59:59.xxx 是正常现象。</p>
<p>api.is_changing(quote) 只表示本轮更新中 quote 是否发生变化，并不能表示当前是否处于交易时段。</p>
<p>如果收盘操作包含平仓或撤单，建议改成收盘前触发：根据 quote.trading_time 取得当前时段的结束 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e4c0e6057f1cc1bc60d26ba48fe81ca3</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26554</link>
				<pubDate>Mon, 21 Sep 2026 09:22:48 +0800</pubDate>

									<content:encoded><![CDATA[<p>set_target_volume(0) 调整的是该合约的净持仓，不等同于“只平仓、绝不反向开仓”。</p>
<p>你设置的 offset_priority 为 昨今,开，其中包含“开”：程序会先尝试平昨仓和平今仓，如果根据当前持仓、冻结仓位及委托状态仍未达到目标净持仓，就允许通过反向开仓达到目 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8e7c66e10a55bd1f8a5729a0c77a40e7</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26552</link>
				<pubDate>Mon, 21 Sep 2026 09:21:45 +0800</pubDate>

									<content:encoded><![CDATA[<p>web_gui=True [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1059146e0bfbe7430502baac6a170758</guid>
				<title>shanel 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26551</link>
				<pubDate>Mon, 21 Sep 2026 07:50:10 +0800</pubDate>

									<content:encoded><![CDATA[<p>控制台打印的天勤webgui端口号会被我后续代码的清屏给清除掉，这个时候怎么找webgui的端口，或者有什么函数可以获取端口号？不想用固定的端口，因为会运行多个策略，端口会冲突，不想取消清屏。是不是只有先手动把端口号记录下来之后，再清屏了？-_-||</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">56dea72855b53d8fc9963a60d5e2c961</guid>
				<title>queshw 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26547</link>
				<pubDate>Sat, 19 Sep 2026 09:47:10 +0800</pubDate>

									<content:encoded><![CDATA[<p>快疯了，用TargetPosTask来调仓，同样是set_target_volume(0)，有时是直接清仓，有时是反向对冲，这到底是怎么回事啊，其他设置都是一样的啊。构造TargetPosTask的语句如下：</p>
<p>其中的参数price是一个函数，定义如下：</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b4315039c29b46aa4230fa5ef631edad</guid>
				<title>queshw 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26546</link>
				<pubDate>Fri, 18 Sep 2026 14:43:53 +0800</pubDate>

									<content:encoded><![CDATA[<p>我有一个需求，要在收盘进行一些操作。在回测模式下，无法获取系统时间，也不能用 api.get_trading_status 来判断状态。那么如何来准确判断某合约是否处于交易状态呢？</p>
<p>目前，我用 if is_trading_time(api, iid) and api.is [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">acfc093491ebd7b64e849c447c9d4f25</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26545</link>
				<pubDate>Fri, 18 Sep 2026 05:28:58 +0800</pubDate>

									<content:encoded><![CDATA[<p>您当前的tqsdk版本号是多少呢，我这边用3.10.2最新版的没有遇到这个问题<br />
然后可以给一个最小复现问题的代码我们查一下吗</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">24938f29d3406b930a0c14fe11c8137e</guid>
				<title>黄金龙 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26544</link>
				<pubDate>Fri, 18 Sep 2026 01:06:51 +0800</pubDate>

									<content:encoded><![CDATA[<p>返回数据如下：&#8217;expire_datetime&#8217;、&#8217;delivery_year&#8217;错误，数据为2016，正确是2026。{&#8216;datetime&#8217;: &#8216;2026-09-18 08:56:31.000000&#8217;, &#8216;ask_price1&#8217;: nan, &#8216;ask_volume1&#8217;: 0, &#8216;bid_price1&#8217;: nan, &#8216;bid_volume1&#8217;: 0, &#8216;ask_price2&#8217;: nan, &#8216;ask_volume2&#8217;: 0, [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4e19f9c1a9519171eb7ac40bcadded30</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26543</link>
				<pubDate>Thu, 17 Sep 2026 01:25:14 +0800</pubDate>

									<content:encoded><![CDATA[<p>您好，是的，创建 `TqApi` 时设置 `debug=False`，重新启动程序即可关闭调试日志文件输出。默认的 `debug=None` 不等于关闭，其行为取决于账户类型。旧日志可在对应程序停止后手动清理。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">11180e291427b144ead71d6082c62ccf</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26542</link>
				<pubDate>Thu, 17 Sep 2026 01:24:55 +0800</pubDate>

									<content:encoded><![CDATA[<p>您好，您找到的 `debug=False` 是正确的。在创建 `TqApi` 时加上这个参数，保留原有账户和认证参数，重新启动程序即可关闭调试日志文件输出。这些日志用于排查问题，运行时间较长时可能较大。旧日志确认不再需要后，可在对应程序停止后手动清理。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">77f0250127739ce9386ec6d4dbcdefa1</guid>
				<title>queshw 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26541</link>
				<pubDate>Wed, 16 Sep 2026 13:41:15 +0800</pubDate>

									<content:encoded><![CDATA[<p>在.tqsdk下的logs目录中，有日志文件，特别大，才一天的时间就有快500M了。打开看，比较乱，感觉好像是把所有接收和发送的数据都保存下来了。有必要吗？能否关掉这个功能。 <img loading="lazy" src="https://forum.shinnytech.com/wp-content/uploads/anspress-uploads/0bd160343250681affd7b66bbf94ef73725f351c_6269.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">72193677f0acb0e7806403352a20b4d4</guid>
				<title>queshw 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26540</link>
				<pubDate>Wed, 16 Sep 2026 13:18:36 +0800</pubDate>

									<content:encoded><![CDATA[<p>怎么处理？能关掉保存那么详细日志的功能吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ada15b844299a06f06dfc302fb33f775</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26539</link>
				<pubDate>Wed, 16 Sep 2026 01:19:58 +0800</pubDate>

									<content:encoded><![CDATA[<p>目前没有收到其他用户反馈，可以用最小登录代码看看程序里有没有什么报错，或者是检查下网络环境有没有关掉vpn代理这些</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3cf309985fbadb104820df536ea8e142</guid>
				<title>almmb 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26538</link>
				<pubDate>Wed, 16 Sep 2026 00:55:35 +0800</pubDate>

									<content:encoded><![CDATA[<p>怎么今天一直不能链接服务器？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c09292096a473c07ca75fdb05fb6c7f4</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26537</link>
				<pubDate>Tue, 15 Sep 2026 06:06:54 +0800</pubDate>

									<content:encoded><![CDATA[<p>continuous_table.json 属于 TqSdk 内部使 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">bf582bb69322401acdc79ef0365b47f1</guid>
				<title>xiaoheiheia 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26536</link>
				<pubDate>Mon, 14 Sep 2026 06:23:10 +0800</pubDate>

									<content:encoded><![CDATA[<p>您好，我看到论坛问题 26501 关于历史行情修订及版本留存的回复，想进一步确认主力映射是否适用同样政策。</p>
<p>环境：TqSdk 3.10.2。<br />
研究范围：2024—2025 年 CZCE.MA、CZCE.TA。</p>
<p>请官方技术支持确认：</p>
<p> 	query_his_cont_quotes() 返回的 date=t，是否表示 t 日生效的主力？当时用户最迟在 t 日收盘后能否获取同一映射？<br />
 	contin [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f8893e012c4c90f17c0a19f11e421a6d</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26535</link>
				<pubDate>Mon, 14 Sep 2026 02:28:42 +0800</pubDate>

									<content:encoded><![CDATA[<p>如果您使用的是天勤，需要在合约到期前自行处理换月逻辑，即平掉旧合约持仓，再开新月份合约的持仓，天勤不会自动换月。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">55844e9dfd55d9e083013116eac43deb</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26534</link>
				<pubDate>Mon, 14 Sep 2026 01:52:00 +0800</pubDate>

									<content:encoded><![CDATA[<p>免费版和专业版获取实时行情都是一样的，可以再具体描述一下问题哈</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">06b3fd17a9886f99c373a7eb76535a25</guid>
				<title>popularboy666 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26533</link>
				<pubDate>Mon, 14 Sep 2026 01:48:35 +0800</pubDate>

									<content:encoded><![CDATA[<p>模拟盘持有合约没有换月平仓，现在不能平仓，怎么解决 <img loading="lazy" src="https://forum.shinnytech.com/wp-content/uploads/anspress-uploads/0016ed3d5603251aa4ba0f7a0eb6431bb49c824e_6265.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">739e2537f26db906a80021e4cc8f1a86</guid>
				<title>只喝白开水 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26532</link>
				<pubDate>Sun, 13 Sep 2026 12:36:18 +0800</pubDate>

									<content:encoded><![CDATA[<p>为什么免费账号获取实盘行情有时间限制？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3a2be585c1b825e19af79da74a8b0dc9</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26531</link>
				<pubDate>Fri, 11 Sep 2026 01:46:32 +0800</pubDate>

									<content:encoded><![CDATA[<p>`api.wait_update()` 不是定时器，也不会按照固定的每秒次数返回。它会等待任意一项业务数据发生更新，然后将更新合并到内存对象并返回。</p>
<p>行情、K 线、账户、持仓、委托、成交以及后台任务等任一数据发生变化，都可能使 `wait_update()` 返回；交易所行情本身也是按事件推送的，所以一秒内返回 2 次或 4 次都属于正常现象。</p>
<p>你现在是在每次 `wait_upda [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c8c8588702a105688171af9840e7b82b</guid>
				<title>wangzilin2 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26530</link>
				<pubDate>Thu, 10 Sep 2026 11:42:26 +0800</pubDate>

									<content:encoded><![CDATA[<p>代码：</p>
<p>while True:<br />
    api.wait_update()</p>
<p>    #各种if&#8230;</p>
<p>    print(quote.datetime, &#8220;//卖一//&#8221;, quote.ask_price1, &#8220;//卖一量//&#8221;, quote.ask_volume1, &#8220;//买一价//&#8221;,</p>
<p>输出的结果是这样的：</p>
<p>为什么有点时候一秒2喷，有的时候1秒4喷？4喷的时候，后3喷数据基本一致、</p>
<p> <img loading="lazy" src="https://forum.shinnytech.com/wp-content/uploads/anspress-uploads/3e004388dff46815c9ff7ac09ecba2ddcfccf94d_5653.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">496e403e98ea3a93a22a2771cf677a73</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26529</link>
				<pubDate>Wed, 09 Sep 2026 07:47:16 +0800</pubDate>

									<content:encoded><![CDATA[<p>open_oi 和 close_oi 分别表示该根 K 线开始和结束时的持仓量。虽然连续 K 线中，前一根的 close_oi 通常等于后一根的 open_oi，但同时保留两个字段可以让每根 K 线成为完整、独立的数据记录，也便于处理查询区间首根 K 线、数据缺口和多合约时间对齐等情况，因此不适合用其他字段替换。</p>
<p>“内盘、外盘成交量”与持仓量属于不同维度。内外盘通常需要根据成交价与当时买卖盘口的关系判 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">41be66854af4acb3674a89413e89baf6</guid>
				<title>争-命-天-子 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26528</link>
				<pubDate>Tue, 08 Sep 2026 14:03:54 +0800</pubDate>

									<content:encoded><![CDATA[<p>天勤做为平台，最大的作用应该是用户可以取到量化时的相关数据，有些数据要计算时需要有往日的一些数据才能计算，有平台的支持应该是省去自己存储数据的各种不切实际，有些数据只要有一个就可以了，用不着多个，比如K线中的起始与结束时的持仓，这个有一个结束持仓就好了，应该就是实时的持仓数据，至于起始时的持仓，不正好就是上一根K线的结束持仓吗？只要一步就自己计算出来了，有没有考虑过将起始持仓改成内盘或外盘成交量啊？只要有一个就可以计算相关的 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d0d46e88904dd78d1da15b82149c4264</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26527</link>
				<pubDate>Tue, 08 Sep 2026 01:40:36 +0800</pubDate>

									<content:encoded><![CDATA[<p>datetime是时间戳可以用time_to_str来转换成中国时区的标准时间，这个时间是指K线的开始时间</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">dc7e20f4dec90ad705fddac33c674318</guid>
				<title>flydreamer 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26524</link>
				<pubDate>Tue, 08 Sep 2026 01:24:38 +0800</pubDate>

									<content:encoded><![CDATA[<p>klines = api.get_kline_serial(&#8220;CFFEX.IC2609&#8221;, 60*5)<br />
print(klines)</p>
<p>klines.iloc[0]<br />
Out[2]:<br />
datetime 1788231000000000000.0<br />
id 7216.0<br />
open 7784.8<br />
high 7794.6<br />
low 7781.2<br />
close 7783.2<br />
volume 1133.0<br />
open_oi [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">96f408d228f72c0d93e93e682688f877</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26522</link>
				<pubDate>Mon, 07 Sep 2026 01:29:35 +0800</pubDate>

									<content:encoded><![CDATA[<p>`CZCE.PRT SF611&amp;SF611C6900` 不是把 `SF611C6900` 错误改成了另一个普通合约，而是郑商所的组合持仓代码。</p>
<p>`PRT` 表示有保护期权期货组合，这条记录包含 `SF611` 期货腿和 `SF611C6900` 期权腿。调用不带参数的 `get_position()` 时，返回的是账户全部持仓，TqSdk 会按交易柜台返回的持仓标识展示，因此可能同时看到单腿持仓和这种组合持仓。</p>
<p>如果 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a6b8247ddaec324ee00e9d4c34d575e0</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26521</link>
				<pubDate>Mon, 07 Sep 2026 01:29:23 +0800</pubDate>

									<content:encoded><![CDATA[<p>目前宏源期货账户能够正常使用，不代表合并完成后账户接入方式一定保持不变。</p>
<p>合并后是否仍可直接使用天勤量化免费版、是否需要重新办理程序化交易报备，取决于期货公司的账户迁移、交易柜台和程序化权限处理方案，不是 TqSdk 代码本身能够决定的。</p>
<p>目前公开公告只确认吸收合并已经获批，具体客户处理方式仍应以宏源期货或申银万国期货后续发送的客户通知为准。建议重点确认：</p>
<p>1. 账户号及交易柜台是否变化；<br />
2. 原程序化交易权限是否随 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">5aad17db5e7498f3240c8442da7026a0</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26520</link>
				<pubDate>Mon, 07 Sep 2026 01:29:08 +0800</pubDate>

									<content:encoded><![CDATA[<p>多品种运行同一策略，尤其是跨品种对冲，建议使用同一个 Python 进程、同一个 `TqApi` 实例统一管理。</p>
<p>如果各品种逻辑相对独立，可以把每个品种封装成协程，通过 `api.create_task()` 启动，并用 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ba6db40aa77378deeaa06b7f5856f3d7</guid>
				<title>amendsan 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26519</link>
				<pubDate>Sun, 06 Sep 2026 14:22:07 +0800</pubDate>

									<content:encoded><![CDATA[<p>实盘运行多品种单策略，也就是多品种对冲的话 ，天勤官方最推荐的做法是什么？</p>
<p>我看官方文档的时候有建议多分python文件，也有什么异步，也有什么多进程，搞混了，请问应该用什么办法最推荐也不会有很多bug？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2d52fdf5f359beb88c46e33517fd6c2d</guid>
				<title>environday 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26518</link>
				<pubDate>Sat, 05 Sep 2026 10:14:23 +0800</pubDate>

									<content:encoded><![CDATA[<p>已经在宏源期货开户并且开通程序化交易权限，目前天勤量化免费版能正常下单。看公告说后续宏源期货会和申银万国期货合并，那合并之后天勤量化免费版还能正常使用吗？还需要重新走一遍程序化报备流程吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e73798fc0f246b5a0a931840ab3e4c87</guid>
				<title>黄金龙 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26517</link>
				<pubDate>Fri, 04 Sep 2026 13:29:08 +0800</pubDate>

									<content:encoded><![CDATA[<p>{&#8216;CZCE.PRT SF611&amp;SF611C6900&#8217;: , D({&#8216;exchange_id&#8217;: &#8216;CZCE&#8217;, &#8216;instrument_id&#8217;: &#8216;PRT SF611&amp;SF611C6900&#8217;, &#8216;pos_long_his&#8217;: 2, &#8216;pos_long_today&#8217;: 0, &#8216;pos_short_his&#8217;: 0, &#8216;pos_short_today&#8217;: 0, &#8216;volume_long_today&#8217;: 0, [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">13f593a62c322e6e82e6ee6058173257</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26516</link>
				<pubDate>Fri, 04 Sep 2026 07:58:51 +0800</pubDate>

									<content:encoded><![CDATA[<p>您是在交易时间段内获取的吗，然后看看有没有持续调用 wait_update 来更新状态呢</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0e79b1e6fa10ea7d92f40156f0df4c36</guid>
				<title>黄金龙 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26515</link>
				<pubDate>Fri, 04 Sep 2026 06:00:52 +0800</pubDate>

									<content:encoded><![CDATA[<p>coden=&#8217;CFFEX.MO2609-P-6900&#8242;</p>
<p>print(api.get_trading_status(coden))</p>
<p>print(statusi[&#8216;trade_status&#8217;])<br />
结果：NOTRADING</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">07cc0faba33be0a94a626c4afbc0172e</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26514</link>
				<pubDate>Mon, 31 Aug 2026 03:07:40 +0800</pubDate>

									<content:encoded><![CDATA[<p>银河期货定制版是在 TqSdk 免费版基础上增加银河期货免费实盘功 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c4330844f3e1f269ce3c9949c04a9a5a</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26512</link>
				<pubDate>Mon, 31 Aug 2026 03:06:59 +0800</pubDate>

									<content:encoded><![CDATA[<p>1. 可以使用。Ubuntu 22.04 和 Python 3.10 满足 TqSdk 的运行要求，执行 `python3.10 -m pip install -U tqsdk` 安装即可。只获取行情时使用 `TqApi(auth=TqAuth(&#8230;))`，无需登录实盘交易账户。</p>
<p>2. 天勤期货历史数据从 2016 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0dde9d16b9390b5247929ea4da2b14e3</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26511</link>
				<pubDate>Mon, 31 Aug 2026 03:06:49 +0800</pubDate>

									<content:encoded><![CDATA[<p>`insert_order()` [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">dfd14a6b161655e27e88d1844f579f72</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26509</link>
				<pubDate>Mon, 31 Aug 2026 03:06:07 +0800</pubDate>

									<content:encoded><![CDATA[<p>两者用途不同，没有统一的“更推荐”。</p>
<p>如果策略直接管理委托价格、撤单、部分成交和订单状态，使用 `insert_order()`。</p>
<p>如果策略只关心某合约最终应持有多少净仓位，希望程序自动处理开平仓、撤单和追单，使用 `TargetPosTask` 的 `set_target_ [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d0d121791652cd9b3927cc9e758a6a19</guid>
				<title>amendsan 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26508</link>
				<pubDate>Sat, 29 Aug 2026 14:36:18 +0800</pubDate>

									<content:encoded><![CDATA[<p>如标题问题：请问实盘，到底推荐用inder_order 还是推荐用set_target_volume</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a81b17b34e17c3009e61cc4a74def2ab</guid>
				<title>amendsan 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26507</link>
				<pubDate>Sat, 29 Aug 2026 13:03:22 +0800</pubDate>

									<content:encoded><![CDATA[<p>我说的是回测， 回测的时候我想实现，挂单，然后之后价格触发到才会开仓</p>
<p> api.insert_order(SYMBOL,&#8221;BUY&#8221;,&#8221;OPEN&#8221;,1, 我定的价格)</p>
<p>使用了上方这个函数后，发现回测中gui，发现直接就开仓了。  请问回测怎么实现挂单？之后价格触发到了才会开仓</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1112ac00f43a778bc87a1212eeaf1401</guid>
				<title>aitrader2026 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26506</link>
				<pubDate>Fri, 28 Aug 2026 07:54:36 +0800</pubDate>

									<content:encoded><![CDATA[<p>我用的是银河期货和天勤合作的定制版账号。<br />
请问：</p>
<p>这个账号能在阿里云Ubuntu 22.04 + Python 3.10环境下，用pip安装tqsdk，直接通过Python调用历史和实时行情吗？</p>
<p>已退市具体月份合约的历史5秒K线数据能取到多少年？</p>
<p>定制版和免费版在数据权限上具体多了哪些？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6bd438e29b57750e6d2597e247ee3a7c</guid>
				<title>aitrader2026 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26505</link>
				<pubDate>Fri, 28 Aug 2026 07:46:01 +0800</pubDate>

									<content:encoded><![CDATA[<p>请教天勤和银河期货的定制版软件 和 天勤专业版软件 在 阿里云服务器的数据获取上，有啥区别？<br />
对于这个定制版：</p>
<p>“你们这个定制版，是不是通过天勤账号直接在Python里调用？还需要额外安装什么库吗？”</p>
<p>“如果需要在服务器上使用，阿里云Ubuntu 22.04 + Python 3.10，能不能用？怎么装？”</p>
<p>“历史上已退市的主力合约，5秒K线数据能取到多少年？能不能用Python直接下载？”</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>