<?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>信易科技用户论坛| cornerman | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/baa8ab9d-8b1a-44e6-bcb8-b44265dcf7fe/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/baa8ab9d-8b1a-44e6-bcb8-b44265dcf7fe/activity/feed/" rel="self" type="application/rss+xml" />
	<description>cornerman的动态信息。</description>
	<lastBuildDate>Fri, 17 Apr 2026 16:16:20 +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">94159f9f38a47a15f06c9977c30965df</guid>
				<title>cornerman 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=20713</link>
				<pubDate>Fri, 31 Dec 2021 23:41:15 +0800</pubDate>

									<content:encoded><![CDATA[<p>klines = api.get_kline_serial(symbol, duration_seconds=60)<br />
target_pos = TargetPosTask(api, symbol)</p>
<p>position = api.get_position()</p>
<p>print(position)<br />
for i, j in position.items():<br />
    print(&#039;合约：&#039;, i, &amp;#039 [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">effb739a011da57f8a2a643673e26245</guid>
				<title>cornerman 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=19905</link>
				<pubDate>Fri, 19 Nov 2021 16:40:34 +0800</pubDate>

									<content:encoded><![CDATA[<p>{&#8216;SHFE.rb2201&#8217;: , D({&#8216;exchange_id&#8217;: &#8216;SHFE&#8217;, &#8216;instrument_id&#8217;: &#8216;rb2201&#8217;, &#8216;pos_long_his&#8217;: 0, &#8216;pos_long_today&#8217;: 0, &#8216;pos_short_his&#8217;: 0, &#8216;pos_short_today&#8217;: 0, &#8216;volume_long_today&#8217;: 0, &#8216;volume_long_his&#8217;: 0, [&hellip;] <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/e1156e3f7d47a9f77c9e85dff7b67f947ab016da_4219.jpg" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">5a7aaa7f2e310cd9aada3f3d3f268ccf</guid>
				<title>cornerman 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=19888</link>
				<pubDate>Tue, 16 Nov 2021 12:03:00 +0800</pubDate>

									<content:encoded><![CDATA[<p>需要C++环境, 看公众号小黎财经 建议直接安装visual studio,选C++模块安装</p>
<p>pip install zigzag</p>
<p>报错安装cython, pip install cython</p>
<p> <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/c28a84422ad022c6b9f781512f4ea7939d6898ee_4219.png" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">5c0e71f1b0c3c3e85d22cfe9d82b3fac</guid>
				<title>cornerman 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=17705</link>
				<pubDate>Sat, 18 Sep 2021 11:23:30 +0800</pubDate>

									<content:encoded><![CDATA[<p>非官方，交流，共同进步，如果多合约的话可以试试这种写法，我自己的异步代码可运行，你可以多加点判断条件啥的，把你的两种止损都加进去，我这里是对价买入，挂止盈价单，如果损失达到止损点，撤单（target_pos自动撤，不需要cancel）挂对价止损<br />
stop_point = *<br />
profit_point = *<br />
def get_price(direction):</p>
<p>    price = quote.last_price  # [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a61ef72b97424cfa413ac6bf00588294</guid>
				<title>cornerman 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=17632</link>
				<pubDate>Thu, 16 Sep 2021 19:30:39 +0800</pubDate>

									<content:encoded><![CDATA[<p>query_symbol_info(symbol: Union[str, List[str]])¶</p>
<p>查询合约信息</p>
<p> 	Args:</p>
<p> 	symbol (str/list of str): 指定合约代码或合约代码列表.</p>
<p> 	str: 一个合约代码<br />
 	list of str: 合约代码列表</p>
<p> 	Returns:<br />
 	pandas.DataFrame: 本函数返回 pand [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9d8fa594ff7e9dba9bb805d4a32e8fca</guid>
				<title>cornerman 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=17476</link>
				<pubDate>Tue, 14 Sep 2021 21:28:10 +0800</pubDate>

									<content:encoded><![CDATA[<p>order == “”是啥？有点迷惑</p>
<p>判断当前无订单，不应该是 if not order 或者 order == {}吗？</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">a4f33978a456b765310d4dee86739dc1</guid>
				<title>cornerman 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=17238</link>
				<pubDate>Sat, 11 Sep 2021 17:58:41 +0800</pubDate>

									<content:encoded><![CDATA[<p>1可以止损下单前判断下当前下单状态、如果有委托单未成交、可以撤单、然后对价止损</p>
<p>2把这两个止损方式打包成一个止损函数、就不存在冲突了</p>
<p>3更改两种止损方式的跳点、避开两种止损方式的重叠区</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">886f357b0b66577861bb8490e8d735c9</guid>
				<title>cornerman 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=17047</link>
				<pubDate>Thu, 26 Aug 2021 10:02:57 +0800</pubDate>

									<content:encoded><![CDATA[<p>个人觉得可能原因：</p>
<p>1订阅K线长度，data_length默认是200，你看看你的是多少</p>
<p>2均线计算原因，如30均线，前30根是没有的</p>
<p>3记得把均线代码，包括画线部分，放入循环里</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2982d72e9264e4b37f71352de8c38e3a</guid>
				<title>cornerman 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=16317</link>
				<pubDate>Sun, 01 Aug 2021 05:01:04 +0800</pubDate>

									<content:encoded><![CDATA[<p>不懂你这个为啥不行，第一个实际上就是tqsim模拟,第二个就是快期3模拟盘，你可以翻一下学习与支持，看一下他们的文档</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">57337119ba7dca1ae9b317ca1cd77b8b</guid>
				<title>cornerman 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=16281</link>
				<pubDate>Wed, 28 Jul 2021 05:37:49 +0800</pubDate>

									<content:encoded><![CDATA[<p>非官方，我是小白，自己是这样写的，可以参考优化下，共同学习</p>
<p>klines_day=api.get_kline_serial(symbol, 60*60*24)</p>
<p>klines_30min=api.get_kline_serial(symbol, 60*30)</p>
<p>def_get_ma(klines):</p>
<p>ma = MA(klines.close, 周期N)</p>
<p>return ma</p>
<p>if api.is_changing(kl [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">e70f0162e885eed86f49989dcbb2d7cb</guid>
				<title>cornerman 提了一个新问题 问题</title>
				<link>https://www.shinnytech.com/?p=16274</link>
				<pubDate>Tue, 27 Jul 2021 14:03:11 +0800</pubDate>

									<content:encoded><![CDATA[<p>图一为问题图示，图二为我模仿的正常的MACD, 图三为画DDI的代码，图四为数据，好奇为什么会这样，谢谢，麻烦您了</p>
<p> <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/bb4f419df4b9c9b0aac59734e87c0fc743786c06_4219.jpg" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7e9082e6c682bee524da6b99f81a48ab</guid>
				<title>cornerman 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=16259</link>
				<pubDate>Sat, 24 Jul 2021 04:04:53 +0800</pubDate>

									<content:encoded><![CDATA[<p>作为小白，我可能会加个变量，判断价格突破轨道，然后判断api.is_changing(klines.iloc[-1],datatime),变量+=1 ………………</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">11534a8021f887f50a4a960785a8259b</guid>
				<title>cornerman 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=16151</link>
				<pubDate>Sun, 11 Jul 2021 13:26:54 +0800</pubDate>

									<content:encoded><![CDATA[<p>trade <img loading="lazy" src="https://www.shinnytech.com/wp-content/uploads/anspress-uploads/c076e10125e9bc15d26687795f8b13dc29b30eb2_4219.jpg" /></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3b4a68efc57f54e79eccaed2faed7614</guid>
				<title>cornerman 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=16149</link>
				<pubDate>Sun, 11 Jul 2021 13:17:06 +0800</pubDate>

									<content:encoded><![CDATA[<p>模拟交易每次下单成交都会有提示的，或者你传入account=TqKq(),再登录快期软件，在快期上也能看到<br />
api = TqApi(account=TqKq(), auth=TqAuth(&#8220;*****&#8221;, &#8220;****&#8221;))</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">6439bc21d8c1094343f4aaf4ffd23f33</guid>
				<title>cornerman 回答了 一个问题</title>
				<link>https://www.shinnytech.com/?p=15972</link>
				<pubDate>Wed, 16 Jun 2021 05:31:55 +0800</pubDate>

									<content:encoded><![CDATA[<p>多试几次吧，这两天遇到报无法创建复盘的次数比较多</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>