<?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>信易科技用户论坛| lua gua | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/lg/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/lg/activity/feed/" rel="self" type="application/rss+xml" />
	<description>lua gua的动态信息。</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">a12b8a359908728dab9b040388031644</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15174</link>
				<pubDate>Sat, 27 Feb 2021 12:56:39 +0800</pubDate>

									<content:encoded><![CDATA[<p>自从升级到了2.X版之后，似乎回测/优化的体验变差了。主要几点：</p>
<p>1.TqApi（）函数非常容易报错</p>
<p>2.似乎回测的时间也有关系，例如太长就容易发生异常。 优化是类似的，基本上，1.9.X版本是没有这个问题的，现在很少能正常完成优化。是否回测时长过长,更短的K线会有限制</p>
<p>3.如果为了加快速度而多个线程跑回测，则更容易出现问题，不知是否对线程也有限制</p>
<p>我想问一下，是否现在对回测有了限制，为什么之前的1.9x版本没有这些问题</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">10395d00a9cedd56dc9990c2c627cd32</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=14917</link>
				<pubDate>Sat, 23 Jan 2021 04:09:03 +0800</pubDate>

									<content:encoded><![CDATA[<p>更新到最新版，感觉本地回测很不容易完成，总是发生异常不能进行下去，手动重启多次也不行。似乎模式是：如果成功就连着很多次都可以，如果不行就连着失败4·5次，之后不知什么原因又可以了。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">78b25d00b6dcf173624d8fa4a47e6a8a</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=13561</link>
				<pubDate>Thu, 01 Oct 2020 01:59:47 +0800</pubDate>

									<content:encoded><![CDATA[<p>更新到最新版以后，发现问题如下：</p>
<p>之前版本是可以查询到合约的最低保证金的，用的是quote.margin, 现在这个字段没有了，导致程序异常。 请保留这个重要字段或者给出另外的方法得到，程序不会依靠这个值但是需要参考</p>
<p>之前版本是可以查询得到期货指数的合约乘数的，现在也不能了，统统为0</p>
<p>期货指数似乎不能回测，只能完成第一笔交易，换成真实合约又可以了，好象是在wa [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e09def02724b6c0c7aeb717532f3471e</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=13560</link>
				<pubDate>Thu, 01 Oct 2020 00:52:55 +0800</pubDate>

									<content:encoded><![CDATA[<p>测试商品指数的时候，为什么合约乘数是0，代码之前正常的</p>
<p>读取合约乘数用的是：<br />
volume_multiple</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">160f5a51f61024ff440cf1c967a17c5e</guid>
				<title>lua gua 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13557</link>
				<pubDate>Wed, 30 Sep 2020 14:28:03 +0800</pubDate>

									<content:encoded><![CDATA[<p>多谢！</p>
<p>有个新问题， 下载成功了，但是给了个警告：</p>
<p>WARNING &#8211; 不推荐使用 api._data[&#8216;quotes&#8217;] 获取全部合约，该使用方法会在 20201101 之后的版本中放弃维护。请尽快修改使用新的接口，</p>
<p>我读了一下文档，了解了。</p>
<p>有个问题，原来的方法如下：<br />
k for k , v in api._data[ &#8221; [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7641f9fbee62e077b3a64714e0f67ddb</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=13549</link>
				<pubDate>Wed, 30 Sep 2020 11:46:10 +0800</pubDate>

									<content:encoded><![CDATA[<p>我用的专业版，有auth参数，之前工作正常。现在已下载，反复出现如下信息：</p>
<p>2020-09-30 19:42:24,697 &#8211; WARNING &#8211; 通知: 与 wss://openmd.shinnytech.com/t/md/front/mobile 的网络连接已恢复<br />
2020-09-30 19:42:24,713 &#8211; WARNING &#8211; 通知: 与 wss://openmd.shinnyt [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">5233bb1bbe4c0ae9ad6268d9c622370d</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12930</link>
				<pubDate>Mon, 21 Sep 2020 11:25:40 +0800</pubDate>

									<content:encoded><![CDATA[<p>RuntimeWarning: coroutine &#8216;TqApi._windows_patch&#8217; was never awaited<br />
attrib = {}<br />
RuntimeWarning: Enable tracemalloc to get the object allocation traceback<br />
Task was destroyed but it is pending!</p>
<p>RuntimeWarning: [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">43c09614778c696da457a534bbe56e6f</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12914</link>
				<pubDate>Sat, 19 Sep 2020 01:20:07 +0800</pubDate>

									<content:encoded><![CDATA[<p>例如Sortino ratio， 感觉比夏普率更重要</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">68f16ed1355d899f2c4c1400281deac7</guid>
				<title>lua gua 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=12789</link>
				<pubDate>Sat, 12 Sep 2020 01:53:11 +0800</pubDate>

									<content:encoded><![CDATA[<p>X轴，y轴的数据从来显示不出来，我只能看个形状</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a0ca57d3a64d3ae51d7b88e62e3e2b0b</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12788</link>
				<pubDate>Sat, 12 Sep 2020 01:50:49 +0800</pubDate>

									<content:encoded><![CDATA[<p>初始账户金额100万，回测结束后净值97.3万，ror结果是2.65%，导致年化回报率，sharpe率都是正的。</p>
<p>也许是符号问题</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7f60d74e481bbbe151e179b0bc3ee9b6</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12515</link>
				<pubDate>Mon, 31 Aug 2020 07:27:51 +0800</pubDate>

									<content:encoded><![CDATA[<p>如题，如何查询某个持仓品种的浮盈或者浮亏金额</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7938db58f61146a96afd2726e5941104</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12055</link>
				<pubDate>Sun, 09 Aug 2020 04:35:48 +0800</pubDate>

									<content:encoded><![CDATA[<p>希望能够增加连续合约的支持，例如1，5，9的连续合约。 当然每个品种的连续主力未必相同，</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">05479be45028e5b9969b291b40d9f605</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11869</link>
				<pubDate>Wed, 29 Jul 2020 00:47:28 +0800</pubDate>

									<content:encoded><![CDATA[<p>如题，什么原因，如何删除</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">50d52d37d146c6a534c2e42054315c2f</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11821</link>
				<pubDate>Fri, 24 Jul 2020 01:01:11 +0800</pubDate>

									<content:encoded><![CDATA[<p>连接时给出信息如下：</p>
<p>2020-07-24 08:40:23,353 &#8211; INFO &#8211; 您可以访问 <a href="http://127.0.0.1:49524" rel="nofollow ugc">http://127.0.0.1:49524</a> 查看策略绘制出的 K 线图形。<br />
Task was destroyed but it is pending!<br />
task:<br />
Task was destroyed but it is pending!<br />
task: </p>
<p>接收数据超时，请检查客户端及网络是否正常</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e355de404fc7f8b822d95eb52cde277d</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11777</link>
				<pubDate>Tue, 21 Jul 2020 13:21:58 +0800</pubDate>

									<content:encoded><![CDATA[<p>给出如下提示信息：</p>
<p>2020-07-21 21:20:02,899 &#8211; INFO &#8211; 您可以访问 <a href="http://127.0.0.1:64485" rel="nofollow ugc">http://127.0.0.1:64485</a> 查看策略绘制出的 K 线图形。<br />
2020-07-21 21:20:09,274 &#8211; INFO &#8211; 通知: 与 wss://otg-btqh.shinnytech.com/trade 的网络连接已建立<br />
2020-07-21 2 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">730d65f4b6f2759815c8d98909644c9a</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11769</link>
				<pubDate>Tue, 21 Jul 2020 08:40:10 +0800</pubDate>

									<content:encoded><![CDATA[<p>如题， 开盘前在大约8：40am连接时报错， 错误信息是： 接收数据超时，请检查客户端及网络是否正常</p>
<p>期货公司说没有问题</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7c9eaf45849b3cf75b5598195a739aa1</guid>
				<title>lua gua 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=11736</link>
				<pubDate>Sat, 18 Jul 2020 02:32:21 +0800</pubDate>

									<content:encoded><![CDATA[<p>公平的说，我觉得他会比市面上很多收费的商业平台的扩展性强得多, 它的文档在免费平台里是不错的了。</p>
<p>天勤量化有极大的潜力，原因是它的架构，python语言提供了很多可能。但潜力是否能够释放有几个关键点：要足够可靠，这样专业大资金才敢用。要持续的给予用户支持，持续的按照客户需要改进。</p>
<p>但前提是你有很好的编程功底和对交易的一定理解。如果你是这样的背景，天勤做的策略会非常强大。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e0491f753f837dabf2d84458d9c2f24c</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11715</link>
				<pubDate>Thu, 16 Jul 2020 13:11:33 +0800</pubDate>

									<content:encoded><![CDATA[<p>夜盘连接时，给出如下信息：</p>
<p>2020-07-16 20:15:01,259 &#8211; WARNING &#8211; 通知: 与 wss://otg-sim.shinnytech.com/trade 的网络连接断开，请检查客户端及网络是否正常</p>
<p>server rejected WebSocket connection: HTTP 500</p>
<p>exception e : did not receive a valid HTTP response</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8660944c61fb57ae75c33564d0546bfe</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11572</link>
				<pubDate>Mon, 13 Jul 2020 13:30:49 +0800</pubDate>

									<content:encoded><![CDATA[<p>今晚开夜盘时，在整9：00时，查询某symbol的持仓时，发现了奇怪的数字，肯定不是正确的我的持仓数字，但同时，查询的当前价格是nan。</p>
<p>语句如下：<br />
Current_Positions = api.get_position ( symbol ).pos<br />
Current_price = symbol_quote[symbol].last_price<br />
这个好像只发生在开盘时</p>
<p>我想问： 是否当<br />
Current_price不是一 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">68302b39f7c095c0fad1f507225a6745</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11543</link>
				<pubDate>Sun, 12 Jul 2020 00:57:04 +0800</pubDate>

									<content:encoded><![CDATA[<p>如题，</p>
<p>安装快期3Pro时需要问题： thostmduserapi.dll修复失败， 导致不能继续安装</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7c73c4d7c040d6c0d354bae8b5abe53e</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11536</link>
				<pubDate>Fri, 10 Jul 2020 12:32:29 +0800</pubDate>

									<content:encoded><![CDATA[<p>我发现这个函数的有些symbol不能下载到最新数据，例如今天是7/10，只能下载到7/3， 这包括zn，ru等重要品种，</p>
<p>这里有任何设置问题吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4593d0072f72c420eb29e3c1cfd2fc83</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11535</link>
				<pubDate>Fri, 10 Jul 2020 12:18:37 +0800</pubDate>

									<content:encoded><![CDATA[<p>之所以重启一贴是因为，每次我再收到一个回答，但觉得答案不够满意时，有时会追问一个问题。 我觉得这样连续问答会保持逻辑的连贯性。</p>
<p>但是不知道是否是你们的考核制度，我感觉你们只回答第一个问题，往往之后的问题才是关键。</p>
<p>接上一个问题： 模拟账号，我试过， [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f3e0be7ae8b1ef2ef13e55852fa4e15d</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11517</link>
				<pubDate>Fri, 10 Jul 2020 01:19:48 +0800</pubDate>

									<content:encoded><![CDATA[<p>你好，如题， 模拟账号之前可以登录上手机app，现在又不行了，pc端的快期也登录不上，而且有时候id是手机号，有时候是用户名，登上去之后又要重新注册一个，而我只想要对我老账号进行操作</p>
<p>现在真是一团浆糊，感觉有N个团队各干各得</p>
<p>可不可以设计的更人性化一些，给一个简单点，统一的的登录，</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0f0c1192a8718963000937448bb4a7ec</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11502</link>
				<pubDate>Thu, 09 Jul 2020 02:17:29 +0800</pubDate>

									<content:encoded><![CDATA[<p>请问你们指数合约的撮合机制是怎样的？ 真实合约可以对价成交，指数合约你们是如何假设的？</p>
<p>我发现指数合约的回测结果差很多，不知什么原因？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8abc732cdb7d3df7fb83f9bbf64b3b1c</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11496</link>
				<pubDate>Wed, 08 Jul 2020 08:04:21 +0800</pubDate>

									<content:encoded><![CDATA[<p>我测试了沪铜指数，时间是从2017/12/15之后的一个月,k线选择15分钟线时,每天都有交易(包括12/21,12/22), 代码不变,k线选择1分钟时,12/20到12/25之间没有交易.</p>
<p>按理说,k线越细,成交应该更精确,更多交易,为什么?</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">555e944995d8e8f0e079a73b22f40922</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11454</link>
				<pubDate>Mon, 06 Jul 2020 01:53:05 +0800</pubDate>

									<content:encoded><![CDATA[<p>多个实盘账号，如果用手机app，一次只能看一个，换账号还要重输密码，在pc版软件有没有可以同时观看多个实盘账号（包括模拟盘）账号的软件？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f9e1adaa1ab7c3c071c418ab4b67254f</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11438</link>
				<pubDate>Fri, 03 Jul 2020 13:16:43 +0800</pubDate>

									<content:encoded><![CDATA[<p>问题同上，请检查一下，这个</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0d814fc98f5afc10c880633e86f73ab5</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11136</link>
				<pubDate>Fri, 12 Jun 2020 03:03:06 +0800</pubDate>

									<content:encoded><![CDATA[<p>函数set_target_volume反复发生问题，主要表现就是： 无论怎样调用函数（包括每次参数相同后不同），目标仓位就是不改变。 我也逐步调试并且确定是调用了wait_update函数。</p>
<p>因为我测试的是多个品种，每个品种都有其TargetPosTask来管理， 我觉得会不会和task背后的多线程，多进程有关系。</p>
<p>你 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f81e09dfc7970e2e6ec89726cb5f8824</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11132</link>
				<pubDate>Thu, 11 Jun 2020 04:40:45 +0800</pubDate>

									<content:encoded><![CDATA[<p>你好，我恰好遇到一个可能与ATR有关的bug， FG010在2020/2/3日的14日ATR，文华上显示是16.57，在天勤量化上选择2月3日这天得到的日K线，计算如下：</p>
<p>ta.ATR ( klines , 14).iloc[ -1 ].atr， 结果显示是3.1</p>
<p>怎么差别这么多呢？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">efe50a457488dba1c7da39a2b101dec0</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11131</link>
				<pubDate>Thu, 11 Jun 2020 03:29:20 +0800</pubDate>

									<content:encoded><![CDATA[<p>例如回测模式，某个symbol开始时不存在，结束前就有了。但是如果在开始时调用各种K线引用，会raise exception。 有没有某个方法简单判断当时是否存在</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">206328f4de310db93286b09911937b93</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11107</link>
				<pubDate>Wed, 10 Jun 2020 02:56:04 +0800</pubDate>

									<content:encoded><![CDATA[<p>同上，可以自己设定合理的滑点，佣金等</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a0c213f381f7f7096684e407b2683a51</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11041</link>
				<pubDate>Sat, 06 Jun 2020 00:12:26 +0800</pubDate>

									<content:encoded><![CDATA[<p>包括在模拟盘中， 另外有办法设定吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b53f9eda1dc7cd8842179031153ac6d9</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11014</link>
				<pubDate>Thu, 04 Jun 2020 03:16:15 +0800</pubDate>

									<content:encoded><![CDATA[<p>在sr009的价格到了5097，5091，5087，我用函数set_target_volume设定目标仓位，是与当前持仓不同的一个数值，而且始终没有变，结果始终没有成交，请问是什么原因？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a103698a29b64da7a1eb3ed5d094d8ba</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10908</link>
				<pubDate>Mon, 01 Jun 2020 02:37:39 +0800</pubDate>

									<content:encoded><![CDATA[<p>5月29日执行了如下语句：</p>
<p>time_to_datetime ( klines_1_day_series.iloc[ -1 ].datetime )</p>
<p>品种是DCE.m2009， 执行时间大约是20：59，</p>
<p>结果显示的是：</p>
<p>2020-06-01 00:00:00 , 注意这里是6月1日</p>
<p>是什么问题？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">46306478207ad000bfba84d52faf0e32</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10860</link>
				<pubDate>Fri, 29 May 2020 13:34:48 +0800</pubDate>

									<content:encoded><![CDATA[<p>刚才执行了如下语句：</p>
<p>time_to_datetime ( klines_1_day_series.iloc[ -1 ].datetime )</p>
<p>品种是DCE.m2009， 执行时间大约是20：59，</p>
<p>结果显示的是：</p>
<p>2020-06-01 00:00:00 ,</p>
<p>是什么问题？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8691e6b2367de8bbb97235a8323fa2ef</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10685</link>
				<pubDate>Thu, 28 May 2020 06:58:09 +0800</pubDate>

									<content:encoded><![CDATA[<p>我了解TargetPosTask 在 set_target_volume 时并不下单或撤单, 它的下单和撤单动作, 是在之后的每次 wait_update 时执行的。 我账户的某个symbol持仓是-43手，调用set_target_volume（-45），无论怎样执行，持仓始终是-43手，但别的品种没有这个问题，可能是什么原因？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c5c3d6364269e30672615219a17229a2</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10679</link>
				<pubDate>Thu, 28 May 2020 04:00:01 +0800</pubDate>

									<content:encoded><![CDATA[<p>同一个机器上如果管理多个账户， 有没有数量限制？假设机器ｃｐｕ／内存都够。</p>
<p>另外，如果部署在云端，这个函数</p>
<p>TqApi(TqAccount(<br />
后面跟的是实盘账户id／ｐａｓｓ，　如果云出问题了，这个如何保证账户安全？　　能不能从云这一层，或者策略这一层想办法，有没有好的办法？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">81691d8c32d74f278bca74a346ef1747</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10669</link>
				<pubDate>Thu, 28 May 2020 01:14:50 +0800</pubDate>

									<content:encoded><![CDATA[<p>快期模拟账号的委托已经显示成交，但是成交里面还是空的，</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">64e46173f0f1a245731022cd964df42a</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10610</link>
				<pubDate>Sun, 24 May 2020 07:47:30 +0800</pubDate>

									<content:encoded><![CDATA[<p>我了解天勤量化每天需要重启， 现在有了夜盘的情形下，需要重启2次吗？ 也就是每次日盘/夜盘结束后都要重启还是不必。 如果只要重启1次，请问您们建议是什么时间比较理想？ 也就是满足： 非交易时段，策略也许需要读最新的日K线来决定下一个交易时段的策略， 还有期货公司结算的考虑</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4e06c64687ad256210510c500cdc3d0e</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10551</link>
				<pubDate>Wed, 20 May 2020 04:33:03 +0800</pubDate>

									<content:encoded><![CDATA[<p>之前了解到你们在实盘，模拟盘，回测时对最后一个bar的index是不同的，有的是-1，有的是-2， 请问是怎样的情形？因为回测后转实盘需要重新修改代码</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ae61927b71b074fcc4d2c7be631c0ef4</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10546</link>
				<pubDate>Wed, 20 May 2020 00:56:25 +0800</pubDate>

									<content:encoded><![CDATA[<p>回测，模拟和实盘中对最新一根K线的操作中，都是对pandas的dataframe类型操作，index是否都是用-1来获得最新值</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">14d48652309e1c6dc1d94e2063bcf70f</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10520</link>
				<pubDate>Tue, 19 May 2020 01:08:40 +0800</pubDate>

									<content:encoded><![CDATA[<p>这个手机版最近强制升级了，居然连账户的持仓都消失了，如果我要对自己账户持仓的某个品种用手机进行操作都不知道去哪里找。不知道这是什么思路？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6636b748484b748109915cae540f9238</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10102</link>
				<pubDate>Wed, 29 Apr 2020 01:15:03 +0800</pubDate>

									<content:encoded><![CDATA[<p>Exception(&#8216;获取 DCE.m2009 的行情超时，请检查客户端及网络是否正常，且合约代码填写正确&#8217;)</p>
<p>另一个问题，在web显示回测结果时，我发现i2009的价格经常出现小数点后无数位,挡住了后面显示的内容，类似xx.99999999999999999999999999999999999999</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c25549e4d287375d2edd20b52d32c53d</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9689</link>
				<pubDate>Tue, 14 Apr 2020 05:51:46 +0800</pubDate>

									<content:encoded><![CDATA[<p>在多个symbols时，只返回了过去10天的数据。 我掉用的是日数据。 如果是单个symbol，这个函数好像不能多次调用，否则异常</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">dd3d0435302d47bd808a8f433684806a</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9496</link>
				<pubDate>Tue, 07 Apr 2020 00:52:22 +0800</pubDate>

									<content:encoded><![CDATA[<p>请问你们是如何计算期货指数合约与连续合约的，与文华的一致吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d35e0341514e151314839e282e067f25</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9484</link>
				<pubDate>Sat, 04 Apr 2020 03:09:28 +0800</pubDate>

									<content:encoded><![CDATA[<p>我测试了几个，好像只能取到2016年，</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">67630d2b95220009c8cf2f4f4c1a6fde</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9476</link>
				<pubDate>Fri, 03 Apr 2020 03:15:31 +0800</pubDate>

									<content:encoded><![CDATA[<p>错误报告：</p>
<p>通知: 下单,已被服务器拒绝,原因:平仓手数超过持仓量</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">29b73f892bec924c56b43ee9ddb26c27</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9452</link>
				<pubDate>Thu, 02 Apr 2020 01:19:58 +0800</pubDate>

									<content:encoded><![CDATA[<p>2020-04-02 09:14:45,215 &#8211; INFO &#8211; 通知: 成交通知,合约:DCE.m2005,手数:4<br />
2020-04-02 09:14:45,292 &#8211; INFO &#8211; 通知: 下单成功<br />
2020-04-02 09:14:45,369 &#8211; INFO &#8211; 通知: 下单成功<br />
2020-04-02 09:14:49,060 &#8211; INFO &#8211; 通知: 撤单成功<br />
2020-04-02 09:14:49,696 &#8211; W [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8240c4cc92276a3cf648b16ba5c8a318</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9433</link>
				<pubDate>Tue, 31 Mar 2020 06:51:04 +0800</pubDate>

									<content:encoded><![CDATA[<p>模拟交易， TargetPos来下单，老是出现如下提示：  要撤销的单不存在，有什么问题吗？需不需要处理</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7c1b358bac18ad5f597fb2d4909f3e63</guid>
				<title>lua gua 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9375</link>
				<pubDate>Fri, 27 Mar 2020 07:12:19 +0800</pubDate>

									<content:encoded><![CDATA[<p>我用get_kline_serial 函数获得日线数据，收盘后发现获得的最后收盘价与文华当日收盘价不一致，但是倒数第二个close价格与文化昨日收盘价一致，那么，什么时候调用get_kline_serial获得日线数据是更新过的？</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>