Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy automation: Keep limit order active for several bars in a row (user defined)
Collapse
X
-
Strategy automation: Keep limit order active for several bars in a row (user defined)
For strategy automation it would be very useful to have an option to keep limit orders active for several bars in a row (should be user defineable), so that the limit order maintains its place in the queue and doesn't get cancelled after the bar where the order was generated, but didn't get filled. This gets actual trading results much closer to backtesting results when using limit orders. The order should stay active until the defined "max bars active" setting is reached or a new order with a different price is generated. This feature should be an option (selectable by radio button for example).Tags: None
-
Originally posted by Breed View PostFor strategy automation it would be very useful to have an option to keep limit orders active for several bars in a row (should be user defineable), so that the limit order maintains its place in the queue and doesn't get cancelled after the bar where the order was generated, but didn't get filled. This gets actual trading results much closer to backtesting results when using limit orders. The order should stay active until the defined "max bars active" setting is reached or a new order with a different price is generated. This feature should be an option (selectable by radio button for example).
-
Welcome to the forums here breed and thanks for sharing this enhancement suggestion - I've added it under id 2237 to our trackings done in product management.
As koganam kindly stated, orders are available to get set 'live until cancelled' overriding the default NT behavior to expire at the next bar update. However it would be then up to your code to CancelOrder() these as needed.
When using NinjaTrader's Enter() and Exit() methods, the default behavior is to automatically expire them at the end of a bar unless they are resubmitted to keep them alive. Sometimes you may want more flexibility in this behavior and wish to submit orders as live-until-cancelled. When orders are submitted as live-untilBertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by AttiM, 02-14-2024, 05:20 PM
|
12 responses
211 views
0 likes
|
Last Post
by DrakeiJosh
Today, 11:17 AM
|
||
Started by cre8able, 02-11-2023, 05:43 PM
|
3 responses
236 views
0 likes
|
Last Post
by rhubear
Today, 10:46 AM
|
||
Started by frslvr, 04-11-2024, 07:26 AM
|
8 responses
114 views
1 like
|
Last Post Today, 10:30 AM | ||
Started by stafe, 04-15-2024, 08:34 PM
|
10 responses
47 views
0 likes
|
Last Post
by stafe
Today, 10:29 AM
|
||
Started by rocketman7, Today, 09:41 AM
|
3 responses
11 views
0 likes
|
Last Post Today, 10:07 AM |
Comment