NinjaTrader 7 Continuous Contracts - NinjaTrader | futures.io
futures io futures trading


NinjaTrader 7 Continuous Contracts
Started: by grausch Views / Replies:303 / 2
Last Reply: Attachments:0

Welcome to futures io.

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • 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, and we will never resell your private information.

-- Big Mike

Reply
 
Thread Tools Search this Thread
 

NinjaTrader 7 Continuous Contracts

  #1 (permalink)
Elite Member
Luxembourg, Luxembourg
 
Futures Experience: Advanced
Platform: TWS
Broker/Data: Interactive Brokers
Favorite Futures: Stocks
 
Posts: 483 since May 2012
Thanks: 1,602 given, 1,079 received

NinjaTrader 7 Continuous Contracts

Hi,

I am busy looking at backtesting certain strategies in NinjaTrader and I could not find any reference to how historical prices are handled within Ninja.

I am using DTN IQ data, and based on the historical data manager, it looks like the data for each contract (I have gone back to 2011) is shown with actual prices. I am planning on backtesting over longer periods, so I would need either a) continuous contracts to avoid the roll-over gaps (preferred method), or b) a method to identify when the contract has changed from the older to a newer contract.

Would appreciate it if someone can provide some insight into whether NinjaTrader can create a continuous contract from all of the DTN data, or if DTN already has this in their database. If DTN already has this in their database, how would I load this into Ninja?

Thanks in advance.

Reply With Quote
 
  #2 (permalink)
Elite Member
Omer עומר / Israel י
 
Futures Experience: Master
Platform: NinjaTrader, Proprietary,
Broker/Data: Ninjabrokerage/IQfeed + Synthetic datafeed
Favorite Futures: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
 
rleplae's Avatar
 
Posts: 1,833 since Sep 2013
Thanks: 1,310 given, 2,758 received
Forum Reputation: Legendary


grausch View Post
Hi,

I am busy looking at backtesting certain strategies in NinjaTrader and I could not find any reference to how historical prices are handled within Ninja.

This is probably what you are looking for :


Quoting 
Yes, this is as expected. NinjaTrader merges data automatically when you request historical data that spans multiple expiries (depending on the 'Merge policy' setting). Go to Control Center-->Tools-->Instrument Manager, highlight an instrument and click Edit. Check what setting is used for 'Merge policy'.

If enabled and you request historical data that spans across multiple expiries, it will automatically merge data from previous expiries in the chart. It will be merged as per the rollover dates that are setup.

If disabled (DoNotMerge) you will only load historical data for the expiry in question.

You can check the rollover date as follows. Please go to Control Center-->Tools-->Instrument Manager. Highlight an instrument in the 'Available master instruments' section and click Edit once more.

Subsequently select the Misc-tab and scroll to the bottom. Select the 'Contract months' row and click the '...' button that appears. Select an expiry month and you will see a rollover date listed. You can change the rollover date if you like.

For example, the ES 06-13 expiry is using a rollover date of 3/7/2013. This means historical data before this date will be loaded from the 03-13 expiry and so on.

If you like to load continuous data, you will need to use the ##-## expiry. So highlight the ES and set Expiry to ##-## in the Instrument Manager and click the arrow pointing to the left.


Reply With Quote
The following user says Thank You to rleplae for this post:
 
  #3 (permalink)
Elite Member
Luxembourg, Luxembourg
 
Futures Experience: Advanced
Platform: TWS
Broker/Data: Interactive Brokers
Favorite Futures: Stocks
 
Posts: 483 since May 2012
Thanks: 1,602 given, 1,079 received


@rleplae,

Thank you - Using ##-## creates a contract that look to be continuous.

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

Reply



futures io > > > > NinjaTrader 7 Continuous Contracts

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Spring Grains Outlook w/Sean Lusk @ Walsh Trading

Elite only

FIO Video Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

April

Process above all else w/Anthony Crudele @ Futures Radio Show

Elite only

Machine Learning - Quantitative Trading w/Martin Froehler @ Quantiacs

Elite only

Market Dynamics w/Peter Davies @ Jigsaw Trading

Elite only

Ask Me Anything w/Patrick Rooney @ Trading Technologies

Apr 18

Ask Me Anything w/FuturesTrader71

Apr 19

Machine Learning w/Kris Longmore

Elite only

Market Analysis w/Dave Forss

Apr 25

Introducing iSystems with Stage 5 Trading

Apr 27
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Continuous Futures Contracts steve2222 Terms (Glossary) 0 July 4th, 2016 03:05 AM
Continuous Contracts steve2222 Terms (Glossary) 0 July 4th, 2016 03:04 AM
Back-adjusted, Continuous contracts - best for support and resistance? Big Mike Traders Hideout 23 September 1st, 2015 12:51 PM
continuous futures contracts br8080 Traders Hideout 3 April 15th, 2015 04:26 PM
Sierra Chart continuous contracts Big Mike Sierra Chart 4 September 16th, 2011 12:33 AM


All times are GMT -4. The time now is 04:39 PM.

no new posts
Page generated 2017-03-30 in 0.08 seconds with 19 queries on phoenix via your IP 54.205.153.192