<?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>Thu, 06 Aug 2026 10:19:40 +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">f0cbedd939b6feebd41acb41282be61a</guid>
				<title>a1003584293 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26480</link>
				<pubDate>Thu, 06 Aug 2026 09:29:24 +0800</pubDate>

									<content:encoded><![CDATA[<p>在tick回测时，如果可以设置一个本地目录，第一次回测时 把每个tick都存到这个目录的sqlLite里；然后第二次回测时  直接从这个db文件里取tick数据，对用户来说大大加快了回测速度，对天勤来说，也节约了服务器带宽，多好的事。</p>
<p>第二个就是  回测完成后，希望支持导出回测结果，比如每一笔交易、开始 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8f38cb48e2a364a2dc8dd149eee1320d</guid>
				<title>yxxy1989 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26478</link>
				<pubDate>Sat, 01 Aug 2026 11:50:06 +0800</pubDate>

									<content:encoded><![CDATA[<p> 	一般商品期货里，先平昨仓是常见默认<br />
 	但上期所/上期能源不一定，取决于你软件设置<br />
 	如果你告诉我具体品种和你用的下单软件，我可以直接告诉你它到底默认平哪一类</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c2c4ee5d97e9a5dd78bcb1ed6575dc8f</guid>
				<title>mendax100 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26477</link>
				<pubDate>Fri, 31 Jul 2026 06:09:42 +0800</pubDate>

									<content:encoded><![CDATA[<p>请问：对于股指期货，如果持仓中既有今仓也有昨仓，都用CLOSE的话，是先平今仓还是先平昨仓，如何设置为先平昨仓（因为平今手续费较高）？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">60e3e9dafdf4f71d2655483656f9c80a</guid>
				<title>piratew 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26476</link>
				<pubDate>Tue, 28 Jul 2026 15:41:21 +0800</pubDate>

									<content:encoded><![CDATA[<p>获取历史K线数据时，一直没法确定主力连续合约的代码，比如我要获取甲醇主力连续合约的历史K线数据，使用CZCE.MA、MA000等都报错查不到相应的对应的合约，tqsdk的版本是3.10.1</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">08611e1eff093cacc0657deef04f908f</guid>
				<title>hffans27 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26472</link>
				<pubDate>Sun, 26 Jul 2026 14:19:04 +0800</pubDate>

									<content:encoded><![CDATA[<p>测了</p>
<p><a href="mailto:KQD.m@NYBOT.DX" rel="nofollow ugc">KQD.m@NYBOT.DX</a>&#8220;,&#8221;KQD.m@NYMEX.CL&#8221;,&#8221;KQD.m@COMEX.GC&#8221;,&#8221;KQD.m@COMEX.SI&#8221;<br />
四个， 一小时周期<br />
1. 成交量每隔固定条数 会出现负数的成交量<br />
2. 正确行情的最后5根K线被合并成了一根！<br />
3. 有的K线 影线毛刺特别特别大，既然是外盘行情，为啥不直接用外盘交易所授权过来的行情</p>
<p>这些情况， 我找了TV和盘立方核对，都是无问题，所以请重视一下，修复该问题<br />
相关图我已经发在QQ群</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">fe7cc998eafd07d0fec5ba0f02b1611d</guid>
				<title>xin24chen 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26471</link>
				<pubDate>Fri, 24 Jul 2026 06:47:49 +0800</pubDate>

									<content:encoded><![CDATA[<p>使用 TqSdk 独立只读 Tick 探针测试 SHFE.rb2610， 程序只执行 get_tick_serial + wait_update， 不运行策略、HTTP 服务或交易逻辑。 Windows 时间服务已同步，分别测试了两条网络： 1. 手机热点： P50=150ms，P95=460ms，P99=655ms，最大= [&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">cd9bda638b1fc3ee4bfdb6f3fc3def3e</guid>
				<title>何明 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26463</link>
				<pubDate>Wed, 22 Jul 2026 10:49:51 +0800</pubDate>

									<content:encoded><![CDATA[<p>天勤负责文档的同志:</p>
<p>麻烦将https://github.com/shinnytech/tqsdk-python 文档合并生成一个markdown的md文档，我再用其它工具转为pdf，以便打印。</p>
<p>我将项目克隆到本地，用Sphinx + rst2pdf生成pdf:sphinx-build -b pdf . _buildpdf，连续干了两天，一直报错。崩溃了，干不下去了。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1e8de9a92ef34f8ffddca4fa56145096</guid>
				<title>大哥哥 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26462</link>
				<pubDate>Wed, 22 Jul 2026 02:46:05 +0800</pubDate>

									<content:encoded><![CDATA[<p>一、我用CODEX写的系统，历史数据补充（每日盘后补充当日全量数据）速度很慢，有什么方法能提高速度吗？</p>
<p>测试结果</p>
<p> 	16 个独立进程、16 个独立 TqApi/wait_update。<br />
 	每个 owner 同时只下载一个品种，完成后立即从共享队列领取下一项。<br />
 	16 个 VP worker 同样逐项领取共享计算队列。<br />
 	1232/1232 项下载成功，全部一次成功，无重试。 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2396b39da4e4245a6c2b835bbf29e09f</guid>
				<title>han2155905 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26461</link>
				<pubDate>Mon, 20 Jul 2026 03:13:33 +0800</pubDate>

									<content:encoded><![CDATA[<p>#!/usr/bin/env python<br />
#  -*- coding: utf-8 -*-<br />
__author__ = &#039;chengzhi&#039;</p>
<p>from tqsdk import TqApi, TqAuth</p>
<p># 可以指定debug选项将调试信息写入指定的文件中<br />
api = TqApi(debug=&#8221;debug.log&#8221;, auth=TqAuth(&#8220;快期账户&#8221;, &#8220;账户密码&#8221;))<br />
quote = [&hellip;]</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">f9172d7507a4476def86be5cc4ec2c85</guid>
				<title>yanyong 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26457</link>
				<pubDate>Thu, 16 Jul 2026 17:01:59 +0800</pubDate>

									<content:encoded><![CDATA[<p>附图程序，多品种协程代码，<br />
想达到一种效果，空仓情况下，每天11：00运行程序，多个品种，满足条件就开仓，开完仓后就退出，不满足条件也退出，但如下程序好像会一直运行，应该如何修改？</p>
<p> <img loading="lazy" src="https://forum.shinnytech.com/wp-content/uploads/anspress-uploads/66099c63fa1e8d08ab19fb891dd2080baa644103_6218.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">321dd5b7d29e4e6fb5829194fa91c66a</guid>
				<title>yanyong 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26456</link>
				<pubDate>Thu, 16 Jul 2026 15:50:17 +0800</pubDate>

									<content:encoded><![CDATA[<p>首先，我知晓 Tqsdk 不能交易股票，但可以筛选，<br />
比如说，5000支票里，要找出昨日出现了MACD金叉的全部票，<br />
如何去盯这 5000 支票呢，get_quote_list 好像不行，能不能给一个大体的方向？</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">6ada4bc6ffa96ff1de9ce6c104543f6c</guid>
				<title>cqumse2006 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26454</link>
				<pubDate>Wed, 15 Jul 2026 09:49:57 +0800</pubDate>

									<content:encoded><![CDATA[<p>比如查询2024.03.10-2024.03.24的小时线数据，21日之前还能正常，每天都能查询到200-300条记录，但是从21日之后，就查询不到数据了。2024.12.16-2024.12.27缺了10天，也与圣诞节无关，圣诞节前也应该还有交易数据。2026.06.12-2026.06.16也缺了3天。2024.03.22-05.13，缺了35天。<br />
整体算下来，大约缺失了15%的交易日的数据<br />
我是免费用户，不是付费用户。 [&hellip;]</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">58d6496d73f4c0c4b3851f64ebce7a3f</guid>
				<title>csyy666 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26451</link>
				<pubDate>Fri, 10 Jul 2026 12:22:18 +0800</pubDate>

									<content:encoded><![CDATA[<p>如题，我是一个量化新手，正在尝试下载历史数据到本地，我找到了EDB方案，可以快速下载期货的历史数据，但是我下载期权时，发现这个方案似乎不能用来下载历史数据，所以请问有没有类似EDB的方案可以快速下载期权历史数据的</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1c493f65353b7f84a75a5a566d85186d</guid>
				<title>yunxiange 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26450</link>
				<pubDate>Fri, 10 Jul 2026 09:50:28 +0800</pubDate>

									<content:encoded><![CDATA[<p>除了期货最早到 2016.01，其他像期权、股票呢</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">bfee1515651cc3b842135c4a31663a61</guid>
				<title>prometheusxyrg 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26446</link>
				<pubDate>Thu, 09 Jul 2026 12:20:16 +0800</pubDate>

									<content:encoded><![CDATA[<p>抖音上OPENCTP发布了一个视频，说是有一个接口不需要鉴权可以获取全部日线级别数据，不需要鉴权可以获取最近一年的1分钟级别数据，鉴权后获取全量分钟级别数据。</p>
<p>请问这具体是哪个？我该如何连接获取数据？</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">e480cbb1b320b35ef3d90f7e90c83613</guid>
				<title>gjsr2000 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26444</link>
				<pubDate>Tue, 07 Jul 2026 00:05:19 +0800</pubDate>

									<content:encoded><![CDATA[<p>last_quote 中 订单簿 的 买卖 2,3,4,5 和 vol 2,3,4,5 专业版有吗? 免费的貌似都是0</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">316c5c5e980529917ef6fdf657ef8a0d</guid>
				<title>slicker 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26440</link>
				<pubDate>Tue, 30 Jun 2026 02:38:34 +0800</pubDate>

									<content:encoded><![CDATA[<p>请教各位,准备交易所准入测试,拿到了AppID、auth_code 需要提交给天勤技术支持完成中继模式的后台绑定吗?怎么弄啊?</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">3cf919987f50ffec5b5368fa8ba1ab6e</guid>
				<title>xinli93 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26434</link>
				<pubDate>Fri, 26 Jun 2026 07:29:13 +0800</pubDate>

									<content:encoded><![CDATA[<p>我想实现，手动下单后，通过获取持仓信息，来找到手动下单的合约，然后实时监控持仓止盈与止损。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">21cca36bd6c8f579e5d4093a88f7b3bb</guid>
				<title>test_evens 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26433</link>
				<pubDate>Fri, 26 Jun 2026 00:54:37 +0800</pubDate>

									<content:encoded><![CDATA[<p>天勤中期货tick和分钟行情，各个交易所最早可查询到哪一天</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">698a45c7f62646718604b8087cecaef9</guid>
				<title>yzwbs58 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26432</link>
				<pubDate>Thu, 25 Jun 2026 13:28:03 +0800</pubDate>

									<content:encoded><![CDATA[<p>外盘延时数据也要收费吗？如何获取外盘15分钟的延时数据？先股器能选国内期货品种，但选不了外盘品种，查了下，好像是没有数据权限</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">ffb1febcda487cda5f8b927af574c5af</guid>
				<title>liucp 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26429</link>
				<pubDate>Wed, 24 Jun 2026 14:14:31 +0800</pubDate>

									<content:encoded><![CDATA[<p>有什么办法根据主连代码获取到该品种的所有有效期货合约代码么？或者获取该品种的近月合约代码</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">f6046c5d5d281c6bbd4b5e62fcd49afd</guid>
				<title>song_qg 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26426</link>
				<pubDate>Tue, 23 Jun 2026 08:35:47 +0800</pubDate>

									<content:encoded><![CDATA[<p>目前，TqSdk的宏源用户，徽商用户，银河用户可以交易商品期权吗？</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>
					<item>
				<guid isPermaLink="false">b6cb64be1929ca026e77046f9052b776</guid>
				<title>xq211165 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26424</link>
				<pubDate>Mon, 22 Jun 2026 21:21:18 +0800</pubDate>

									<content:encoded><![CDATA[<p>这是PTA（不知道哪个合约，同花顺始终显示PTA2609但是这是不可能的因为1月份2609不可能是主力有这么大的成交量。如果是主力那就是TA605)  2026年1月23日9：01的1分钟K线，</p>
<p>天勤CZCE.TA605取出来则是</p>
<p>datetimedatetime_nanoCZCE.TA605.openCZCE.TA605.highCZCE.TA605.lo [&hellip;] <img loading="lazy" src="https://forum.shinnytech.com/wp-content/uploads/anspress-uploads/f3c874201a01598d5e12b0b655aaff76a5741f0e_6203.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d423adafb5ff6cde23211b2560481eae</guid>
				<title>ringo 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26423</link>
				<pubDate>Thu, 18 Jun 2026 02:50:52 +0800</pubDate>

									<content:encoded><![CDATA[<p>问题不在 ATR/MA 公式，而在 web_gui 自定义画线和 pandas 3.x 的兼容上。</p>
<p>你加了：<br />
klines[&#8220;ma_B2&#8221;] = ma.ma<br />
klines[&#8220;ma_B2.board&#8221;] = &#8220;B2&#8221;<br />
之后，TqSdk 内部会在 [api.py (line 3949)](D:/git/tqsdk-python-private/tqsdk/api.py:3949) 里把这些新增列 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">66b0bd4767b9ef25f5dd588778402dbf</guid>
				<title>mariposas 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26421</link>
				<pubDate>Wed, 17 Jun 2026 13:35:40 +0800</pubDate>

									<content:encoded><![CDATA[<p>想要插入一个atr的副图指标，现在在按照示例文档尝试插入ma</p>
<p>复制过去的，代码在17-28</p>
<p>回测后api.py报错ValueError: assignment destination is read-only</p>
<p>请问是什么问题？应该怎么修改？感谢！</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ad84f07f191b1ef09449e29d136d5fbf</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26420</link>
				<pubDate>Wed, 17 Jun 2026 05:45:37 +0800</pubDate>

									<content:encoded><![CDATA[<p>你说的专业版是指天勤还是快期呢，然后什么场景下还要用token来登录api呢</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">fb3ea28594f1ff33c186dbc952a45835</guid>
				<title>gjsr2000 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26419</link>
				<pubDate>Wed, 17 Jun 2026 03:54:21 +0800</pubDate>

									<content:encoded><![CDATA[<p>专业版获取token后，api登陆方式能否以token形式进行。看tqapi类里，似乎没有这种登陆方式。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9efff785d0a4e935d4650eb1f91349db</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26418</link>
				<pubDate>Mon, 15 Jun 2026 09:08:41 +0800</pubDate>

									<content:encoded><![CDATA[<p>这个报错的意思是当前 Python 环境里缺少 `aiohttp` 这个依赖包。通常是安装不完整，或者运行代码用的 Python 环境和安装 TqSdk 时的环境不是同一个。</p>
<p>可以在当前运行代码的环境里重新安装/升级 TqSdk，命令是：`python -m pip install -U tqsdk`。</p>
<p>如果仍然提示缺 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a037515a7ef191c7e9859ee61b405483</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26417</link>
				<pubDate>Mon, 15 Jun 2026 09:08:25 +0800</pubDate>

									<content:encoded><![CDATA[<p>这是因为 `get_kline_serial()` 返回的是一个会被后续行情包更新的引用。刚创建订阅对象时，首包数据还不一定已经回来，所以立刻 `print(k_1)` 可能看到 `NaN` 或未初始化值；等外层 `api.wait_update()` 继续驱动之后，这个对象才会被填充和更新。</p>
<p>你图里的 `k_2` 之所以正常，是因为它在主流程里先创建，后续创建 task、进入 `wait_upd [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">db98c51588c7d43d1020abb71dbbbd4e</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26415</link>
				<pubDate>Mon, 15 Jun 2026 09:07:22 +0800</pubDate>

									<content:encoded><![CDATA[<p>回测模式下取不到是正常的：`quote.upper_limit` 和 `quote.lower_limit` 在回测中会是 `nan`。这两个字段依赖行情侧提供的合约状态数据，回测数据里目前不包含这部分 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">49b2c9da9ee7020082b03d82a763ce92</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26414</link>
				<pubDate>Mon, 15 Jun 2026 07:01:35 +0800</pubDate>

									<content:encoded><![CDATA[<p>query_all_level_finance_options  的 入参 has_A=False 这里把可用的合约过滤掉了，把这个参数改成none</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>