PendingOrderModifiedEventArgs
Summary
Provides data for the pending order modification event.
Signature
| public class PendingOrderModifiedEventArgs
|
Namespace
cAlgo.API
Examples
| protected override void OnStart()
{
PendingOrders.Modified += PendingOrdersOnModified;
var result = PlaceStopOrder(TradeType.Buy, Symbol, 10000, Symbol.Ask + 10 * Symbol.PipSize);
ModifyPendingOrder(result.PendingOrder, Symbol.Ask + 20 * Symbol.PipSize ,null, null, null);
}
private void PendingOrdersOnModified(PendingOrderModifiedEventArgs args)
{
Print("Pending order with id {0} was modifed", args.PendingOrder.Id);
}
|
See Also
Properties
PendingOrder
Summary
Gets the pending order that was modified.
Signature
| public PendingOrder PendingOrder {get;}
|
Return Value
PendingOrder