PendingOrderCreatedEventArgs


Summary

Provides data for the pending order creation events.

Syntax

public class PendingOrderCreatedEventArgs : Object

Members

NameTypeSummary
PendingOrder PropertyGets the pending order that was created.

Example 1

protected override void OnStart()
{
    PendingOrders.Created+= PendingOrdersOnCreated;
    PlaceStopOrder(TradeType.Buy, Symbol, 10000, Symbol.Ask + 10 * Symbol.PipSize)
}
private void PendingOrdersOnCreated(PendingOrderCreatedEventArgsargs)
{
    Print("Pending order with id {0} was created", args.PendingOrder.Id);
}