<?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>信易科技用户论坛| lookis | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/lookis/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/lookis/activity/feed/" rel="self" type="application/rss+xml" />
	<description>lookis的动态信息。</description>
	<lastBuildDate>Sat, 18 Apr 2026 16:46: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">00f8b4f7fee2371ae45054b67f0ebcf8</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=14176</link>
				<pubDate>Mon, 23 Nov 2020 10:45:16 +0800</pubDate>

									<content:encoded><![CDATA[<p>有这种可能，所以在 cancel_order 之后需要听一下 TqChan的消息，直到对应的请求被服务器接收返回之后再处理新的 insert_order 逻辑</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b8c2d769bd8b8efce83ba621b5e2d5a8</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=14175</link>
				<pubDate>Mon, 23 Nov 2020 10:43:34 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以把 targetpostask 里的代码拷贝出来，然后在下单的时候把 order_prefix 一步步传进去，之后去历史 order 里通过匹配 order_prefix 就可以了</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">403206906c620d030d761f7bc91498fc</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=14174</link>
				<pubDate>Mon, 23 Nov 2020 10:41:22 +0800</pubDate>

									<content:encoded><![CDATA[<p>我也用的是asyncio的方式，处理方式是把target_volume_task拆开，然后await 对应的coroutine 结果。或者在开仓之后就await 到 position 的变化</p>
<p>insert_order 类似，会有一个 task返回，await 这个task就行，或者超时处理追单/取消逻辑，所有的订单操作都 await 就好</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4ef97e5a2897d29b9c0d590efe919006</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=14007</link>
				<pubDate>Sun, 08 Nov 2020 10:33:56 +0800</pubDate>

									<content:encoded><![CDATA[<p>升级一下 python 版本</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">975e8ce0ec1d29f185a0316f56cac582</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=14001</link>
				<pubDate>Fri, 06 Nov 2020 03:46:12 +0800</pubDate>

									<content:encoded><![CDATA[<p> 	有 order_id字段<br />
 	我的处理方式是自己重新封装了 get_position 和 target_order_task，然后在数据库里存 order、trades, 同时在自定义 order prefix 里加入标识，像这样：</p>
<p>livetrading_ 就是我总的策略名 trader_id 是另一个在策略下做区分的字段，我这里用的是品种，这样就可以区分出来某一策略下某一个品种的单子了 <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/212206000a51d64404398d150ca33ee4275868cd_2764.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d2eef67974536f9066f4d381552dfdbd</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13996</link>
				<pubDate>Thu, 05 Nov 2020 14:23:06 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以先不要用异步，对新手不友好，可以只用多线程来做：</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">29f5a16bb6ea0d5fb47af7455c886d27</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13993</link>
				<pubDate>Thu, 05 Nov 2020 10:56:10 +0800</pubDate>

									<content:encoded><![CDATA[<p>期货平仓分平今和平昨，你用的 pos_long 是总仓位，如果要平今的话用 pos_long_today 的数量就可以了</p>
<p>pos_long &#8211; pos_long_today 就是平昨的仓位</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1fef4f63ea21498c33ec8abaf0b35705</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13992</link>
				<pubDate>Thu, 05 Nov 2020 10:54:23 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以用多线程，也可以用异步的方式，合成好了之后通过队列推送，这样就隔离了合成K线的逻辑和策略逻辑，不知道你遇到的困难在哪？</p>
<p>需要考虑的一点是，如果策略运行逻辑超过1秒的话，那岂不是策略就没办法处理最新的砖头了？永远滞后了就</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">829374f801b8d2e9a6f948458db8c5aa</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13958</link>
				<pubDate>Tue, 03 Nov 2020 13:44:39 +0800</pubDate>

									<content:encoded><![CDATA[<p>api 销毁不代表所有资源都释放了，比方说 web_gui 占用的端口（因为官方没加 reuse 参数）就导致端口依然占用着，还有一些资源比方说异步任务，虽然尽可能都 cancel 或者 close 掉，但也有可能有部分被 shield 保护，无法取消，所以对于我们用户来说，重启进程是最保准的方法</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">738454cab7b41c8a56e6579a3e420b66</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13934</link>
				<pubDate>Fri, 30 Oct 2020 09:54:22 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以登陆快期模拟看看，有可能是之前程序下的单？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6936b70b4000c8540c33cef3e537a1ec</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13933</link>
				<pubDate>Fri, 30 Oct 2020 09:51:27 +0800</pubDate>

									<content:encoded><![CDATA[<p>最近问这个问题的人怎么好像有点多……</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a8448bebeb2c89750c8d8c8bbdd0185b</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13932</link>
				<pubDate>Fri, 30 Oct 2020 09:49:35 +0800</pubDate>

									<content:encoded><![CDATA[<p><a href='https://www.shinnytech.com/%e6%88%90%e5%91%98/ringo/' rel="nofollow ugc">@ringo</a> jupyter 已经支持 asyncio了，可以考虑支持一下</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b8aba9fb036dec3073c3799ddcc9ec9a</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13910</link>
				<pubDate>Thu, 29 Oct 2020 03:33:10 +0800</pubDate>

				
				
							</item>
					<item>
				<guid isPermaLink="false">061a50d690ddafc55d637b534359b793</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13907</link>
				<pubDate>Wed, 28 Oct 2020 15:03:12 +0800</pubDate>

									<content:encoded><![CDATA[<p>这里不是挺详细的么:</p>
<p>如果传了 symbol 参数，那么拿到的就是一个这个对象，如果没传symbol对象，那就获取到一个dict，key为 symbol，value 是上面连接的对象</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0b096e42f2b1e12df9afe01dd37ab591</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13888</link>
				<pubDate>Tue, 27 Oct 2020 14:34:02 +0800</pubDate>

									<content:encoded><![CDATA[<p>更新天勤，至少到2.0以上版本，在 install 的时候加 -U 参数</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">808f335217fa9346779e95059b9a93bb</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13884</link>
				<pubDate>Tue, 27 Oct 2020 13:12:15 +0800</pubDate>

									<content:encoded><![CDATA[<p>循环回到wait_update之后是立刻发出下单，如果不想等的话在执行完 TargetPosTask 之后可以直接调用 api.wait_update() 这样就实现了1ms都不等的方案。</p>
<p>因为TargetPosTask仅仅是个工具辅助下单的，所以只实现了大多数情况下会使用的场景，并 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6d827804811249e79ab03ac3cf8563d6</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13743</link>
				<pubDate>Mon, 19 Oct 2020 02:59:32 +0800</pubDate>

									<content:encoded><![CDATA[<p>这种情况下你需要等前一步执行成功后再执行下一步，sleep也只是增大成功概率而已，如果网络延迟严重，sleep 几秒都不一定成功</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">fc9c40e5f4982552304a623bf38d0011</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13718</link>
				<pubDate>Thu, 15 Oct 2020 09:59:40 +0800</pubDate>

									<content:encoded><![CDATA[<p>对于锁仓的单 TargetPosTask 会认为当前是0仓位，不会特殊处理，然后在下单的时候如果是平仓，那就会按offset_priority填写的优先级来平</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a385d30770bfee25123fb378f6d24853</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13656</link>
				<pubDate>Mon, 12 Oct 2020 04:42:51 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以循环这个调用</p>
<p>account = api.get_account() #这个可以放在循环里</p>
<p>但不要循环创建Api</p>
<p>api = TqApi(TqKq(), auth=”xxxx,pass”) #这个不能放在循环里</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6d6b6703b3be1e10a34953014041865a</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13653</link>
				<pubDate>Mon, 12 Oct 2020 04:40:12 +0800</pubDate>

									<content:encoded><![CDATA[<p>value.open_price_long 是多头开仓均价，如果你是开仓的时候有老仓的话，就会被“均”一下</p>
<p>开仓价格要想获取的话需要用这个下单接口</p>
<p>下单之后会得到一个 order 对象，然后在 order 对象上有一价格数据：</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1e34e4e4ed7fc7c2ee35edf0f9328791</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13651</link>
				<pubDate>Mon, 12 Oct 2020 04:34:36 +0800</pubDate>

				
				
							</item>
					<item>
				<guid isPermaLink="false">8ee48112951a8ad3513fd1820c2cdcc2</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13649</link>
				<pubDate>Mon, 12 Oct 2020 04:33:33 +0800</pubDate>

									<content:encoded><![CDATA[<p>pip install tqsdk -U</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e8b040b727d90cef75f980ced9d0d0e1</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13618</link>
				<pubDate>Sun, 11 Oct 2020 07:01:10 +0800</pubDate>

									<content:encoded><![CDATA[<p>把代码贴一下</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6c649b0ad368e17ef3780fd070235e31</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13615</link>
				<pubDate>Sat, 10 Oct 2020 06:12:20 +0800</pubDate>

									<content:encoded><![CDATA[<p>KQ.m@[交易所].[品种]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2343bf002742c30d7b60c8699d7a0265</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13584</link>
				<pubDate>Thu, 08 Oct 2020 06:21:50 +0800</pubDate>

									<content:encoded><![CDATA[<p> 	如果是远程报500 那不好说，一切都有可能，因为 wait_update 主要逻辑就是通过 websocket 订阅 服务器的数据，而Tq又是通过 diff 协议传输，所以如果服务端出错，比方说500的话，在行情方面就会断开连接，然后 TqApi 会自己发起重连，此时 api实例是可用的，wait_update 还有一些其 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7bd1f96e0e060f991347ad51052ac99c</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13583</link>
				<pubDate>Thu, 08 Oct 2020 06:10:28 +0800</pubDate>

									<content:encoded><![CDATA[<p>DCE.m2009 是 19年9月17日才上的品种, 你在 19年9月1日去取合约当然就没有了</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">799cb03d5ebc391877800a4d9bdf3513</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13582</link>
				<pubDate>Thu, 08 Oct 2020 06:06:53 +0800</pubDate>

									<content:encoded><![CDATA[<p>网络问题，连接不上 api.shinnytech.com 这个服务器（或者官方服务出故障了）</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0043d4f3cfe24cf126a681ed3500481b</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13556</link>
				<pubDate>Wed, 30 Sep 2020 14:00:53 +0800</pubDate>

				
				
							</item>
					<item>
				<guid isPermaLink="false">6b3fd30627a93abbd43420e8116b0519</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13547</link>
				<pubDate>Wed, 30 Sep 2020 10:34:36 +0800</pubDate>

									<content:encoded><![CDATA[<p>可以用这个接口判断</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e6e628388b6503935d8d4f3f184593ed</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13546</link>
				<pubDate>Wed, 30 Sep 2020 10:32:52 +0800</pubDate>

									<content:encoded><![CDATA[<p>直接试试 wait_update 加deadline参数呢？</p>
<p>说心里话我也希望官方能出一个取当前时间的接口～</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">48a393a1819056b971a3cb3a9ba1559b</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13545</link>
				<pubDate>Wed, 30 Sep 2020 10:30:21 +0800</pubDate>

									<content:encoded><![CDATA[<p>更新 tqsdk 依赖</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">77ebee70afe6ad9225b6da1678112270</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13487</link>
				<pubDate>Wed, 30 Sep 2020 02:45:44 +0800</pubDate>

									<content:encoded><![CDATA[<p>target_pos_task 内部是用 insert_order 来实现的，首先关于你说的追价太高买不到，我先解释一下 target_pos_task的逻辑：默认使用对价，也就是买单用卖一价来下单，结合交易所撮合逻辑，出现无法成交的原因只 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9fa0c1bb94f75da1f86196fe9cb41ed6</guid>
				<title>lookis 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=13452</link>
				<pubDate>Tue, 29 Sep 2020 01:54:19 +0800</pubDate>

									<content:encoded><![CDATA[<p>增加 SO_REUSEADDR 和 SO_REUSEPORT 选项，用来解决web_gui无法短时间绑定同一个端口的问题。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">10cdf9d4c9454905cc6bad8bf982365d</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13450</link>
				<pubDate>Tue, 29 Sep 2020 00:58:49 +0800</pubDate>

									<content:encoded><![CDATA[<p>贴代码看看呢？我没遇到过这个问题</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d4fd7cbc1b0de5b586ea9a23cae2e55b</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13425</link>
				<pubDate>Mon, 28 Sep 2020 01:33:28 +0800</pubDate>

									<content:encoded><![CDATA[<p>K线数量算法不同，结果也会不一样，所以最好是用程序自己计算</p>
<p>比方说tqsdk的计算K线就是按整点计，1小时K线在日盘休息15分钟的时候就不会关心，K线就是10点到11点，而文华就是按整周期计，中间休了15分钟那么就是10点到11点15</p>
<p>具体的相关接口可以用：</p>
<p>来获得交易时间段</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3e9cd206f57ac7824953eb513888e7d9</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13333</link>
				<pubDate>Thu, 24 Sep 2020 11:30:51 +0800</pubDate>

									<content:encoded><![CDATA[<p>需要更新到最新的 tqsdk, 现在最新的版本是 2.0.3, 然后如果在TqApi 初始化的时候传了 _stock=False 的话需要改成 True或者直接去掉，然后查询股票代码的接口在这：</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2f69d411bfad58958d76a292d5082fd3</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=13274</link>
				<pubDate>Thu, 24 Sep 2020 08:25:16 +0800</pubDate>

									<content:encoded><![CDATA[<p>不要每个线程都开一个TqApi, 主线程用一个，其它子线程用主线程的TqApi的副本，参考这里：</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a823da84a9de29c653f476568e33bad6</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=12973</link>
				<pubDate>Tue, 22 Sep 2020 15:11:41 +0800</pubDate>

									<content:encoded><![CDATA[<p>因为你这是实盘中遇到的问题，我这边没办法稳定复现，所以建议还是多打些Log看看到哪一步没有按你预想的运行，或者改成回测逻辑然后好稳定复现。</p>
<p>你第二张图里的标注没什么问题，基本是按你理解的，只是有一个要注意一下，刚开始运行的时候kline可能没准备好，有可能就会导致你的1. 这里没办法计算，处理方式可以调用这个函数：</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">67faaa97df2dc67175c77b4a0e90a867</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=12972</link>
				<pubDate>Tue, 22 Sep 2020 15:06:08 +0800</pubDate>

									<content:encoded><![CDATA[<p>你这是实盘代码，没有进一步的信息无法复现你的异常，建议把错误也贴一下或者改成回测的逻辑然后指出具体发生异常的时间点</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8a33427a27df4326b21cd9fecc28b2a2</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=12934</link>
				<pubDate>Mon, 21 Sep 2020 13:38:15 +0800</pubDate>

									<content:encoded><![CDATA[<p>不知道会快多少，但是不等 is_changing 就直接下 cancel_order 就好比分级基金做盲拆，下单后还没等到回执确认就直接取消单子了，有时候下单之后可以马上成交，有时候不能马上成交，如果不成交，那你 cancel_order 就有可能成功，如果成交了，你撤单就失败了</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">271700339cce113510cbf7a85a27a7a7</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=12932</link>
				<pubDate>Mon, 21 Sep 2020 12:04:12 +0800</pubDate>

									<content:encoded><![CDATA[<p>with not &#8230; -&gt; while not</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b11a8135914282a9afc8418fb78362bc</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=12929</link>
				<pubDate>Mon, 21 Sep 2020 10:45:20 +0800</pubDate>

									<content:encoded><![CDATA[<p>文档有写：</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">29029c6d667c8d57adfc4bf233c4ece2</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=12899</link>
				<pubDate>Thu, 17 Sep 2020 07:25:13 +0800</pubDate>

									<content:encoded><![CDATA[<p>赞一个</p>
<p>Edit: 问题解决了……没事</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b9bc73e91908112f230a495c04f511df</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=12856</link>
				<pubDate>Tue, 15 Sep 2020 09:59:50 +0800</pubDate>

									<content:encoded><![CDATA[<p>启动的脚本里增加这些：</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">21f932a617781644a1c82d72d47d90ba</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=12794</link>
				<pubDate>Sat, 12 Sep 2020 04:18:58 +0800</pubDate>

									<content:encoded><![CDATA[<p>三个办法：</p>
<p> 	使用下一个版本的 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7c5f17defa3361fa788bf1db3660c045</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=12793</link>
				<pubDate>Sat, 12 Sep 2020 04:07:30 +0800</pubDate>

									<content:encoded><![CDATA[<p>改源码……免责条款是 print 出来的，删掉就行</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b7321c71fb4c9bfc02620154b312a98c</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=12792</link>
				<pubDate>Sat, 12 Sep 2020 04:06:38 +0800</pubDate>

									<content:encoded><![CDATA[<p>如果你是单线程，但又要延迟5s的话，整个程序都会傻在那儿愣5秒，推荐学习一下如何用多线程开发或者协程开发</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">25dbdbb1c37e56b9926ecd910ad0cf1b</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=12791</link>
				<pubDate>Sat, 12 Sep 2020 04:04:39 +0800</pubDate>

									<content:encoded><![CDATA[<p>最主要还是看你预期所谓的“暂停” 是什么操作，因为在tqsdk里有实盘模式和回测/复盘模式，所以大家说的不推荐使用 time.sleep()的出发点在于这个是着实会停一段时间的，无论是实盘也好，回测也好。在实盘中暂停当然就是预期的行为，但是在回测的时候就会“拖后腿”，我们回测通常时候是为了快速出结果，如果每个循环 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">76929e69e85a2825c1ad632565e64fb4</guid>
				<title>lookis 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12768</link>
				<pubDate>Thu, 10 Sep 2020 16:13:16 +0800</pubDate>

									<content:encoded><![CDATA[<p>文档里提及的函数：</p>
<p>在最新版 1.8.3 下没找到这些函数</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">29f06d6dfc481e2baa28ea739f37624d</guid>
				<title>lookis 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=12761</link>
				<pubDate>Thu, 10 Sep 2020 09:30:56 +0800</pubDate>

									<content:encoded><![CDATA[<p>都会更新，只是这时候的position是一个 dict, key是symbol，value 才是你真正想要的 position</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>