![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Jul 2008
Posts: 67
Thanks: 0
Thanked 0 times in 0 posts
|
Hi there,
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 |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
|
1. I believe it will cancel on partial fill if the order is not resubmitted. I will double check this and if I am correct, I will not reply with a corrected response.
2. A new sample is on our short list. Could you post exactly what you want your strategy to do with respect to entries/exits. If feasible, maybe we can model our reference sample on this.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Jul 2008
Posts: 67
Thanks: 0
Thanked 0 times in 0 posts
|
the sample that you have for the onorderupdate is fine... making sure that my target and stops will be updated with the right quanteties as soon as I am getting partial fill. however when I am having to manage my target limit orders with exitlonglimit I might get partial fills, in this case, I want to make sure that my stop quantity will be reduces in line with my real market position.
that's the simplest way to explain it. my strategy is more complicated, but I don't think you should follow what I am trying to do, as it is just the concept of partial fills that I am not sure how to address. let me know if you want a more specific definition. thx Nir |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Partial Fills | SystemTrading | Miscellaneous Support | 1 | 08-20-2008 08:43 AM |
| Partial Fills | Harry | ATM Strategies (Discretionary Trading) | 5 | 02-26-2008 06:25 AM |
| Partial fills do not have strategy entered. | MikeB | ATM Strategies (Discretionary Trading) | 8 | 02-06-2007 03:02 PM |
| Partial fills and disconnects | TraderTony | Miscellaneous Support | 3 | 04-12-2006 01:03 AM |
| Time in force and partial fills | Up | Suggestions And Feedback | 2 | 03-25-2005 08:40 AM |