<?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>信易科技用户论坛| chaos | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/6252148c-45a4-4d01-bed8-9c9673ddb01a/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/6252148c-45a4-4d01-bed8-9c9673ddb01a/activity/feed/" rel="self" type="application/rss+xml" />
	<description>chaos的动态信息。</description>
	<lastBuildDate>Mon, 21 Sep 2026 15:02:06 +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">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">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">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">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">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">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">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">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">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">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">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">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">bb4f6cdcff0e3d874a1cd1fc364c1e4c</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26504</link>
				<pubDate>Mon, 24 Aug 2026 02:06:45 +0800</pubDate>

									<content:encoded><![CDATA[<p>15 天指的是 TqSdk 专业版试用期，不是 TqSdk 整体只能使用 15 天。试用到期后仍可继续使用免费版提供的功能；如果需要继续使用历史数据下载、股票行情等专业版增值功能，则需要购买专业版。</p>
<p>免费版和专业版的具体功能区别可以参考：</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9927aa25ebf481b3423ef8aa24899f24</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26503</link>
				<pubDate>Mon, 24 Aug 2026 02:06:21 +0800</pubDate>

									<content:encoded><![CDATA[<p>您好，按您的问题逐项回复：</p>
<p> 	历史数据是否可能修订？<br />
TqSdk 的期货行情直接接收并转发交易所数据，不经过第三方数据供应商清洗。历史数据通常保持不变，但我们不 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">cfa3c50e0514d00390dc9af81e618196</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26500</link>
				<pubDate>Mon, 17 Aug 2026 02:44:24 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以到快期3官方Q群675261943反馈哈</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">5834abfe86e585b771f607be0771bbf2</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26496</link>
				<pubDate>Thu, 13 Aug 2026 06:42:15 +0800</pubDate>

									<content:encoded><![CDATA[<p>TqSdk 免费版支持广期所行情。请先确认合约代码大小写正确，例如 `GFEX.si2609`，交易所代码为大写，广期所品种代码为小写。</p>
<p>同时建议执行 `pip install -U tqsdk` 升级，并调用 `query_quotes()` 检查当前可用合约，其中 `exchange_id` 设为 `GFEX`、`expired` 设为 `False`。</p>
<p>如果仍无法读取，请补充 TqSdk 版本、完整合 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">01acc286c48b658a5aba8ea143cdbf75</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26495</link>
				<pubDate>Thu, 13 Aug 2026 06:42:11 +0800</pubDate>

									<content:encoded><![CDATA[<p>支持。TqSdk 免费版可以获取广期所商品期权行情。</p>
<p>您这里返回空列表，是因为查询的 `GFEX.lc2609`、`GFEX.ps2609`、`GFEX.si2609` 并不是当前挂牌期权对应的标的月份，并非免费版不支持广期所期权。并不是每个期货月份都会挂牌期权。</p>
<p>建议先调用 `query_quotes()` 查 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6445ad22bbabfb381b999ea3a5567fc4</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26494</link>
				<pubDate>Thu, 13 Aug 2026 06:42:07 +0800</pubDate>

									<content:encoded><![CDATA[<p>目前程序可能在跨日后继续保持连接，普通网络断线时 TqSdk 也会尝试自动重连，但不建议将其理解为模拟盘承诺 24 小时持续在线。</p>
<p>结算、系统维护或网络变化都可能影响连接及数据状态。为保证策略运行稳定，仍建议每天开盘前重启程序，重新建立连接和行情订阅，并检查账户、持仓和委托状态后再开始交易。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">5d41c87775039496d70ce01452156ed1</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26493</link>
				<pubDate>Thu, 13 Aug 2026 06:41:53 +0800</pubDate>

									<content:encoded><![CDATA[<p>期货与股票的机制不同。股票会因分红、送股等发生除权除息，因此有前复权、后复权等概念；期货本身不存在这种意义上的复权。</p>
<p>主力连续合约在换月时出现价格跳变，是不同交割月份合约之间存在价差造成的。采用差值调整、比例调整或其他方式处理，都会引入人为规则，而且不同处理方式得到的结果也不同，因此我们不会提供所谓的“复权期货主连”数据。</p>
<p>TqSdk 提供原始主连行情及历史主连映射。若研究中需要消除换月跳变，可以使用 `query_hi [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7a335eb850c74121796cc4c024a388a2</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26485</link>
				<pubDate>Mon, 10 Aug 2026 01:51:15 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以分为历史映射和实时映射两种情况。</p>
<p>历史日 K 对应的实际主力合约，可调用 `query_his_cont_quotes()` 查询，参数为主连代码 `KQ.m@CZCE.TA`，`n` 按需指定。</p>
<p>返回结果中，`date` 是交易日，`KQ.m@CZCE.TA` 列就是当日对应的实际合约代码，例如 `CZCE.TA2601`。将日 K 线按交易日与该表对齐，即 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">63f03dc018920d543d5e486ce5584f0c</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26483</link>
				<pubDate>Fri, 07 Aug 2026 02:16:46 +0800</pubDate>

									<content:encoded><![CDATA[<p>我们这边是没有做限制的，你可能得问下期货公司CTP柜台是否支持多个账号同时登录</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">27eb9778bd8b6447055cb3e6ea553993</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26482</link>
				<pubDate>Fri, 07 Aug 2026 02:15:50 +0800</pubDate>

									<content:encoded><![CDATA[<p>1.可以购买专业版，然后用datadownload把历史数据下载来做本地回测<br />
2.回测信息可以账号里面的tqsdk_stat参数获取，参考文档https://doc.shinnytech.com/tqsdk/latest/usage/backtest.html#id3<br />
如果想让web_gui保持打开状态，也可以再程序最后加上循环让程序保持运行状态</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b2d97a2fd3a948f3a2dba0a225ddf174</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26475</link>
				<pubDate>Mon, 27 Jul 2026 02:45:38 +0800</pubDate>

									<content:encoded><![CDATA[<p>已收到我们会记录这个问题，但外盘我们维护优先级也比较低。<br />
我们提供免费的延时外盘数据主要是给长期行情走势做一个参考，也不支持外盘交易。而且外盘实时数据需要很大费用，由于成本问题目前不考虑。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0585b47017a1f31da9cae6036f39843d</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26473</link>
				<pubDate>Mon, 27 Jul 2026 02:41:54 +0800</pubDate>

									<content:encoded><![CDATA[<p>1.目前没有对外承诺固定的行情延迟指标。您采用“本地接收时间减去行情时间戳”的方式，测得的是一个端到端时间差，其中包含交易所时间戳、行情采集与转发、公网传输、本机时钟误差以及程序调度等多个环节，并不等同于 TqSdk 行情服务器自身的推送延迟。</p>
<p>此外，交易所行情时间与用户本机时间并非严格同步，仅通过单边时间比较，无法准确计算行情从交易所到本地的毫秒级延迟。具体原因可以参考这篇说明：</p>
<p>2.行情服务器收到行情更新后会向客户端 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2438453e3f6358521414b5326e8ce5fb</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26469</link>
				<pubDate>Thu, 23 Jul 2026 08:48:19 +0800</pubDate>

									<content:encoded><![CDATA[<p>建议还是用在线文档，可以实时更新</p>
<p>然后您可以试试克隆到本地后让AI生成一个pdf文件，或者加下我们Q群748265037，群文件里应该有之前老版本的pdf文件</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">37405b799414028c2922810dc8784675</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26468</link>
				<pubDate>Thu, 23 Jul 2026 07:41:51 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以直接在程序中同时订阅两个合约：</p>
<p>&#8220;`python<br />
quote1 = api.get_quote(&#8220;合约1&#8221;)<br />
quote2 = api.get_quote(&#8220;合约2&#8221;)<br />
&#8220;`</p>
<p>然后根据需要读取对应合约的行情即可。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">493ea1a17081ed932f4cde0b1259a628</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26467</link>
				<pubDate>Thu, 23 Jul 2026 07:41:33 +0800</pubDate>

									<content:encoded><![CDATA[<p>历史数据下载建议控制在 5 个进程以内。增加更多进程不一定能继续提高速度，反而可能增加账号会话、网络及服务端压力。</p>
<p>盘中断线后需要补充 Tick 数据时，可以记录最后一条已保存数据的时间，再使用 `DataDownloader` 下载断线期间的数据。重连后应同时恢复实时行情接收，最后合并补充数据和实时数据。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">66f969ce05b1eb5f8c5854f806dffe6d</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26460</link>
				<pubDate>Fri, 17 Jul 2026 02:31:12 +0800</pubDate>

									<content:encoded><![CDATA[<p>建议可以下载本地AI来分析https://doc.shinnytech.com/tqsdk/latest/ai_editor/index.html</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">88f7d7d98e5d083a145b464f927acaf3</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26458</link>
				<pubDate>Fri, 17 Jul 2026 02:29:48 +0800</pubDate>

									<content:encoded><![CDATA[<p>天勤订阅数量是有限制的，get_quote数量超过1000可能会触发流控<br />
您的需求是要找到昨日出现MACD金叉的股票，可以下载昨日的历史行情做分析不需要实时订阅</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">464bc4286c78e51f02f98c7a7c7a89d8</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26455</link>
				<pubDate>Thu, 16 Jul 2026 06:44:41 +0800</pubDate>

									<content:encoded><![CDATA[<p>应该是数据有缺失，和免费付费无关，目前外盘数据主要是用于提供长期行情走势参考，但不保证数据质量</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d99e4bb261ce11794dd4bd2c28ba59be</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26453</link>
				<pubDate>Mon, 13 Jul 2026 01:57:49 +0800</pubDate>

									<content:encoded><![CDATA[<p>用datadownloader下载历史数据，可以参考这篇文章https://doc.shinnytech.com/tqsdk/latest/reference/tqsdk.tools.download.html#tqsdk.tools.DataDownloader</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1517067ad06b59811c61bff5ef961e8f</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26452</link>
				<pubDate>Mon, 13 Jul 2026 01:56:35 +0800</pubDate>

									<content:encoded><![CDATA[<p>期货相关的比如商品期权这些历史数据也是16年及之后</p>
<p>股票相关比如ETF期权、个股的是18年及之后</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b0b1588eadc80df52696707ed8614470</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26447</link>
				<pubDate>Fri, 10 Jul 2026 02:00:30 +0800</pubDate>

									<content:encoded><![CDATA[<p>按您描述的权限范围，应该是 EDB 行情历史服务，不需要通过 OpenCTP/CTP 接口连接。它是直接的 HTTPS CSV 接口：</p>
<p>免费访问无需 token：可取任意历史区间的日线（`period=86400`），以及最近 1 年的分钟线（`period=60`）。数据预计自 2021-01-01 起提供，具体以合约上 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">443043ace67507c30354272b0e94106d</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26445</link>
				<pubDate>Tue, 07 Jul 2026 01:21:05 +0800</pubDate>

									<content:encoded><![CDATA[<p>专业版也只有l1数据的，目前就上期所上期能源有五档行情</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">5611855984bb63aec415b88f13b85224</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26441</link>
				<pubDate>Tue, 30 Jun 2026 07:27:54 +0800</pubDate>

									<content:encoded><![CDATA[<p>哪家期货公司呢，可以加Q群748265037在里面咨询哈</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0c6eeb9c3d0277ec4c06f9b220a85b46</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26437</link>
				<pubDate>Fri, 26 Jun 2026 07:56:10 +0800</pubDate>

									<content:encoded><![CDATA[<p>持仓列表里不会区分手动还是程序下单哈，可以用get_position把持仓合约筛选出来，然后通过get_quote_list获取持仓合约的行情</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">dc328adc76f718f44d352676da3d9ec3</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26436</link>
				<pubDate>Fri, 26 Jun 2026 07:54:38 +0800</pubDate>

									<content:encoded><![CDATA[<p>我们的期货数据是16年及之后哈</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">afa9d1b8fd54bfd8af5e12667a81ffad</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26435</link>
				<pubDate>Fri, 26 Jun 2026 07:53:58 +0800</pubDate>

									<content:encoded><![CDATA[<p>外盘延时数据是不收费的，可以参考这篇文档https://doc.shinnytech.com/tqsdk/latest/usage/kqd_symbol.html</p>
<p>如果程序报不存在的话应该是没有这个外盘合约</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7d792539519ebbfa1b9d65def2acaf7a</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26430</link>
				<pubDate>Thu, 25 Jun 2026 01:55:50 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以，分两种情况处理：</p>
<p>1. 如果是想知道“主连当前对应的实际主力合约”，订阅主连代码后看 `quote.underlying_symbol`。例如主连代码是 `KQ.m@SHFE.rb`，先 `api.get_quote(主连代码)`，再 `api.wait_update()`，然后读取这个 quote 的 `underlying_symbol` 字段即可。</p>
<p>回测里也可以用这个字段。如果需 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3f567b2e3523782cd75805ede19afc20</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26428</link>
				<pubDate>Wed, 24 Jun 2026 01:53:42 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以交易商品期权的</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e882f20ae689d307ad48947958fa04b1</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26425</link>
				<pubDate>Tue, 23 Jun 2026 01:32:39 +0800</pubDate>

									<content:encoded><![CDATA[<p>先说结论：同花顺回放里显示的 PTA2609，不能直接和天勤的 CZCE.TA605 对比，它们并不是同一合约。TA605 是 2026 年 5 月合约，TA2609 是 2026 年 9 月合约；还需要确认同花顺回放使用的是具体合约、主连还是其内部连续合约规则。</p>
<p>另外，天勤 1 分钟 K 线的 datetime 是该 K 线的起始时刻。因此天勤的 09:00 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>