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:



    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.

    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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        72 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        44 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        25 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        30 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        60 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X