<?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>信易科技用户论坛| 原 荒 | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/tygk/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/tygk/activity/feed/" rel="self" type="application/rss+xml" />
	<description>原 荒的动态信息。</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">bf21aa878363ebe22315db5de9a3e097</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=24168</link>
				<pubDate>Thu, 11 May 2023 07:10:19 +0800</pubDate>

									<content:encoded><![CDATA[<p>有时平仓单未成交，快期3pro里显示“可平量”是0.</p>
<p>在tqsdk里用哪个字段可以读取这个“可平仓数量”？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">347def6f28bbef872382c836f5772810</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11327</link>
				<pubDate>Thu, 25 Jun 2020 15:18:33 +0800</pubDate>

									<content:encoded><![CDATA[<p>classtqsdk.objs.TradingTime(api)</p>
<p>TradingTime 是一个交易时间对象 它不是一个可单独使用的类，而是用于定义 Qoute 的 trading_time 字段的类型</p>
<p>(每个连续的交易时间段是一个列表，包含两个字符串元素，分别为这个时间段的起止点)</p>
<p> 	day= N [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0817d3158b0197b238d36da849f32ecc</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11313</link>
				<pubDate>Wed, 24 Jun 2020 04:56:29 +0800</pubDate>

									<content:encoded><![CDATA[<p>有没有一个判断日盘品种 或 夜盘品种的函数？如果没有的话希望能增加这一功能。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2c6e9bc4e46de00b51ecb367e1e2d677</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11312</link>
				<pubDate>Wed, 24 Jun 2020 04:36:31 +0800</pubDate>

									<content:encoded><![CDATA[<p>当前 或 一天的成交笔数是期货的基本数据，如果没有这个功能的话，建议增加。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">647aae68aa99a56ec670a07d091035da</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11296</link>
				<pubDate>Wed, 24 Jun 2020 01:29:00 +0800</pubDate>

									<content:encoded><![CDATA[<p>这是什么原因？应如何解决？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4d21f9d16571a0bdddcef10ef7575bb0</guid>
				<title>原 荒 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=11292</link>
				<pubDate>Tue, 23 Jun 2020 16:09:14 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以同时订阅不同周期的K线吗？会不会引起错误？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d48d0307f71c70b0c296d94d3a4f50b8</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11116</link>
				<pubDate>Wed, 10 Jun 2020 05:59:59 +0800</pubDate>

									<content:encoded><![CDATA[<p>天勤终端其实做的挺好的，后来不知道为什么停止维护和使用了。</p>
<p>建议恢复天勤终端的使用、维护和开发。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">58432c8813b9b48df01576bd039683df</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11114</link>
				<pubDate>Wed, 10 Jun 2020 05:41:15 +0800</pubDate>

									<content:encoded><![CDATA[<p>from tqsdk import TqApi, TqSim, tafunc</p>
<p>api = TqApi(TqSim())</p>
<p>klines = [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">edf104a8d6f953c1cb85097615e03760</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11099</link>
				<pubDate>Wed, 10 Jun 2020 01:22:42 +0800</pubDate>

									<content:encoded><![CDATA[<p>导入tqsdk后，一个非常简单的条件赋值语句，竟然无法正常运行：</p>
<p>from tqsdk import TqApi, TqSim</p>
<p>api = TqApi(TqSim())</p>
<p>klines = api.get_kline_serial(&#8220;DCE.i2009&#8221;,900)</p>
<p>m10=1<br />
m30=2<br />
m5 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d59d0fe1ee3a2f6b208595d2a343e2a5</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11085</link>
				<pubDate>Tue, 09 Jun 2020 08:17:06 +0800</pubDate>

									<content:encoded><![CDATA[<p>from tqsdk import TqApi, TqSim, tafunc</p>
<p>api = TqApi(TqSim())</p>
<p>klines = [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d47254b98e6e9734faed12185e17c60c</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11065</link>
				<pubDate>Mon, 08 Jun 2020 11:01:38 +0800</pubDate>

									<content:encoded><![CDATA[<p>tqsdk.tafunc.crossup(a, b)</p>
<p>向上穿越: 表当a从下方向上穿过b, 成立返回1, 否则返回0</p>
<p>Example:</p>
<p>from tqsdk import TqApi, TqSim, tafunc</p>
<p>api = TqApi(TqSim())<br />
klines = api.get_kline_serial(&#8220;CFFEX.IF1908&#8221;, 24 * [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8ddeb02699a66814d25e611fb564ea67</guid>
				<title>原 荒 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=11002</link>
				<pubDate>Tue, 02 Jun 2020 12:23:38 +0800</pubDate>

									<content:encoded><![CDATA[<p>tqsdk现在还不能使用快期的模拟账号。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4b32bd5d873848fd3f8789ed35d83626</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10997</link>
				<pubDate>Tue, 02 Jun 2020 04:36:04 +0800</pubDate>

									<content:encoded><![CDATA[<p>在其它软件里，用ref(ma30,1)即可表达前一个j值。</p>
<p>在tqsdk里，前一个周期的ma30值，怎么表达？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">bfe8de1028fa014fa6d1468fdbd48830</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10996</link>
				<pubDate>Tue, 02 Jun 2020 03:50:42 +0800</pubDate>

									<content:encoded><![CDATA[<p>线性回归函数与ma()函数一样都是常用的函数之一。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ca621dafccff1ce482059be9218077ee</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10973</link>
				<pubDate>Mon, 01 Jun 2020 15:06:30 +0800</pubDate>

									<content:encoded><![CDATA[<p>最大下单手数，是量化交易里最基本的参考依据。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9072698402f83810f8bc7a65b5207ed8</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10965</link>
				<pubDate>Mon, 01 Jun 2020 09:17:20 +0800</pubDate>

									<content:encoded><![CDATA[<p>会反复显示网络断开和重连。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">53a757f3a862d903320789acdf5c33d5</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10907</link>
				<pubDate>Mon, 01 Jun 2020 02:26:39 +0800</pubDate>

									<content:encoded><![CDATA[<p>一些基本的东西还是必须的。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f72c7eb43e286a156203578060dbaeb0</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10883</link>
				<pubDate>Sun, 31 May 2020 10:32:56 +0800</pubDate>

									<content:encoded><![CDATA[<p>是不是 serial 模块有问题？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4c25dbf5f017fe35fc26e76627d457c2</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10882</link>
				<pubDate>Sun, 31 May 2020 07:57:35 +0800</pubDate>

									<content:encoded><![CDATA[<p>快期里有很多基本参数，希望tqsdk能够引用。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">78fc311238c3b9e81c25a40c69a0b93a</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10881</link>
				<pubDate>Sun, 31 May 2020 07:52:00 +0800</pubDate>

									<content:encoded><![CDATA[<p>读取持仓品种的持仓方向很重要。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d896d7787a52e47cc2a79181e60496c6</guid>
				<title>原 荒 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=10880</link>
				<pubDate>Sun, 31 May 2020 04:52:53 +0800</pubDate>

									<content:encoded><![CDATA[<p>api = TqApi(TqSim(3000000000)）</p>
<p>自己想填多少都可以。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d906ba61ea1f67dd241606448c15adfd</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10878</link>
				<pubDate>Sat, 30 May 2020 10:44:18 +0800</pubDate>

									<content:encoded><![CDATA[<p>有没有什么解决办法？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">79112730458b1833233e41048e9b0083</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10580</link>
				<pubDate>Thu, 21 May 2020 05:16:09 +0800</pubDate>

									<content:encoded><![CDATA[<p>from tqsdk import TqApi, TqSim, TargetPosTask</p>
<p>import threading</p>
<p>class WorkerThread(threading.Thread):</p>
<p>def __init__(self, api, symbol):<br />
threading.Thread.__init__(self)<br />
self.api = api<br />
self.symbol = symbol</p>
<p>def [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">825b5f5add9a03d991f615b36c063f89</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10536</link>
				<pubDate>Tue, 19 May 2020 14:55:40 +0800</pubDate>

									<content:encoded><![CDATA[<p>from tqsdk import TqApi, TqSim, TargetPosTask</p>
<p>import threading</p>
<p>class WorkerThread(threading.Thread):</p>
<p>def __init__(self, api, symbol):<br />
threading.Thread.__init__(self)<br />
self.api = api<br />
self.symbol = symbol</p>
<p>def [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9a756aa73a85f1868d81efd8eb268de2</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10463</link>
				<pubDate>Fri, 15 May 2020 05:09:20 +0800</pubDate>

									<content:encoded><![CDATA[<p>from tqsdk import TqApi, TqSim, TargetPosTask</p>
<p>import threading</p>
<p>class WorkerThread(threading.Thread):<br />
def __init__(self, api, symbol):<br />
threading.Thread.__init__(self)<br />
self.api = api<br />
self.symbol = symbol</p>
<p>def [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e5f3c9fb8eddaec8838e51c631232518</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10437</link>
				<pubDate>Thu, 14 May 2020 08:45:40 +0800</pubDate>

									<content:encoded><![CDATA[<p>使用position[&#8220;open_price_long&#8221;]后，错误提示如下：</p>
<p>print(&#8220;多开均价: %.2f&#8221; % (position[&#8220;open_price_long&#8221;]))<br />
File &#8220;C:Python38libsite-packagestqsdkentity.py&#8221;, line 22, in __getitem__<br />
return self.__dict__.__getitem__(key)</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7f724eacee3b156e639a62deb3266cb2</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10415</link>
				<pubDate>Thu, 14 May 2020 03:34:36 +0800</pubDate>

									<content:encoded><![CDATA[<p>from tqsdk import TqApi, TqAccount, TqSim</p>
<p>api = TqApi(TqSim())</p>
<p>symbol = &#8220;DCE.i2009&#8221; # 合约代码<br />
position = api.get_position(symbol) # 持仓信息</p>
<p>print(“多开均价: %.2f” % (position.open_price_long)) [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">33a28c152d15bfc01f7f60106551fff2</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10413</link>
				<pubDate>Thu, 14 May 2020 03:10:49 +0800</pubDate>

									<content:encoded><![CDATA[<p>from tqsdk import TqApi, TqAccount, TqSim</p>
<p>api = TqApi(TqSim())</p>
<p>position=api.get_position()</p>
<p>print(&#8220;多开均价: %.2f&#8221; % (position.open_price_long))<br />
AttributeError: &#8216;Entity&#8217; object has no attribute &#8216;open_price_long&#8217;</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e840597f5953d9a463211df5acb8ce2d</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10410</link>
				<pubDate>Thu, 14 May 2020 02:07:12 +0800</pubDate>

									<content:encoded><![CDATA[<p>from tqsdk import TqApi, TqAccount, TqSim</p>
<p>api = TqApi(TqSim())</p>
<p>position=api.get_position()</p>
<p>print(&#8220;多开均价: %.2f&#8221; % (Position.open_price_long))<br />
NameError: name &#8216;Position&#8217; is not defined</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1704d52d6a85098f7ed997a5d0674167</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10405</link>
				<pubDate>Wed, 13 May 2020 13:56:46 +0800</pubDate>

									<content:encoded><![CDATA[<p>from tqsdk import TqApi, TqAccount, TqSim</p>
<p>api = TqApi(TqSim())</p>
<p>position=api.get_position()</p>
<p>print(&#8220;多开均价: %.2f&#8221; % (account.open_price_long))<br />
AttributeError: &#8216;Account&#8217; object has no attribute &#8216;open_p [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f5f05a3ab6f98f1f414a1359f1e6b78c</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10394</link>
				<pubDate>Wed, 13 May 2020 09:22:52 +0800</pubDate>

									<content:encoded><![CDATA[<p>快期模拟交易软件对账号的长度有限制，qq邮箱名称的长度已经超过快期模拟软件的限制，无法用快期模拟软件登录，如何解决？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4d5204adbb4b37096767773ec0ad59a0</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10391</link>
				<pubDate>Wed, 13 May 2020 08:57:55 +0800</pubDate>

									<content:encoded><![CDATA[<p>2020-05-13 16:53:11,828 &#8211; INFO &#8211; 通知: 与 wss://openmd.shinnytech.com/t/md/front/mobile 的网络连接已建立<br />
2020-05-13 16:53:11,857 &#8211; INFO &#8211; 通知: 与 wss://kqapp.founderfu.com:37443/trade 的网络连接已建立<br />
2020-05-13 16:53:1 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3190d78f2e8526939ad6060c3aed1794</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10389</link>
				<pubDate>Wed, 13 May 2020 08:51:00 +0800</pubDate>

									<content:encoded><![CDATA[<p>2020-05-13 16:45:50,612 &#8211; INFO &#8211; 通知: 与 wss://openmd.shinnytech.com/t/md/front/mobile 的网络连接已建立<br />
2020-05-13 16:45:50,651 &#8211; INFO &#8211; 通知: 与 wss://otg-sim.shinnytech.com/trade 的网络连接已建立<br />
2020-05-13 16:45:5 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">90d75d059dd80118c3b81015e042a24d</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10376</link>
				<pubDate>Wed, 13 May 2020 05:17:45 +0800</pubDate>

									<content:encoded><![CDATA[<p>在cmd窗口输入了pip install -U tqsdk -i <a href="http://mirrors.aliyun.com/pypi/simple/" rel="nofollow ugc">http://mirrors.aliyun.com/pypi/simple/</a> &#8211;trusted-host=mirrors.aliyun.com指令，提示升级成功。</p>
<p>然后返回天勤终端登录，还是没有任何反应，也登录不了。</p>
<p>这是什么原因？如何解决？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b96bf597c5944ad517590ec738c75227</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10335</link>
				<pubDate>Mon, 11 May 2020 12:57:21 +0800</pubDate>

									<content:encoded><![CDATA[<p>升级TQSdk的具体方法和步骤是什么？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">71f814e7c6d279f47176ab4893703837</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10327</link>
				<pubDate>Mon, 11 May 2020 10:07:54 +0800</pubDate>

									<content:encoded><![CDATA[<p>按原来保存的用户名和密码登录，但点登录按钮却没有任何反应和提示！</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">5ff0443c711a40ff01971728f9abe2d8</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10270</link>
				<pubDate>Mon, 11 May 2020 05:38:20 +0800</pubDate>

									<content:encoded><![CDATA[<p>请给出下载链接。原来的天勤1.0现在不能登录了。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a539a0fc8d38a6ea9269ee1e5de65520</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10252</link>
				<pubDate>Mon, 11 May 2020 01:20:28 +0800</pubDate>

									<content:encoded><![CDATA[<p>输入快期模拟账号和密码登录，没任何反应。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">5ae7bb74c6a79e05946d64bd26068a8b</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10239</link>
				<pubDate>Sun, 10 May 2020 05:30:20 +0800</pubDate>

									<content:encoded><![CDATA[<p>怎么找不到下载链接？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2a0a78726d1a3268fdfacc59bfff661c</guid>
				<title>原 荒 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7583</link>
				<pubDate>Fri, 08 Nov 2019 05:20:58 +0800</pubDate>

									<content:encoded><![CDATA[<p>策略回测结束后，天勤软件上怎么没有任何显示？</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>