Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Import data problem: Unexpected number of fields

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

    Import data problem: Unexpected number of fields

    Hello.

    I trying to import tick data.
    Now file contains 2 lines only:

    20130114 184723;14.53;2
    20130114 195056;14.53;2


    File name: EURUSD.Last.txt

    When try to import as Tick data LLC get these 2 error messages in log tab:

    8/4/2018 12:39:45 AM NinjaScript Import type 'Tick Data, LLC': Error on calling 'OnNextDataPoint' method: System.InvalidOperationException: Operation is not valid due to the current state of the object. at NinjaTrader.NinjaScript.ImportTypes.TickDataImport Type.OnNextDataPoint() in c:\Users\av240\Documents\NinjaTrader 8\bin\Custom\ImportTypes\@TickDataImportType.cs:li ne 106 at NinjaTrader.NinjaScript.ImportTypes.ImportType.Imp ort(MarketDataType marketDataType, TimeZoneInfo sourceTimeZoneInfo, Boolean generateMinuteBars, Boolean generateDailyBars, IProgress progress)


    and

    8/4/2018 12:39:45 AM Default EURUSD: Unexpected number of fields in line '0', should be 3, 5 or 6

    I tried to replace semicolon to comas - same result.
    I tried to re-enter lines in new file manually - same result.

    What I did wrong?
    And what does LLC abbreviation means in "Tick Data, LLC"?
    Attached Files
    fx.practic
    NinjaTrader Ecosystem Vendor - fx.practic

    #2
    Hello fx.practic,

    I was able to import this file.

    Below is a public link to a video that demonstrates.


    What version of NinjaTrader 8 are you using?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Chelsea, thank You, I can import it today too.

      I have about 5 different files with tick historical data (all of them caused same error messages) - and all of them were imported with no problem today.

      May be, I need just to restart NT instead of hours of tries.
      Last edited by fx.practic; 08-06-2018, 07:48 AM.
      fx.practic
      NinjaTrader Ecosystem Vendor - fx.practic

      Comment


        #4
        Sorry, have continuation of this adventure.
        Today tried to import attached file.
        Got same problem.

        At this time VisualStudio was running and catch exception.

        File looks ok, separators ";" - ok.
        Space between date and time looks ok too: x20.


        8/8/2018 11:30:16 PM Default BTCUSD: Unexpected number of fields in line '0', should be 3, 5 or 6


        8/8/2018 11:51:54 PM NinjaScript Import type 'Tick Data, LLC': Error on calling 'OnNextDataPoint' method: System.InvalidOperationException: Operation is not valid due to the current state of the object. at NinjaTrader.NinjaScript.ImportTypes.TickDataImport Type.OnNextDataPoint() in c:\Users\av240\Documents\NinjaTrader 8\bin\Custom\ImportTypes\@TickDataImportType.cs:li ne 106 at NinjaTrader.NinjaScript.ImportTypes.ImportType.Imp ort(MarketDataType marketDataType, TimeZoneInfo sourceTimeZoneInfo, Boolean generateMinuteBars, Boolean generateDailyBars, IProgress progress)
        Attached Files
        Last edited by fx.practic; 08-09-2018, 01:22 AM.
        fx.practic
        NinjaTrader Ecosystem Vendor - fx.practic

        Comment


          #5
          Hello fx.practic,

          I was able to import the new file BTCUSD without error on my end.

          I was not able to confirm the version of NinjaTrader you are using.

          Please send an email to platformsupport [at] ninjatrader [dot] com so that we may request your log and trace files. In the email please include a link to this forum thread.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Email sent.
            fx.practic
            NinjaTrader Ecosystem Vendor - fx.practic

            Comment


              #7
              Want to say many thanks to Chelsea for remote help.
              fx.practic
              NinjaTrader Ecosystem Vendor - fx.practic

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by algospoke, Yesterday, 06:40 PM
              2 responses
              19 views
              0 likes
              Last Post algospoke  
              Started by ghoul, Today, 06:02 PM
              3 responses
              14 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by jeronymite, 04-12-2024, 04:26 PM
              3 responses
              45 views
              0 likes
              Last Post jeronymite  
              Started by Barry Milan, Yesterday, 10:35 PM
              7 responses
              21 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by AttiM, 02-14-2024, 05:20 PM
              10 responses
              181 views
              0 likes
              Last Post jeronymite  
              Working...
              X