GetPositionQuantity

From MultiCharts
Revision as of 18:19, 3 March 2017 by Angelina (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns the size of the position, defined by specified account/symbol pair.

Usage

GetPositionQuantity(Symbol, Account)

Where:

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

Example

GetPositionQuantity("ESZ1", "DU12345")

will return a value of 1000 if the size of the position, defined by specified account/symbol pair position is $1000.