GetPositionAveragePrice: Difference between revisions
From MultiCharts
No edit summary |
No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
== Usage == | == Usage == | ||
<syntaxhighlight>GetPositionAveragePrice(Symbol, Account)</syntaxhighlight> | <syntaxhighlight>GetPositionAveragePrice(Symbol,Account)</syntaxhighlight> | ||
Where: | Where: | ||
: | :'''Symbol''' - the name of the instrument. | ||
:'''Account''' - 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]] |
Latest revision as of 18:16, 3 March 2017
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.