<?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>信易科技用户论坛| simnow_1791 | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/143676ad-fbe9-4ba7-bb5d-b9e8f85a3521/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/143676ad-fbe9-4ba7-bb5d-b9e8f85a3521/activity/feed/" rel="self" type="application/rss+xml" />
	<description>simnow_1791的动态信息。</description>
	<lastBuildDate>Tue, 05 May 2026 09:27:19 +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">12afc7982d45ccff0364d80663ded747</guid>
				<title>simnow_1791 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=25019</link>
				<pubDate>Thu, 18 Apr 2024 00:38:44 +0800</pubDate>

									<content:encoded><![CDATA[<p>是这样的，比如我把程序放在云服务器上运行，api = TqApi(TqAccount(&#8220;&#8221;, &#8220;&#8221;, &#8220;&#8221;), web_gui = &#8220;http://本地IP:80‘,auth=TqAuth(&#8220;&#8221;,&#8221;&#8221;)) 生成的K [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9148a5d65deb40ee9648f89c949285d9</guid>
				<title>simnow_1791 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=24325</link>
				<pubDate>Sun, 09 Jul 2023 10:53:31 +0800</pubDate>

									<content:encoded><![CDATA[<p>使用TargetPosTask遇到这样一个问题，比如当前有持仓，达到某个价位时本应由TargetPosTask来全部平仓，但是人工提前挂了平仓单，因为是挂单，没有及时成交，之后满足了TargetPosTask的平仓条件，此时TargetPosTask并不会删除手工的挂单，TargetPosTask只会下开仓单来对冲挂单。如果此时刚好又可用资金不足，就会导致持仓不能顺利被平仓而面临风险。遇到这种情况怎么处理，有没有办法区别出未 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7a8547d1ee994d7209855fa7d577d235</guid>
				<title>simnow_1791 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=24261</link>
				<pubDate>Tue, 06 Jun 2023 03:52:04 +0800</pubDate>

									<content:encoded><![CDATA[<p>策略运行失败: 红枣期货不支持创建 targetpostask、twap、vwap 任务，交易所规定该品种最小开仓手数为大于等于 4 手，这些函数还未支持该规则! &#8211;异常,关闭风控子进程      ，，，，用了targetpostask，开仓红枣就会出现提示重启，会不会遇到类似有最小开仓量的品种都不支持。红枣之前是4手，现在早改成2手了，是不是该更新一下函数了。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">076a6578756eea6da2a02f3011e00dec</guid>
				<title>simnow_1791 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=24246</link>
				<pubDate>Fri, 02 Jun 2023 01:58:12 +0800</pubDate>

									<content:encoded><![CDATA[<p>ERROR &#8211; 采集穿透式监管客户端信息失败: Failed to load dynlib/dll &#8216;C:UsersAdministratorAppDataLocalTemp2_MEI51922tqsdk_ctpseWinDataCollect64.dll&#8217;. Most likely this dynlib/dll was not found when the application [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e12422faa9822e51e5d706faac1e420e</guid>
				<title>simnow_1791 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=24211</link>
				<pubDate>Sat, 20 May 2023 04:29:54 +0800</pubDate>

									<content:encoded><![CDATA[<p>#代码是读取账户下的所有品种持仓，当其亏损达到1000元时对其自动止损平仓。</p>
<p># 导入 tqsdk 库<br />
from tqsdk import TqApi, TqAuth, TqAccount, TargetPosTask, TqKq</p>
<p># 创建 api 实例，连接到交易账户<br />
api = TqApi(TqKq(), web_gui=True, auth=TqAuth())</p>
<p># 获取所有的持仓合约<br />
po [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>