<?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>Wed, 10 Jun 2026 07:42:10 +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">0be05b9c988de9689ce8d3daa20edc8a</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26407</link>
				<pubDate>Tue, 09 Jun 2026 08:00:46 +0800</pubDate>

									<content:encoded><![CDATA[<p>文华商品指数的具体成分、权重及换月规则并非 TqSdk 提供的数据，无法保证自行计算结果与文华指数一致。官方也不提供代写代码服务。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3a1882983e0e6c3cfc6107de09f43dad</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26406</link>
				<pubDate>Tue, 09 Jun 2026 08:00:46 +0800</pubDate>

									<content:encoded><![CDATA[<p>中证商品期货指数的具体成分、权重及换月规则并非 TqSdk 提供的数据，无法保证自行计算结果与官方指数一致。官方也不提供代写代码服务。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2a57b5f1c942d3bfd7054a39580bb487</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26405</link>
				<pubDate>Tue, 09 Jun 2026 08:00:46 +0800</pubDate>

									<content:encoded><![CDATA[<p>`api is not None` 只能说明 Python 中的 `TqApi` 对象已经创建，不能代表客户端与服务端连接始终正常。</p>
<p>程序需要持续调用 `api.wait_update()` 才能收发数据和驱动后台任务。可以使用 `api.wait_update(deadline=time.time() + 10)` 设置等待超时，但没有更新不 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b291b58442da8d65f0a7c0378ff8a851</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26401</link>
				<pubDate>Mon, 08 Jun 2026 06:44:23 +0800</pubDate>

									<content:encoded><![CDATA[<p>需要看具体成交明细才能判断。模拟账户的盈亏以开平仓成交价、方向、手数和合约乘数计算，“止损”本身可能只是策略里的触发/记录标签，最终是否盈利要看实际开仓价和平仓成交价。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d4d8a314ce9c185d329364247b85129d</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26400</link>
				<pubDate>Mon, 08 Jun 2026 06:44:23 +0800</pubDate>

									<content:encoded><![CDATA[<p>麻烦提供一下卡住时的原始报错，我们先看具体卡在哪一步。</p>
<p>这类情况可能和网络、DNS、代理、防火墙、认证连接或行情服务器连接有关，只看当前代码片段还不太好判断。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">67c450e521cfae34729bec590f1b3aae</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26399</link>
				<pubDate>Mon, 08 Jun 2026 06:44:23 +0800</pubDate>

									<content:encoded><![CDATA[<p>期货回测里可以通过 `TqSim.set_commission()` 设置每手手续费。回测时先创建 `sim = TqSim()`，把它传给 `TqApi`，然后对需要的合约设置手续费即可，例如 `sim.set_commission(&#8220;SHFE.cu2607&#8221;, 50)`。</p>
<p>需要注意：这是按“每手手续费”设置；如果多个合约都交易，需要分别设置。股票本地模拟 `TqSimStock` 暂不支持设置手续费。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6460ccacb386104f54e40feece6be8ec</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26398</link>
				<pubDate>Mon, 08 Jun 2026 06:44:03 +0800</pubDate>

									<content:encoded><![CDATA[<p>目前天勤没有 `TqReplay` 这个复盘模式，因此不建议按这个方向处理。</p>
<p>如果是想做历史数据回放/策略验证，可以使用 `TqBacktest` 回测模式。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">79a6f80f8ad0986dd60d6bde61b7b39e</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26389</link>
				<pubDate>Thu, 04 Jun 2026 01:19:54 +0800</pubDate>

									<content:encoded><![CDATA[<p>不会，如果是今仓应该也在pos_short_today上，可以再测试一下或者给个最小复现问题的代码</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">43d0a997e4924e1a9d926094944efa6f</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26385</link>
				<pubDate>Wed, 03 Jun 2026 03:04:53 +0800</pubDate>

									<content:encoded><![CDATA[<p>﻿不是普通的向量化回测，可以理解成“带撮合过程的账户模拟回测”，但也不要把它理解成简单的“信号一出就按K线价格立刻成交”。</p>
<p>天勤回测是事件驱动的，回测里下单、撤单、成交都要跟着 `api.wait_update()` 往后推进；而且撮合不是只看你这一根 5 分钟 K 线的收盘价。对最小订阅周期的 K 线，回测内部会按生成出来的盘口去做撮合，所以就可能出现你看到的两类现象：</p>
<p>1. 反手时，平空和开多不是同一个时刻完成，看起 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2d937f25835e8337b96ca0eeffe28271</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26379</link>
				<pubDate>Tue, 02 Jun 2026 05:54:29 +0800</pubDate>

									<content:encoded><![CDATA[<p>支持的。你这段代码里目前只是计算并打印了 `ma_fast_val`、`ma_slow_val`，还没有把指标序列写回 `klines`，所以 web_gui 没有可绘制的数据。</p>
<p>处理方式是：在 `api.wait_update()` 之后，把完整的均线序列加到 K 线 DataFrame 的附加列上。</p>
<p>画到主图：新增 `ma_fast_MAIN`、`ma_slow_MAIN` 两列，值分别用 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">eadeeeba3dba122f8b53db98feedae5b</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26375</link>
				<pubDate>Fri, 29 May 2026 05:53:33 +0800</pubDate>

									<content:encoded><![CDATA[<p>实时情况下如果只需要 1 分钟 K 线，订阅时用 `api.get_kline_serial(symbol, 60, data_length=2)`。</p>
<p>这里第二个参数 `60` 就表示 1 分钟周期，`data_length` 表示这个 DataFrame 里保留最近多少根 K 线。刚订阅时 TqSdk 会先补齐最近的历史 K 线，所以看起来会“一下子来一大堆”，这是正常的初始化数据，不是推送了多个周期的 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">71c99058021afcef41d8baf86c67c7fc</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26373</link>
				<pubDate>Fri, 29 May 2026 05:52:56 +0800</pubDate>

									<content:encoded><![CDATA[<p>`klines` 可以写在循环外，是因为 `api.get_kline_serial()` 返回的是一个会被 TqSdk 持续更新的 DataFrame 引用。只要后面不断调用 `api.wait_update()`，这个 `klines` 对象里的数据会原地刷新。</p>
<p>但 `short_avg = ma(klines[&#8220;close&#8221;], SHORT)`、`long_avg = ma(&#8230; [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6cf1a67d3f0816a87e8c8976297b539f</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26364</link>
				<pubDate>Tue, 26 May 2026 02:34:13 +0800</pubDate>

									<content:encoded><![CDATA[<p>api.close() 不能直接在协程里调用。TqSdk 的协程任务是由外层 api.wait_update() 推进的，协程正在运行时调用 api.close() 会报“不能在协程中调用 close”这一类错误。</p>
<p>处理方式是：协程里只负责 return 结束任务，真正的 api.close() 放在外层 wait_update() 循环退出后的 finall [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b8d07e4bc629da43b372c37aee594163</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26359</link>
				<pubDate>Mon, 25 May 2026 01:29:38 +0800</pubDate>

									<content:encoded><![CDATA[<p>不要在协程内部直接调用 `api.close()`。`api.close()` 需要在外层 `wait_update()` 返回后调用；如果在协程运行时调用，会报类似“不能在协程中调用 close”的错误。</p>
<p>模板思路是：协程负责下单并等订单结束，外层负责持续 `wait_update()`，任务完成后再关闭 api。</p>
<p>示例结构可以按下面的顺序写：</p>
<p>1. 在异步函数 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7cb56d38f7d649580d0106a074b7ebad</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26358</link>
				<pubDate>Mon, 25 May 2026 01:29:26 +0800</pubDate>

									<content:encoded><![CDATA[<p>这个逻辑可以写程序实现，核心用行情和 K 线接口即可，不属于必须用 `DataDownloader` 的场景。</p>
<p>大致流程是：</p>
<p>1. 用 `query_quotes()` 获取未下市期货合约列表，参数里把 `ins_class` 设为 `FUTURE`，`expired` 设为 `False`。<br />
2. 用 `query_symbol [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">75b9fd7c58a9788234215131c0161ce4</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26357</link>
				<pubDate>Mon, 25 May 2026 01:29:17 +0800</pubDate>

									<content:encoded><![CDATA[<p>这是回测时点的问题。使用日线 K 线时，当你拿到当天收盘价并据此产生信号时，这根日线实际上已经结束了；此时再下单，不能再按同一根 K 线的收盘价成交，否则就是未来函数。所以进入下一根 K 线成交是正常的。</p>
<p>如果策略真实逻辑是“收盘前下单”，建议用分钟线或更小周期驱动，在收盘前的某个时间点生成信号并下限价单。</p>
<p>如果只是做日线研究、假设按收盘价成交，可以自己按日线 clos [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">36dc09b65350149a28f307b03ef27fa6</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26356</link>
				<pubDate>Mon, 25 May 2026 01:29:04 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以用 `api.query_symbol_settlement()` 查询交易所合约每日结算价，例如按合约和日期查询最后交易日附近的结算价。</p>
<p>需要注意：`query_symbol_settlement()` 不支持在 `TqBacktest` 回测模式里直接调用。做法是先在非回测模式下把需要区间的结算价查出来，保存成 csv/DataFrame；回测时再读取这份数据做手工结算。</p>
<p>如果还需要判断最后交 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">39f6513a7bbb5459d117e7ab66e20147</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26350</link>
				<pubDate>Fri, 22 May 2026 07:25:15 +0800</pubDate>

									<content:encoded><![CDATA[<p>感谢反馈，这里确实是文档措辞错误。</p>
<p>原文中的“然后再安装自己的需求获取对应合约”应改为“然后再按照自己的需求获取对应合约”。我们会修正文档。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d930f81c33bb24138136a331716d7cac</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26349</link>
				<pubDate>Fri, 22 May 2026 07:25:08 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以分两种情况：</p>
<p>如果是在策略运行过程中，通过 `get_kline_serial()` / `get_tick_serial()` 获取最近一段 K 线或 tick 序列，可以按接口规则使用。</p>
<p>如果是按指定起止日期下载历史行情、导出 CSV，`DataDownloader` 属于 TqSdk 专业版功能，需要专业版权限或试用；免费用户不能使用该下载工具下载全量历史数据。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e7fc2fe03c0ede6642f92e6da1b8260a</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26347</link>
				<pubDate>Fri, 22 May 2026 07:24:39 +0800</pubDate>

									<content:encoded><![CDATA[<p>你贴出的这几行：</p>
<p>websocket send data<br />
websocket received data<br />
wait for data completed</p>
<p>看起来不是 TqSdk 抛出的异常堆栈，而是 websocket 通信/调试日志，表示有发送、接收并完成了一次 `wait_update()` 等待。</p>
<p>如 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6b395f622a7fac92bf7e85a59166105f</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26346</link>
				<pubDate>Fri, 22 May 2026 07:24:28 +0800</pubDate>

									<content:encoded><![CDATA[<p>回测模式下 `get_quote()` 生成的 quote 字段不是实盘行情字段全集。涨跌停、昨结算等字段在回测里目前不提供，所以会看到空值或 `nan`。</p>
<p>如果需要合约基础信息，可以用 `query_symbol_info()` 查询，例如 `price_tick`、`volume_multiple`、到期日、交易时间等；但回测时 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">fe17d4f9c31bdde8963011a106b2839f</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26332</link>
				<pubDate>Tue, 19 May 2026 02:30:28 +0800</pubDate>

									<content:encoded><![CDATA[<p>目前外盘这块支持的是延时行情订阅。<br />
回测需要历史数据支持，但按目前公开文档和现有数据服务，外盘这边暂时还不支持直接回测。也就是说，外盘品种现在可以看行情，但不能像国内期货那样直接走天勤的回测流程。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">85cfa64b7db6ba0e1396f9baaef720ff</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26331</link>
				<pubDate>Tue, 19 May 2026 02:30:28 +0800</pubDate>

									<content:encoded><![CDATA[<p>是的，这里的 token 可以理解为：购买专业版权限后，先通过 token 服务获取访问令牌，然后再用这个 token 去访问 EDB 的业务接口。<br />
也就是说，后续请求数据时，主要是通过 `Authorization: Bearer your_token` 来鉴权，而不是直接拿用户名密码去请求业务接口 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">cc8df9181fcf39b372af99f024f14ece</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26330</link>
				<pubDate>Tue, 19 May 2026 02:30:28 +0800</pubDate>

									<content:encoded><![CDATA[<p>不是只支持上证50ETF和沪深300ETF两个品种，你截图里的那段示例偏旧了。按目前文档，ETF期权这边已经支持的标的包括：<br />
`SSE.510050` 上证50ETF<br />
`SSE.510300` 上交所沪深300ETF<br />
`SZSE.159919` 深交所沪深300ETF<br />
`SZSE.159915` 创业板ETF<br />
`SZSE.159922` 深交所中证500ETF<br />
`SSE.510500` 上 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">029f400ffe50d9098babf8abb77b8408</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26329</link>
				<pubDate>Tue, 19 May 2026 02:30:28 +0800</pubDate>

									<content:encoded><![CDATA[<p>如果你说的是快期模拟账户的资金或持仓重置，目前没有单独开放一个“账户重置接口”。<br />
现阶段可以到快期专业版的账户列表里重置快期模拟账号的资金。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7fa25a4e664aadf101cf87c41bbd4463</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26320</link>
				<pubDate>Tue, 12 May 2026 01:22:39 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以分两步做：</p>
<p>1. 先用 `query_cont_quotes()` 拿到主力合约列表<br />
2. 再对这些主力合约逐个 `get_quote()`，读取当前时刻的 quote 字段</p>
<p>TqSdk 里没有一个“直接一次性返回所有主力合约剖面行情”的单独函数。通常做法就是先查主力合约，再批量拿 quote。<br />
如果你要的是当前截面数据，用 ` [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">236f79e6ddc50377a2ecc9a99b37cea0</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26318</link>
				<pubDate>Mon, 11 May 2026 07:50:42 +0800</pubDate>

									<content:encoded><![CDATA[<p>这要先区分你用的是 `TqSim` 还是 `TqKq`。</p>
<p>`TqSim` 是本地模拟账户，持仓和资金只在当前程序里，不会同步到快期 App，所以在 App 里看不到是正常的。</p>
<p>如果你想让模拟持仓和快期 App 里的“快期模拟”互通，要用 `TqKq`。`TqKq` 对应的是快期体系里的长期模拟账户，这个账户在快期 App、快期 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">de3bd5024e0e89013de06f64a89d193c</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26315</link>
				<pubDate>Mon, 11 May 2026 06:16:43 +0800</pubDate>

									<content:encoded><![CDATA[<p>免费版目前不能使用 `TqSimStock`。</p>
<p>从报错信息来看，`TqSimStock` 这类股票模拟账户能力不在免费权限里，所以会提示“您的账户不支持 TqSimStock，需要购买后才能使用”。</p>
<p>简单区分一下：</p>
<p>&#8211; `TqSim()`：期货本地模拟<br />
&#8211; `TqKq()`：期货快期模拟<br />
&#8211; `TqSimStock()`：股票本地模拟<br />
&#8211; ` [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8607e33838adf41f142b7b7f7cc2690b</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26310</link>
				<pubDate>Tue, 28 Apr 2026 06:39:37 +0800</pubDate>

									<content:encoded><![CDATA[<p>今天部分用户在天勤里使用simnow会有问题，已经在修复了哈</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">97918ad2dacd80853535c05ff5b61af2</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26307</link>
				<pubDate>Mon, 27 Apr 2026 08:44:00 +0800</pubDate>

									<content:encoded><![CDATA[<p>使用天勤需要有python编程经验哈，具体可以先看看官网文档里的快速入门章节<br />
模拟是免费的，实盘除了官网上写的三家合作期货公司其他是需要收费的</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">73cf66dfa2d2f4fdf0854f9ffe087f7b</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26306</link>
				<pubDate>Mon, 27 Apr 2026 08:42:35 +0800</pubDate>

									<content:encoded><![CDATA[<p>我们后台老师看看哈</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">427135860b3b5f0cc4d5f65a900d4050</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26305</link>
				<pubDate>Mon, 27 Apr 2026 05:09:14 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以取前一个交易日最后一个tick的amount字段</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2b8a1d0dc47bb36e3aba58cdfb6385c7</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26303</link>
				<pubDate>Mon, 27 Apr 2026 02:52:27 +0800</pubDate>

									<content:encoded><![CDATA[<p>没有ip哈，可以试试能不能设置通配符放开域名，*.shinnytech.com 的80、443端口</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ddb977222f50f6acb78ec9bfe92eb6ab</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26302</link>
				<pubDate>Mon, 27 Apr 2026 02:49:22 +0800</pubDate>

									<content:encoded><![CDATA[<p>天勤只有l1的数据哈，不能获取l2的数据</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e860454fecb2302c168967e1041b3c5d</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26301</link>
				<pubDate>Mon, 27 Apr 2026 02:48:44 +0800</pubDate>

									<content:encoded><![CDATA[<p>初始化行情是需要花费一些时间的哈，这个还会受网络环境、订阅数量多少等影响</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">417ef58f181da1e43bbe7fb38125365f</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26295</link>
				<pubDate>Thu, 23 Apr 2026 06:37:48 +0800</pubDate>

									<content:encoded><![CDATA[<p>期权本身就支持模拟交易哈<br />
只有etf期权比较例外，目前只有tqsim可以交易</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6b6945218634e412d1ebcd4b522e24b4</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26294</link>
				<pubDate>Thu, 23 Apr 2026 06:37:06 +0800</pubDate>

									<content:encoded><![CDATA[<p>insert_order() 不是立刻撮合，而是下一次 wait_update() 才真正发出<br />
回测中K线只在开始和结束的时候才更新，下一次wait_update也更新了K线的状态，然后基于这个K线的行情来撮合，所以可能表现为你描述的那样</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2b70e615bb0d5b5a0ab8e33fbc269b21</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26289</link>
				<pubDate>Wed, 22 Apr 2026 01:24:50 +0800</pubDate>

									<content:encoded><![CDATA[<p>期货有16年之后的数据，下载历史数据用datadownloader函数哈，get_kline_serial只能获取最近10000根</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8dd59973a56edd20de90c088c8a50acc</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26288</link>
				<pubDate>Tue, 21 Apr 2026 08:43:54 +0800</pubDate>

									<content:encoded><![CDATA[<p>天勤主连是在持仓量和成交量均为最大的时候，在下一个交易日切换主连，不保证和其他软件切换规则一致</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">dba56a43e90e40713c598836aa31b456</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26286</link>
				<pubDate>Tue, 21 Apr 2026 08:42:03 +0800</pubDate>

									<content:encoded><![CDATA[<p>上期所和上期能源有五档，其他交易所只有一档</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8b3ce7c0269a37489f3eaeaf6a382074</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26285</link>
				<pubDate>Tue, 21 Apr 2026 08:41:25 +0800</pubDate>

									<content:encoded><![CDATA[<p>不是，天勤支持多点登录</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">482b5e5fb26fdb150a3696fac02471a1</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26280</link>
				<pubDate>Fri, 17 Apr 2026 01:10:34 +0800</pubDate>

									<content:encoded><![CDATA[<p>需要开盘前半小时左右重启程序，可以设置一个定时任务</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">732abd1a38e6deefd464be230937d725</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26278</link>
				<pubDate>Thu, 16 Apr 2026 08:37:51 +0800</pubDate>

									<content:encoded><![CDATA[<p>如果有通配符设置的话建议直接放开 *.shinnytech.com</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f36534e7b666789c46cb6525baee8dbf</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26276</link>
				<pubDate>Tue, 14 Apr 2026 03:20:45 +0800</pubDate>

									<content:encoded><![CDATA[<p>多策略可以参考这个文档哈https://doc.shinnytech.com/tqsdk/latest/advanced/tq_trading_unit.html</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ef7ddaf217671c88f180f6960bc0bf86</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26274</link>
				<pubDate>Mon, 13 Apr 2026 01:32:32 +0800</pubDate>

									<content:encoded><![CDATA[<p>版本应该没特别的要求，你可以百度看看比较好用的版本选择下载</p>
<p>我们没有强制用哪些api，codex是第三方软件，具体支持哪些功能可以到他们官网上了解一下哈</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">033893f127c9fc905fe44faeba499fc3</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26273</link>
				<pubDate>Mon, 13 Apr 2026 01:24:39 +0800</pubDate>

									<content:encoded><![CDATA[<p>没有哈会员的成交金额排名可能需要自己去根据成交量和结算价/均价之类的去计算</p>
<p>如果只想看合约的成交金额排名可以用quote里的amount字段</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">30afe56af26082cb26c60d0bd0ee5bdf</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26270</link>
				<pubDate>Fri, 10 Apr 2026 05:51:47 +0800</pubDate>

									<content:encoded><![CDATA[<p>不是，代码中还是要输入这些账户信息的，不然不知道做交易的是哪个账户<br />
simnow账户也可以绑定，一般会自动绑定，绑定数量超过三个会报错提醒</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ce4d927b78e998c8578fbcf8a8f2d681</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26267</link>
				<pubDate>Fri, 10 Apr 2026 03:23:53 +0800</pubDate>

									<content:encoded><![CDATA[<p>不是，CZCE.MA609，以交易所官网给的代码为准</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c8306ce2aa57b2b3714d8ed57772f85a</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26265</link>
				<pubDate>Wed, 08 Apr 2026 06:07:58 +0800</pubDate>

									<content:encoded><![CDATA[<p>估计是时区转换错了，可以用官方转换时间戳的函数time_to_str</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ad2ca475f691953f14c63ca9f7424b78</guid>
				<title>chaos 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=26263</link>
				<pubDate>Wed, 08 Apr 2026 05:20:52 +0800</pubDate>

									<content:encoded><![CDATA[<p>天勤是纯代码哈，如果不想编程实现又想看账户的绩效分析或者是做风险监控，建议和其他具有该功能的软件搭配使用，比如快期专业版</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>