Skip to content

TradeType Property

Summary

Specifies whether this order is to buy or sell.

Signature

1
public abstract TradeType TradeType {get;}

Return Value

TradeType

Declaring Type

cAlgo.API.PendingOrder

Examples

1
2
 PlaceLimitOrder(TradeType.Buy, Symbol, 10000, targetPrice);
 Print(LastResult.PendingOrder.TradeType);

Last update: January 30, 2023