+1 888 340 6572

GetPositionTotalCost

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Calculated with the following formula:

PTC (Position Total Cost) = AEP (Average Entry Price) x TMP (Total Market Position)

Usage

GetPositionTotalCost(Symbol, Account)

Where:

Symbol - the name of the instrument.
Account - account number at broker.

Example

GetPositionTotalCost("ESZ1", "DU12345")

will return total position cost for ESZ1 on account DU1234.