OrdersCollection CLASS

Count PROPERTY (int)
Returns number of all open orders. SYNTAX public int Count { get; } EXAMPLE using System; using System.Collections.Generic; using System....
Sun, May 13, 2018 at 2:01 PM
SLTPCount PROPERTY (int)
Return number of all open Stop Loss and Take Profit orders. SYNTAX public int SLTPCount { get; } EXAMPLE using System; using System.Collec...
Sun, May 13, 2018 at 2:02 PM
CancelAll () METHOD (Return: bool)
Cancel all orders. Returns an indication whether the orders are canceled successfully. SYNTAX public bool CancelAll () RETURN bool true if a...
Sun, May 13, 2018 at 2:04 PM
CancelAllByAccount (Account account) METHOD (Return: bool)
Cancel all orders by specified account. Returns an indication whether the orders are canceled successfully. SYNTAX public bool CancelAllByAccount (A...
Sun, May 13, 2018 at 2:06 PM
GetOrderById (string orderId) METHOD (Return: Order)
Returns an Order that represents the access to order objects specifiedby by order ID. SYNTAX public Order GetOrderById (string orderId) PARAMETE...
Sun, May 13, 2018 at 2:11 PM
GetOrders (bool addSLTP) METHOD (Return: Order[])
Gets a collection of all opening orders. Access to the orders can be obtained by index. SYNTAX public Order[] GetOrders (bool addSLTP) PARAMETERS ...
Sun, May 13, 2018 at 2:13 PM
GetRemoveOrderById (string orderId) METHOD (Return: Order)
Returns a executed or canceled Order that represents a access to order objects specified by order ID. SYNTAX public Order GetRemoveOrderById (string...
Sun, May 13, 2018 at 2:16 PM
Send (NewOrderRequest request) METHOD (Return: string)
Sends trading order. SYNTAX public string Send (NewOrderRequest request) PARAMETERS request — NewOrderRequest Request for open new order. RE...
Sun, May 13, 2018 at 2:18 PM
SendAsync (NewOrderRequest request, Action<string> callback) METHOD (Return: bool)
Sends trading order asynchronously. SYNTAX public bool SendAsync (NewOrderRequest request,Action<string> callback) PARAMETERS request — ...
Sun, May 13, 2018 at 2:21 PM
OrderAdded EVENT
The event at which the new order was placed. SYNTAX public event Action<Order> OrderAdded EXAMPLE using System; using System.Collect...
Sun, May 13, 2018 at 2:46 PM