NexusFi: Find Your Edge


Home Menu

 





Market Replay Fill Question (Enforce Immediate Fills checked vs. unchecked)


Discussion in NinjaTrader

Updated
    1. trending_up 2,586 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 iantg 
charlotte nc
 
Experience: Advanced
Platform: My Own System
Posts: 409 since Jan 2015
Thanks Given: 91
Thanks Received: 1,154

Greetings all,

I have been running through several years of backtesting market replay in ninja trader 7. I have ran into a bit of a moral dellima with one of the critical settings (Enforce Immediate Fills). This seems to either extremely overstate or extremely understate limit orders depending on which is checked. My research has let me to believe that if checked it will simulate fills on price touch, but if unchecked it will only simulate fills on price pass-through. I doubt that the real market is this black and white but rather grey, and I also would imagine that proximity to the exchanges would dictate immediate fills to a point. So with all this in mind, my question is: Would buying a server a few blocks from the exchange get me closer to (price touch / enforce immediate fills), or is the market going to be a mix of both price touch and price pass-through either way? I like to trade emini futures so any of them would apply in this scenario. If anyone has any experience with limit orders in real trading and can speak to ninja traders fill algorithms this would be greatly appreciated.


Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
$12M Ceasefire Contract Goes Disputed as Bandar Abbas St …
Prediction Markets & Event Contracts
GDP Day: The First Economic Reckoning -- Pahlavi at 6.55 …
Prediction Markets & Event Contracts
Hormuz Completely Closed: US Strikes Day 2, Iran Shoots …
Traders Hideout
UMA Votes Tonight: Polymarkets $80M Strategy Bitcoin Bat …
Prediction Markets & Event Contracts
Iran Fired a Missile at Israel Last Night. The $8M June …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
 iantg 
charlotte nc
 
Experience: Advanced
Platform: My Own System
Posts: 409 since Jan 2015
Thanks Given: 91
Thanks Received: 1,154

So let me just update this by saying I have found a way to get better fills...... There called resting limit orders.

Still wondering about the server at the exchange. I bought one recently but haven't traded live with it yet. I figure it would make an impact though. .... We'll see.


Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #3 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 6,270 since Sep 2015
Thanks Given: 15,955
Thanks Received: 16,192



iantg View Post
So let me just update this by saying I have found a way to get better fills...... There called resting limit orders.

Still wondering about the server at the exchange. I bought one recently but haven't traded live with it yet. I figure it would make an impact though. .... We'll see.

Hi there iantg

Since I'm having an issue similar to the one you posted about, I wanted to clarify: are you saying that you found something called 'resting limit orders', and these are different from 'limit orders'?


Reply With Quote
  #4 (permalink)
 iantg 
charlotte nc
 
Experience: Advanced
Platform: My Own System
Posts: 409 since Jan 2015
Thanks Given: 91
Thanks Received: 1,154

Hi xplorer. Thanks for reaching out. I am happy to explain further what I mean by resting limit orders. These are technically just regular limit orders, but in algorithmic trading a resting limit order implies that they stay in place beyond the standard "On Bar Update" event. In NT you can program a trading strategy where on each bar update, the algorythm performs X,Y, or Z. And on each bar update it will re-run the code. If you place a new limit order on each bar update event, then you will always be later in the queue. But if you place a resting limit order. I.E: After you initially place the order, on future bar update events, you don't kill it and replace it with a new order... You will have a significantly better position in the queue and a higher likelihood of getting a fill that does not require a price pass-through. Resting limit orders are typically placed considerably farther away from the current price, and you just hang out there for 10-20 bars depending. If and when the price moves your way, you will have a better position vs, trying to get a fill 1-2 ticks away from the current price on every new bar update. Hope this helps a little.

I did read your original question on your post, and I may have some insight about 7 vs. 8 with regard to the fill algorythm. In addition to the enforce immediate fills and enforce partial fills, there is also a fill limit orders on touch option in 8. I am not too sure about discretionary trading, but for algo trading this is something you can turn off and on in your code. From what I understand and have seen both 7 and 8 are fairly similar in their treatment of limit orders under the same settings. The difference is that market events in 7 are recorded and played by each second, and in 8 they are recorded as granular as the actual market events occurred. So in theory 8 would have more granularity and could produce different results, but i wouldn't expect this to have more than a small difference overall.

If there is anything else I could potentially help you with let me know.

Ian


Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #5 (permalink)
 
xplorer's Avatar
 xplorer 
London UK
Site Moderator
 
Experience: Beginner
Platform: CQG
Broker: S5
Trading: Futures
Posts: 6,270 since Sep 2015
Thanks Given: 15,955
Thanks Received: 16,192

Ok many thanks for taking the time to reply @iantg


Reply With Quote
  #6 (permalink)
firstlast
louisville kentucky us
 
Posts: 3 since Jul 2017
Thanks Given: 0
Thanks Received: 6

If your new to all of this and searching this topic for clarification,

DO NOT *REPEAT* DO NOT check this button!

It is not for you!

It is as far away from real world as you can get!

In the real world you &your order will sit there @ market price, looking stupid for a long time before it is filled.

Just saying.....

Not that this happened to me or anything.


Reply With Quote
Thanked by:




Last Updated on August 12, 2017


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts