PositionsCollection CLASS
Gets number of all open positions. SYNTAX public int Count { get; } EXAMPLE using System;
using System.Collections.Generic;
using System.Lin...
Sun, May 13, 2018 at 2:50 PM
Close all positions. Returns an indication whether the positions are closed successfully. SYNTAX public bool CloseAll () RETURN bool true if...
Sun, May 13, 2018 at 2:51 PM
Close all positions by specified account. Returns an indication whether the positions are closed successfully. SYNTAX public bool CloseAllByAccount ...
Sun, May 13, 2018 at 3:18 PM
Returns a closed before Position that represents a access to position objects specified by position ID. SYNTAX public Position GetClosedPositionById...
Sun, May 13, 2018 at 3:20 PM
Gets a Position that represents a access to position object specified by order ID of which this position was opened. SYNTAX public Position GetClose...
Sun, May 13, 2018 at 3:27 PM
Gets a Position that represents a access to position objects specifiedby by position ID. If position does not exist, return null. SYNTAX public Posi...
Sun, May 13, 2018 at 3:31 PM
Gets a Position that represents a access to position objects specified by order ID of which this position was opened. SYNTAX public Position GetPosi...
Sun, May 13, 2018 at 3:39 PM
Returns a collection of all opening positions. Access to the positions can be obtained by index. SYNTAX public Position[] GetPositions () RETURN...
Sun, May 13, 2018 at 3:40 PM
Occurs when the new position was placed (after order execution). Can be used when parameters are changed or position is closed. SYNTAX public event ...
Sun, May 13, 2018 at 3:43 PM
Occurs when the position was closed (by user request or by trade server). SYNTAX public event Action<Position> PositionRemoved EXAMPLE ...
Sun, May 13, 2018 at 3:44 PM