Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Import tick data problem

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

    Import tick data problem

    Hello,

    I use Tickstory to create tick data files (csv) and i import these data files in NT8. A few lines of these data (as displayed with Windows notepad):
    20180221 000000 1810000;1.23352;1.3
    20180221 000000 4930000;1.23353;1.3
    20180221 000000 5460000;1.23353;1.3
    20180221 000001 2540000;1.23354;1.3
    20180221 000001 9020000;1.23352;1.3
    20180221 000002 4190000;1.23352;1.3

    A few days ago, suddenly, it stopped working. I have an error message in NT8 logs:
    Import type 'NinjaTrader (end of bar timestamps)': Error on calling 'OnNextDataPoint' method: System.InvalidOperationException: Operation is not valid due to the current state of the object. at NinjaTrader.NinjaScript.ImportTypes.TextImportType .OnNextDataPoint() at NinjaTrader.NinjaScript.ImportTypes.ImportType.Imp ort(MarketDataType marketDataType, TimeZoneInfo sourceTimeZoneInfo, Boolean generateMinuteBars, Boolean generateDailyBars, IProgress progress)

    Can you explain me what happens and how it can work again?

    Thanks.

    AF

    #2
    Hello,

    Thank you for your post.

    I tested the lines of data you provided and I received the same error.

    I did notice that the last bit of data that represents volume was set to 1.3. In this case Volume must be a whole number. I removed the .3 and only used the value of 1 and I was able to import this data successfully.

    Please let me know if I may be of any further assistance.

    Comment


      #3
      Hello,

      Thanks for help Dennis. I'll try to modify the data format of csv files.

      Regards.

      AF

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      173 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      328 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      252 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      354 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      181 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X