Event raised when an order changes.

Namespace:  T4.API
Assembly:  T4API.20 (in T4API.20.dll)

Syntax

C#
public event Position..::.OrderUpdateEventHandler OrderUpdate
Visual Basic (Declaration)
Public Event OrderUpdate As Position..::.OrderUpdateEventHandler
Visual C++
public:
 event Position..::.OrderUpdateEventHandler^ OrderUpdate {
	void add (Position..::.OrderUpdateEventHandler^ value);
	void remove (Position..::.OrderUpdateEventHandler^ value);
}

Remarks

Occurs when an order, or multiple orders, have changed. This could be in response to the orders being submitted, revised or pulled (there will be several updates received for each), or when an order is filled. You will receive these updates regardless of whether this API instance makes the changes to the order, or whether another instance does.

Note: In some rare circumstances (mainly during server disconnects) it is possible to receive the OrderUpdate event for orders that you have not received an OrderAdded event for.

See Also