Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

importing historical data

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

    importing historical data

    I am trying to do a backtest on data from a futures contract that is not included in the instrument manager.
    It is the CSI 300 futures from Shanghai. I fgured that I would create a dummy contract on the HKEX because of time zone ($HK does not make a differece as long as I know how the contract is scaled).
    After converting the data from ascii to text and imprting to NT format successfully, I tried open a chart window on the daily data but get a blank screen,

    Any suggestions on how to do this?

    #2
    Thanks for the post Asing, how was the txt file named that you imported for this contract?

    Comment


      #3
      I named the txt file the same name as the contract name that I created in the Instrument Manager

      Comment


        #4
        So for example xxx 03-12.Last.txt?

        Comment


          #5
          It is a continuous contract of futures data, so I just named it CSIFUT

          Comment


            #6
            Ok, but in any case you would need to inclulde an expiry for a futures contract. Right now you likely have imported the data as custom stock then.

            Comment


              #7
              How would I test a continuous futures contract?

              Comment


                #8
                Hello,

                In this case you would import with the filename:

                CSIFUT ##-##.txt

                Then you will pull up the chart as CSIFUT ##-##.

                ##-## means the continuous contract.

                -Brett
                BrettNinjaTrader Product Management

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Mindset, 04-21-2026, 06:46 AM
                0 responses
                101 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by M4ndoo, 04-20-2026, 05:21 PM
                0 responses
                144 views
                0 likes
                Last Post M4ndoo
                by M4ndoo
                 
                Started by M4ndoo, 04-19-2026, 05:54 PM
                0 responses
                71 views
                0 likes
                Last Post M4ndoo
                by M4ndoo
                 
                Started by cmoran13, 04-16-2026, 01:02 PM
                0 responses
                125 views
                0 likes
                Last Post cmoran13  
                Started by PaulMohn, 04-10-2026, 11:11 AM
                0 responses
                79 views
                0 likes
                Last Post PaulMohn  
                Working...
                X