Difference between revisions of "GetPositionAveragePrice"
Jump to navigation
Jump to search
(Created page with " Category:Accounts & Positions") |
|||
Line 1: | Line 1: | ||
+ | Returns average price of the position. | ||
+ | |||
+ | == Usage == | ||
+ | <syntaxhighlight>GetPositionAveragePrice(Symbol, Account)</syntaxhighlight> | ||
+ | |||
+ | Where: | ||
+ | |||
+ | : <code>Symbol</code> - the name of the instrument. | ||
+ | |||
+ | : <code>Account</code> - 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. | ||
[[Category:Accounts & Positions]] | [[Category:Accounts & Positions]] |
Revision as of 14:28, 24 February 2012
Returns average price of the position.
Usage
GetPositionAveragePrice(Symbol, Account)
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.