<?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>信易科技用户论坛| oct xk | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/woodark/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/woodark/activity/feed/" rel="self" type="application/rss+xml" />
	<description>oct xk的动态信息。</description>
	<lastBuildDate>Tue, 21 Apr 2026 08:43:54 +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">6a101f05ba11871a5e12c780765360c8</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21787</link>
				<pubDate>Thu, 07 Jul 2022 01:49:56 +0800</pubDate>

									<content:encoded><![CDATA[<p>我在disable_print=True，后发现在系统的user目录下有一个.tqsdk文件夹，里面实时有大量的LOG文件。请问怎么取消（这样耗费了电脑资源）。如果我不需要LOG。但都也需要屏幕不输出信息。谢谢</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">639184bb8baf6a9cbec69fbe41f94734</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=20969</link>
				<pubDate>Mon, 14 Feb 2022 02:48:42 +0800</pubDate>

									<content:encoded><![CDATA[<p>2022-02-14 10:38:17 &#8211; INFO &#8211; 通知: 撤单成功,委托</p>
<p>每次下单及成交这个时间只能到秒。能否到毫秒呢？</p>
<p>相看一下更精确的速度时间</p>
<p>谢谢</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">fdd1f4d190211b00625d7c34d44bea51</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=19889</link>
				<pubDate>Wed, 17 Nov 2021 00:25:19 +0800</pubDate>

									<content:encoded><![CDATA[<p>运行天勤后，如果此交易帐户有下单或撤单，成交相关信息都会自动打印出来。请问是否可以关闭这个功能。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">763e831213cd934f37fc01ea3d4f0c78</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15588</link>
				<pubDate>Tue, 27 Apr 2021 00:37:58 +0800</pubDate>

									<content:encoded><![CDATA[<p>您好，根据TQ的示例我改写了，希望在挂单后，在变成alive前，监测价格变化，但是运行后没有反应，加入：print (quote.bid_price1)打印发现这个价格并没有更新。但</p>
<p>明明 api.wait_update且是在!= &#8220;FINISHED&#8221;循环中。请问哪里错了。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2411d131f8207daec0e8a48cbde6de86</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15171</link>
				<pubDate>Thu, 25 Feb 2021 15:03:57 +0800</pubDate>

									<content:encoded><![CDATA[<p>虽然有复杂的方式,但是否能够有更简单一条语句全清呢?谢谢</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0933a838513b1e4bd7588f5dcc31858a</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=14594</link>
				<pubDate>Wed, 06 Jan 2021 15:07:42 +0800</pubDate>

									<content:encoded><![CDATA[<p>您好:因为这个FAK指令只能在实盘才能运行.因为当心出现不可预料的事情想先咨询下:</p>
<p>1)是否要用某种等待比如一秒几次发送才行(好象期货公司会流控).即控制发送速度.因为程序运行快, 也许一秒内运行下非常多次出现不可预期的事.如果要用指令等待最好的方式是哪种.我不想用暂停的方式</p>
<p>2)获利这个成交最快的方式是通过pos_long 或 pos_short得到仓位信息吗?就怕成交如果反应有延时可能导致很多次成交</p>
<p>谢谢</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3a8c209e9f09f03d738dbbf1996a11b2</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=14520</link>
				<pubDate>Sun, 27 Dec 2020 15:32:20 +0800</pubDate>

									<content:encoded><![CDATA[<p>我发现我编一段程序后，</p>
<p>实盘时，程序总是在</p>
<p>while True:<br />
api.wait_update()</p>
<p>这个停下等信息。</p>
<p>导致我一 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9d1b3dd13f2646d66a5aeffdeb9919d6</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=14519</link>
				<pubDate>Sun, 27 Dec 2020 15:17:48 +0800</pubDate>

									<content:encoded><![CDATA[<p>这种报单可以不受撤单限制，那么为了某个价格成交，我是否要不断每秒发多次下在那个想成交的价位啊。</p>
<p>这个在order那个表中的状态是什么，是alive吗？是否有标志字段判断呢？谢谢</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">69fff831728b8cd799848d7a614685b1</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=14392</link>
				<pubDate>Thu, 17 Dec 2020 02:55:17 +0800</pubDate>

									<content:encoded><![CDATA[<p>新换了期货公司。免费版是否只要改帐户数字即可。是马上生效吗？</p>
<p>另外，宏源期货好象提供了电信和联通两种天勤接口。这个是TQSDK自动找最快的吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9d3ae98cb34533cd3756f2501bb511b8</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=14295</link>
				<pubDate>Tue, 08 Dec 2020 07:02:27 +0800</pubDate>

									<content:encoded><![CDATA[<p>2020-12-08T10:55:22.814859+08:00 &#8211; INFO &#8211; 通知: 撤单成功,委托,DCE.j2101,2446.5,1手,卖,平仓<br />
2020-12-08T10:55:23.313303+08:00 &#8211; INFO &#8211; 通知: 下单成功,委托,DCE.j2101,2446.5,1手 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">12ff765cd93a77de6051b74c7bb9c37d</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=14212</link>
				<pubDate>Thu, 26 Nov 2020 14:21:23 +0800</pubDate>

									<content:encoded><![CDATA[<p>api.get_tick_serial.iloc[-1][&#8220;last_price&#8221;]是否得到的等效于api.get_quote().last_price实时最新价？有什么区别吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f91034848d8587a4ed9205b7917461bc</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=14157</link>
				<pubDate>Thu, 19 Nov 2020 15:25:43 +0800</pubDate>

									<content:encoded><![CDATA[<p>非常简单，仅是不断打印最新价格。以前会不断更新。现在会停在那里：</p>
<p>import pandas as pd<br />
import numpy as np<br />
from tqsdk import TqApi, TqKq<br />
api = TqApi(TqKq(), auth=&#8221;wo&#8230;.,&#8230;&#8230;.&#8221;)<br />
account = api.get_account()<br />
while True:<br />
  api.wait [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8f8ab6236d1b9d7b6ab7fda7419c6e36</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=14122</link>
				<pubDate>Thu, 19 Nov 2020 02:25:35 +0800</pubDate>

									<content:encoded><![CDATA[<p>在本地运行正常，但放到云服务器后有时就会有这种现象，都是平仓时显示的（可能是行情接收延迟更少导致）。一般都是平仓单自动撤单后，新的重新平仓单导致这个错误。</p>
<p>是否是CTP反应过慢导致。即之前虽然已经撤单，但CTP没有返回已经撤单的信息。导致以为重复下单。如何解决呢？</p>
<p>2020-11-19T09:04:01.985540+08:00 &#8211; INFO &#8211; 通知: 下单成功，合约代码:DCE.b2101，下单方向:买，开平标志:平 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">72e1516ba06b8f02d313239e00d2134a</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=14098</link>
				<pubDate>Mon, 16 Nov 2020 06:12:07 +0800</pubDate>

									<content:encoded><![CDATA[<p>raise ConnectionError(e, request=request)<br />
requests.exceptions.ConnectionError: HTTPSConnectionPool(host=&#8217;api.shinnytech.com&#8217;, port=443): Max retries exceeded with url: /ns?stock=true (Caused by [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c7e4cccfd579ccdd1f889762213aa7e1</guid>
				<title>oct xk 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=14063</link>
				<pubDate>Fri, 13 Nov 2020 05:53:41 +0800</pubDate>

									<content:encoded><![CDATA[<p>不知道我最近自动撤单（实盘）速度变慢很多是否也与这个相关？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ad6aba10fc686a89d3771579525e6b36</guid>
				<title>oct xk 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=14062</link>
				<pubDate>Fri, 13 Nov 2020 05:52:51 +0800</pubDate>

									<content:encoded><![CDATA[<p>不知道我最近自动撤单（实盘）速度变慢很多是否也与这个相关？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7be5bb8a566be89b63aa9b92d0e7f97b</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=14060</link>
				<pubDate>Fri, 13 Nov 2020 05:48:56 +0800</pubDate>

									<content:encoded><![CDATA[<p>我用来实盘交易。通过查询ORDER返回的entity表判断是否成交以及价格是否改变要撤单。但最近几天撤单价格条件明明已经不改变（通过肉眼看盘就知道）</p>
<p>但程序会要花数秒来判断。这到底是有人提到的行情延迟还是其它问题。请尽快能修复好。</p>
<p>order = api.get_order()</p>
<p>for i in order:</p>
<p>api.is_changing(api.get_quote(symbol)) and order[i][&#8216;s [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8580dfcd742cca0745a7a69d2675fc58</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=13997</link>
				<pubDate>Thu, 05 Nov 2020 23:51:06 +0800</pubDate>

									<content:encoded><![CDATA[<p>TQ的这个例子中的order，我记得里面的结构是字典。那么，交易时，我如果一个帐户有多个策略，其它策略在另几个PY中运行<br />
即多个策略共用一个帐户。那么，这个ORDER是不是就会出错呢？因为我发现它读出的字典是整个帐户的。那么，其它策略的<br />
挂单就可能被识别。<br />
请问有无更好的，精确的确认这个ORDEr。像有些交易量化就每次下单后有一个ORDERID。直接以后能够调用。<br />
目前，我自己的方法是用一个FOR循环还遍历这个字典（ORDE [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">5173e9488636a7a22928e9006401e6c0</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=13756</link>
				<pubDate>Tue, 20 Oct 2020 06:53:04 +0800</pubDate>

									<content:encoded><![CDATA[<p>这个到底是个什么原理。如果我每秒下多次，然后能否起到相当于限价当的作用。又没有撤单的限制吗？是否会有一些限制。另外，这个单是否在盘口其它人看得到？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1f722b623f9d0124a056367a4ffdbad5</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=13730</link>
				<pubDate>Fri, 16 Oct 2020 03:16:03 +0800</pubDate>

									<content:encoded><![CDATA[<p>如果有持仓，我采取挂限价单close清仓。但如果价格有变化。我就撤单。如果下一秒（也许就是500MS内）然后再挂价格OK，我再挂。</p>
<p>但再挂就会显示，下单失败，应该是它认为平仓单有2张，但我只有一张。即刚才撤单信息没有返回。这个不至要用SLEEP等几秒吧？</p>
<p>撤单成功后，</p>
<p>2020-10-16 11:01:02,230 &#8211; INFO &#8211; 通知: 撤单成功，合约代码:DCE.b2，下单方向:卖，开平标志:平仓，委托价格:46 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">eb7bd3d03aa304e84edcec03f61b538f</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=13642</link>
				<pubDate>Mon, 12 Oct 2020 03:49:06 +0800</pubDate>

									<content:encoded><![CDATA[<p>因为我发现如果只在程序开头调用API。但有时需要重复得到数据时得到的不是更新数据。我就尝试把以下写入到循环中。数据是可以更新了。但会报错一大串信息后才成功。</p>
<p>api = TqApi(TqKq(), auth=&#8221;xxxx,pass&#8221;)<br />
account = api.get_account()</p>
<p>以下是报错信息，每循环一次报错这一大串一次<br />
RuntimeError: Event loop is closed<br />
Exceptio [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b823a2de2e58dcbbb5672f2f38ebfdd4</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=13336</link>
				<pubDate>Fri, 25 Sep 2020 00:32:47 +0800</pubDate>

									<content:encoded><![CDATA[<p>您好，如果我要一个策略（单个PY文件中）同时监测十个品种，一旦某个品种符合条件（会有一段很长的判断条件）就执行下单命令。</p>
<p>目前我的方法是把这十个品种名放入字典中syms，然后while true 并for 遍历 syms每个元素，然后每个都判断条件。虽然可以实现，但由于品种变动较快，所以可能错过机会（日内交易）</p>
<p>是否有更快的方法，让十个品种同时执行使用判断条件，哪个触发，就直接开仓。不需要等每个品种条件符合要检测完另外9 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9c0fcadc2924bc6e68ca6fc4c5a4f9b4</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12933</link>
				<pubDate>Mon, 21 Sep 2020 12:49:23 +0800</pubDate>

									<content:encoded><![CDATA[<p>我发现，如果不用if is_changing(quote) 然后 达到条件进行，api.cancel_order会比用 is_changing（官网的范例方式）会反应快一些。也能够撤单成功。但却会出 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c63d197d3f10da6139fb83bd672a844a</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12908</link>
				<pubDate>Fri, 18 Sep 2020 00:27:13 +0800</pubDate>

									<content:encoded><![CDATA[<p>8点左右有过一次模拟断开。然后重连，再开仓模拟，就显示“下单，已被服务器拒绝，原因：开仓保证金不足”</p>
<p>但权益还有60万。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">971f47deeddf27682d2f351303ef5aef</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12889</link>
				<pubDate>Thu, 17 Sep 2020 06:30:35 +0800</pubDate>

									<content:encoded><![CDATA[<p>140.206.244.250上海市上海 联通。你们的新版服务器是上海电信的。却连着对方联通的线路。对方电信是101开头的服务器。</p>
<p>INFO &#8211; 通知: 与 ws://140.206.xxx.xxx:xxxx/trade 的网络连接已建立</p>
<p>与快期3中的服务器是一样的，只是端口不同。为何不能对接101开头的电信呢？这速度慢好多</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">cbb3f703bec0d4e9207f4503b2a858f0</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12803</link>
				<pubDate>Mon, 14 Sep 2020 02:29:48 +0800</pubDate>

									<content:encoded><![CDATA[<p>实盘成交或撤单会有：红色字体“2020-09-14 10:12:08,577 &#8211; INFO &#8211; 通知: 撤单成功，合约代码:DCE.eg2103，下单方向:买，开平标志:开仓，委托价格:4062，委托手数:1”</p>
<p>这种输出占用了程序执行时间，是否可取消，屏蔽或只输出到LOG。而不是print on screen</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">62f98cfa6223d2fb6a2821c5dc79d163</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12769</link>
				<pubDate>Thu, 10 Sep 2020 22:55:42 +0800</pubDate>

									<content:encoded><![CDATA[<p>一个是我与快期TQ行情服务器的速度测速，一个是我与实盘期货公司的测速（我是迈科期货）。请问它们的地址分别是什么。</p>
<p>这个是TQ每次运行头部分显示：wss://openmd.shinnytech.com/t/md/front/mobile</p>
<p>而迈科期货是不是就是快期3那个主席服务器地址呢？</p>
<p>刚才在本地与云服务器分别ping这个地址：openmd.shinnytech.com/  本地比云慢10MS。是否就是意味着，我TQ收到 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">02b561fd2d0c16339f327c8f74d0fa35</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12744</link>
				<pubDate>Thu, 10 Sep 2020 03:01:21 +0800</pubDate>

									<content:encoded><![CDATA[<p>如果在快期中手动挂单未成交。如何在TQSDK中得到它的信息，并且想跟踪它的情况。似乎ORDER.status无法使用。这个ORDERID怎么正确得到？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">464bf0d417515e36a2eaf5c34440b4f0</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12730</link>
				<pubDate>Tue, 08 Sep 2020 16:23:39 +0800</pubDate>

									<content:encoded><![CDATA[<p>本来想用它来判断是否成交。大约要连续成交4-5张后，才会有get_postion相当信息的更新。</p>
<p>  if (api.get_position(&#8216;SHFE.ag2012&#8217;)[&#8216;volume_long&#8217;] ==0 and api.get_position(&#8216;SHFE.ag2012&#8217;)[&#8216;volume_short&#8217;] ==0 ）:<br />
      order=api.i [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6e96c5afb172c557310b4c5cc6051fb7</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12718</link>
				<pubDate>Tue, 08 Sep 2020 06:51:01 +0800</pubDate>

									<content:encoded><![CDATA[<p>实盘交易，绝大多数都能成功。但今天发生了，它不像以前那样，下单后，会自动撤单然后再下单确保成交。而是显示”未成交“即没有撤单再发送。</p>
<p>我在问：如果我是要求市价一定成交。是否我用insert_order一个偏离很多的价格，因为它直接放入了交易所，反而能够确保成交，不会发现以上的情况呢？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6eca6450711d141255f32b201a54953d</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12309</link>
				<pubDate>Thu, 20 Aug 2020 23:30:07 +0800</pubDate>

									<content:encoded><![CDATA[<p>刚看到收费信息，我想提个建议：公司把TQ最有用的回测以及downloader下载数据关了。保留了实盘交易。这是否有些本末倒置了。因为TQ是程序化交易</p>
<p>，它的关键就是要回测和数据才能有用。大家不就是先利用数据来做验证，才能模拟和实盘交易么？关了历史数据不相当于要用TQ做文华，快期那些手动交易</p>
<p>员用主观方式交易吗（因为没有办法验证）？这是量化的初衷吗？而主观交易者会用PY吗？相信公司一旦收费会流失很多甚至是绝大多数在用的人， [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">491cb9e3f155ac2e15362e914acb62c6</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12231</link>
				<pubDate>Wed, 19 Aug 2020 03:40:03 +0800</pubDate>

									<content:encoded><![CDATA[<p>套利合约似乎无法用downloader（DataDownloader） 工具进行下载DCE.SP eg2009&amp;eg2101。那怎么能够得到历史数据呢？有没有办法？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">108ceade6de4f76d2cf12dd0049d4b11</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12162</link>
				<pubDate>Thu, 13 Aug 2020 02:17:27 +0800</pubDate>

									<content:encoded><![CDATA[<p>已经升级到1.8.3版，但无法用FAK指令开仓（模拟环境下）。似乎无法识别&#8217;advance&#8217;这个参数</p>
<p>api.insert_order(&#8220;SHFE.hc2010&#8221;, &#8220;BUY&#8221;, &#8220;OPEN&#8221;, 5,limit_price=3912,advance=&#8221;FAK&#8221;)<br />
TypeError: insert_order() got an unexpected keyword argument &#8216;advance&#8217;</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4c5252855d0f246e2f9ba348597a0f70</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12149</link>
				<pubDate>Wed, 12 Aug 2020 02:24:46 +0800</pubDate>

									<content:encoded><![CDATA[<p>用downloader下载最近几天的历史数据。</p>
<p>其它所有品种都正常可下载到8月12号（今天）。但只有AG（沪银）（无论远月和近月）只能下载到8.11号 9：59分。</p>
<p>2020/8/11 9:56<br />
6757<br />
6757<br />
6754<br />
6754<br />
4<br />
9501<br />
9502</p>
<p>2020/8/11 9:56<br />
6754<br />
6758<br />
6754<br />
6756<br />
8<br />
9502<br />
9497</p>
<p>2020/8/11 9:56<br />
6756<br />
6760<br />
67 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ea3347873f332756de7cd06a87a20247</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12090</link>
				<pubDate>Mon, 10 Aug 2020 13:57:55 +0800</pubDate>

									<content:encoded><![CDATA[<p>      t_near.set_target_volume(0)<br />
      t_far.set_target_volume(0)<br />
请问，实盘交易，执行一个套利合约的清仓。发现set_target_volume似乎是在模拟市价成交。如果没有成交。会撤单再下。但这个价格导致滑点很大<br />
是否新的FAK命令可解决这个问题。因为套利单必须同时成交。否则缺腿。谢谢</p>
<p>2020-08-10 21:36:41,801 &#8211; INFO &#8211; 通 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1bccd3c008926897623670b23d027970</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11901</link>
				<pubDate>Thu, 30 Jul 2020 13:11:00 +0800</pubDate>

									<content:encoded><![CDATA[<p>VS CODe环境。错误信息：API那一句后：</p>
<p>PythonPython38libsite-packagestqsdkapi.py&#8221;, line 228, in __init__<br />
raise Exception(&#8220;接收数据超时，请检查客户端及网络是否正常&#8221;)<br />
Exception: 接收数据超时，请检查客户端及网络是否正常</p>
<p>但模拟盘正常登录</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c5a070a09bbd3b7a622619d451a0151d</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11717</link>
				<pubDate>Thu, 16 Jul 2020 14:37:34 +0800</pubDate>

									<content:encoded><![CDATA[<p><a href="http://doc.shinnytech.com/tqsdk/latest/devtools/vscode.html" rel="nofollow ugc">http://doc.shinnytech.com/tqsdk/latest/devtools/vscode.html</a> 根据这个教程。但接下来显示的却是“未找到设置”</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">34834eb83535a95b01d4936510c4021a</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11709</link>
				<pubDate>Thu, 16 Jul 2020 07:29:46 +0800</pubDate>

									<content:encoded><![CDATA[<p>发现VS中也有了Jupyter，但仍然不能用TQ。那么除了每次COPY代码到VS中的PY文件中。还有无更好的互动方式。比如其它的插件之类的。</p>
<p>测试起来很麻烦</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">fa74c51cce2395d0569eb1688e40065c</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11470</link>
				<pubDate>Tue, 07 Jul 2020 00:28:44 +0800</pubDate>

									<content:encoded><![CDATA[<p>好象以前可取任何一年，会修复吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">dfe468512c916e49b9e7efcd5501f212</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11375</link>
				<pubDate>Tue, 30 Jun 2020 05:13:10 +0800</pubDate>

									<content:encoded><![CDATA[<p>何时有可能支持？有时间表吗？用久了jupyter不想改了</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">85a9b4d43d4ac3061fadea14c2d5375d</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11003</link>
				<pubDate>Tue, 02 Jun 2020 14:38:50 +0800</pubDate>

									<content:encoded><![CDATA[<p>与商品的期权代码同样方式引入吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">60f1233db7031ef11146b9a9c944a8ef</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9354</link>
				<pubDate>Thu, 26 Mar 2020 02:23:08 +0800</pubDate>

									<content:encoded><![CDATA[<p>以前老版本一直用这段代码可以正常运行得到历史数据:</p>
<p>while not all([ks[s].is_ready() for s in ks]):<br />
api.wait_update()<br />
if api.is_changing(ks[s][i], &#8216;close&#8217;):</p>
<p>但升级为1.6后运行就报错.出现这样的错误,请问如何修改.</p>
<p>retur [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">bef9b1ac45cbc10404337203f8802547</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9353</link>
				<pubDate>Thu, 26 Mar 2020 02:02:51 +0800</pubDate>

									<content:encoded><![CDATA[<p>比如下载TICK数据.我想在DATETIME不放在第一列或其它的列变动.要怎么办.谢谢. 自动修改datadownloader库吗?</p>
<p>download_tasks[&#8220;T_tick&#8221;] = DataDownloader(api, symbol_list=[&#8220;CZCE.AP005&#8221;], dur_sec=0,start_dt=datetime(2020, 3, 11), end_dt=datetime(2020, 3, [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b0a6da7f9c3a9d228e37fdc5c4748a67</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9256</link>
				<pubDate>Mon, 23 Mar 2020 01:14:30 +0800</pubDate>

									<content:encoded><![CDATA[<p>都装好TQ.且都可收K线.但到了TICK级. 3.8正常.3.6报错:</p>
<p>File &#8220;site-packagestqsdkapi.py&#8221;, line 1297, in<br />
return [self[i][name] for i in range(0, self.width)]<br />
KeyError: &#8216;iloc&#8217;</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e7d8369baf9aacd38db827e5913c11a5</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=9043</link>
				<pubDate>Tue, 10 Mar 2020 02:27:57 +0800</pubDate>

									<content:encoded><![CDATA[<p>结果导致越来越乱.不得不要装好几个PYTHON版本.重新装.有没有办法彻底清除某个版本的于PY的方法.</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8c47473727f00bcb8084875c7ee52141</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8946</link>
				<pubDate>Fri, 06 Mar 2020 01:25:26 +0800</pubDate>

									<content:encoded><![CDATA[<p>PY中根据示例的DICT结构.这个成交是累加的成交量.没有单独当刻的成交量</p>
<p>而在DDE到EXCEL中的一个字段delta_volume.可以显示此刻的成交量多少.这里却没有.还有什么办法能够得到这个此刻类似delta_volume的成交量.谢谢.</p>
<p>返回值为一个dict, 结构如下:</p>
<p>{<br />
    &#8220;datetime&#8221;: &#8220;&#8221;,  # &#8220;2017-07-26 23:04:21.000001&#8221; (行情从交易所发出的时间(北 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a2601313a92573e1af85ee037166e5d8</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8937</link>
				<pubDate>Thu, 05 Mar 2020 14:57:41 +0800</pubDate>

									<content:encoded><![CDATA[<p>报错:</p>
<p>print(quote.last_price)<br />
AttributeError: &#8216;dict&#8217; object has no attribute &#8216;la [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">454899d3d0f623c89eb43e07ab3ae2a6</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8933</link>
				<pubDate>Thu, 05 Mar 2020 08:43:24 +0800</pubDate>

									<content:encoded><![CDATA[<p>用以下语句可以成功的获得c,o,h,l.但同样都是浮点型想增加获取bid_volume1等字段为何失败显示:  File &#8220;Collect VOLs.py&#8221;, line 34, in </p>
<p>quotesC=ks[s][i][&#8220;bid_price1&#8221;]</p>
<p>KeyError: &#8216;bid_price1&#8217;</p>
<p>api.wait_update()</p>
<p>if api.is_changing(ks[s][i], &#8216;close&#8217;):</p>
<p>while i</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a92944698e5e5db410ebc41916eef28f</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8902</link>
				<pubDate>Wed, 04 Mar 2020 00:17:52 +0800</pubDate>

									<content:encoded><![CDATA[<p>您上次说天勤终端不更新了.我也懂一些PYTHON.想从熟悉的方式进步.我知道TQ终端是通过DDE的方式把数据传入EXCEL的.那么.在PYTHON中实现这个方法,是不是有更先进的方式可以让EXCEL直接通过PYthon读成的TQSDK数据实时显示在EXCEL表中呢?谢谢.</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">aef8fd1413155c081a3baa42f134378a</guid>
				<title>oct xk 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8787</link>
				<pubDate>Fri, 28 Feb 2020 00:26:49 +0800</pubDate>

									<content:encoded><![CDATA[<p>TQSDK pip install不会有终端被安装吧</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>