<?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>信易科技用户论坛| yangbin2590 | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/367715cb-e72c-4217-8a43-92c158b67bee/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/367715cb-e72c-4217-8a43-92c158b67bee/activity/feed/" rel="self" type="application/rss+xml" />
	<description>yangbin2590的动态信息。</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">8627a235e539aeba15f0684afe7b4949</guid>
				<title>yangbin2590 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21752</link>
				<pubDate>Fri, 01 Jul 2022 15:21:54 +0800</pubDate>

									<content:encoded><![CDATA[<p>如何判断该品种是否在交易状态？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">1f1e55a95647042e54783bb1fd5664d5</guid>
				<title>yangbin2590 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=21725</link>
				<pubDate>Fri, 24 Jun 2022 05:30:01 +0800</pubDate>

									<content:encoded><![CDATA[<p>程序在初始化api时就已经指定了商品代码了，请问有没有一种功能，能实现动态调整商品代码，例如程序api初始化是09的，盘中符合条件想换成10合约。</p>
<p>最好把settarget函数再加个参数，目标手数+合约代码</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">d5d8c0ecb09f107a00b7733f36258e8e</guid>
				<title>yangbin2590 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=17053</link>
				<pubDate>Sun, 29 Aug 2021 02:07:51 +0800</pubDate>

									<content:encoded><![CDATA[<p>完全抄的例子，运行就报错了，也安装了vc_redist.x64.exe，是不是哪里要配置下，还是环境变量之类的？</p>
<p> <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/3f39fe6b586b4fa6ef2596b378ed4a79e3e02cc2_3905.jpg" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ae736be768e5cad4099c53fbac5ba523</guid>
				<title>yangbin2590 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16997</link>
				<pubDate>Sun, 22 Aug 2021 02:07:23 +0800</pubDate>

									<content:encoded><![CDATA[<p>复盘和回测时经常报错raise Exception(&#8220;无法创建复盘服务器，请检查复盘日期后重试。&#8221;)。</p>
<p>同样的日期，复盘了1次，改下参数，再复盘，就永远连不上了，太耽误时间了，能不能看看，增加下机器的性能？</p>
<p>或者搞成使用本地数据回测，都能买到所有tick级数据，本地都有全量数据，也减少网络连接。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ba329baafd221b80010ed6a4a35f8bc6</guid>
				<title>yangbin2590 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16776</link>
				<pubDate>Mon, 16 Aug 2021 03:47:25 +0800</pubDate>

									<content:encoded><![CDATA[<p>例如我想在实盘账户中访问测试账户的持仓和交易记录，例如实现:   检测测试账户亏损到一定程度后，实盘才开仓。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c5f59d38d7a427927b5596b7218cb011</guid>
				<title>yangbin2590 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16668</link>
				<pubDate>Tue, 10 Aug 2021 03:30:09 +0800</pubDate>

									<content:encoded><![CDATA[<p>有自动参数优化功能吗？就是回测时参数优化。并且建议专业版增加按笔收费功能吧，例如一笔就收交易所20%手续费。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9d00e428d360efdbaae1f6399acd7b7d</guid>
				<title>yangbin2590 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16161</link>
				<pubDate>Mon, 12 Jul 2021 11:15:57 +0800</pubDate>

									<content:encoded><![CDATA[<p>程序断了，看了看日志，今天开盘时没有取到9号的K线。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">f521a6bc9d1b986309a3a2b719ebd897</guid>
				<title>yangbin2590 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16129</link>
				<pubDate>Thu, 08 Jul 2021 14:00:03 +0800</pubDate>

									<content:encoded><![CDATA[<p>请教如何才能获取tick现手，增仓和开平方向，谢谢</p>
<p>特别是现手，如何计算出来？</p>
<p>类似如下</p>
<p> <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/ac0b44cd16f9c82d279dafd995f4d9e75997f224_3905.jpg" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">341a05e3454e8cb5320695e1c6883ae9</guid>
				<title>yangbin2590 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16110</link>
				<pubDate>Mon, 05 Jul 2021 14:48:06 +0800</pubDate>

									<content:encoded><![CDATA[<p>代码如下：</p>
<p>q1 = api.get_q [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">cc03362f924b2ea15d0e2d66113e817c</guid>
				<title>yangbin2590 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15983</link>
				<pubDate>Sat, 19 Jun 2021 14:29:54 +0800</pubDate>

									<content:encoded><![CDATA[<p>请问通达信这句话，如何用天勤实现，谢谢。</p>
<p>EMA(SLOPE(C,21)*20+C,42)</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">760b41dd446c83e433feba57eda12a1e</guid>
				<title>yangbin2590 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=15953</link>
				<pubDate>Sun, 13 Jun 2021 15:37:11 +0800</pubDate>

									<content:encoded><![CDATA[<p>这个地址都能看到资源啊。</p>
<p>要不直接下载后用命令安装。pip install tqsdk2-1.4.7-cp38-cp38-win_amd64.whl</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2c97ff5420355c24f7e40635535355e0</guid>
				<title>yangbin2590 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=15952</link>
				<pubDate>Sun, 13 Jun 2021 06:18:09 +0800</pubDate>

									<content:encoded><![CDATA[<p>pip install -U tqsdk2 -i <a href="https://mirrors.aliyun.com/pypi/simple/" rel="nofollow ugc">https://mirrors.aliyun.com/pypi/simple/</a> -trusted-host=mirrors.aliyun.com</p>
<p>用这个命令安装，是https，不是http</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">47a4b1560b318cf94a522440791703e0</guid>
				<title>yangbin2590 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15951</link>
				<pubDate>Sun, 13 Jun 2021 03:59:25 +0800</pubDate>

									<content:encoded><![CDATA[<p>能正确安装talib了，但是调用是报错了，是不是numpy版本不对？ tqsdk已经自带了numpy，是不是版本不对？</p>
<p>C:UsersAdministrator&gt;pip install ta-lib<br />
Requirement already satisfied: ta-lib in c:program filespython38libsite-packages (0.4.20)</p>
<p>C:UsersAd [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0c17180695751409f07cfa86fa00ba09</guid>
				<title>yangbin2590 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15914</link>
				<pubDate>Thu, 10 Jun 2021 01:22:08 +0800</pubDate>

									<content:encoded><![CDATA[<p>实盘开了10多个合，经常只有1到2个能连上，重启好几次都连不上啊，怎么办呢</p>
<p> <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/8bacb94ea508f696ad09fb7e2373ac8922f3abec_3905.jpg" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9c683a49858d29e3b546c6e1487bfee4</guid>
				<title>yangbin2590 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=15886</link>
				<pubDate>Wed, 09 Jun 2021 05:58:00 +0800</pubDate>

									<content:encoded><![CDATA[<p>顺带问问2是不是有什么新的功能？升级成2，原来的程序用不用改？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6fdb17e2d86ab93c5613c8e2ba49d2ea</guid>
				<title>yangbin2590 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15883</link>
				<pubDate>Wed, 09 Jun 2021 02:48:48 +0800</pubDate>

									<content:encoded><![CDATA[<p>现在行情里面有没有涨跌幅字段？自己算不准啊，尤其是开盘的时候。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">cf91df4d5a52543ce7125d1e77a3828b</guid>
				<title>yangbin2590 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=15874</link>
				<pubDate>Mon, 07 Jun 2021 03:19:30 +0800</pubDate>

									<content:encoded><![CDATA[<p>如何查看该合约持仓收益，我用如下函数一直显示结果为na,但是回测时能显示收益，谢谢</p>
<p>yingli = position.float_profit_long + position.float_profit_short</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">634ae3b094876e89f2da65e2ae2feaf3</guid>
				<title>yangbin2590 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=14516</link>
				<pubDate>Fri, 25 Dec 2020 16:30:10 +0800</pubDate>

									<content:encoded><![CDATA[<p>if self.state[&#8220;position&#8221;] &gt; 0: # 持多单<br />
# 加仓策略: 如果是多仓且行情最新价在上一次建仓（或者加仓）的基础上又上涨了0.5N，就再加一个Unit的多仓,并且风险度在设定范围内(以防爆仓)<br />
if self.quote.last_price &gt;= self.state[<br />
&#8220;last_price&#8221;] + 0.5 * self.n and self.account.risk_ratio </p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>