Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

The added or subtracted value results in an un-representable DateTime

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

    The added or subtracted value results in an un-representable DateTime



    I am trying to replay a couple of days on NT8 and I get the following error:


    Error on requesting bar series: "The added or subtracted value results in an un-representable DateTime. Parameter name: value"


    The instrument I am replaying is MES 12-19

    Dates:

    10/4/2019 12:00:00 AM to 5:00:00 PM

    10/3/2019 12:00:00 AM to 11:59:59 PM



    Although I get the error still, the replay works, but I am afraid I may be messing up with the platform.


    The first time I tried to replay I imported with the following parameters:

    Format: NinjaTrader (end of bar timestamps)

    Data type: Last

    Time Zone of Imported Data: Eastern Time (US & Canada)

    Generate “Minute” bars from imported tick data: Yes

    Generate “Day” bars from the imported tick or minute data: Yes



    Since I got the error I went to Historical Data and deleted all of it and imported it again, this time with the following parameters:

    Format: NinjaTrader (end of bar timestamps)

    Data type: Last

    Time Zone of Imported Data: Eastern Time (US & Canada)

    Generate “Minute” bars from imported tick data: No

    Generate “Day” bars from the imported tick or minute data: No



    I got the error again so I went to Historical Data and deleted all of it and imported it again, this time with the following parameters:

    Format: NinjaTrader (end of bar timestamps)

    Data type: Last

    Time Zone of Imported Data: UTC

    Generate “Minute” bars from imported tick data: No

    Generate “Day” bars from the imported tick or minute data: No



    I couldn’t find a Youtube video explaining the use of every parameter. On top of that, if I press <F1> I get the help for NT7 instead of any help for NT8.


    I still get the error and I am running out of ideas. Any help will be appreciated.

    #2
    Hello ivangil,

    Welcome to the NinjaTrader forums!

    Are you using 8.0.19.0? (Help -> About)

    Are you using a live license key or the simulation license key (which begins with @SIM)?

    Are you downloading Market Replay data for the MES 12-19 before connecting to the Playback connection?
    (Can we see a screenshot of this data in the Tools -> Historical Data -> Edit -> Market Replay -> MES 12-19 window?)

    Are you attempting to playback historical tick data?
    (Can we see a screenshot of this data in the Tools -> Historical Data -> Edit -> Historical -> MES 12-19 -> Last -> Tick window?)

    Below is a public link to the training video on Playback.


    As well as public links to the other training videos.



    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea B,

      Thank you for your prompt answer.

      I am using NinjaTrader 8.0.18.1 64-bit

      Yes, my license starts with @SIM as you said.

      Yes, I am downloading Market Replay data for MES 12-19 before connecting to the Playback connection. Here is a picture of how I am doing it:



      The picture for Tools -> Historical Data -> Edit -> Historical -> MES 12-19 is here:



      I am sorry but I couldn't find how to get to Last > Tick window.

      I am also getting these two errors when I come back to connect to Ninja Trader Continuum:

      1. Unable to cache data
      2. Error requesting bars series: "Object reference not set to an instance of an object."


      Thank you for the links to the video about Playback and the other links.

      Ivan Gil

      Last edited by ivangil; 10-06-2019, 07:05 PM.

      Comment


        #4
        Hello ivangil,

        Just a heads up, the screenshot you have provided is of:
        'Tools -> Historical Data -> Edit -> Market Replay -> MES 12-19'

        The Historical expandable section above shows the historical data.
        'Tools -> Historical Data -> Edit -> Historical -> MES 12-19 -> Last -> Tick'

        Please update to the latest version and then clear the historical data and cache.

        Updates to NinjaTrader will contain the latest security updates and bug fixes, as well as new instruments and rollover dates.

        To update NinjaTrader
        • Shutdown all programs including NinjaTrader *important
        • Download NinjaTrader from the public link below
          Click here to download NinjaTrader
        • Double click the downloaded file to execute it
        • Follow the on screen instructions
        Next, please use the steps I have provided below to delete your chart cache and historical data.
        • Close NinjaTrader
        • Open (My) Documents\NinjaTrader 8\db\cache\
        • Delete all files within this folder
        • Go up one directory to the \db\ folder
        • Repeat this procedure for the tick, minute, and day folders as well to delete your downloaded historical data
        • Restart NinjaTrader
        • Connect
        Open a new chart without any indicators or templates applied to see if you are able to load a chart.

        This initial load may take a little longer than normal since all new data is being loaded from the historical data servers. After everything has loaded please restart NinjaTrader and let me know if you continue to experience a slow load time.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Thank you, Chelsea, for your advice and prompt answer.

          I have a lot of templates, some valuable indicators and 3 workspaces that I definitely don't want to lose. This update and cleaning the cache and historical data are going to delete my templates, installed indicators and workspaces?

          One more question: how can I make a backup of my templates, indicators, and workspaces?

          Comment


            #6
            Hello ivangil,

            Updating does not remove your settings.

            As long as the Documents\NinjaTrader 8\ folder is not deleted, moved, or renamed, the settings will remain.

            Only the historical data will be removed.

            To make a backup on the Control Center click Tools -> Export -> Backup file.
            https://ninjatrader.com/support/help...p__restore.htm
            Last edited by NinjaTrader_ChelseaB; 10-08-2019, 09:09 AM.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Thank you, Chelsea, I did everything you suggested exactly as you suggested and I am still receiving the message every time that I try to connect to the Playback Connection.

              Also, I must disconnect and reconnect again every time that I try to use the Playback Connection. The first time it gets stuck and never finishing enabling the Playback control. It doesn't block the platform. I can go ahead, disconnect and reconnect and normally it will give me the errors and then it will work.
              Last edited by ivangil; 10-08-2019, 08:56 AM.

              Comment


                #8
                Hello ivangil,
                1. Restart NinjaTrader
                2. Disconnect from all connections
                3. Close all open workspaces
                4. In a new blank workspace open a new chart to MES 12-19 with no template applied
                  (Do not add any indicators)
                5. Connect to the playback connection

                Does the error still occur?
                Chelsea B.NinjaTrader Customer Service

                Comment


                  #9
                  Yes, Chelsea, I just tried it out and I got the same error.

                  After following your last instructions the playback is getting stuck, sometimes since the beginning of the test, sometimes after minutes of starting my test. Before it was annoying but at least it was working, now it became useless.

                  Unfortunately, I have no time to practice any other way. What should I do?
                  Last edited by ivangil; 10-08-2019, 04:13 PM. Reason: I got into more problems.

                  Comment


                    #10
                    Hello ivangil,

                    Thank you for giving this a try.

                    Please send an email to platformsupport [at] ninjatrader [dot] com so that we may schedule a call with you to further investigate.

                    In the email please include a link to this forum thread.
                    Chelsea B.NinjaTrader Customer Service

                    Comment


                      #11
                      Thank you, Chelsea, I will do it right now.

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by drewski1980, Today, 08:24 AM
                      0 responses
                      3 views
                      0 likes
                      Last Post drewski1980  
                      Started by rdtdale, Yesterday, 01:02 PM
                      2 responses
                      17 views
                      0 likes
                      Last Post rdtdale
                      by rdtdale
                       
                      Started by TradeSaber, Today, 07:18 AM
                      0 responses
                      7 views
                      0 likes
                      Last Post TradeSaber  
                      Started by PaulMohn, Today, 05:00 AM
                      0 responses
                      10 views
                      0 likes
                      Last Post PaulMohn  
                      Started by ZenCortexAuCost, Today, 04:24 AM
                      0 responses
                      6 views
                      0 likes
                      Last Post ZenCortexAuCost  
                      Working...
                      X