<?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>信易科技用户论坛| en all | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/25157055qqcom/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/25157055qqcom/activity/feed/" rel="self" type="application/rss+xml" />
	<description>en all的动态信息。</description>
	<lastBuildDate>Fri, 03 Apr 2026 22:20:39 +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">89468e85fc7e6e3f7d091df15e690b84</guid>
				<title>en all 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11325</link>
				<pubDate>Thu, 25 Jun 2020 04:35:18 +0800</pubDate>

									<content:encoded><![CDATA[<p>【tqsdk1.8.1开仓绘图bug】用在set_target_volume开仓web绘图的开仓标志会画到上一根k线上</p>
<p> <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/fb367116678106c8442fbb3a7be83511d6ec9041_925.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">eeb9fbb032f96668dc66de91b18e566f</guid>
				<title>en all 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11252</link>
				<pubDate>Mon, 22 Jun 2020 04:56:42 +0800</pubDate>

									<content:encoded><![CDATA[<p>交易y1701合约：</p>
<p>在linux跑就会出现以下的成交记录，以下日志是tqsdk底层自动打印出来的，可以看见在交易时间范围之外还有成交：</p>
<p>INFO &#8211; 模拟交易下单 PYSDK_target_aac0e1644dc9ce10ef6707ad93589d67: 时间:2016-09-12 14:59:00.000000,合约:DCE.y1701,开平:OPEN,方向:BUY,手数:1,价格:62 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">07a8a0c4fc19b00a39730a8572554bf7</guid>
				<title>en all 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9313</link>
				<pubDate>Tue, 24 Mar 2020 14:33:40 +0800</pubDate>

									<content:encoded><![CDATA[<p>代码1：</p>
<p>执行代码得到如下图结果中quote 在 14：00：00 这一根1min k线 开始的时候 都出现了异常。例如在14：00：00开始的quote的last_price 2725没有和ask_price1、bid_price1其中一个重合，其中卖一是2726，买一是2724。照理说在行情波动不剧烈波动的时候 不会出现这样两跳的缝隙，las [&hellip;] <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/e4bd3ad7a3a80c5fba20b53c583d515ab48106f4_925.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6d3b4f10dc14cb4657f07f68dad61b90</guid>
				<title>en all 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8721</link>
				<pubDate>Sat, 22 Feb 2020 04:49:01 +0800</pubDate>

									<content:encoded><![CDATA[<p>复现bug的代码如下：</p>
<p>想获取ag1606合约历史的k线 1.5-5.6日的 数据，白银一般是06，09合约是主力合约，1606合约应该在15年11月开始就有k线数据（参看了博易大师，盘立方等软件都是有正确k线数据的），但是这里获取ag1606合约2016.01.05数据，只能获取到最近两天的数据。各个周期k线应该都有这个问题。</p>
<p>望尽快修复问题，谢谢！ <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/e7f7daddf2961d1020364640b08b8fc4d0e80db5_925.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8b6a7d0a779a4e472197cb2713d9bfb8</guid>
				<title>en all 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8605</link>
				<pubDate>Thu, 13 Feb 2020 06:31:17 +0800</pubDate>

									<content:encoded><![CDATA[<p>订阅tick数据，while中执行<br />
api.wait_update()<br />
后立即下单<br />
api.insert_order(symbol=SYMBOL, direction=&#8221;BUY&#8221;, offset=&#8221;OPEN&#8221;, volume=1, limit_price=buy_open_price)<br />
会陷入死循环，tick数据不会推进。具体见以下可复现代码：</p>
<p> <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/373caf06d9b51120f9e827ac5d0bc367731fc205_925.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">194644f33fd60094bb3a2da41e335ce6</guid>
				<title>en all 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8590</link>
				<pubDate>Wed, 12 Feb 2020 18:39:18 +0800</pubDate>

									<content:encoded><![CDATA[<p>检查回测数据的时候发现以上不正常的交易记录，从管理员 <a href='https://www.shinnytech.com/%e6%88%90%e5%91%98/west/' rel="nofollow ugc">@west</a> 和 <a href='https://www.shinnytech.com/%e6%88%90%e5%91%98/ringo/' rel="nofollow ugc">@Ringo</a> 那里得知是一个以前就发现的bug有待修复，是因为交易所18点的时候还会传递数据过来，就把这个tick当成了 [&hellip;] <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/5f3001ce06d4774714ee18c9894ec44b4e187a5f_925.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">cbb38526ee312a9fbe0fd64dda409c92</guid>
				<title>en all 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=8557</link>
				<pubDate>Sun, 09 Feb 2020 15:28:11 +0800</pubDate>

									<content:encoded><![CDATA[<p>csv_file_name 参数会指定文件<br />
没在相对目录下？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">59281a34f1ca1f8d703c6b22380840e3</guid>
				<title>en all 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=8556</link>
				<pubDate>Sun, 09 Feb 2020 15:27:32 +0800</pubDate>

									<content:encoded><![CDATA[<p>tqsdk没有这个功能，需要自己判断哪个合约是主力合约</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a918ff27897b216facf583bdbca9a909</guid>
				<title>en all 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8555</link>
				<pubDate>Sun, 09 Feb 2020 15:18:35 +0800</pubDate>

									<content:encoded><![CDATA[<p>运行以上代码，打印如下：</p>
<p>成交额，成交量，买一量，卖一量，均价 等字段明显不对。这是一个bug吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">729aece1a7b1477377de016e9f035ab6</guid>
				<title>en all 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8513</link>
				<pubDate>Mon, 03 Feb 2020 07:35:17 +0800</pubDate>

									<content:encoded><![CDATA[<p>回测以上代码，以下两段代码始终都没有被执行到：</p>
<p>except BacktestFinished:<br />
  api.close()<br />
  print(&#8220;SHORT=&#8221;, SHORT, &#8220;最终权益=&#8221;, acc.account.balance)  # 每次回测结束时, 输出使用的参数和最终权益<br />
  sys.stdout.flush()<br />
except Exception as e:<br />
  print(&#8220;e [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6e7b8e21c3b406783bd401b0690a6a1a</guid>
				<title>en all 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=8495</link>
				<pubDate>Tue, 28 Jan 2020 04:09:52 +0800</pubDate>

									<content:encoded><![CDATA[<p>webui上显示也有类似的问题，webui显示的是按照常规的k线合成方案，而tqsdk的k线合成方式是，把上一根k线的最后一根tick的价格作为当前bar的看盘价和时间。</p>
<p>这个不一致的问题能解决吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b2ab6696f134d1aa10daa07b498f46ef</guid>
				<title>en all 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8494</link>
				<pubDate>Tue, 28 Jan 2020 04:01:32 +0800</pubDate>

									<content:encoded><![CDATA[<p>对几千个参数进行回测，会用到几十个 某合约某周期某时间段的数据。</p>
<p>电信网络100M下载带宽，每个合约 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">907e41f1a0010cd452c230b17258cc4b</guid>
				<title>en all 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8261</link>
				<pubDate>Tue, 07 Jan 2020 14:29:07 +0800</pubDate>

									<content:encoded><![CDATA[<p> <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/a19212d6329150d1689e8786ae252e87bcc6fdb4_925.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9d2ec464eb2cc60a7dfc1743982122dd</guid>
				<title>en all 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7931</link>
				<pubDate>Wed, 11 Dec 2019 15:23:11 +0800</pubDate>

									<content:encoded><![CDATA[<p>例如燃油，2019年年中到年底主力合约是fu2001，年底到第二年初处理合约是fu2005</p>
<p>相当于某个品种每个一段时期内的主力合约名字，这样可以结合起来回测很长一段时间范围内的某个主力连。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e7ea1498f87003bd0352a4d18e83cecd</guid>
				<title>en all 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7847</link>
				<pubDate>Wed, 04 Dec 2019 07:08:26 +0800</pubDate>

									<content:encoded><![CDATA[<p>例如，想进行多机器，多个策略，多个品种，多个周期，持续好几年的历史数据做策略参数寻优，几千几万次测试。有没有函数或参数可以设置把代码中要用到的各品种各周期k线，tick数据缓存到本地，加速整个过程，不用每一次回测都是从tqsdk服务器上下载一次大量的数据。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">292c220ce95cc1e7f0a39dd92503e187</guid>
				<title>en all 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=7846</link>
				<pubDate>Wed, 04 Dec 2019 06:59:08 +0800</pubDate>

									<content:encoded><![CDATA[<p>之前管理员回复过，转：</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">70404a8d01ac1226fc30c1984bbd42c6</guid>
				<title>en all 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7829</link>
				<pubDate>Tue, 03 Dec 2019 17:12:37 +0800</pubDate>

									<content:encoded><![CDATA[<p>在天勤终端中一个策略代码中写入以上代码，点击回测按钮，选择时间范围 2016.1.1 &#8211; 2019.12.2</p>
<p>策略一开始就打印：</p>
<p>SYMBOL_ag:SHFE.ag2002</p>
<p>无法得到预期的2016年初那段时间的 ag主力合约代码。</p>
<p>请问如何实现这种需求？</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>