Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reprehensible Unrepresentable Date Time

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

    Reprehensible Unrepresentable Date Time

    I have been getting this error on and off for months with NT8.
    I have no idea what indicator or bar type is causing it.
    All of my custom indicators have try catch blocks.
    I even added error trapping to the bar types I use.
    Is there anything that can be done about this?


    Code:
    [FONT="Arial Narrow"][SIZE="2"]2016-04-05 21:24:28:708 Starting server message polling timer with interval 3600 seconds...y i
    2016-04-05 21:24:42:754 ERROR: Data.BarsBytes.DecompressReplayTick: System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime.
    Parameter name: value
       at System.DateTime.AddTicks(Int64 value)
       at NinjaTrader.Data.BarsBytes.Decompress1TickTime(BinaryReader reader, Byte infoByte, DateTime& lastTimeRead)
       at NinjaTrader.Data.BarsBytes.DecompressReplayTick(BinaryReader reader, Int32 previousBarIndex, DateTime lastTimeRead, Double lastOpenRead)
    2016-04-05 21:24:42:755 Data.BarsBytes.Read: ERROR: System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime.
    Parameter name: value
       at System.DateTime.AddTicks(Int64 value)
       at NinjaTrader.Data.BarsBytes.Decompress1TickTime(BinaryReader reader, Byte infoByte, DateTime& lastTimeRead)
       at NinjaTrader.Data.BarsBytes.DecompressReplayTick(BinaryReader reader, Int32 previousBarIndex, DateTime lastTimeRead, Double lastOpenRead)
       at NinjaTrader.Data.BarsBytes.ReadReplay(String fileName)[/SIZE][/FONT]
    Attached Files
    Last edited by Ricam; 04-05-2016, 10:41 PM.

    #2
    Have you tried a clean install?

    I had a lot of NT crashes since Beta1 that left Strategies that would give these errors...

    I backed up my NinjaTrader 8 folder and started new.

    Comment


      #3
      Hello Ricam,

      Thank you for your post.

      Is this occurring during when you are connected to the Playback Connection and when playing back Replay data?
      Does this message occur when running in real-time data? Replaying Historical data?

      Comment


        #4
        It happens in real time on tick replay charts. NOT in playback. Actually when this happens I don't get that far, NT crashes before real time data connects

        Don't know if it comes from an indicator or a bar type.

        Reinstalling NT is a useless waste of time. I never do that.

        The problem seems to be caused by a corrupted workspace, Saying that because I solved the problem (for now, anyway) by creating a new workspace and rebuilding my charts from templates.
        Last edited by Ricam; 04-06-2016, 09:59 AM.

        Comment


          #5
          Hello Ricam,

          Thank you for your response.

          Can you send us your workspace and templates for the chart where this was seen? And if any custom objects are needed can you forward those to us?

          You can send the files to platformsupport[at]ninjatrader[dot]com with 'ATTN: Patrick H - 1494909' in the subject line.

          The workspaces are under Documents\NinjaTrader 8\workspaces and the templates are under Documents\NinjaTrader 8\templates.

          Comment


            #6
            error investigation

            Before doing that, I will go back to that workspace and try to duplicate the errors.
            I suspect that these problems may be related to specific conditions that occur in the historical data files that may eventually self correct..

            Will do this some time after RTH ends.

            It's also possible that changes just made to custom objects could have solved the problem.but as of now I still haven't been able to get that workspace to run.

            There are a lot of custom objects. If I can duplicate the error, what about zipping up and sending you my entire Custom folder, plus the Workspace?

            In that case I trust that you will please keep it confidential. Thx

            Rich
            Last edited by Ricam; 04-06-2016, 12:57 PM.

            Comment


              #7
              Hello Ricam,

              Understood, and we would not violate your proprietary code.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by algospoke, Yesterday, 06:40 PM
              2 responses
              19 views
              0 likes
              Last Post algospoke  
              Started by ghoul, Today, 06:02 PM
              3 responses
              14 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by jeronymite, 04-12-2024, 04:26 PM
              3 responses
              45 views
              0 likes
              Last Post jeronymite  
              Started by Barry Milan, Yesterday, 10:35 PM
              7 responses
              21 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by AttiM, 02-14-2024, 05:20 PM
              10 responses
              181 views
              0 likes
              Last Post jeronymite  
              Working...
              X