<?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>信易科技用户论坛| Paul Yu | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/p_b_yu/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/p_b_yu/activity/feed/" rel="self" type="application/rss+xml" />
	<description>Paul Yu的动态信息。</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">29c95dabccc8f494d8db3bb0145a8748</guid>
				<title>Paul Yu 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=8772</link>
				<pubDate>Wed, 26 Feb 2020 08:32:30 +0800</pubDate>

									<content:encoded><![CDATA[<p>python的多线程就是有性能问题啊。</p>
<p>我的策略，最初多线程版本挺好的。当时限制只有5个线程。后来真正实用的时候，加到20个线程以上，python的性能，完全无法胜任。</p>
<p>你百度搜python GIL就知道了。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">241d03a17b45b82cf949163685666ac9</guid>
				<title>Paul Yu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8489</link>
				<pubDate>Thu, 23 Jan 2020 03:17:50 +0800</pubDate>

									<content:encoded><![CDATA[<p>用asyncio编程，需要get_kline_serial两次，取得2种k线，一个是日线，一个是5分钟线，但</p>
<p>我日线只需要最近3天的日线。5分钟线则需要8000线。本来我的程序，只需要5分钟线的时候，运行得好好的。没有什么问题。</p>
<p>后来，我的程序，加入要get_kline_serial日线。只需要最近3天的日线。我的asyncio程序中，两个get_kline_serial语句。</p>
<p>可是，我的程序计算，是在asyncio的 [&hellip;] <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/d63a4a186b1c85841aec97cc70dd58be48d86f39_1250.jpg" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">36e8086d4ae7c2502b490f674390acc7</guid>
				<title>Paul Yu 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=8431</link>
				<pubDate>Thu, 16 Jan 2020 11:19:38 +0800</pubDate>

				
				
							</item>
					<item>
				<guid isPermaLink="false">036e7f45bd67cb367749445a8a6b9316</guid>
				<title>Paul Yu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8408</link>
				<pubDate>Wed, 15 Jan 2020 06:53:05 +0800</pubDate>

									<content:encoded><![CDATA[<p>能不能给一个这样的代码范例：开仓后1天，平仓。</p>
<p>考虑到程序不断停止执行。所以，记录开仓时间，<br />
api.insert_order(&#8230;)<br />
order_time = order.insert_date_time</p>
<p>这个order_time需要保存到文件中。并在下一次启动程序时，取出这个数据。<br />
而且还需要考虑，不同的品种，order_tim [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c98332b505195f8bc633ae8b85a810fb</guid>
				<title>Paul Yu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8391</link>
				<pubDate>Tue, 14 Jan 2020 15:39:08 +0800</pubDate>

									<content:encoded><![CDATA[<p>这个程序，已经用多进程，multi-thread（多线程）的方式，都编程运行成功了。所以运行和计算逻辑是没有问题的。</p>
<p>下面，我想把这个程序，改编成asyncio的模式。就出现了问题。</p>
<p>问题出在，上述程序，“计算ing&#8230;”上面2行print。</p>
<p>这2行print，打印出来的klines.close。最前面的数据，有很多nan。明显是前面的api.get_kline_serial(&#8230;)语句，申请的klines数据 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">cd74018e36afa9bed193fee9102e25ee</guid>
				<title>Paul Yu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8373</link>
				<pubDate>Tue, 14 Jan 2020 04:06:17 +0800</pubDate>

									<content:encoded><![CDATA[<p>python程序中，api.insert_order(&#8230;)指令，一直不能成交</p>
<p>使用过“快期模拟”、simnow、实盘帐户，3个帐号尝试。这3个帐户，都能正常登陆。其中实盘帐户登陆后，程序还返回过期的“资金不足，请补交保证金”的信息。说明帐号确实正确登陆了。但平仓后，已经不存在“资金不足”的问题了。这段代码，在3种帐户中，都无法顺利成交。</p>
<p>返回的order.status一直是ALIVE。实盘帐户和simnow帐户， [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">dd71d52f1adcab5a9d473a712f98044f</guid>
				<title>Paul Yu 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=8372</link>
				<pubDate>Tue, 14 Jan 2020 03:56:43 +0800</pubDate>

									<content:encoded><![CDATA[<p>天勤终端1.6。第一次运行，如下图。没有期货公司列表。没有文档中描述的，“配置”选项。</p>
<p>用过“快期模拟”、simnow、实盘帐户，3个帐号登陆。都登陆不了。这3个帐户，在python程序中，都可以顺利登陆。</p>
<p>希望工作人员能帮助解决。</p>
<p> <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/98aef22043cc96fab6cc9f4a0bb6161b8dec2aeb_1250.JPG" /></p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>