Backtest fill algorithm - NinjaTrader | futures io social day trading
futures io futures trading


Backtest fill algorithm
Updated: Views / Replies:1,667 / 3
Created: by Koepisch Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Backtest fill algorithm

  #1 (permalink)
Elite Member
@ Germany
 
Futures Experience: Beginner
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: FDAX
 
Posts: 441 since Nov 2011
Thanks: 254 given, 369 received

Backtest fill algorithm

Where can i find some information about the fill algorithm in ninjatrader backtests (slippage at order type?). Because i don't use the integrated backtester i want build a similar fill behavior in my own test suite. Has the integrated backtester bid/ask data too or is it simulated via some "Last" value calculations?

Thanks!

Reply With Quote
 
  #2 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary

Answer
This post has been selected as an answer to the original posters question Answer


Koepisch View Post
Where can i find some information about the fill algorithm in ninjatrader backtests (slippage at order type?). Because i don't use the integrated backtester i want build a similar fill behavior in my own test suite. Has the integrated backtester bid/ask data too or is it simulated via some "Last" value calculations?

Thanks!

The integrated backtest does not use historical bid and ask data. NinjaTrader cannot record synchronized bid and ask with the exception of the market replay files.

Historical data, which is used for backtests always comes as single tick data. That means that you will not get intra-bar fills for market orders. Market orders will be executed at the open price of the following bar. Limit and stop orders will be executed at the limit price or stop price. You can manually add slippage.

For some bar types, such as Renko bars, the backtest produces complete nonsense, because the open of those bar types does not reflect the first tick. The NinjaTrader Renko bars are therefore not backtestable.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #3 (permalink)
Elite Member
Switzerland
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Kinetick, CQG
Favorite Futures: CL, FDAX, Forex
 
Posts: 18 since Jun 2012
Thanks: 23 given, 23 received


Hi Fat Tails,
Thanks for your useful informed answer.
Just wondering whether there is any other platform out there that's better than NinjaTrader for backtesting?
Perhaps MultiCharts?
Mark

Reply With Quote
 
  #4 (permalink)
Elite Member
Manchester, NH
 
Futures Experience: Beginner
Platform: thinkorswim
Broker/Data: TD Ameritrade
Favorite Futures: Stocks
 
Posts: 902 since Jul 2012
Thanks: 603 given, 1,785 received

Answer
This post has been selected as an answer to the original posters question Answer

@Koepisch:

This answer is 1 year late, but I think there's a @DefaultFillType.cs in the NT folder that is responsible for the logic.

Reply With Quote
The following 2 users say Thank You to artemiso for this post:

Reply



futures io > > > > Backtest fill algorithm

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Matlab: Most powerful/flexible data analysis/algorithm development tool? maxplanck Matlab, R project and Python 13 July 24th, 2015 02:09 PM
Fill of Limit Orders MWinfrey Traders Hideout 16 August 9th, 2014 07:40 PM
Rogue algorithm may cause billion dollar damage in 2012 kbit News and Current Events 0 December 1st, 2011 06:58 PM
Is this corrupt data or a horrible fill? grego Beginners and Introductions 8 October 20th, 2010 01:43 AM
Divergence detection algorithm cunparis NinjaTrader Programming 24 April 29th, 2010 03:04 PM


All times are GMT -4. The time now is 07:09 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-16 in 0.09 seconds with 27 queries on phoenix via your IP 54.226.113.250