×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

GetPositionQuantity

485 bytes added, 14:34, 24 February 2012
no edit summary
Returns the size of the position, defined by specified account/symbol pair.
== Usage ==
<syntaxhighlight>GetPositionQuantity(Symbol, Account)</syntaxhighlight>
 
Where:
 
: <code>Symbol</code> - the name of the instrument.
 
: <code>Account</code> - account number at broker.
 
== Example ==
<syntaxhighlight>GetPositionQuantity("ESZ1", "DU12345")</syntaxhighlight> will return a value of 1000 if the size of the position, defined by specified account/symbol pair position is $1000.
[[Category:Accounts & Positions]]