GetPositionAveragePrice: Difference between revisions
From MultiCharts
No edit summary |
Dave Masalov (talk | contribs) (→Usage) |
||
Line 2: | Line 2: | ||
== Usage == | == Usage == | ||
<syntaxhighlight>GetPositionAveragePrice(Symbol | <syntaxhighlight>GetPositionAveragePrice(Account, Symbol)</syntaxhighlight> | ||
Where: | Where: | ||
Line 9: | Line 9: | ||
: <code>Account</code> - account number at broker. | : <code>Account</code> - account number at broker. | ||
== Example == | == Example == | ||
Will return a value of 1.3456 if the average entry price for the position, defined by specified account/symbol pair is 1.3456. | Will return a value of 1.3456 if the average entry price for the position, defined by specified account/symbol pair is 1.3456. | ||
[[Category:Accounts & Positions]] | [[Category:Accounts & Positions]] |
Revision as of 14:39, 11 March 2013
Returns average price of the position.
Usage
GetPositionAveragePrice(Account, Symbol)
Where:
Symbol
- the name of the instrument.
Account
- account number at broker.
Example
Will return a value of 1.3456 if the average entry price for the position, defined by specified account/symbol pair is 1.3456.