Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Difference historical and live

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Difference historical and live

    I have the following difference between live and historical. I use a graph of the nasdaq index on 5 minutes. In the code I add the daily data for the VIX. On the first bar of the session on the Nasdaq I use the daily close data of the VIX of the previous day. Mow I notice a difference in data. The Nasdaq and VIx are bith having the same standard session "US Equities RTH" ending both at 1600pm. On for example Nov 11, 20016 if I run the strategy live the daily close on Nov 10 of the VIX is 15.02 (the close of the VIX at 1600pm, the end of tha US Equity RTH session). If later on I load the strategy on historical data, the daily close of the VIX on Nov 10 is 14.74 (the close of the VIX at 1615 pm being the last tick of the day). So this generates a difference between live and theory. In live also the data after the regular session ends is stored, but it seems that in live those ticks are not taking ito account for the daily data of the VIX.

    For both live and historical I want to have both the real daily data being the close of 1615pm. Setting the session time sof the VIx ending at 2215 seems not to solve the issue. Anyone any idea?

    #2
    Hello Renejm, and thank you for your question. I would like to direct your attention to this similar thread. I will post my follow up observations there.

    Jessica P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by inanazsocial, Today, 01:15 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by rocketman7, Today, 02:12 AM
    0 responses
    10 views
    0 likes
    Last Post rocketman7  
    Started by dustydbayer, Today, 01:59 AM
    0 responses
    1 view
    0 likes
    Last Post dustydbayer  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    5 responses
    23 views
    0 likes
    Last Post trilliantrader  
    Started by Davidtowleii, Today, 12:15 AM
    0 responses
    3 views
    0 likes
    Last Post Davidtowleii  
    Working...
    X