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....
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...
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...
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...
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...
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 ...
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...
Send (NewOrderRequest request) METHOD (Return: string)
Sends trading order. SYNTAX public string Send (NewOrderRequest request) PARAMETERS request — NewOrderRequest Request for open new order. RE...
SendAsync (NewOrderRequest request, Action<string> callback) METHOD (Return: bool)
Sends trading order asynchronously. SYNTAX public bool SendAsync (NewOrderRequest request,Action<string> callback) PARAMETERS request — ...
OrderAdded EVENT
The event at which the new order was placed. SYNTAX public event Action<Order> OrderAdded EXAMPLE using System; using System.Collect...