![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Dec 2008
Posts: 26
Thanks: 0
Thanked 0 times in 0 posts
|
Hi!
Right now I have NOT tested my current strategy to handle multiple contracts. My I ask how should any strategy that you have written for you own clients handles this? For example, if at price 8301, only 2 out of 5 contracts filled, HOW will those 3 unfilled contracts be managed? My expected result is any unfilled contracts will continue to get filled ONLY IF the trade has NOT reached TP or SL. >J |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
ninjaq,
The orders will continue to be filled as long as that entry order is still active. Even if stop/targets start hitting, if that entry order is still active it will continue. You need to explicitly cancel that entry order (whether that is using CancelOrder() or just letting the order expire by not resubmitting) for it to stop filling.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cancel unfilled Auto order not working ..need help | pdawg | Strategy Development | 21 | 04-15-2013 05:52 AM |
| Tradestation DLL Unfilled or Partial Fill Handling Question | geoMEAN | Automated Trading | 8 | 12-31-2008 03:08 PM |
| nj freezing | blkbird | General Programming | 3 | 11-12-2008 10:25 AM |
| Remove Old NJ version | AllanH | Installation and Licensing | 7 | 11-16-2007 07:30 PM |
| re-subscribe to NJ | Novicetrader | Miscellaneous Support | 1 | 10-08-2007 01:09 PM |