<?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>信易科技用户论坛| ethan gu | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/ethan_gu/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/ethan_gu/activity/feed/" rel="self" type="application/rss+xml" />
	<description>ethan gu的动态信息。</description>
	<lastBuildDate>Thu, 09 Apr 2026 07:52:33 +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">0eb941d33811cffa4a060f994da8d033</guid>
				<title>ethan gu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8976</link>
				<pubDate>Sat, 07 Mar 2020 04:13:00 +0800</pubDate>

									<content:encoded><![CDATA[<p>想判断均线金叉至现在的周期数，调用<br />
from tqsdk.tafunc import barlast<br />
提示调用错误，能协助看一下是什么问题吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8bb353d25716ac823fb75caf3f3982b8</guid>
				<title>ethan gu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7941</link>
				<pubDate>Thu, 12 Dec 2019 02:42:51 +0800</pubDate>

									<content:encoded><![CDATA[<p>学习课程里</p>
<p>klines = api.get_kline_serial([&#8220;SHFE.cu2005&#8221;, &#8220;SHFE.cu2010&#8221;], 5)</p>
<p>同时获取相应时间的多个合约的数据，报错。请问怎样在相同时间轴上直接获取到不同合约的数据？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2a91b2a8185fdc6fd97470b51a373f92</guid>
				<title>ethan gu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7850</link>
				<pubDate>Wed, 04 Dec 2019 16:32:36 +0800</pubDate>

									<content:encoded><![CDATA[<p>在程序里开仓的时候记录了开仓时间 StartTime. 在断开程序后重新连接，如何才能重新调用这个参数？</p>
<p>个人想到可以增加一个配置文件，将这个StartTimep写入txt文件，下次启动的时候调用。</p>
<p>是否还有其它方式实现？</p>
<p>程序重启是指的py文件停止，然后在下一个开盘时间里再启动</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c3257679441923c216dcde1fbf2248d2</guid>
				<title>ethan gu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7827</link>
				<pubDate>Tue, 03 Dec 2019 10:19:14 +0800</pubDate>

									<content:encoded><![CDATA[<p>api =TqApi(TqAccount(&#8220;simnow&#8221;,&#8221;XXXXXX&#8221;, &#039;XXXXXXX&#039;))</p>
<p>这里的账户是否可以支持资管账户的使用?<br />
如图使用   盛达知富资管1</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8492f390a36b4a383bdf20f51c906213</guid>
				<title>ethan gu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7632</link>
				<pubDate>Tue, 12 Nov 2019 18:25:23 +0800</pubDate>

									<content:encoded><![CDATA[<p>当程序运行触发第一个开仓条件（比如双均线金叉）之后，每5分钟建仓1手，一共建6手。</p>
<p>在代码上如何控制和实现？</p>
<p>谢谢</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">78e2632893f489b60cf55d3305b87115</guid>
				<title>ethan gu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7526</link>
				<pubDate>Mon, 04 Nov 2019 15:18:59 +0800</pubDate>

									<content:encoded><![CDATA[<p>只想让程序在9：00：01秒－15：00：00；还有21：00：01－23：30：00这两个时间段里运行，不考虑周、日、节假日（这些手工介入停止运行），请问如何来实现？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0b80aa705265e772dea921bec100437c</guid>
				<title>ethan gu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7470</link>
				<pubDate>Tue, 29 Oct 2019 04:01:07 +0800</pubDate>

									<content:encoded><![CDATA[<p>如题<br />
klines = api.get_kline_serial(&#8220;DCE.SP m2001&amp;m2005&#8221;, 10)<br />
是否可以做一下这个的数据以便获取？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ef3a290f6045dc99ab55e46eedccb774</guid>
				<title>ethan gu 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=7461</link>
				<pubDate>Mon, 28 Oct 2019 08:23:24 +0800</pubDate>

									<content:encoded><![CDATA[<p>klines = api.get_kline_serial(“DCE.SP l2001&amp;l2005”, 60*60)<br />
这个获取数据的功能取消了是吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f87680bc0a6cca8d0682b47e324a7c81</guid>
				<title>ethan gu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7439</link>
				<pubDate>Sun, 27 Oct 2019 13:27:56 +0800</pubDate>

									<content:encoded><![CDATA[<p>wait_update（）更新速度我看大约是1秒一次，可以设置参数调整为60秒或者更低频吗？</p>
<p>或者如果想让监控数据的过程慢下来，有什么办法？  比如上一次数据print(&#039;close&#039;)之后，我想5分钟之后再print(&#039;close&#039;)做对比。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">fc1f885e3ff8f849a0dceb03158e60c6</guid>
				<title>ethan gu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7414</link>
				<pubDate>Fri, 25 Oct 2019 01:06:52 +0800</pubDate>

									<content:encoded><![CDATA[<p>from tqsdk import TqApi, TqAccount, TargetPosTask, tafunc</p>
<p>&#039;&#039;&#039;<br />
均线系统上穿建仓，下穿反手1.0版本<br />
实现基础的开仓功能<br />
&#039;&#039;&#039;<br />
api = TqApi(TqAccount(&#8220;simnow&#8221;, &#8220;152405&#8221;, &#039;AG801130&#039;))</p>
<p>klines = api. [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">031ecec4db8a88924223ae1759413fc9</guid>
				<title>ethan gu 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=7413</link>
				<pubDate>Fri, 25 Oct 2019 00:04:50 +0800</pubDate>

									<content:encoded><![CDATA[<p>选项＝〉选项设置＝〉显示＝〉提示及反馈</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e191603751ed404ebbea7f0e6e3a6f8c</guid>
				<title>ethan gu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7408</link>
				<pubDate>Thu, 24 Oct 2019 06:32:12 +0800</pubDate>

									<content:encoded><![CDATA[<p>如何在合约SHFE.rb2001的1分钟K线上，获取到MACD穿越0轴的信号？</p>
<p>from tqsdk.ta import MACD<br />
from tqsdk import TqApi,TqAccount,tafunc</p>
<p>#测试合约1分钟的MACD穿越0轴信号<br />
api = TqApi(TqAccount(&#8220;simnow&#8221;,&#8221;152405&#8243;, &#8216;AG801130&#8217;))<br />
klines = api.get_ [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e6fe0a849c86a2377542b878dd66f439</guid>
				<title>ethan gu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7397</link>
				<pubDate>Wed, 23 Oct 2019 13:24:04 +0800</pubDate>

									<content:encoded><![CDATA[<p>打算用海龟的模型直接做一下实测，但是不知道在哪里填写期货账户。</p>
<p>是把account换成&#8221;simnow&#8221;,&#8221;152405&#8243;, &#8216;AG801130&#8217;吗？ <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/cfb2475dd2bf94243dd15c6b71d1649b5503dc40_596.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">778123b65f670df7626e6c4a7e34a521</guid>
				<title>ethan gu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7363</link>
				<pubDate>Wed, 23 Oct 2019 01:06:46 +0800</pubDate>

									<content:encoded><![CDATA[<p>执行这段代码，订单一直无法成功下单，在快期里的提示是</p>
<p>求支援</p>
<p>补充，使用target_pos.set_target_volume(5)执行策略的时候下单没有问题。 <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/eb1c79e9c8911f7e32ac0c2ec47de5182f81980a_596.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">5796c6be47c6df501c4e0c99f98af36c</guid>
				<title>ethan gu更改了他们的头像</title>
				<link>https://forum.shinnytech.com/%e5%8a%a8%e6%80%81/p/676/</link>
				<pubDate>Tue, 22 Oct 2019 11:21:20 +0800</pubDate>

				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">bcdd38a0ea213b918aab6b52e2cd936e</guid>
				<title>ethan gu更改了他们的头像</title>
				<link>https://forum.shinnytech.com/%e5%8a%a8%e6%80%81/p/675/</link>
				<pubDate>Tue, 22 Oct 2019 11:20:15 +0800</pubDate>

				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">f712bf8633c41abfd3ff47a6170e8f5a</guid>
				<title>ethan gu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7360</link>
				<pubDate>Tue, 22 Oct 2019 10:56:37 +0800</pubDate>

									<content:encoded><![CDATA[<p>如题：api.get_kline_serial(&#8220;DCE.m2001&#8221;, 60*60)，取出来的K线数量最大只能出来200根吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7d09432c8f63a7095b88a53652193be8</guid>
				<title>ethan gu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7357</link>
				<pubDate>Tue, 22 Oct 2019 07:07:03 +0800</pubDate>

									<content:encoded><![CDATA[<p>from tqsdk import TqApi<br />
api =TqApi(TqAccount(&#8220;simnow&#8221;,&#8221;152405&#8243;, &#039;AG801130&#039;))<br />
执行结果报错：</p>
<p>NameError: name &#8216;TqAccount&#8217; is not defined</p>
<p>换成实盘账户出现相同报错，求助大大</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6de36712f1e57da3420bc2be35b3909a</guid>
				<title>ethan gu 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=7354</link>
				<pubDate>Tue, 22 Oct 2019 06:57:50 +0800</pubDate>

									<content:encoded><![CDATA[<p>报错如上，name&#8230;&#8230;..defined <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/01a753003b78fcdcffc425d6708b1c40ce2c960a_596.png" /></p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>