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 GLFX005, Today, 03:23 AM
      0 responses
      2 views
      0 likes
      Last Post GLFX005
      by GLFX005
       
      Started by XXtrader, Yesterday, 11:30 PM
      2 responses
      11 views
      0 likes
      Last Post XXtrader  
      Started by Waxavi, Today, 02:10 AM
      0 responses
      6 views
      0 likes
      Last Post Waxavi
      by Waxavi
       
      Started by TradeForge, Today, 02:09 AM
      0 responses
      14 views
      0 likes
      Last Post TradeForge  
      Started by Waxavi, Today, 02:00 AM
      0 responses
      3 views
      0 likes
      Last Post Waxavi
      by Waxavi
       
      Working...
      X