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

Questions about imported Historical data

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

    Questions about imported Historical data

    Hi,

    I have imported historical tick data (Emini S&P 500) into NT.
    • Can I access the individual ticks inside the OnBarUpdate method through Close[0], if I have set the CalculateOnBarClose var to false?
    • Is it possible to access the original date and time of the data inside the OnBarUpdate method, or any other method? Or are the original date and time values effectively changed to the PC's current date and time?
    Thanks

    #2
    1) Yes you can in real-time only. Historical backtest will only access bar by bar even when CalculateOnBarClose = false.

    2) No. You can only access the time stamp of the bar the tick belongs to.
    RayNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Ray View Post
      1) Yes you can in real-time only. Historical backtest will only access bar by bar even when CalculateOnBarClose = false.

      2) No. You can only access the time stamp of the bar the tick belongs to.
      Ray,

      Thanks for replying to my questions. And sorry, to push this thing about tick data.

      Are there historical tick data out there that are streamed out just like RT data to NT? And if so, will NT consolidate that into 1 min bars still? In other words, is that considered as RT data by NT?

      I was under the impression that that sort of historical data is available from Opentick. Is that correct?

      Am I making any sense at all?


      Thanks.

      Comment


        #4
        - Real-time tick data will make it to the database. If you have a tick chart open, it will be stored as tick data. If you have a minute based chart open, it will be stored as minute data.

        OpenTick can provide both historical and realtime tick and minute data.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by mattbsea, Today, 05:44 PM
        0 responses
        5 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        31 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        2 views
        0 likes
        Last Post tkaboris  
        Started by GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,282 views
        0 likes
        Last Post Leafcutter  
        Started by WHICKED, Today, 12:45 PM
        2 responses
        20 views
        0 likes
        Last Post WHICKED
        by WHICKED
         
        Working...
        X