Skip to content

TradeType Property

Summary

Trade type (Buy/Sell) of the position.

Signature

1
public abstract TradeType TradeType {get;}

Return Value

TradeType

Declaring Type

cAlgo.API.Position

Examples

1
2
 ExecuteMarketOrder(TradeType.Buy, Symbol, 10000, "myLabel", 10,10);
 Print(LastResult.Position.TradeType);

Last update: March 17, 2023