NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 09-06-2007, 04:07 PM   #1
RK_trader
Senior Member
 
Join Date: Jun 2007
Posts: 254
Thanks: 0
Thanked 0 times in 0 posts
Default Handling contract rollovers - to make continous charts

Hi Support,

I am using Ninja with IB datafeed. Can you please tell me how I can have a continous chart of say a contract like ES after rollover tomorrow. I know I can open a separate chart Dec ES chart , but how can I combine Sept ES chart with Dec ES chart? So that till end of today in the continous chart I see Sept data and from tomorrow onwards I see Dec data.

Is there anyway to copy Sept ES data file and rename it as Dec ES datafile and start using it. How can I do that, where are the data files stored.

Thanks
RK
RK_trader is offline  
Reply With Quote
Old 09-06-2007, 04:11 PM   #2
NinjaTrader_Chris
Guest
 
Posts: n/a
Default Charting

Hello,

You can merge data between individual futures contracts. NinjaTrader will automatically price *adjust historical data to provide one continuous contract.

Additional information on how to accomplish this can be found in the link below.
http://www.ninjatrader-support.com/H...eV6/Merge.html
 
Reply With Quote
Old 09-06-2007, 04:33 PM   #3
RK_trader
Senior Member
 
Join Date: Jun 2007
Posts: 254
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks Chris for the quick reply.

I went through the url you pointed me to. Can you please clarify what you mean by "adjust". Suppose, I merge the Sept ES (9/8/07-9/6/07) with Dec ES data, will it just overwrite the Dec data until today midnight? There will be gaps in ES price right, after this merge. Just want to confirm that there will be a gap in ES price after the merge.

Also is it possible to make a backup of Sept ES data, just in case I need to have that. In which directory is that file located?

Thanks
RK
RK_trader is offline  
Reply With Quote
Old 09-06-2007, 04:37 PM   #4
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
Default

Adjust means that the prior contract will be price adjusted to merge into the December contract. There is always a difference (premium) between the two contracts and you must adjust or else you will have a gap at contract boundaries.

Data will be overwritten in the front month by the prior contract up to the date you merge. Your example is correct.

The September data will be maintained in your database even after merging.
NinjaTrader_Ray is offline  
Reply With Quote
Old 09-07-2007, 06:44 AM   #5
RK_trader
Senior Member
 
Join Date: Jun 2007
Posts: 254
Thanks: 0
Thanked 0 times in 0 posts
Default

Hi Support,

I tried this merge for ES and it is giving an error "NinjaTrader has reached an IB limitaion for historical data requests. IB may reject all historical data requests for next 5 minutes. Pacing violation"

I tried again after few hours and it was giving same error. And it gave an additional info message

" No "day" data available for "To" instrument. Historical data is required for the target instrument in order to properly calculate the adjustment factor.
- Minute data successfully merged.
- Tick data successfully merged. "

So, do you think I can use DEc ES intraday charts reliably. I only use intraday charts.SO, has merge completed for intraday charts ?

How about if I need to use "Day" charts for Dec ES. Is there any way to do merge for "only day" charts, so that I do not receive another "pacing error".

I appreciate your quick reply.

Thanks
RK
RK_trader is offline  
Reply With Quote
Old 09-07-2007, 06:59 AM   #6
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
Default

Intraday did merge. Day data did not, the reason is that you did not have any daily data in the December contract which is required to calculate the adjustment factor. No way to get around the pacing error, that is an IB limitation.
NinjaTrader_Ray is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
eSignal Continuous Contract Symbol Charts Momentum Charting 24 03-03-2010 07:43 AM
contract rollover on charts Lupus ATM Strategies (Discretionary Trading) 4 06-08-2006 07:27 AM
Tradestation Symbol Handling jonno Automated Trading 5 12-12-2005 06:20 AM
handling different targets coolutm Suggestions And Feedback 2 11-27-2005 11:32 PM
New Order Handling and Modification Approach NinjaTrader_Ray ATM Strategies (Discretionary Trading) 45 06-22-2005 05:09 PM


All times are GMT -6. The time now is 12:42 AM.