NexusFi: Find Your Edge


Home Menu

 





continuous contract in NT7 /merge policy / rollover


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 24 posts (68 thanks)
    2. looks_two josh with 14 posts (3 thanks)
    3. looks_3 monolisa with 4 posts (0 thanks)
    4. looks_4 monpere with 3 posts (4 thanks)
      Best Posters
    1. looks_one Fat Tails with 2.8 thanks per post
    2. looks_two KahunaDog with 1.5 thanks per post
    3. looks_3 monpere with 1.3 thanks per post
    4. looks_4 josh with 0.2 thanks per post
    1. trending_up 36,444 views
    2. thumb_up 79 thanks given
    3. group 18 followers
    1. forum 65 posts
    2. attach_file 16 attachments




 
Search this Thread

continuous contract in NT7 /merge policy / rollover

  #51 (permalink)
 
vk79's Avatar
 vk79 
Michigan
 
Experience: Intermediate
Platform: Ninjatrader
Trading: NQ
Posts: 158 since Jun 2009
Thanks Given: 265
Thanks Received: 85


Fat Tails View Post
Both charts are showing merged, backadjusted contracts. The current front month for CL is the March contract (CL 03-15). This means that this months and all later expiries show the same data until the next rollover date. Starting from the next rollover date - which is around March 20 -, and only after the next rollover offset has been determined and entered, the April contract will show different prices. As CL is in contango, those prices will be higher than the prices for the March contact. When the offset is entered this will also lead to a readjustment of all data prior to the rollover date, and the April contract will show different data that is different from the March contract, even for today. However, that data shown for the April contract, is not the trade data for the April contract, but it is merged backadjusted data taken from the March contract and shifted by the rollover offset.

Please make sure that you understand merged, backadjusted contracts, if you use them. There is a paper here that explains the details:




If you do not wish to use merged, backadjusted contracts, NinjaTrader allows you to use single months contracts. Just open the Control Center -> Tools -> Options -> Data -> Historical Chart Data and select "DoNotMerge" from the dropdown menu. All charts that you open after this change will show single month contract data.

Thanks a lot Fat Tails.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - April 2024
Feedback and Announcements
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Request for MACD with option to use different MAs for fa …
NinjaTrader
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
67 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
Battlestations: Show us your trading desks!
43 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #52 (permalink)
 ToMerK 
Tel Aviv Israel
 
Experience: Beginner
Platform: NinjaTrader
Broker: CQG
Trading: Futures
Posts: 21 since Feb 2015
Thanks Given: 30
Thanks Received: 13


Fat Tails View Post
(1) Change the settings as Josh has explained.
(2) Open a chart for ES 09-11
(3) It will show the contract ES 09-11 from June 9 (rollover day) until today, but show the contract ES 06-11 from June 8 backwards until March, where it will switch to ES 03-11.
(4) See chart below.

Of course you will need to load the historical data for the contract ES 06-11 first, or open the chart while being connected to your data provider.

Fat Tails, you are really helpful, thank you very much!

I was wondering:

1. if I currently load the ES 06-15 in market reply with 120 days back I will not get all the data back from the back-adjusted 03-15 contract? (I do see data that goes beyond the 06-15 contract)

2. How do I load a previous contract data without opening a chart?

3. How Can I know visually (or by a parameter) that I really see back-adjusted data?

4. If the data provider doesn't supply 120 days back in real mode will the data be less days than I requested?

Reply With Quote
  #53 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102



ToMerK View Post
Fat Tails, you are really helpful, thank you very much!

I was wondering:

1. if I currently load the ES 06-15 in market reply with 120 days back I will not get all the data back from the back-adjusted 03-15 contract? (I do see data that goes beyond the 06-15 contract)

2. How do I load a previous contract data without opening a chart?

3. How Can I know visually (or by a parameter) that I really see back-adjusted data?

4. If the data provider doesn't supply 120 days back in real mode will the data be less days than I requested?


1. When you start market replay your chart has two sections

First section = all data prior to start of replay: This is historical data taken from your historical data base. The data is mergebackadjusted (if you have selected it as a merge policy under Tools -> Options -> Data or in the instrument manager).
Second section = all data which is added via the replay: This data can be considered as realtime data for the current contract. Within the replay section of the chart no rollover is possible.

For example, if you start replay for ES 06-15 on March 15, the data prior to March 15 will be merge-back adjusted data, while the replay data starting with March 15 will be single month data for the contract ES 06-15.

2. You need to add the previous contract to one of your instrument lists. You can then select the previous contract in the Historical Data Manager and download the required data.

3. You can check the data for the selected rollover dates. If there are no gaps, the data should be merge-backadjusted. You can also check the settings under Tools -> Options -> Data -> Merge Policy. However, these settings are only applied to the historical part of your chart. Real-time data is always taken from a single month contract.

4. If you talk about 120 days of data, this can never be real mode. You are talking about historical backfill. If your data provider gives you less than 120 days of data, a fraction of your chart will not be populated with data.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
  #54 (permalink)
 ToMerK 
Tel Aviv Israel
 
Experience: Beginner
Platform: NinjaTrader
Broker: CQG
Trading: Futures
Posts: 21 since Feb 2015
Thanks Given: 30
Thanks Received: 13


Fat Tails View Post
1. When you start market replay your chart has two sections

First section = all data prior to start of replay: This is historical data taken from your historical data base. The data is mergebackadjusted (if you have selected it as a merge policy under Tools -> Options -> Data or in the instrument manager).
Second section = all data which is added via the replay: This data can be considered as realtime data for the current contract. Within the replay section of the chart no rollover is possible.

For example, if you start replay for ES 06-15 on March 15, the data prior to March 15 will be merge-back adjusted data, while the replay data starting with March 15 will be single month data for the contract ES 06-15.

2. You need to add the previous contract to one of your instrument lists. You can then select the previous contract in the Historical Data Manager and download the required data.

3. You can check the data for the selected rollover dates. If there are no gaps, the data should be merge-backadjusted. You can also check the settings under Tools -> Options -> Data -> Merge Policy. However, these settings are only applied to the historical part of your chart. Real-time data is always taken from a single month contract.

4. If you talk about 120 days of data, this can never be real mode. You are talking about historical backfill. If your data provider gives you less than 120 days of data, a fraction of your chart will not be populated with data.

hmm, strange, I see in the historical data manager that all the previous contracts data, as well as the current are already downloaded without "save chart data as historical" checked.
Is this data reliable? Is it from the data supplier or NT?

In (4) I was talking about when I am connected to the data supplier and write in "Days to load" 120 days. If the data supplier will not supply so many days back shouldn't I get it from my saved historical data mention above?

Reply With Quote
  #55 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


ToMerK View Post
hmm, strange, I see in the historical data manager that all the previous contracts data, as well as the current are already downloaded without "save chart data as historical" checked.
Is this data reliable? Is it from the data supplier or NT?

In (4) I was talking about when I am connected to the data supplier and write in "Days to load" 120 days. If the data supplier will not supply so many days back shouldn't I get it from my saved historical data mention above?

When you select "save chart data as historical", NinjaTrader converts real-time data to historical data. This is not recommended, as your chart will be built from chunks and pieces of different data streams. When it is unselected, every time you open a new chart

-> NinjaTrader will download historical data from your data provider (this is called "backfill") and store it in your data base
-> NinjaTrader will then add incoming ticks to your chart (this is called "real-time" data)

Your chart is therefore built from

-> historical bars (backfill)
-> a hybrid bar which typically has 1 historical "tick" and is completed with real-time ticks
-> bar built from real-time ticks

When you close the chart the real-time data is lost. When you reopen the chart again, real-time data is replaced with historical backfill, which downloaded.

If you wish to save 120 days of real-time data as historical, you need to connect 24/24 for 4 months in order to collect that data. Never switch off your machine, never disconnect, never update NinjaTrader. This is unrealistic.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
  #56 (permalink)
 
KahunaDog's Avatar
 KahunaDog 
Hawaii at the beach
 
Experience: Beginner
Platform: Nt8, MotiveWave, TOS
Broker: S5
Trading: ES, ZB fine alcohol and muscle cars
Posts: 549 since Apr 2013
Thanks Given: 1,168
Thanks Received: 412


Fall Seven Get Up Eight
Visit my NexusFi Trade Journal Reply With Quote
The following 3 users say Thank You to KahunaDog for this post:
  #57 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,322 since Jun 2009
Thanks Given: 33,143
Thanks Received: 101,476



Thanks for sharing



Sent using the NexusFi mobile app

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #58 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,526 since Oct 2009
Thanks Given: 4,167
Thanks Received: 6,018

Just wanted to check with other members using Ninjatrader 7 if you have an offset to adjust the GAP between contracts for the future currencies. On my platform, i have 0 as offset for 6E, 6C, 6J etc. for the month of June 2017. If you have something different than 0 then can you please post your offset values? Thanks

Reply With Quote
  #59 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


trendisyourfriend View Post
Just wanted to check with other members using Ninjatrader 7 if you have an offset to adjust the GAP between contracts for the future currencies. On my platform, i have 0 as offset for 6E, 6C, 6J etc. for the month of June 2017. If you have something different than 0 then can you please post your offset values? Thanks

Rollover date for currency futures was Friday, March 10.

All you need to do is to open the CME group website and look up the settlement prices for both the old and the new contract for Thursday, March 9 (which is the day prior to rollover day).

The difference between the settlement prices is the offset that you look for.

For example for 6E you will find for Thursday

March 17: Settlement price = 1.05935
June 17: Settlement price = 1.06425

The difference is 0.00490.

Your offset (needed to backadjust the march contract) is + 0.00490.

Alternatively you can calculate the offset from the last traded prices on Thursday.

March 17: Last traded price = 1.05765
June 17: Last traded price = 1.06260

In this case the offset would be + 0.00495 (just a half pip difference compared to the first method).


Link for 6E:

Euro FX Futures (EUR/USD) Settlements - [AUTOLINK]CME[/AUTOLINK] Group

Reply With Quote
The following user says Thank You to Fat Tails for this post:
  #60 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,526 since Oct 2009
Thanks Given: 4,167
Thanks Received: 6,018



Fat Tails View Post
Rollover date for currency futures was Friday, March 10.

All you need to do is ...

Thanks @Fat Tails for the feedback, I was aware of the procedure you described but i wanted to know why were the Offset values for the Futures currencies at 0 on my side. I wrote to Ninjatrader and they suggested to reset the instrument list (Option/Datas). However when you do reset it, you lose all the prior manual changes you did to the Offset and Rollover date for all prior contracts on your computer. In short, i did reset it but now i know there will be errors in my prior contracts as i did not record any of these prior offsets but i can live with it.

BTW, Ninjatrader uses the ETH hours for the offset setting. This number as you wrote is calculated by subtracting the close of the old contract month 1440m ETH bar which ended 1 day prior to the rollover date from the close of the new contract month 1440m ETH bar which ended 1 day prior to the rollover date. I think they populate their database with Rithmic datas.

NOTE: if you modify the Offset value you need to modify the Rollover date as well as Ninja will always try to overwrite your manual change based on the default Rollover date as set on their servers.


Thanks again,
-

Reply With Quote





Last Updated on September 16, 2018


© 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