GetPositionAveragePrice: Difference between revisions
From MultiCharts
Dave Masalov (talk | contribs) (→Usage) |
(Undo revision 5011 by Dave Masalov (talk)) |
||
Line 5: | Line 5: | ||
Where: | Where: | ||
: <code>Symbol</code> - the name of the instrument. | |||
: <code>Account</code> - account number at broker. | : <code>Account</code> - account number at broker. | ||
== Example == | == Example == |
Revision as of 15:50, 1 May 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.