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?

    BertrandNinjaTrader Customer Service

    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?
        BertrandNinjaTrader Customer Service

        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.
            BertrandNinjaTrader Customer Service

            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

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by jeronymite, 04-12-2024, 04:26 PM
                3 responses
                43 views
                0 likes
                Last Post jeronymite  
                Started by frankthearm, Today, 09:08 AM
                4 responses
                9 views
                0 likes
                Last Post frankthearm  
                Started by yertle, Today, 08:38 AM
                5 responses
                15 views
                0 likes
                Last Post NinjaTrader_BrandonH  
                Started by adeelshahzad, Today, 03:54 AM
                3 responses
                18 views
                0 likes
                Last Post NinjaTrader_BrandonH  
                Started by bill2023, Yesterday, 08:51 AM
                6 responses
                27 views
                0 likes
                Last Post NinjaTrader_Erick  
                Working...
                X