Skip to content

PendingOrder Property

Summary

The resulting pending order of a trade request.

Signature

1
public PendingOrder PendingOrder {get;}

Return Value

PendingOrder

Declaring Type

cAlgo.API.TradeResult

Examples

1
2
3
4
 TradeResult result = PlaceLimitOrder(TradeType.Sell, Symbol,
                     50000, Symbol.Ask, "myLabel", 10, null);
 if(result.IsSuccessful)
     Print("Order placed. SL: {0}", result.PendingOrder.StopLoss);

Last update: July 1, 2022

Comments