With the ATM automation, as I understand it and have seen when an order is placed we can have a stop loss order entered based on the new order fill. Simple enough. The stop loss order has a default of 20 ticks limit. This can be overridden in the DOM and Chart by changing the "Use stop market for stop loss orders" to True. Again, fairly straight forward.
My question is, if I initiate an order through a TradeStation link, how can I achieve this same handling of using stop market orders instead of stop limit orders?
For example a long position may be initiated with:
Success = NTCommand("PLACE","Sim101","BUY",1,"MARKET",0,0,"GTC","",OrderID,"ScalperExitStrategies","ScalperATM");
Thanks
Comment