TradeType


Summary

Trade type (Buy/Sell) of the position.

Syntax

public TradeType TradeType{ get; }

Example 1

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