Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Import data problem: Unexpected number of fields

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

    #16
    Hi, i'm getting the same errors trying to import sub second tick data. at first i thought something was wrong with my data but after trying the sample data provided in the guide i still got the same errors:
    2/11/2024 2:36:18 PM,NinjaScript,Import type 'TickDataImportType': 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\User\Documents\NinjaTrader 8\bin\Custom\ImportTypes\@TickDataImportType.cs:li ne 167 at NinjaTrader.NinjaScript.ImportTypes.ImportType.Imp ort(MarketDataType marketDataType TimeZoneInfo sourceTimeZoneInfo Boolean generateMinuteBars Boolean generateDailyBars IProgress progress),
    2/11/2024 2:36:18 PM,Default,BTCUSDT: Unexpected number of fields in line '0' should be 3 5 or 6,



    Click image for larger version

Name:	image.png
Views:	15
Size:	29.0 KB
ID:	1323495

    Click image for larger version

Name:	image.png
Views:	15
Size:	22.0 KB
ID:	1323496
    Attached Files

    Comment


      #17
      Hello,

      Thank you for your post.

      Is this data from Tick Data, LCC? If not, do not choose Tick Data LLC as the Format for this data.

      You'll need to choose either NinjaTrader end-of-bar timestamps or start-of-bar timestamps.



      If you're not sure how the bars are timestamped, reach out to the provider of the data and inquire with them.
      Gaby V.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Marty125, Today, 11:14 AM
      4 responses
      16 views
      0 likes
      Last Post Marty125  
      Started by markpk1, Today, 11:54 AM
      0 responses
      4 views
      0 likes
      Last Post markpk1
      by markpk1
       
      Started by Carlos19, Today, 10:15 AM
      2 responses
      10 views
      0 likes
      Last Post Carlos19  
      Started by markdshark, 04-16-2023, 09:29 AM
      6 responses
      232 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by siddhugaddi, Today, 10:31 AM
      2 responses
      15 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X