Difference between revisions of "GetPositionAveragePrice"

From MultiCharts
Jump to navigation Jump to search
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.
 
: <code>Account</code> - account number at broker.
 
  
 
== 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.