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.
    Dennis E.NinjaTrader Customer Service

    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 mattbsea, Today, 05:44 PM
      0 responses
      5 views
      0 likes
      Last Post mattbsea  
      Started by RideMe, 04-07-2024, 04:54 PM
      6 responses
      31 views
      0 likes
      Last Post RideMe
      by RideMe
       
      Started by tkaboris, Today, 05:13 PM
      0 responses
      2 views
      0 likes
      Last Post tkaboris  
      Started by GussJ, 03-04-2020, 03:11 PM
      16 responses
      3,282 views
      0 likes
      Last Post Leafcutter  
      Started by WHICKED, Today, 12:45 PM
      2 responses
      20 views
      0 likes
      Last Post WHICKED
      by WHICKED
       
      Working...
      X