<?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>信易科技用户论坛| leo zhang | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/wlazl/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/wlazl/activity/feed/" rel="self" type="application/rss+xml" />
	<description>leo zhang的动态信息。</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">3a9126cb0f990c4e5eb53eec540f0106</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11113</link>
				<pubDate>Wed, 10 Jun 2020 04:12:36 +0800</pubDate>

									<content:encoded><![CDATA[<p>print(“my_contract_index:”, my_contract_index)<br />
print(datetime.datetime.fromtimestamp(klines.iloc[-1+i][“datetime”] / 1e9))<br />
print(“计算历史仓位my_positon:”, my_positon)<br />
print(“chic [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8caa84af55507ae7b1f7f93bd6e4c592</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11080</link>
				<pubDate>Tue, 09 Jun 2020 02:14:26 +0800</pubDate>

									<content:encoded><![CDATA[<p>api.create_task(tdtphama_2(&#039;tdtphama_2&#039;,&#8221;CZCE.SR009&#8243;,  </p>
<p>api.create_task(tdtphama_2(&#039;tdtphama_2&#039;,&#8221;CZCE.CF009&#8243;,<br />
api.create_task(tdtphama_2(&#039;tdtphama_2&#039;,&#8221;CZCE.MA009&#8243;, [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">eb8bc0f81c433f386c101e0dcad458ff</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11027</link>
				<pubDate>Fri, 05 Jun 2020 00:06:43 +0800</pubDate>

									<content:encoded><![CDATA[<p>File &#8220;C:/TianQin/strategies/singlema_tdtphama.py&#8221;, line 1833, in tdtphama_2<br />
print(&#8220;nn.iloc[-1+i ]:&#8221;,nn.iloc[-1+i])<br />
UnboundLocalError: local variable &#8216;nn&#8217; referenced before assignment</p>
<p>我是用异步函数写的，单独运行一个品种不报错，运行多个就报错了</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a8107ac288a2c92d0ec7ccb8dc2acee9</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10464</link>
				<pubDate>Fri, 15 May 2020 05:40:43 +0800</pubDate>

									<content:encoded><![CDATA[<p>5 月 12 日 10 时 30 分<br />
5 月 12 日 11 时 0 分<br />
5 月 12 日 13 时 30 分<br />
5 月 12 日 14 时 0 分<br />
5 月 12 日 14 时 30 分<br />
5 月 12 日 21 时 30 分<br />
2020-05-15 13:30:00<br />
my_positon: -8<br />
str_pos: -8</p>
<p>5/13日和5月14日的数据怎么没有呢</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">902ca2dfe4ec7d95547e3fac2e18bb6f</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=10122</link>
				<pubDate>Thu, 30 Apr 2020 03:20:52 +0800</pubDate>

									<content:encoded><![CDATA[<p>想接融航或者类似系统的话，天勤有交易接口吗？</p>
<p>另外，为什么最近客户端怎么登不上去了？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">13a466063e3452eb593f2b58baf5b55c</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9557</link>
				<pubDate>Wed, 08 Apr 2020 03:22:28 +0800</pubDate>

									<content:encoded><![CDATA[<p>在运用异步函数的时候，天勤的机制好像是从当前TICK往后算，第一次运行的时候，以前的仓位就不管他了。</p>
<p>第二次，第三次运行的时候，我可以自己把仓位记录下来；但是第一次运行的时候，产生的历史遗留问题不知道咋解决。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e5c3d5a4495c8abc0d6ac26bc18646c7</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9193</link>
				<pubDate>Fri, 20 Mar 2020 02:12:41 +0800</pubDate>

									<content:encoded><![CDATA[<p>现在好多公司都不支持天勤了啊，以前申万是支持的，现在也不支持了啊</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">13a9b04f2c1b1ceed909fac928e70019</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9148</link>
				<pubDate>Mon, 16 Mar 2020 11:21:42 +0800</pubDate>

									<content:encoded><![CDATA[<p>如果有两个策略对同一个账号操作，1个下了1手多单；1个下来2手多单。你用pos_long_today查到的是3.但我仅仅想查到某个策略的多单数，怎么办</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7410ac8b67db7db9a6d55490de8d23da</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9032</link>
				<pubDate>Mon, 09 Mar 2020 10:44:45 +0800</pubDate>

									<content:encoded><![CDATA[<p>K线时间 1.58373702e+18 开盘 2670.0 最高 2670.0 最低 2670.0 收盘 2670.0<br />
K线时间 1.58373705e+18 开盘 2671.0 最高 2671.0 最低 2671.0 收盘 2671.0<br />
K线时间 1.58373708e+18 开盘 2670.0 最高 2670.0 最低 2670.0 收盘 2670.0<br />
K线时间 1.58373711e+18 开盘 2671.0 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">72d09e72846b8789eb6e15007db0c40b</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8952</link>
				<pubDate>Fri, 06 Mar 2020 02:14:08 +0800</pubDate>

									<content:encoded><![CDATA[<p>另外现在可以支持的期货公司好像少很多啊</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a56f863a9c7a92ce8003c8d3859b1c7b</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8077</link>
				<pubDate>Tue, 24 Dec 2019 10:17:40 +0800</pubDate>

									<content:encoded><![CDATA[<p>能不能多放几个异步的例子？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a6ee316ae1794d1980adaaac4b46bfab</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8005</link>
				<pubDate>Wed, 18 Dec 2019 14:36:06 +0800</pubDate>

									<content:encoded><![CDATA[<p>2019-12-18 22:32:15,790 &#8211; INFO &#8211; 通知: 与 wss://opentd.shinnytech.com/trade/user0 的网络连接已建立<br />
2019-12-18 22:32:15,790 &#8211; INFO &#8211; 通知: 登录成功<br />
2019-12-18 22:32:15,870 &#8211; INFO &#8211; 通知: 与 wss://openmd.shinnytech.com/t/md/front/ [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">dfef8c57b481360f2c98537942c751ce</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8002</link>
				<pubDate>Wed, 18 Dec 2019 09:32:43 +0800</pubDate>

									<content:encoded><![CDATA[<p>请问老师，哪里可以下载1.3.1版本？网页上还是1.1的版本</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">670914d28eefe8f8f3847c6ec6aba933</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7985</link>
				<pubDate>Tue, 17 Dec 2019 13:13:50 +0800</pubDate>

									<content:encoded><![CDATA[<p>C:Python37python.exe C:/TianQin/strategies/multi_示例.py<br />
2019-12-17 21:03:29,607 &#8211; INFO &#8211; 通知: 已经连接到交易前置<br />
2019-12-17 21:03:29,607 &#8211; INFO &#8211; 通知: 登录成功<br />
Exception in thread Thread-1:<br />
Traceback (most recent call [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">32b9bae49fbee35d6a5b200869d6ef49</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7913</link>
				<pubDate>Tue, 10 Dec 2019 04:05:59 +0800</pubDate>

									<content:encoded><![CDATA[<p>怎么区分撤单成功，还是order完成？状态好像都是finished.</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a29bf5ff669f2e473a23ecda7696ac27</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7873</link>
				<pubDate>Fri, 06 Dec 2019 02:49:16 +0800</pubDate>

									<content:encoded><![CDATA[<p>运行时出现以下问题；</p>
<p>2019-12-06 10:41:21,937 &#8211; INFO &#8211; 通知: 登录成功<br />
Exception in thread Thread-1:<br />
Traceback (most recent call last):<br />
File &#8220;C:Python37libthreading.py&#8221;, line 926, in _bootstrap_inner<br />
self.run()<br />
Fil [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b84412775fbda4e51097515f0ca6a690</guid>
				<title>leo zhang 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=7826</link>
				<pubDate>Tue, 03 Dec 2019 09:14:44 +0800</pubDate>

									<content:encoded><![CDATA[<p>可能没加期货公司首字母大写</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">48ed8836185cade7d6cc38766002428c</guid>
				<title>leo zhang 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=7825</link>
				<pubDate>Tue, 03 Dec 2019 09:12:28 +0800</pubDate>

									<content:encoded><![CDATA[<p>最好马上wait_update()</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4d59719ab69bf038adffb1faa3fa9b00</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7824</link>
				<pubDate>Tue, 03 Dec 2019 09:08:47 +0800</pubDate>

									<content:encoded><![CDATA[<p>在程序启动10分钟后，程序出现中断，提示如下错误：</p>
<p>C:Python37python.exe C:/TianQin/strategies/my_handle_multi.py<br />
2019-12-02 21:44:59,393 &#8211; INFO &#8211; 通知: 已经连接到交易前置<br />
2019-12-02 21:44:59,409 &#8211; INFO &#8211; 通知: 登录 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ac22793955851f12c0e6a7fa334eec59</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7791</link>
				<pubDate>Wed, 27 Nov 2019 13:36:17 +0800</pubDate>

				
				
							</item>
					<item>
				<guid isPermaLink="false">f5fbfae1f8f4a82fe76a8af2fd9f7e4a</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7780</link>
				<pubDate>Tue, 26 Nov 2019 15:17:45 +0800</pubDate>

									<content:encoded><![CDATA[<p>同一段代码，在PYcharm上可以正常返回主程序，但在天勤客户端上却出现错误，问题是运行到左边红圈部分的IF语句运行中断（if后的第一个条件不满足）；奇怪的是我的print语句都是打印了两次，不知道咋回事。请大神指导！ <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/3a6bfa98d9de0b9b228bf6c53270bc6f7e3f6ab0_812.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9b4a5e2acc1fd2147c915d789030b547</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7779</link>
				<pubDate>Tue, 26 Nov 2019 09:25:25 +0800</pubDate>

									<content:encoded><![CDATA[<p> <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/1f7de4edf7c136dfe771cb6895b8d7a5491bc3d5_812.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">865458ec15bf425e9512609f72ba1886</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7777</link>
				<pubDate>Tue, 26 Nov 2019 06:45:34 +0800</pubDate>

									<content:encoded><![CDATA[<p>用insert_order命令，在simnow下单的时候，明明单子已经成交，返回状态 却是alive.</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">efdfcc2f856504b70d4fcd67fcf81736</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7744</link>
				<pubDate>Fri, 22 Nov 2019 02:19:38 +0800</pubDate>

									<content:encoded><![CDATA[<p>我的理解是添上一段代码就可以用了，不知道对不对？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c49ba1cdf6a231d2ed723cfb4cfd4b1f</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7741</link>
				<pubDate>Fri, 22 Nov 2019 01:25:44 +0800</pubDate>

									<content:encoded><![CDATA[<p>天勤可以收到中正500指数和沪深300指数的现货行情吗</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">65c17943c8ee648e5f8be09caef686d2</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7733</link>
				<pubDate>Thu, 21 Nov 2019 09:32:46 +0800</pubDate>

									<content:encoded><![CDATA[<p>用spyder解释器，填了推荐的代码，出现this event loop is already running <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/59106458d3e3ba396acb0b137b57bc39a594c93f_812.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">51b540cb9709cc9d39f33d65e5ccc9a9</guid>
				<title>leo zhang 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=7721</link>
				<pubDate>Thu, 21 Nov 2019 02:31:16 +0800</pubDate>

									<content:encoded><![CDATA[<p>我以前装的ANNOCONDA,后来卸载后，重新安装的完整版，是不是跟这个有关系啊？怎么解决啊。期待大神帮吗。</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>