AccountOrderTrade Event

Event raised when an order gets a fill (Update is also raised).

Definition

Namespace: T4.API
Assembly: T4API.47 (in T4API.47.dll) Version: 4.7.0.0 (4.7.68.4)
C#
public event AccountOrderTradeEventHandler OrderTrade

Value

AccountOrderTradeEventHandler

Remarks

Occurs when an order gets filled, either partially or completely. This event will be raised for each fill the order gets so a 10 lot order that gets filled in two 5 lots will receive two OrderFill events, even if the fill prices are the same.

The OrderUpdate event is also called when an order receives a fill.

If an order gets filled while the API is disconnected from the server then you will NOT get an OrderFill event. You either need to check the order details individually or check the Position details.

See Also