If I have a strategy that inputs orders into the ATM Strategy and I have Simulated Order selected in the DOM will the stop orders that are being submitted be Simulated Stops? If not is there code that I can write into my Strategy to make it submit Simulated Stops or Simulated Stop Limit orders into the ATM Strategy? Also, what is the difference between a Stop and a Stop Limit order coded in a strategy?
In a separate question, not in reference to the Simulated Stop, what is the best way to make sure that the Stop order submitted by the strategy only fills at the exact price? I don't want a market order or any slippage. I would rather it just fail to submit if it can't fill at the exact price. Below is a sample of the code I am talking about with one being just a Stop and the second being a Stop Limit with the Limit set at the same:
1. AtmStrategyCreate(Cbi.OrderAction.Buy, OrderType.Stop, 0, High[0]+ 5 *
TickSize,TimeInForce.Day, orderId, "AtmStrategyTemplate", atmStrategyId);
2. AtmStrategyCreate(Cbi.OrderAction.Buy, OrderType.Stop, High[0]+ 5 *
TickSize, High[0]+ 5 * TickSize,TimeInForce.Day, orderId, "AtmStrategyTemplate", atmStrategyId);
I hope I am making sense. Thanks for your help.

Comment