I have several questions regarding the behaviour of Ninja in a case of partial fills with limit orders.
1. if I have a limit order that last only one bar, I am getting a partial fill, what will happen at the end of the bar, the rest of the order will be cancelled or left at the market? for how long if it stays. is there any option to force a cancel?
2. I am sending stops and limits per your sample of order update method. what happen with partial fills on the exit signal??? if I am getting partial fill on my target, how could I make sure that I reducing the stop quantity number as well?. when I am trying to control it via the on execution method, I am running into conflicts, as updating the stop quantities taking more time than sometimes to get the rest of the fill... and than the startegy loosing sync with the real market position.
could you please publish a sample of how best to manage the exit part of the trade, similar to the entry? should I include a delay before updating the stop quantety? if yes whats the best way to include a delay into the code?
thx
Nir

Comment