![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Market Analyzer Support for the NinjaTrader Market Analyzer. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: May 2008
Location: Chicago
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
|
I am trying to backtest and optimize over longer periods than just the current contract. Is there a way to create a continuous contract or is there way where I can use a set day as a rollover date for a contract and optimize / analyze over a longer term period?
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2008
Location: Denver, CO, USA
Posts: 7,336
Thanks: 146
Thanked 253 times in 249 posts
|
Hi Thorserb2,
Thank you for your post. For this you would want to merge previous contracts into the current contract using the procedure outlined at the following link: http://www.ninjatrader-support.com/H...eV6/Merge.html
Kyle
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Nov 2009
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
Hi Team,
Is there a limit to how far back I can go merging historic ES contracts to the present contract? Can I then merge this 'continuous contract' into the next ES contract that will come, and continue to maintain this 'continuous contract' ? Does the merge include all TICK data? Only minute data? Only data recorded historically on my machine? Many thanks for the answers, much appreciated, keep up the good work! |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Dec 2008
Location: Denver, CO, USA
Posts: 7,336
Thanks: 146
Thanked 253 times in 249 posts
|
Hello waverider,
Thank you for your post. 1.) "Is there a limit to how far back I can go merging historic ES contracts to the present contract?" There is no limit. You may merge as many contracts as you would like. 2.) "Can I then merge this 'continuous contract' into the next ES contract that will come, and continue to maintain this 'continuous contract' ?" Yes, that is correct. For example, if you had merged several prior contracts in to the 06-10 contract you would only need to merge the 06-10 in to the 09-10 when the next contract is available. 3.) "Does the merge include all TICK data? Only minute data? Only data recorded historically on my machine?" Interval is selectable in the merge. Historical data will need to exist in your database in order to merge.
Kyle
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Member
Join Date: Nov 2009
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
Fantastic, thanks Kyle,
So on point 3) regarding the data that is available to merge: I'm not yet very familiar with stored data in Ninja - 1. Is stored data seperate to Market Replay data that I might store? 2. Where / How does Ninja store data? 3. If I wanted to import data into Ninja to over-ride (or merge with?) my stored data, is that easy enough to do? No risk of duplicating data, etc? 4. I take it that if I do import such data, this is not able to be made available for Market Replay? 5. For automated backtesting, do I have to use Market Replay data? Sorry for the newbie questions, much appreciated!! wave |
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,220
Thanks: 83
Thanked 333 times in 325 posts
|
Hello wave,
1. Yes, Market Replay data is saved separate from historical data; this is not the same data. 2. Historical data is saved in the database. (My) Documents-->NinjaTrader 6.5-->db-->NinjaTrader(mdb) 3. Yes, you can import historical data as per the instructions at the following link. http://www.ninjatrader-support.com/H...V6/Import.html 4. Correct. 5. No, the Strategy Analyzer which is used to backtest cannot make use of Market Replay data; it uses historical data only. More information can be found at the link below. http://www.ninjatrader-support.com/H...AStrategy.html
Jason
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Member
Join Date: Nov 2009
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks again!
If I am using IQ Feed as a data provider, and they offer a continuous contract for the ES, is there any reason why that can't be used in Ninja if I create a new instrument (ES #F) specifically for that feed? thanks |
|
|
|
|
|
#8 |
|
NinjaTrader Customer Service
Join Date: Dec 2008
Location: Denver, CO, USA
Posts: 7,336
Thanks: 146
Thanked 253 times in 249 posts
|
Hi waverider,
Thank you for your reply. You can access continuous contracts by selecting the '##-##' expiry for your futures instrument. No additional configuration would be required.
Kyle
NinjaTrader Customer Service |
|
|
|
|
|
#9 |
|
Member
Join Date: Nov 2009
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
thanks for that,
I've managed to set up a continuous contract for the ES. Problem is, it only works for daily. When I drop to minute data I get the error "Ninja Trader data server does not support this instrument, no data available"... If it works for daily, shouldn't I be able to produce it for minute? Thanks again, |
|
|
|
|
|
#10 |
|
NinjaTrader Customer Service
Join Date: Dec 2008
Location: Denver, CO, USA
Posts: 7,336
Thanks: 146
Thanked 253 times in 249 posts
|
Hi waverider,
Thank you for your reply. Are you connected to other providers as well, or just IQ? If you are connected to multiple providers, please let me know in what order you connect.
Kyle
NinjaTrader Customer Service |
|
|
|
|
|
#11 |
|
Member
Join Date: Nov 2009
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
I connect to zen fire first, followed by IQ
|
|
|
|
|
|
#12 |
|
NinjaTrader Customer Service
Join Date: Dec 2008
Location: Denver, CO, USA
Posts: 7,336
Thanks: 146
Thanked 253 times in 249 posts
|
Hi waverider,
Thank you for your post. With that connection order, the behavior you are seeing would be expected. Continuous minute and tick charts will be available when connected to IQ first or when only connected to IQ.
Kyle
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Continuous contract | max1ci6 | Miscellaneous Support | 5 | 06-08-2012 01:54 AM |
| Continuous Contract | heyligerb | Strategy Analyzer | 5 | 03-25-2009 03:49 PM |
| Backtesting futures, contract duration? | ju1234 | Strategy Development | 1 | 11-30-2008 04:11 PM |
| Backtesting continuous YM contract | monpere | Strategy Analyzer | 28 | 11-27-2008 05:19 AM |
| Continuous contract for MSCI Taiwan futures | Specterx | Charting | 1 | 09-27-2008 08:46 AM |