<?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>信易科技用户论坛| kenny | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/kenny/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/kenny/activity/feed/" rel="self" type="application/rss+xml" />
	<description>kenny的动态信息。</description>
	<lastBuildDate>Mon, 27 Apr 2026 09:01:20 +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">1e53273714866e561d44e1b26a6176ef</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=26233</link>
				<pubDate>Wed, 25 Mar 2026 14:56:52 +0800</pubDate>

									<content:encoded><![CDATA[<p>想找一个某K线开始向右的第一个满足条件的K线位置，有没有类似BARSSINCEN()的函数？或者如何实现？</p>
<p>例如在右边开始第100根k线，向右找第一个macd&gt;0的k线位置？BARSSINCEN(macd&gt;0,100)</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b43742dfab19b0fa1d8405f398b93104</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=25313</link>
				<pubDate>Fri, 06 Sep 2024 14:22:16 +0800</pubDate>

									<content:encoded><![CDATA[<p>api = TqApi(TqAccount(trQgs, trAcc, trPwd), auth=TqAuth(KqAcc,KqPwd))</p>
<p>本周三开始出现以下错误不能运行(之前都正常的)。</p>
<p>程序没修改过，啥原因导致？如何解决谢谢！</p>
<p> <img loading="lazy" src="https://forum.shinnytech.com/wp-content/uploads/anspress-uploads/74b6bc7894b7e42bf3d518e2b210886babc4d44d_2416.jpg" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">78be42a59195c4bddb068421dd727de0</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=22695</link>
				<pubDate>Tue, 30 Aug 2022 22:27:27 +0800</pubDate>

									<content:encoded><![CDATA[<p>以前程序在win64下运行也有前5行提示，但可以正常运行。最近期货公司进行了穿透式限制，程序不能正常连接交易服务器了。</p>
<p>联系期货公司，反馈说要联系天勤！</p>
<p>请教下如何消除前5行提示？这个WinDataCollect64.dll是tqsdkctpse目录下的，应该打包进去的</p>
<p>是pyinstaller时要加啥参数吗？或者要如何设置？谢谢！ <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/43ff03755e35c5928d2e49bd760299173df61d99_2416.jpg" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">88df03c361fdaa267204b6d282bc360c</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=22057</link>
				<pubDate>Fri, 29 Jul 2022 01:11:19 +0800</pubDate>

									<content:encoded><![CDATA[<p>有没类似文华商品指数的行情数据？代码是？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ccd995781c8126dd83be5c93ab36f3e3</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21637</link>
				<pubDate>Sat, 28 May 2022 13:08:59 +0800</pubDate>

									<content:encoded><![CDATA[<p>比如要得到满足k510条件(收盘价大于5均，并5均大于10均)的k线，但如下表达运行出错<br />
barlast(klines.close&gt;ma(klines.close,5) and ma(klines.close,5)&gt;ma(klines.close,10))<br />
应该如何正确表达？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ad0677287dbf8fd43ea605811ee63950</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21295</link>
				<pubDate>Mon, 28 Mar 2022 01:29:47 +0800</pubDate>

									<content:encoded><![CDATA[<p>get_tick_serial经常会出错是啥原因？重启程序几次又好了？</p>
<p>提示如下：</p>
<p>_ticks = iapi.get_tick_serial(symbol, 1+ticknum)<br />
File &#8220;D:ProgramsPythonPython38libsite-packagestqsdkapi.py&#8221;, line 752, in get_tick_serial<br />
raise TqTimeoutError [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">06ebb38e57c2d2169c4bfb130c9e8ae6</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21212</link>
				<pubDate>Tue, 15 Mar 2022 00:04:54 +0800</pubDate>

									<content:encoded><![CDATA[<p>在哪能得到大单的多开空平和空开多平比率数据？类似文华的分笔统计大单</p>
<p>用哪些函数或语句能实现？谢谢！ <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/ce99a5453cd3b212aaf690987f338f5e80c0fa2c_2416.jpg" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">26b9b679c263e07eb4e905484fb30664</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21183</link>
				<pubDate>Thu, 10 Mar 2022 14:30:24 +0800</pubDate>

									<content:encoded><![CDATA[<p>ls = api.query_quotes(ins_class=&#8221;CONT&#8221;)停留很长时间出错！</p>
<p>File &#8220;site-packagestqsdkapi.py&#8221;, line 424, in get_quote<br />
File &#8220;site-packagestqsdkapi.py&#8221;, line 476, in get_quote_list<br />
tq [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">cdcc706099119efd2aa94cee60245827</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21125</link>
				<pubDate>Mon, 28 Feb 2022 12:46:39 +0800</pubDate>

									<content:encoded><![CDATA[<p>请教下如何获得期货品种的主力合约？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6e303d74581aca3712b9b33efd2b380a</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=20966</link>
				<pubDate>Fri, 11 Feb 2022 13:49:19 +0800</pubDate>

									<content:encoded><![CDATA[<p>请教下天勤量化能开条件单吗？类似快期上的功能，如何实现？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6a628bc6f3dcd2b1d77effa4ab75ec8b</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=18125</link>
				<pubDate>Fri, 24 Sep 2021 03:32:33 +0800</pubDate>

									<content:encoded><![CDATA[<p>程序运行过程中出现如下提示，并退出了!</p>
<p>2021-09-24 10:30:01 &#8211; INFO &#8211; 通知: 下单成功,委托,SHFE.fu2205,2825,1手,买,平今<br />
Traceback (most recent call last):<br />
File &#8220;test.py&#8221;, line 3880, in<br />
File &#8220;test.py&#8221;, line 2862, in main<br />
File &#8220;site-packagestqs [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">11bcbdf75db65ed9a178ccb1a008edf5</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=17237</link>
				<pubDate>Sat, 11 Sep 2021 12:12:32 +0800</pubDate>

									<content:encoded><![CDATA[<p>原来程序运行正常的.</p>
<p>但升级为2.8.5后,出现错误:</p>
<p>ready connect tr/md server&#8230;<br />
Traceback (most recent call last):<br />
File &#8220;MSAaitl.py&#8221;, line 3746, in<br />
File &#8220;MSAaitl.py&#8221;, line 1451, in main<br />
File &#8220;site-packagestqsdkapi.py&#8221;, line [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">dfee5b45303864b2c7355c3ede84bd44</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16966</link>
				<pubDate>Fri, 20 Aug 2021 05:59:42 +0800</pubDate>

									<content:encoded><![CDATA[<p>请教下股指期货交割日的交割价格如何计算？即交割日下午13:00后的平均价格</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7d336119f98aa1450054df68266d1b8f</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16401</link>
				<pubDate>Wed, 04 Aug 2021 00:10:39 +0800</pubDate>

									<content:encoded><![CDATA[<p>针对国债期货对应的10年期国债、5年期国债、2年期国债的现货行情数据如何获取？</p>
<p>不能用 api.get_quote(&#8220;SSE.H11077&#8221;)取得10年期国债指数？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">11ed454a819e889329184ad66f0729ec</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16105</link>
				<pubDate>Mon, 05 Jul 2021 13:16:59 +0800</pubDate>

									<content:encoded><![CDATA[<p>21:09:26 wss://free-api.shinnytech.com/t/nfmd/front/mobile 连接不上</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">abf9dcdcb03085f5263f6660a9c549a7</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16079</link>
				<pubDate>Mon, 05 Jul 2021 02:41:07 +0800</pubDate>

									<content:encoded><![CDATA[<p>请教下，为何quote.last_price与quote.ask_price1差额这么大？</p>
<p>比如fu2201的quote.last_price是2706，但此时quote.ask_price1却是2708,差2跳。而客户端行情显示卖一是2707?</p>
<p>是同一quote里last_price与ask_price1有延时吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c326b4e77ba92fc25e1438d2fed5b797</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16043</link>
				<pubDate>Wed, 30 Jun 2021 14:46:29 +0800</pubDate>

									<content:encoded><![CDATA[<p>position.float_profit文档说是浮动盈亏: 相对于开仓价的盈亏,当天还是准确的,但隔天就不准了? 是否变成相对结算价的盈亏position_profit了?</p>
<p>用哪个表示隔天后的相对于开仓价的盈亏?</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b4318501ae5c5973647e09fbf30c941f</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15962</link>
				<pubDate>Tue, 15 Jun 2021 03:40:43 +0800</pubDate>

									<content:encoded><![CDATA[<p>遇到个奇怪问题，早上8:50入金的账户用account.available能查到余额，正常。</p>
<p>早上8:58入金的另一账户用account.available查到余额却为0，9:00后程序重启仍为0.啥原因？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7facca4f320bd3da9ec541082493b807</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15798</link>
				<pubDate>Tue, 25 May 2021 12:37:36 +0800</pubDate>

									<content:encoded><![CDATA[<p>程序没关夜盘前出现如图所示信息,以前没有此信息的,是啥意思?会否影响获取行情?是否要重启动? <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/89723568e18121b47eeebf4aab868ed7c2f44b33_2416.jpg" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f8e0de56fb00945ea66c38509d4f1019</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15702</link>
				<pubDate>Thu, 20 May 2021 01:43:30 +0800</pubDate>

									<content:encoded><![CDATA[<p>请教下，下单后，如何用最快的方法判别有没完全成交？</p>
<p>没成交时如果撤单，如何判别有没撤单成功？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0cbc8b3c935a42a8528ffd4005e5a703</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15700</link>
				<pubDate>Wed, 19 May 2021 14:54:40 +0800</pubDate>

									<content:encoded><![CDATA[<p>以前程序5*24小时连续运行,从21:00到15:00的交易时段都能自动取得行情数据。但从5月18日夜盘开始,不能获取，需要重新启动运行才行。是啥原因？网关联接机制修改过了吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">902b55c74ffc2e2f4025929ae6cc91fb</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15366</link>
				<pubDate>Mon, 29 Mar 2021 12:11:30 +0800</pubDate>

									<content:encoded><![CDATA[<p>File &#8220;site-packagestqsdkapi.py&#8221;, line 290, in __init__<br />
File &#8220;site-packagestqsdkapi.py&#8221;, line 1713, in query_graphql<br />
File &#8220;site-packagestqsdkapi.py&#8221;, line 1405, in wait_update<br />
AttributeError: &#8216;NoneType&#8217; [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6118d71bdc154f94ec076adb3cc7674c</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15190</link>
				<pubDate>Mon, 01 Mar 2021 03:44:55 +0800</pubDate>

									<content:encoded><![CDATA[<p>请教下：</p>
<p>在主循环里执行以下语句，有时下单正常，但有时候会重复下单！感觉account.frozen_margin没更新一样？</p>
<p>if (account.frozen_margin+account.margin) </p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1473eb4e4791a1f8bd6479780bb7cc7a</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=14505</link>
				<pubDate>Fri, 25 Dec 2020 01:50:51 +0800</pubDate>

									<content:encoded><![CDATA[<p>请教下用连续合约能开仓？比如KQ.m@CZCE.TA能否开仓？</p>
<p>如不能开仓，有转换实际合约的方法吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7f5befaeefc4d472c312c54c8814024f</guid>
				<title>kenny 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=11948</link>
				<pubDate>Mon, 03 Aug 2020 12:37:06 +0800</pubDate>

									<content:encoded><![CDATA[<p>对,我也联不上去.报错:</p>
<p>TypeError: argument of type &#8216;float&#8217; is not iterable</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">84f802c483dfe8a30fcd891e2be67414</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11813</link>
				<pubDate>Thu, 23 Jul 2020 03:21:15 +0800</pubDate>

									<content:encoded><![CDATA[<p>想获取持仓中最近一笔成交的开仓时间距离现在的K线数。是否通过position的order属性？如何实现？</p>
<p>谢谢！</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f50f089243e861f409f2def1a9fa1fef</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11553</link>
				<pubDate>Mon, 13 Jul 2020 03:33:01 +0800</pubDate>

									<content:encoded><![CDATA[<p>为了动态定位最高K线位置，在K线数量399内循环调用了hhv函数，发现内存占用严重，运行一段时间后报错退出：</p>
<p>MemoryError:Unable to allocate 3.12 Kib for an array with shape and datatype int64</p>
<p>【3940】Failed to execute script</p>
<p>请教：</p>
<p>1、hhv函数调用后是否未释放内存或释放比较慢？该如何优化？</p>
<p>2、 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">eee20ea62f700e6556b138bb8356b518</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11175</link>
				<pubDate>Wed, 17 Jun 2020 01:09:22 +0800</pubDate>

									<content:encoded><![CDATA[<p>测试ni2010过程中发现，天勤行情在0点后经常掉线，有时0点到1点要掉线10来次，严重影响交易。能否查证下是啥原因？如何解决？谢谢！</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f09f1d56defc7f3a7d54d592785cb152</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11005</link>
				<pubDate>Wed, 03 Jun 2020 02:17:04 +0800</pubDate>

									<content:encoded><![CDATA[<p>快期3专业版用于国海良时期货，登录时显示“CTP：客户端认证失败”，版本号3.8.1003.5112。已开通CTP权限</p>
<p>问：</p>
<p>1、啥原因？如何解决？</p>
<p>2、需要向期货公司要授权码吗？授权码要放哪？</p>
<p>3、快期3安装目录下只有6个文件，相关配置文件放在哪个目录？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b6b03875e6a581e3720e8f5bf42562b4</guid>
				<title>kenny 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10736</link>
				<pubDate>Fri, 29 May 2020 00:10:51 +0800</pubDate>

									<content:encoded><![CDATA[<p>RUN时出现如下错误：</p>
<p>from pandas._libs import algos as libalgos,index as libindex, lib</p>
<p>ImportError:cannot import name &#8216;index&#8217; from &#8216;pandas._libs'(D:ProgramsPythonPyton38-32libsite-packagespandas_libs__init__.py)</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>