Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Edit historical data programmatically

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

    Edit historical data programmatically

    Historical forex data loaded from IB has many bad bars. In NT6.5 they are filtered, but in NT7 they are not. Correcting them in Historical Data Manager manually or by expotring-editing-importing will take a lot of time. I would like to correct them programmatically. Will you publish the structure of NT7 historical .ntd file?

    #2
    >> In NT6.5 they are filtered, but in NT7 they are not
    Incorrect. Neither Nt6.5 nor NT7 would filter any bars in regards to "prices being off".

    Unfortunately we don't plan to publish the data format for the NT internal data structures.

    Comment


      #3
      Just load min bars from IB for $GBPUSD for the last 5 days and observe the difference. 13 bad bars in NT7 and none in NT6.5. It makes IB forex backtesting in NT7 almost useless without first correcting historical data.

      Comment


        #4
        vtaran,

        I just tested this on 6.5 and 7 and do not experience what you are seeing. "Bad" bars in 7 are also there in 6.5. NT just acts like a data receiver and whatever data is coming through from the data provider is what is charted.

        The data on 6.5 looks to match 7's bar for bar as seen in my attachment.
        Attached Files
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Josh,
          In you sample (just over 2 hours) "bad" bar is reasonably normal. Check the bars over a week of data. It's easier to see it on 60 min bars. I reloaded data again. The same result - NT6.5 corrects "bad" bars and NT7 does not.
          See my attachment.
          Attached Files

          Comment


            #6
            vtaran,

            I have checked the full length of my chart and cannot reproduce. Suggest you try reloading your historical data cleanly with removal of all old data.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            161 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            308 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            245 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            349 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            179 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Working...
            X