Created


Summary

Occurs when pending order is created

Syntax

public event Action Created

Example 1

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