CancelPendingOrderAsync


Summary

Cancel a Pending Order in asynchronous execution mode

Syntax

public TradeOperation CancelPendingOrderAsync(PendingOrder pendingOrder, [optional] Action callback)

Parameters

NameDescription

Example 1

if (PendingOrders.Count > 0)           
{
    var pendingOrder = PendingOrders[0];
    CancelPendingOrderAsync(pendingOrder);
}