• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 StevenNelson, Today, 12:29 PM
      0 responses
      5 views
      0 likes
      Last Post StevenNelson  
      Started by anupsoni, Today, 12:23 PM
      1 response
      3 views
      0 likes
      Last Post NinjaTrader_Kate  
      Started by aligator, Yesterday, 12:15 PM
      6 responses
      60 views
      0 likes
      Last Post eDanny
      by eDanny
       
      Started by frankduc, Today, 11:22 AM
      3 responses
      8 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by aslane, Today, 10:53 AM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X