+1 888 340 6572

GetPositionOpenPL: Difference between revisions

From MultiCharts
(Created page with " Category:Accounts & Positions")
 
No edit summary
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Returns Open PL value in:
* Symbol currency for Dukascopy (calculated on MultiCharts side)
* Symbol currency for Interactive Brokers (calculated on MultiCharts side)
* Symbol currency for LMAX (calculated on the broker's side)
* Symbol currency for MB Trading (calculated on MultiCharts side)
* Symbol currency for GAIN Capital (ex. Open E Cry) (calculated on the broker's side)
* Symbol currency for Patsystems (calculated on the broker's side)
* Symbol currency for Trading Technologies (calculated on MultiCharts side)
* Symbol currency for Rithmic (calculated on the broker's side)
== Usage ==
<syntaxhighlight>GetPositionOpenPL(Symbol, Account)</syntaxhighlight>
Where:
:'''Symbol''' - the name of the instrument.
:'''Account''' - account number at broker.
== Example ==
Will return 15 if the current value in "Open PL" column in "Order and Position Tracker" window for the account is 15 dollars.


[[Category:Accounts & Positions]]
[[Category:Accounts & Positions]]

Latest revision as of 15:57, 15 March 2017

Returns Open PL value in:

  • Symbol currency for Dukascopy (calculated on MultiCharts side)
  • Symbol currency for Interactive Brokers (calculated on MultiCharts side)
  • Symbol currency for LMAX (calculated on the broker's side)
  • Symbol currency for MB Trading (calculated on MultiCharts side)
  • Symbol currency for GAIN Capital (ex. Open E Cry) (calculated on the broker's side)
  • Symbol currency for Patsystems (calculated on the broker's side)
  • Symbol currency for Trading Technologies (calculated on MultiCharts side)
  • Symbol currency for Rithmic (calculated on the broker's side)

Usage

GetPositionOpenPL(Symbol, Account)

Where:

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

Example

Will return 15 if the current value in "Open PL" column in "Order and Position Tracker" window for the account is 15 dollars.