<?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>信易科技用户论坛| quzi2003 | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/0411eb0d-ae19-458f-9c3e-505bbe070786/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/0411eb0d-ae19-458f-9c3e-505bbe070786/activity/feed/" rel="self" type="application/rss+xml" />
	<description>quzi2003的动态信息。</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">538f32e5962ea715b7ee8e749f5fc61b</guid>
				<title>quzi2003 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=24429</link>
				<pubDate>Mon, 21 Aug 2023 08:26:48 +0800</pubDate>

									<content:encoded><![CDATA[<p>target_pos_active = TargetPosTask(api, &#8220;SHFE.rb2401&#8243;, price=&#8221;ACTIVE&#8221;)<br />
target_pos_active.set_target_volume(0) # 平所有仓位</p>
<p>我原来有5手上期所rb2401空单，这代码执行后，持仓增加了5手rb2401多单，可是我要平仓啊！</p>
<p>请问一下这代码要怎改才能平仓？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a8fc89074a01a6864dcc359980af3d1a</guid>
				<title>quzi2003 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=24428</link>
				<pubDate>Mon, 21 Aug 2023 07:53:35 +0800</pubDate>

									<content:encoded><![CDATA[<p>target_pos_active = TargetPosTask(api, &#8220;SHFE.rb2401&#8243;, price=&#8221;ACTIVE&#8221;)<br />
target_pos_active.set_target_volume(0)  # 平所有仓位<br />
代码这样子，我持有空单，这代码执行后持仓增加了多单，总持仓=0没有错，但我要平仓啊！<br />
请问怎么改写这代码</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">dd490493b21004f0f72aeef495c077a9</guid>
				<title>quzi2003 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16078</link>
				<pubDate>Mon, 05 Jul 2021 01:52:48 +0800</pubDate>

									<content:encoded><![CDATA[<p>api = TqApi(TqAccount(&#8216;A安粮期货&#8217;,&#8217; &#8216;,&#8221;),auth=TqAuth(&#8220;&#8221;, &#8220;&#8221;))<br />
or [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8894eccfddfbd6617c29b8654fb7653b</guid>
				<title>quzi2003 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16049</link>
				<pubDate>Fri, 02 Jul 2021 02:40:39 +0800</pubDate>

									<content:encoded><![CDATA[<p>for k,v in positions.items():<br />
    if v.pos: #净持仓不为0<br />
        target_pos = TargetPosTask(api, k)<br />
        target_pos.set_target_volume(0) #净持仓设为0</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c82b7ab070b105a9100be0efcdbf4daf</guid>
				<title>quzi2003 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16022</link>
				<pubDate>Sat, 26 Jun 2021 09:54:25 +0800</pubDate>

									<content:encoded><![CDATA[<p>初学Python,能帮忙用Python写个安粮期货公司的14：58平掉所有持仓的代码吗？</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>