usingcAlgo.API;namespacecAlgo.Robots{// This sample cBot shows how to use the TradeType// TradeType is used to set an order trade side or direction[Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]publicclassTradeTypeSample:Robot{[Parameter("Trade Type", DefaultValue = TradeType.Buy)]publicTradeTypeTradeType{get;set;}protectedoverridevoidOnStart(){ExecuteMarketOrder(TradeType,SymbolName,Symbol.VolumeInUnitsMin);}}}