Orders Class

Defines the structure for an object that represents a collection of Order objects.  

Namespace: tsdata.trading

Properties

   Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

  Name Type Description
Public property Count int Gets the total number of Orders objects present in the current instance.
Public property Order[index] object Gets the Order object associated with the specified index.
Public property Order[orderID] object Gets the Order object based on the specified OrderID string.
Public property TryOrder[orderID] object Gets the Order object based the specified OrderID string, if available, otherwise returns a null.
Methods
  Name Description
Public property Contains(ord)

True if the specified Order object (ord) is contained in the collection.

Public property Contains(orderID)

True if an Order with the specified orderID string is contained in the collection.

Events
  Name Description
 Public event Updated Occurs whenever the Order object is updated. See OrderUpdatedEventArgs for the properties returned by the handler's args parameters.
Inheritance Hierarchy

elsystem.Object

tsdata.trading.Orders