<?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>信易科技用户论坛| phdlh | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/phdlh/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/phdlh/activity/feed/" rel="self" type="application/rss+xml" />
	<description>phdlh的动态信息。</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">ed0a423c66793f8d834e0bed0da69c78</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=25432</link>
				<pubDate>Thu, 12 Dec 2024 07:41:46 +0800</pubDate>

									<content:encoded><![CDATA[<p>安装tqsdk出错。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b051b4b2443b00e97151161fa824ea7c</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=25431</link>
				<pubDate>Thu, 12 Dec 2024 07:33:01 +0800</pubDate>

									<content:encoded><![CDATA[<p>如果下单两手，成交1手。然后检测订单状态，查找撤单，是否撤掉未成交的1手？</p>
<p>检测订单状态好，还是检测剩余数量好？</p>
<p>是这样写好呢？</p>
<p>还是这样写好？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e731af5c67df91a576310d02ae9a34bd</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=22693</link>
				<pubDate>Tue, 30 Aug 2022 14:06:25 +0800</pubDate>

									<content:encoded><![CDATA[<p>模拟没问题的，但实盘不行。在文华、国贸金服等软件中，连委托单都看不见。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">330e99852442b7c1f40a6591fe324507</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=22600</link>
				<pubDate>Tue, 16 Aug 2022 07:08:37 +0800</pubDate>

									<content:encoded><![CDATA[<p>可否只输入product_id，例如IC、IF、IM，即可取得平值股指期权的symbol？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1e6ca009a5c025ee6a884760f8a8cd6a</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21669</link>
				<pubDate>Thu, 09 Jun 2022 14:03:48 +0800</pubDate>

									<content:encoded><![CDATA[<p>get_posision得到今天开仓的所有合约；而且转成pandas后只有symbol，没有volume。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">8b4fad0ab4f5ec13061d8f0a17acb96f</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21582</link>
				<pubDate>Mon, 23 May 2022 03:26:12 +0800</pubDate>

									<content:encoded><![CDATA[<p>tick周期，经常在行情软件中看见价格变了几次，早该平仓了，但天勤的程序没反应。请问这是周期太短的原因吗？</p>
<p>若改成分钟周期，会不会有所改善？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ae24ffbfa9d708c6b6c75402a5951417</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21225</link>
				<pubDate>Wed, 16 Mar 2022 02:12:05 +0800</pubDate>

									<content:encoded><![CDATA[<p>前天晚上估计是连不上，所以昨天升级了VIP。运行程序，打印“程序还没开始……”，没有任何错误信息，就结束了。</p>
<p>万一表格是空的，倒数第二行应该报错。但程序并没有打印出选合约的结果，也就是说最后一行没有执行。</p>
<p>这个程序，注释掉和开盘时间有关的几行，昨天白天用模拟交易运行了两次，都没问题的。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ad3f850a6500c66440f0ace1b859375e</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21180</link>
				<pubDate>Wed, 09 Mar 2022 02:53:16 +0800</pubDate>

									<content:encoded><![CDATA[<p>主力合约、次主力合约，或者远月、近月合约。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">912db7ed7778bb8f9bac4f615125b83b</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21004</link>
				<pubDate>Thu, 17 Feb 2022 15:05:59 +0800</pubDate>

									<content:encoded><![CDATA[<p>假设目前开了一手原油、一手黄金、一手阴极铜，请问如何分开看这三个品种或合约的浮动盈亏呢？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2f20413b24c7b626bec3069cc3c30856</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=20849</link>
				<pubDate>Wed, 19 Jan 2022 04:02:11 +0800</pubDate>

									<content:encoded><![CDATA[<p>2022-01-19 09:15:32 &#8211; INFO &#8211; 通知: 成交,……,开仓<br />
立网络连接<br />
2022-01-19 09:25:09 &#8211; WARNING &#8211; 通知: 与 wss://free-api.shinnytech.com/t/nfmd/front/mobile 的网络连接已 恢复<br />
2022-01-19 09:25:40 &#8211; WARNING &#8211; 通知: 开始与 ws://140.206.244.66:37480/t [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d14683da00cd8361c0592f5e0fc6ff0b</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=20847</link>
				<pubDate>Tue, 18 Jan 2022 23:01:26 +0800</pubDate>

									<content:encoded><![CDATA[<p>白天在公司：<br />
t = TargetPosTask(api, symbol, price=get_price)<br />
t.set_target_volume(1)<br />
关电脑。</p>
<p>晚上回到家里，可以这样吗？</p>
<p>t = TargetPosTask(api, symbol, price=get_price)<br />
t.set_target_volume(-1)</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">bda10099b49a23234d5aed095647ee1b</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=20749</link>
				<pubDate>Fri, 07 Jan 2022 08:21:54 +0800</pubDate>

									<content:encoded><![CDATA[<p>17:00-19:00？</p>
<p> <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/49e5b210534093cd44393c15b5e6d942a64a9a6d_2931.jpg" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4ae05a3b04c79b049453694783d31754</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=20724</link>
				<pubDate>Tue, 04 Jan 2022 17:41:37 +0800</pubDate>

									<content:encoded><![CDATA[<p>20:30-20:54:59，20:59:01-20:59:59，10:15:01-10:29:59，11:30:01-13:29:59，这几个时间段，可否使用</p>
<p>set_target_volume()呢？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1af70430e3a8cfba05d63ebce262a7f4</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=20663</link>
				<pubDate>Wed, 29 Dec 2021 22:04:06 +0800</pubDate>

									<content:encoded><![CDATA[<p>想在集合竞价的时候以涨跌停价下单，该如何做？</p>
<p>假设今天是12月30日，明天是31日。在今晚（12月30日）开盘之前，如20:30-21:00，query_symbol_info的返回结果，upper_limit和lower_limit，是12月31日的涨跌停价吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f803dd5c1b8701c77774ed559d333e76</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=19995</link>
				<pubDate>Tue, 30 Nov 2021 02:40:19 +0800</pubDate>

									<content:encoded><![CDATA[<p>如何在收盘和小节结束之前的一两分钟，平所有标的的仓位？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1e63030810ee6cfcb9b9732dec26cd8e</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=19991</link>
				<pubDate>Tue, 30 Nov 2021 01:22:59 +0800</pubDate>

									<content:encoded><![CDATA[<p> <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/6849a735d99b0036302280b7a550f7f28ef5f3e6_2931.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">b7eb06b17a41b2d12a5a0fd4efbbb9f6</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=17461</link>
				<pubDate>Tue, 14 Sep 2021 07:25:11 +0800</pubDate>

									<content:encoded><![CDATA[<p>如何获取所有可用的期货合约，并排除期权？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">741627a94efeb257351b24c122da3969</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=17139</link>
				<pubDate>Wed, 08 Sep 2021 17:27:03 +0800</pubDate>

									<content:encoded><![CDATA[<p>说法一：股价曲线在SAR曲线之上时，为多头市场。股价曲线在SAR曲线之下时，为空头市场。</p>
<p>说法二：SAR值大于0，为多头市场。SAR值小于0时，为空头市场。</p>
<p>文华的指标是连续的，你们的指标是震荡的。</p>
<p> <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/0a35fe5a8d43e5097748548a85e621437a1919cb_2931.jpg" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">990dc5f5c6595dca6157a97e65a92a78</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16204</link>
				<pubDate>Wed, 14 Jul 2021 23:42:00 +0800</pubDate>

									<content:encoded><![CDATA[<p>集合竞价后的quote还不是开盘的信号。试过等21:00马上下单，但有时候还是早了一点，导致因为还没开盘（连续竞价）而下单失败。可否在20:59:55后如下：</p>
<p>请问你们建议怎样呢？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">51323f749129508cdde57a485140c9be</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16200</link>
				<pubDate>Wed, 14 Jul 2021 06:24:08 +0800</pubDate>

									<content:encoded><![CDATA[<p>方法一：在21:59分，获取quote？</p>
<p>方法二：用kline。但如果要等K线走完，得到连续竞价的时候才行。</p>
<p>有没有其他方法，大家建议用什么方法呢？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c717e5b3f9bfd7102c482407a0ead5f8</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15469</link>
				<pubDate>Fri, 16 Apr 2021 01:49:23 +0800</pubDate>

									<content:encoded><![CDATA[<p>simnow这两天都上不了，度娘搜不到，难道倒闭了？tq自带的模拟账户，如果按照涨停价和跌停价下单，他就真的按照涨停价和跌停价来计算收益，那肯定是亏损的。因为我计算一些东西，会消耗一分钟的时间，这样子回测是绝对不行的。所以现在很麻烦了，不知道怎么弄。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6e3ef6ef0fd45c3e1619bf69d20c0d54</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15465</link>
				<pubDate>Thu, 15 Apr 2021 09:45:35 +0800</pubDate>

									<content:encoded><![CDATA[<p>module &#8216;tqsdk.api&#8217; has no attribute &#8216;get_account&#8217;.</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a41d623bfbbcf6cc6a0074e8c142bb8b</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15224</link>
				<pubDate>Mon, 08 Mar 2021 01:40:36 +0800</pubDate>

									<content:encoded><![CDATA[<p>信息如下：</p>
<p>2021-03-08 09:32:57 &#8211; INFO &#8211; 模拟交易下单 PYSDK_insert_e155f8f8f71a734efaee6dc40bbd6767: 时间: 2021-03-08 09:32:58.508291, 合约: SHFE.au2106, 开平: OPEN, 方向: BUY, 手数: 1,<br />
价格: 379.98<br />
2021-03-08 09:32:57 &#8211; INFO [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">28a811c8f6e9500557222ab41d25515a</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=14451</link>
				<pubDate>Wed, 23 Dec 2020 03:56:31 +0800</pubDate>

									<content:encoded><![CDATA[<p>请教一下：假如用get_ticks_info得到的信息为“多开”，那对应的平仓信息应该是“多平”还是“空平”？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f9603d1719d95afc4dd0ef17a2f9132c</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=14329</link>
				<pubDate>Thu, 10 Dec 2020 13:46:21 +0800</pubDate>

									<content:encoded><![CDATA[<p>定时平仓，可以的：</p>
<p>但是加上止损后，不行了：</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">170baa150ef8fa1fb276fa61856a2f26</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=13885</link>
				<pubDate>Tue, 27 Oct 2020 13:13:23 +0800</pubDate>

									<content:encoded><![CDATA[<p>from tqsdk import TqApi<br />
from tqsdk import *<br />
api = TqApi(TqAccount(&#8220;XX期货&#8221;, &#8220;8&#8230;..&#8221;, &#8220;XX&#8230;&#8230;&#8221;), auth=TqAuth(&#8220;PhDLh&#8221;, &#8220;&#8230;&#8230;&#8221;))</p>
<p>之前的程序这样写可以实盘的。刚刚运行后提示&#8221;TqAuth is not defined.&#8221;<br />
因为A电脑的天勤版本旧，所以实盘不用auth关键字的。但后来在B电脑 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">68903d02ca992b2a1452b50ad3f46667</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=13706</link>
				<pubDate>Wed, 14 Oct 2020 16:12:26 +0800</pubDate>

									<content:encoded><![CDATA[<p>以下是平仓代码：</p>
<p>但即使在期货APP中看见没有持仓，程序还是在运行不会停止。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a3d48fdd26e68e2cbdcf03d50f150c63</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=13640</link>
				<pubDate>Mon, 12 Oct 2020 03:22:00 +0800</pubDate>

									<content:encoded><![CDATA[<p>开仓后一秒钟获取的这个价格可能已经跟当前价相差几十元了？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">bbcf16a9a1750d61f64c4edf45cb32a7</guid>
				<title>phdlh发布了更新: @shoe 谢谢朋友的建议，我下单的价格就是用涨停价和跌停价的。请问可以留个联系方式，交个朋友吗？</title>
				<link>https://forum.shinnytech.com/%e5%8a%a8%e6%80%81/p/7394/</link>
				<pubDate>Sat, 10 Oct 2020 15:47:36 +0800</pubDate>

									<content:encoded><![CDATA[<p><a href='https://www.shinnytech.com/%e6%88%90%e5%91%98/shoe/' rel="nofollow ugc">@shoe</a> 谢谢朋友的建议，我下单的价格就是用涨停价和跌停价的。请问可以留个联系方式，交个朋友吗？</p>
]]></content:encoded>
				
									<slash:comments>1</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">728c3879026ce1a6a016c2f8815df2e9</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=13605</link>
				<pubDate>Fri, 09 Oct 2020 03:38:41 +0800</pubDate>

									<content:encoded><![CDATA[<p>api.insert_order(symbol=symbol, direction=direction_close, offset=offset, volume=volume, limit_price=market_price)</p>
<p>api.wait_update()</p>
<p>很遗憾，止损失败。在期货APP中没有看见在止损价格附近的委托，请问是什么原因呢？<br />
可否将上面的语句重复一遍，多下一次单，以提高成功的可能性？</p>
<p>api.ins [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">999eb3ea5d81996de400f9c7a88ff442</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12882</link>
				<pubDate>Wed, 16 Sep 2020 14:01:28 +0800</pubDate>

									<content:encoded><![CDATA[<p>假设资金够1手的，但不够2手。现在下单下了2手，会成交其中1手吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">67e227aaaa421f81b1e2e1834d23c945</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12861</link>
				<pubDate>Tue, 15 Sep 2020 13:17:19 +0800</pubDate>

									<content:encoded><![CDATA[<p>api.get_quote(symbol)<br />
api.wait_update()<br />
#这里要不要加上 if is_change()？</p>
<p>order = api.insert_order(symbol=symbol, direction=direction, offset=&#8221;OPEN&#8221;, volume=volume) [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6f1a6bdcf59773651c24dc76717f6af1</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=12569</link>
				<pubDate>Wed, 02 Sep 2020 04:09:55 +0800</pubDate>

									<content:encoded><![CDATA[<p> 	(1)如果以高于涨停价开多仓，是否会立即开仓？(2)如果以低于跌停价开空仓，是否会立即开仓？(3)平仓是否也类似？<br />
 	限定的价格是否必须为整数？<br />
 	价格如果是否必须是最小变动单位的整数倍？例如最小变动单位是5元，那可否下11元的价格？如果是开多仓，是否下11元的单，实际价格在5-10元的时候也能成交？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1ae4f613997edd6efa150f3b68080aa0</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11341</link>
				<pubDate>Sun, 28 Jun 2020 05:26:11 +0800</pubDate>

									<content:encoded><![CDATA[<p>当天交割的合约，开仓以后似乎要马上强制平仓的，这样连手续费都亏了。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4809329655a991e2194c4e6b9cf3d16c</guid>
				<title>phdlh 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=11329</link>
				<pubDate>Sat, 27 Jun 2020 04:39:27 +0800</pubDate>

									<content:encoded><![CDATA[<p>请问Quote对象是什么数据类型？DataFrame，字典……？有办法转换成DataFrame类型吗？</p>
<p>文档中说有五档行情，请问五档行情要收费吗？还是说目前只有一档行情？</p>
<p>有没有办法获取最近若干(大约5-50)个ticks的盘口数据？</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>