Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Importing historic data

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

    Importing historic data

    Hi everyone,
    I am trying to import historic forex data from histdata but I get the below error. Following the guide here:

    https://bit.ly/33aXYSH

    2019-10-08 18:31:06:378|3|16|Import type 'NinjaTrader (end of bar timestamps)': Error on calling 'OnNextInstrument' method: System.NullReferenceException: Object reference not set to an instance of an object.
    at NinjaTrader.NinjaScript.ImportTypes.TextImportType .OnNextInstrument()
    at NinjaTrader.NinjaScript.ImportTypes.ImportType.Imp ort(MarketDataType marketDataType, TimeZoneInfo sourceTimeZoneInfo, Boolean generateMinuteBars, Boolean generateDailyBars, IProgress progress)
    2019-10-08 18:31:52:470|3|16|Import type 'NinjaTrader (end of bar timestamps)': Error on calling 'OnNextInstrument' method: System.NullReferenceException: Object reference not set to an instance of an object.
    at NinjaTrader.NinjaScript.ImportTypes.TextImportType .OnNextInstrument()
    at NinjaTrader.NinjaScript.ImportTypes.ImportType.Imp ort(MarketDataType marketDataType, TimeZoneInfo sourceTimeZoneInfo, Boolean generateMinuteBars, Boolean generateDailyBars, IProgress progress)
    2019-10-08 18:34:22:943|3|4|Strategy 'StochFastStrat/-1': An order placed at '9/18/2019 7:00:00 AM' has been ignored since the order was submitted before the strategy property BarsRequiredToTrade had been met.
    2019-10-08 18:36:13:614|3|16|Import type 'NinjaTrader (end of bar timestamps)': Error on calling 'OnNextInstrument' method: System.NullReferenceException: Object reference not set to an instance of an object.
    at NinjaTrader.NinjaScript.ImportTypes.TextImportType .OnNextInstrument()
    at NinjaTrader.NinjaScript.ImportTypes.ImportType.Imp ort(MarketDataType marketDataType, TimeZoneInfo sourceTimeZoneInfo, Boolean generateMinuteBars, Boolean generateDailyBars, IProgress progress)
    2019-10-08 18:36:40:560|3|4|Strategy 'StochFastStrat/-1': An order placed at '9/9/2019 4:00:00 AM' has been ignored since the order was submitted before the strategy property BarsRequiredToTrade had been met.
    2019-10-08 18:37:18:266|3|4|Strategy 'StochFastStrat/-1': An order placed at '9/30/2019 2:30:00 AM' has been ignored since the order was submitted before the strategy property BarsRequiredToTrade had been met.
    2019-10-08 18:42:21:251|3|16|Import type 'NinjaTrader (end of bar timestamps)': Error on calling 'OnNextInstrument' method: System.NullReferenceException: Object reference not set to an instance of an object.
    at NinjaTrader.NinjaScript.ImportTypes.TextImportType .OnNextInstrument()
    at NinjaTrader.NinjaScript.ImportTypes.ImportType.Imp ort(MarketDataType marketDataType, TimeZoneInfo sourceTimeZoneInfo, Boolean generateMinuteBars, Boolean generateDailyBars, IProgress progress)
    What am I doing wrong??
    Thanks for your help!
    Attached Files

    #2
    Hello Oracletrades,

    Thanks for your post.

    I have tested renaming the file to EURUSD.Last.txt and I have not had issue importing the file.

    Could you test the same and let us know if you have issue?

    We look forward to being of further assistance.
    JimNinjaTrader Customer Service

    Comment


      #3
      Same here, so it's case-sensitive??? Wow, wasn't expecting that under Windows... You may want to clarify this here: https://ninjatrader.com/support/help...?importing.htm

      Comment


        #4
        Hello Oracletrades,

        I did not expect this behavior either. The case is currently getting reviewed. If the Development team finds the behavior to be expected, we will request an update to the Help Guide.

        The issue has been assigned the ticket ID NTEIGHT-14081. The number for this ID can be found in the Release Notes page of the Help Guide when a new version of NinjaTrader gets released with the fix. Please note that we cannot offer an ETA on release schedules.

        Release Notes - https://ninjatrader.com/support/help...ease_notes.htm

        I'll keep you posted as this develops.
        Last edited by NinjaTrader_Jim; 10-15-2019, 08:22 AM.
        JimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by MatthewLesko, Today, 09:55 PM
        0 responses
        4 views
        0 likes
        Last Post MatthewLesko  
        Started by t.kelly4149, Today, 05:36 PM
        1 response
        9 views
        0 likes
        Last Post bltdavid  
        Started by SilverSurfer1, Today, 06:29 PM
        0 responses
        19 views
        0 likes
        Last Post SilverSurfer1  
        Started by trader3000a, Today, 01:06 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_ShawnB  
        Started by marcus2300, Today, 11:45 AM
        3 responses
        32 views
        0 likes
        Last Post marcus2300  
        Working...
        X