What order and code for MIT (Market if touched) with a StopLoss

Hello All,

I need to know how to set a “market if touched” order. I haven’t done one of these in a very long time and I’m definitely not sure how to do it on Collective2.

Example:
Stock A is trading at 100. I want to sell 15 shares if it hits 93.50 with a stop loss of 99.50 if the trade is executed. I need the order to be “Good till Cancel.” I am using software to place the order. Please advise on how I need to write this.

Here is my current code.
Questions:

  1. Would orderType = “3”, Side = “2”, and Tif = “1”??

  2. Can I still use a StopLoss OR do I need to have two orders OR do I need to execute the order after the Stop is filled?

     string json = JsonConvert.SerializeObject(new
     {
         Order = new 
         {
             StrategyId = "12345678"
             OrderType = "1",        // orderType - string or null - '1' = Market, '2' = Limit, '3' = Stop
             Side = "1",             // side - string or null - '1' = Buy, '2' = Sell
             OrderQuantity = quantity,
             TIF = "1",              // tif - string or null - The time in force. 0 = Day, 1 = Good Till Cancel(GTC)
             StopLoss = stop,
    
             ExchangeSymbol = new  
                 {
                     Symbol = symbol.ToUpper().Trim(),
                     Currency = "USD",
                     SecurityType = "CS"
                 }
         }
     });