<?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>信易科技用户论坛| 用python的ethan | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/c8f1ed6c-71a9-4a75-9b3a-7e7dcacc54af/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/c8f1ed6c-71a9-4a75-9b3a-7e7dcacc54af/activity/feed/" rel="self" type="application/rss+xml" />
	<description>用python的ethan的动态信息。</description>
	<lastBuildDate>Sun, 05 Apr 2026 13:01:37 +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">cbb6fb607f26ff02f3fe6247d93eaf51</guid>
				<title>用python的ethan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=22748</link>
				<pubDate>Thu, 08 Sep 2022 03:43:59 +0800</pubDate>

									<content:encoded><![CDATA[<p>几乎每天开盘后发出交易指令之前都会断一次两次，成交之后会好一些，但也会断开，每天如此。</p>
<p>我觉得不存在您说的无效合约以及一段时间不调用api，我一直在调用api.get_quote(symbol)监控实时行情。</p>
<p>还有您说的关于网络问题，如果真的有问题，不太可能每天固定的时间段（开盘半小时内掉的频率最多，半小时后掉的较少）出问题吧，关键断开重连后基本能撑到收盘不掉线，网络问题可以排除啊。</p>
<p>2022-09-08 10:09: [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">bdc73ee0f18b7fac4ccc52478531d704</guid>
				<title>用python的ethan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=22730</link>
				<pubDate>Tue, 06 Sep 2022 03:57:53 +0800</pubDate>

									<content:encoded><![CDATA[<p>首先说明我用的有线千兆宽带，网络比较稳定。我的策略需要一直监听行情，要等信号出现才会发出交易指令，但在发出交易指令之前，特别是开盘之后的几分钟，大概五六分钟吧，如果没有交易指令发出，一定会跳出来提示网络断开。还有，就算发出了交易指令有了持仓，隔一段时间还是会提示断开，虽然断开后会重连，但重连的时间有时候十几秒，有时候甚至要四五分钟，严重影响策略。ps：我用的tq3.2.11，中信期货ctp主席。</p>
<p>请问能否修复一下该问题呢？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">59e0a6fdbb8a68f3778594fd4a1078b4</guid>
				<title>用python的ethan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=22077</link>
				<pubDate>Mon, 01 Aug 2022 03:41:44 +0800</pubDate>

									<content:encoded><![CDATA[<p>TqSim().trade_log<br />
报错：</p>
<p>AttributeError: &#8216;tqsdk2.tqsdk2.TqSim&#8217; object has no attribute &#8216;trade_log&#8217;</p>
<p>告知一下，不影响使用</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c2d9dbc749b29963aad405e1f4292f68</guid>
				<title>用python的ethan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21965</link>
				<pubDate>Tue, 19 Jul 2022 02:33:27 +0800</pubDate>

									<content:encoded><![CDATA[<p>tqskd2装了很多遍，pycharm，pip都试了，还是找不到类。安装的路径跟tq1一致，不同目录而已，我把tq1卸载重装照样能使用。</p>
<p>运行的时候提示RuntimeError: 用户登录失败, 登录成功<br />
创建TqApi实例时没有提供任何TqKq 模块，即使import TqApi, TqAuth时pycharm下标红线提示错误，但临时的模拟账号是可以运行的。<br />
但添加TqKq，就报上面的 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a3cabde3edab13c0ec1fe027740295d7</guid>
				<title>用python的ethan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21858</link>
				<pubDate>Tue, 12 Jul 2022 15:41:24 +0800</pubDate>

									<content:encoded><![CDATA[<p>请问我安装了tqskd2，导入包的时候报错，提示在init中找不到这些类，不知道什么原因<br />
class TqApi:<br />
    pass</p>
<p>class TqAuth:<br />
    pass</p>
<p>class TqKq:<br />
    pass</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">60abd579c80e10e065f95309728ed509</guid>
				<title>用python的ethan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21848</link>
				<pubDate>Mon, 11 Jul 2022 08:53:11 +0800</pubDate>

									<content:encoded><![CDATA[<p>请问天勤是否支持恒生UftGateway仿真环境呢？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4c3f000f8ffe4f348f49366e4a997b0f</guid>
				<title>用python的ethan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21561</link>
				<pubDate>Thu, 19 May 2022 15:39:22 +0800</pubDate>

									<content:encoded><![CDATA[<p>实盘交易，用insert_order和对手价做平仓价，请问为什么价格都已经突破或者跌破我设置的点位还不成交？如果价格突破或跌破后还在我设置的点位附近，还要隔一会才能成交？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d3d57316ffc52e5b17e494ef085f624d</guid>
				<title>用python的ethan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21527</link>
				<pubDate>Fri, 13 May 2022 03:49:32 +0800</pubDate>

									<content:encoded><![CDATA[<p>因为现在还在用simnow，没法测试部成部撤。如果实盘下单时advanced=”FAK”，出现部成部撤，<br />
while not order.volume_left and np.isnan(order.trade_price):<br />
#tab# api.wait_update()<br />
这段代码还有有效的吧？<br />
就是说，FAK给我撤了余单，order.volume_left不会给我返回0吧？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">cbc77074f8da4ee20ac24c41f04c7f83</guid>
				<title>用python的ethan 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21495</link>
				<pubDate>Sat, 07 May 2022 15:39:48 +0800</pubDate>

									<content:encoded><![CDATA[<p>想要在成交后（必须是FINISHED）立刻获取成交价，怎么解决呢？</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>