NexusFi: Find Your Edge


Home Menu

 





limit orders, fill rate, algotrading, backtesting, IOC orders.


Discussion in Emini and Emicro Index

Updated
      Top Posters
    1. looks_one kevinkdog with 2 posts (3 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 snusnufreak with 1 posts (0 thanks)
    4. looks_4 Camdo with 1 posts (0 thanks)
    1. trending_up 4,462 views
    2. thumb_up 9 thanks given
    3. group 4 followers
    1. forum 7 posts
    2. attach_file 0 attachments




 
Search this Thread

limit orders, fill rate, algotrading, backtesting, IOC orders.

  #1 (permalink)
 snusnufreak 
Moscow Russia
 
Experience: Intermediate
Platform: NinjaTrader
Trading: futures
Posts: 127 since Apr 2012
Thanks Given: 44
Thanks Received: 53

Please advise on how to measure and increase one's fill rate of limit orders?

I've recently implemented a relatively high frequency intraday trading strategy (30 -50 trades a day) on e-mini S&P500 futures. During backtest it showed impressive results, however during live trading not all of my orders were filled and performannce deteriorated significantly.

Ofcourse this was a backtesting mistake - I didn't take into account market liquidity and my position in the queue. I learned this the hard way.

I've read that one way to go about this issue is to use good infrastructure and IOC orders, however I do not understand how good infrastructure will increase my fill rate. If i trade e-minis, there is allways around 400 to 500 contracts sitting on each price level during the RTH session, so no matter how fast my execution is (even if its less than 1 msec.) I won't be able to get first in the queue to guaranty my fill as soon as price touches my price level and few trades go off at that level.

So could someone please leaborate on this issue a bit more - how good infrastructure and instant execution may help increase the fill rate? May be someone could point out some research in this field? I would apreciate any info on this matter.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
How to apply profiles
Traders Hideout
Exit Strategy
NinjaTrader
NexusFi Journal Challenge - May 2024
Feedback and Announcements
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
48 thanks
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #3 (permalink)
 
elynt's Avatar
 elynt 
New York, New York
 
Experience: None
Platform: NT
Broker: IB & NT Brokerage
Trading: ES & CL
Posts: 26 since Apr 2014
Thanks Given: 604
Thanks Received: 66



snusnufreak View Post
Please advise on how to measure and increase one's fill rate of limit orders?

So could someone please leaborate on this issue a bit more - how good infrastructure and instant execution may help increase the fill rate? May be someone could point out some research in this field? I would apreciate any info on this matter.


Hello snusnufreak,

This is an issue I ran into a couple months ago with developing a strategy that trades roughly the same number of contracts you are targeting. I can't help you much with picking up execution speeds (you are still bound by FIFO rules), but what helped me was incorporating "anticipation" into my program. Are you calculating on bar close or waiting until a statement is = true before sending your orders? If so, try figuring out what price from the current price would cause your order conditions to return true and place pending orders at those levels. If your orders are unidirectional (you only place buy stops and not also buy limits, for example), there really isn't much of a downside to this approach. Hope this helps.

Reply With Quote
  #4 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,664 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,359

Unfortunately, almost no matter what you do, you likely will not be able to make the strategy profitable. The idea of the previous reply from @elynt - try to anticipate signals and place them sooner - is a neat idea, but even then you'll likely still be joining a big queue (and of course, you will be at the end of the line, albeit shorter one).

One sure way to get your backtest to match real time trading is to change your code (most trading platforms have options to do this) to fill limit orders only when your limit price is exceeded by a tick. Then, in the real world you are guaranteed a fill, and your backtest will match this.

This approach is a little conservative (you will sometimes be filled without exceeding limit price), and your backtest will not show those profitable trades. But then you'll be pleasantly surprised, as opposed to what you have now, where you are unpleasantly surprised.

The downside is that this approach makes developing trading strategies about 100x harder. But it is closer to reality.

Good Luck!

Follow me on Twitter Reply With Quote
  #5 (permalink)
 
Mabi's Avatar
 Mabi 
sweden
 
Experience: Advanced
Platform: NinjaTrader,MetaTrader
Trading: futures, FX
Posts: 141 since Oct 2010
Thanks Given: 121
Thanks Received: 136

I found that market replay give more accurate results ni comparison with live trade then with pure backtesting. Lucky me that i did not just start live on my profiatable backtested, walkforward tested strategies which i found was pure losers in sim and market replay. Something with ninjatraders tick timestamp order is not right.

Reply With Quote
  #6 (permalink)
 Camdo 
Boston, MA / USA
 
Experience: Intermediate
Platform: NinjaTrader
Trading: ES
Posts: 251 since Apr 2013
Thanks Given: 2,698
Thanks Received: 392


kevinkdog View Post
One sure way to get your backtest to match real time trading is to change your code (most trading platforms have options to do this) to fill limit orders only when your limit price is exceeded by a tick.

Is this the same as 1 tick slippage in Ninjatrader backtest user interface parameters?

Reply With Quote
  #7 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,664 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,359


Camdo View Post
Is this the same as 1 tick slippage in Ninjatrader backtest user interface parameters?

I don't know, I do not use Ninja...

Follow me on Twitter Reply With Quote
  #8 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT and Stellar
Broker: Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,049 since Dec 2013
Thanks Given: 4,386
Thanks Received: 10,207

Another strategy, and one employed by lots of market makers, is to enter a ladder of orders, purely to maintain your position in the queue. Then as the price gets to your level you have the option to leave it in and hopefully get a quicker fill, or to remove it, normally changing the price so that it drops to the bottom of your ladder. You will get better fills but you also open yourself up to get filled on orders you do not want in fast markets.

Reply With Quote
Thanked by:




Last Updated on December 14, 2015


© 2024 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 - Privacy Policy - Downloads - Top
no new posts