Difference between revisions of "GetPositionAveragePrice"
Jump to navigation
Jump to search
Dave Masalov (talk | contribs) (→Usage) |
Dave Masalov (talk | contribs) (→Usage) |
||
Line 5: | Line 5: | ||
Where: | Where: | ||
+ | |||
+ | : <code>Account</code> - account number at broker. | ||
: <code>Symbol</code> - the name of the instrument. | : <code>Symbol</code> - the name of the instrument. | ||
− | |||
− | |||
== Example == | == Example == |
Revision as of 14:41, 11 March 2013
Returns average price of the position.
Usage
GetPositionAveragePrice(Account, Symbol)
Where:
Account
- account number at broker.
Symbol
- the name of the instrument.
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.