<?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>信易科技用户论坛| eric2019 | 动态</title>
	<link>https://forum.shinnytech.com/%e6%88%90%e5%91%98/7f055137-dcb3-4cc9-bd93-47993a9a9b7c/activity/</link>
	<atom:link href="https://forum.shinnytech.com/%e6%88%90%e5%91%98/7f055137-dcb3-4cc9-bd93-47993a9a9b7c/activity/feed/" rel="self" type="application/rss+xml" />
	<description>eric2019的动态信息。</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">2152e6c51531a4eb9643164ccc4edbbc</guid>
				<title>eric2019 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=25158</link>
				<pubDate>Sun, 23 Jun 2024 07:29:31 +0800</pubDate>

									<content:encoded><![CDATA[<p> 	回测模式下，撮合成交规则为对价成交. 即限价单的价格达到对手盘价格时判定为成交. 不会出现委托单部分成交的情况。<br />
 	回测模式下，如果订阅是K线不是tick，盘口数据是按照“由收盘价分别加/减一个最小变动单位”生成的。可能与实盘模拟的真实盘口数据不同。</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">417832a307e6b5b5c692314bae5f3c1f</guid>
				<title>eric2019 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=25156</link>
				<pubDate>Sat, 22 Jun 2024 02:29:21 +0800</pubDate>

									<content:encoded><![CDATA[<p>程序设计时，使用insert_order后，经常会再判断下单一段时间后仍未成交，即撤单再重新下单。</p>
<p>这时一般会使用当前时间与order.insert_date_time的差来判断过了多久。</p>
<p>但如果order.insert_date_time的值为0，那么程序就会认为已经下单很久还没有成交，造成重复下单的问题。</p>
<p>这个坑一定需要避开。</p>
<p>order.insert_date_time值为0，是因为交易所还没有“确认”该笔or [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">954a3f434a92d1440e8f6c24e9687bd1</guid>
				<title>eric2019 提了一个新问题 问题</title>
				<link>https://forum.shinnytech.com/?p=25150</link>
				<pubDate>Sun, 16 Jun 2024 08:15:01 +0800</pubDate>

									<content:encoded><![CDATA[<p>天勤每天盘后会关闭api。程序重启后，如何保持变量值的一致性呢？</p>
<p>这里摸索一个保存为csv文件的方法供参考，详细拆解为七步：</p>
<p>第一步：定义函数</p>
<p>def save_variables_to_csv(variables, filename=&#039;D:&#8230;&#8230;..saved_variables.csv&#039;):<br />
df = pd.DataFrame(variables).tran [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">c7645bc7ef1fb9755bcc382fae14dd4f</guid>
				<title>eric2019 回答了 一个问题</title>
				<link>https://forum.shinnytech.com/?p=24947</link>
				<pubDate>Wed, 27 Mar 2024 10:57:16 +0800</pubDate>

									<content:encoded><![CDATA[<p>from datetime import datetime, timedelta<br />
from tqsdk import &#8230;..<br />
 # 初始化API<br />
api = TqApi(&#8230;.)<br />
 # 订阅15分钟K线数据<br />
klines = api.get_kline_serial(&#8220;SHFE.rb2405&#8221;, 15*60)<br />
 while True:<br />
    api.wait_upd [&hellip;]</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>