﻿<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.hs633.com:8080/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-cn">
		<id>http://wiki.hs633.com:8080/index.php?action=history&amp;feed=atom&amp;title=A_ProfitLoss_%E6%8C%81%E4%BB%93%E7%9B%88%E4%BA%8F</id>
		<title>A ProfitLoss 持仓盈亏 - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.hs633.com:8080/index.php?action=history&amp;feed=atom&amp;title=A_ProfitLoss_%E6%8C%81%E4%BB%93%E7%9B%88%E4%BA%8F"/>
		<link rel="alternate" type="text/html" href="http://wiki.hs633.com:8080/index.php?title=A_ProfitLoss_%E6%8C%81%E4%BB%93%E7%9B%88%E4%BA%8F&amp;action=history"/>
		<updated>2026-04-04T09:48:22Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.19.1</generator>

	<entry>
		<id>http://wiki.hs633.com:8080/index.php?title=A_ProfitLoss_%E6%8C%81%E4%BB%93%E7%9B%88%E4%BA%8F&amp;diff=2060&amp;oldid=prev</id>
		<title>2013年6月19日 (三) 08:48 Foxar</title>
		<link rel="alternate" type="text/html" href="http://wiki.hs633.com:8080/index.php?title=A_ProfitLoss_%E6%8C%81%E4%BB%93%E7%9B%88%E4%BA%8F&amp;diff=2060&amp;oldid=prev"/>
				<updated>2013-06-19T08:48:11Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←上一版本&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;2013年6月19日 (三) 08:48的版本&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第9行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第9行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| 参数数量 || 3&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| 参数数量 || 3&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| 运行模式|| 逐根&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/逐行&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| 运行模式|| 逐根&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| 说明|| 查询当前持仓的盈亏&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| 说明|| 查询当前持仓的盈亏&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Foxar</name></author>	</entry>

	<entry>
		<id>http://wiki.hs633.com:8080/index.php?title=A_ProfitLoss_%E6%8C%81%E4%BB%93%E7%9B%88%E4%BA%8F&amp;diff=1611&amp;oldid=prev</id>
		<title>Fumei: 以“{| class=&quot;wikitable&quot; |- |函数 ||  A_ProfitLoss |- | 别名 || 持仓盈亏 |- | 所属类别|| 交易函数 |- | 参数数量 || 3 |- | 运行模式|| 逐根/逐...”为内容创建页面</title>
		<link rel="alternate" type="text/html" href="http://wiki.hs633.com:8080/index.php?title=A_ProfitLoss_%E6%8C%81%E4%BB%93%E7%9B%88%E4%BA%8F&amp;diff=1611&amp;oldid=prev"/>
				<updated>2013-06-18T06:27:32Z</updated>
		
		<summary type="html">&lt;p&gt;以“{| class=&amp;quot;wikitable&amp;quot; |- |函数 ||  A_ProfitLoss |- | 别名 || 持仓盈亏 |- | 所属类别|| 交易函数 |- | 参数数量 || 3 |- | 运行模式|| 逐根/逐...”为内容创建页面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;最新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|函数 ||  A_ProfitLoss&lt;br /&gt;
|-&lt;br /&gt;
| 别名 || 持仓盈亏&lt;br /&gt;
|-&lt;br /&gt;
| 所属类别|| 交易函数&lt;br /&gt;
|-&lt;br /&gt;
| 参数数量 || 3&lt;br /&gt;
|-&lt;br /&gt;
| 运行模式|| 逐根/逐行&lt;br /&gt;
|-&lt;br /&gt;
| 说明|| 查询当前持仓的盈亏&lt;br /&gt;
|-&lt;br /&gt;
| 用法||语法: &lt;br /&gt;
&lt;br /&gt;
A_ProfitLoss(MP_LONG, 'IF99', ''); &lt;br /&gt;
&lt;br /&gt;
MP: 持仓方向，取 MP_LONG/MP_SHORT/MP_ALL &lt;br /&gt;
&lt;br /&gt;
symbol: 持仓品种，'all'表示全部，''空串表示当前品种 &lt;br /&gt;
&lt;br /&gt;
Pos: 仓位名, 'all'表示全部，''空串表示当前公式 &lt;br /&gt;
&lt;br /&gt;
1. 只能用于实时行情，不能用于历史回测 &lt;br /&gt;
&lt;br /&gt;
2. 使用时不能打开实盘同步 &lt;br /&gt;
&lt;br /&gt;
3. 配合 #Run_Every_Tick 逐笔行情运行 &lt;br /&gt;
&lt;br /&gt;
4. 没有持仓时返回0 &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Fumei</name></author>	</entry>

	</feed>