<?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>信易科技用户论坛| lihan | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/diyano/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/diyano/activity/feed/" rel="self" type="application/rss+xml" />
	<description>lihan的动态信息。</description>
	<lastBuildDate>Sun, 05 Apr 2026 13:01:37 +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">8e9839c454b6ff491a5b77f33ca0c12a</guid>
				<title>lihan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11958</link>
				<pubDate>Tue, 04 Aug 2020 05:12:26 +0800</pubDate>

									<content:encoded><![CDATA[<p>如图，这是今早的信号转换时的表现，只平了仓位，没有反向开仓；</p>
<p>这是昨晚信号变化的时候的正常表现，平仓之后开仓 <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/9a6d007894fde19392fab5c55fd641011556d453_298.jpg" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3ddb45730da42d88245ec8dc676afb1c</guid>
				<title>lihan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11818</link>
				<pubDate>Thu, 23 Jul 2020 12:49:52 +0800</pubDate>

									<content:encoded><![CDATA[<p>在5月28号、29号这两天鸡蛋指数出现了不正常的上涨，此时持仓量最大的07/08/09合约都没有出现这种异常的波动（见下图南华鸡蛋指数）。</p>
<p>我无法想象是什么合成算法能造成这种波动。</p>
<p> <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/576dfc3c451455572f20e35f851ed2905460b02f_298.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">fe4b5e7046780214273f5be377742509</guid>
				<title>lihan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11376</link>
				<pubDate>Tue, 30 Jun 2020 06:16:05 +0800</pubDate>

									<content:encoded><![CDATA[<p>如题，如果指数回测的时候能够自动交易指数对应的主力合约那么回测结果会更真实，也有实盘的价值。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">10ef3e3bb82c24f4896e101523c79126</guid>
				<title>lihan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10197</link>
				<pubDate>Thu, 07 May 2020 12:50:10 +0800</pubDate>

									<content:encoded><![CDATA[<p>由于tqsdk始终使用openmd.shinnytech.com/t/md/front/mobile作为行情源，我用测速网站显示ip在广州，不是很不利于期货交易么&#8230;.</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e1fbdf238c225ea2a455a503ed914466</guid>
				<title>lihan 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=9561</link>
				<pubDate>Wed, 08 Apr 2020 13:53:06 +0800</pubDate>

									<content:encoded><![CDATA[<p>计算当前时刻和当前k datetime的时间差，假设是分钟k，则时间差50s的时候下单</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ca1173bc51eb9934a7d2e149a63cb094</guid>
				<title>lihan 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=8949</link>
				<pubDate>Fri, 06 Mar 2020 02:01:08 +0800</pubDate>

									<content:encoded><![CDATA[<p>用InsertOrderUntilAllTradedTask</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b48c5e9e49a3ab0eed12c79be0ef385e</guid>
				<title>lihan 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=8724</link>
				<pubDate>Sun, 23 Feb 2020 14:00:44 +0800</pubDate>

				
				
							</item>
					<item>
				<guid isPermaLink="false">485b8b9a658a1e29aec6606fe0a1047d</guid>
				<title>lihan 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=8720</link>
				<pubDate>Sat, 22 Feb 2020 02:19:56 +0800</pubDate>

									<content:encoded><![CDATA[<p>目前还不支持套利合约的回测吧。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e004365b0396961be4600d44f728de58</guid>
				<title>lihan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8633</link>
				<pubDate>Mon, 17 Feb 2020 02:14:55 +0800</pubDate>

									<content:encoded><![CDATA[<p>如图，用1s的对齐k线代替分钟线实验，只判断k线是否变化，不判断tick是否变化，结果如下：</p>
<p>可以看到，对于1s的k线，在第1s的时候，is_changing函数才生效，一个解释是，前两个tick，天勤是一起打包发过来的。所以在第0s判断的时候 ，服务器会返回false。对于分钟k来说，更是如此。</p>
<p>================================================== [&hellip;] <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/77b6cec9e58bc57a483e8f4c270f1ce20b6c5c67_298.PNG" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6c375656418f856c40936718c06e83ed</guid>
				<title>lihan 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=8600</link>
				<pubDate>Thu, 13 Feb 2020 02:19:50 +0800</pubDate>

									<content:encoded><![CDATA[<p>这个函数的实现就很迷&#8230;..因为打印所有周期的datetime你可以发现他们是严格按时间顺序推送的，但是大粒度和小粒度的is_changing()就是不能同时判断。所以回测的时候我是人工保存多周期k的datetime自己判断是否更新。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4e5c3a3bf4a89ba3a1a1b20fbde20e43</guid>
				<title>lihan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8584</link>
				<pubDate>Wed, 12 Feb 2020 08:43:30 +0800</pubDate>

									<content:encoded><![CDATA[<p>最近实盘时遇到了分钟k在上午开盘时跳过9:00:00这条k线的问题。</p>
<p>是否是由于早上重启服务器之后diff中没有缓存夜盘数据导致api.is_changing()函数失效？</p>
<p>===============================================</p>
<p>更新今天早上的截图，前一个是当前tick的时间戳，后一个是当前k的datetime，注意中间少了开盘时的9：00：00</p>
<p>api.wait_up [&hellip;] <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/b13677fae5f1df1ed15547ebf012cb43a767dfbc_298.PNG" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0017c4b759a9b97166b85e621f10aff6</guid>
				<title>lihan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8571</link>
				<pubDate>Mon, 10 Feb 2020 14:36:21 +0800</pubDate>

									<content:encoded><![CDATA[<p>套利交易的时候，天勤的k线对齐功能十分有用。这里我想咨询一些细节。</p>
<p>我们假设要做螺纹跨期套利，订阅rb2005和rb2010的分钟k，以rb2005对齐，根据我的实盘测试，往往要延后0.5s的时间，才能得到对齐的分钟k线（比如9:30:00.5得到datetime显示为9:30:00的分钟k)，这是不同合约时间对齐的代价，可以理解。问题是，这个分钟K的close是9:30:00那个tick的close吗？还是当前（9:30 [&hellip;] <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/5285ab9bf6cdbe6561a4a1fdd58d5a4903659f3e_298.PNG" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f7bd95d875573aca54a6a2854518dba5</guid>
				<title>lihan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8325</link>
				<pubDate>Mon, 13 Jan 2020 00:52:03 +0800</pubDate>

									<content:encoded><![CDATA[<p>rb2005, 用DataDownloader下载的数据是有21:00:00的，但是回测的时候打印每个分钟k的datetime如下：</p>
<p>可以看到，是没有21:00:00这条k的(也就是日盘收盘)。我个人倾向于回测时少了一条数据。</p>
<p>=============================================</p>
<p> <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/5791af01593cc9a95d11fb444bd7dfd09fd17fe3_298.PNG" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">04296f7f80bd0040e73e2e388810d785</guid>
				<title>lihan已成为注册成员</title>
				<link>https://forum.shinnytech.com/%e5%8a%a8%e6%80%81/p/203/</link>
				<pubDate>Thu, 12 Sep 2019 05:52:37 +0800</pubDate>

				
									<slash:comments>0</slash:comments>
				
							</item>
		
	</channel>
</rss>