Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
unsolicited "Fill Limit Orders on Touch" behavior
Collapse
X
-
unsolicited "Fill Limit Orders on Touch" behavior
"Fill Limit Orders on Touch" is not enabled in my strategy (set to False in my script and also unchecked in the strategy properties box). Yet, my strategy is filling limit orders on touch. It was working correctly yesterday afternoon, no changes have been made on my end, but last night and this morning it is demonstrating this behavior. I am testing my strategy in Market Replay playback and this unsolicited behavior results in a significant P&L difference. Has anyone encountered and/or resolved this type of issue? Thanks...Tags: None
-
Hello pkr75, thanks for your question.
This setting ties into the historical backfill algorithm described here:
https://ninjatrader.com/support/help...fill_logic.htm
When not enabled, the step in this algorithm will be ignored. If you want to simulate some slippage for bars that can support the number of slippage ticks, enter a value into the "Slippage" field.
Kind regards,
-ChrisLChris L.NinjaTrader Customer Service
-
Thank you for the quick response Chris. I am familiar with the link that you referenced related to the mechanics of the historical backfill algo. In my particular case, I am using Market Replay playback and "Fill limit order on touch" is not enabled. So I am not sure why my limit orders are being filled on touch. Other than State.SetDefaults and the strategy properties box, is there any other place where this property may have been accidentally enabled?
Comment
-
Hello pkr75, thanks for your reply.
No, there is no other way this can be enabled for a strategy instance. With this property disabled the historical fill algorithm is being used normally. Try adding a higher resolution fill series for more accurate order fill estimation. Set Order Fill Resolution to High, then choose a smaller period series to fill orders upon (1 tick being the smallest possible series).
Kind regards,
-ChrisLChris L.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by XXtrader, Yesterday, 11:30 PM
|
2 responses
11 views
0 likes
|
Last Post
by XXtrader
Today, 03:07 AM
|
||
Started by Waxavi, Today, 02:10 AM
|
0 responses
6 views
0 likes
|
Last Post
by Waxavi
Today, 02:10 AM
|
||
Started by TradeForge, Today, 02:09 AM
|
0 responses
11 views
0 likes
|
Last Post
by TradeForge
Today, 02:09 AM
|
||
Started by Waxavi, Today, 02:00 AM
|
0 responses
2 views
0 likes
|
Last Post
by Waxavi
Today, 02:00 AM
|
||
Started by elirion, Today, 01:36 AM
|
0 responses
7 views
0 likes
|
Last Post
by elirion
Today, 01:36 AM
|
Comment