ThePatientOne
05-22-2007, 02:18 PM
When using the NTChange() function, is it possible to just adjust the limit price and leave the contract quantity alone (perhaps by entering 0 for quantity)?
NinjaTrader_Ray
05-22-2007, 02:27 PM
Yes, you can pass in zero and it will be ignored.
geoMEAN
11-06-2009, 04:42 PM
Similarly, if I want to change the stop price on a stop order but not the quantity do I set the quantity AND limit price to 0?
E.g. Tradestation code:
NTChange(orderID, Quantity, LimitPrice, newStopPrice);
....
NTChange(123456, 0, 0, 850.50);
Thank you!
NinjaTrader_Ray
11-07-2009, 12:40 PM
Pass in zero (0) values for items you do not wish to change.