![]() |
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Nov 2008
Posts: 576
Thanks: 0
Thanked 1 time in 1 post
|
Hi,
I'm working through some issues in my new code... I'm not sure exactly what I'm looking for yet. But first, I've noticed that "cancel strategy orders on strategy termination" doesn't seem to work with orders submitted on secondary bars. Just add a second Bar, place a order on both, and then terminate the strategy. Order on the primary/original bar is canceled, but not the other orders. Is this known behavior? Any suggestion for getting around it? |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Hello Heech,
It's working OK here on latest NinjaTrader 7 beta 22. What version are you testing this on?
Ryan M
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Nov 2008
Posts: 576
Thanks: 0
Thanked 1 time in 1 post
|
Sorry, should've mentioned. I'm still on 6.5.1000.17.
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Hi Heech,
I can see the same thing in version 6.5 Using the same script everything works as expected - both orders are cancelled. Unfortunately this isn't something that's likely to be resolved in 6.5, but should work for you in version 7.
Ryan M
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Flatten everything orders not counting towards "real time" Strategy performance | masafi | Version 7 Beta General Questions & Bug Reports | 4 | 02-02-2010 01:26 PM |
| summary of "strategy realized" is not equal "account performance, total net profit"" | Fragolino | Miscellaneous Support | 1 | 02-19-2009 04:12 AM |
| Add to ATM Strategy "Trailing "Limit"" | shawnj | Suggestions And Feedback | 2 | 10-10-2008 08:01 PM |
| "'OrderRejected'. Strategy has sent cancel requests" & "There is no market data..." | Elliott Wave | Strategy Development | 6 | 04-12-2008 12:03 AM |
| Strategy ATM "No Outstanding Orders" Check | whitmark | Strategy Development | 5 | 07-23-2007 01:59 PM |