• 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

NT8.0.5.0 AddDataSeries - TradingSession not respected on restart

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

    #16
    Originally posted by JerryWar View Post
    Sledge - I have seen issues with AddDataSeries data which is basically visually hidden but makes its presents ( or lack of ) known thru indicators. For the most part doing One or Two reloads corrects the issue and I am off and running, However when I get to using Strategies this will be an issue.

    Thank you for doing this.
    Well for anyone who happens upon this bug, the work around would be to specifically state the Trading Hours and do not rely on the default trading hours that are in the Instrument.

    exa:

    AddDataSeries("ES ##-##", new BarsPeriod { BarsPeriodType = BarsPeriodType.Minute, Value = 3 }, "US Equities RTH");

    And please post that you also have seen this issue.

    Comment


      #17
      Originally posted by sledge View Post
      I am happy to clarify my intentions and what I mean by setting up UTC. I have prepared a short video I can reuse in cases like this which demonstrates setting this up. The motivation behind this is that this will make time data we share with each other through pictures easier to review and use directly with users in different time zones, and make things like daylight savings time easier to ignore.

      https://www.screencast.com/t/Ry8ldvBFOPO5

      I will be re-preparing this video as there is an error, since I am in a part of the world that observes DST my clock moved forward 6 hours instead of 7.

      Thank you for the additional information, this may make this easier to reproduce. I will investigate getting Ninja to behave differently when defaults are selected, as opposed to a template being selected explicitly, and will return when I have more information.
      Jessica P.NinjaTrader Customer Service

      Comment


        #18
        I have some more information regarding this. After our false positives earlier, this behavior has been reliably reproduced on our end.

        When you mentioned

        Instrument ES, Trading Hours 24x7
        Instrument ^VIX, Trading Hours, US Equities RTH or CME Index RTH
        If you run the attached script, you will see the TF using the ES' trading hours, rather than its own Ipe Europe Futures trading hours. This is why manually specifying trading hours, as you suggested, is a valid work-around. Essentially, any secondary+ data series you pass in will use the primary series trading hours.

        Since this is not a documented behavior, I am following up with the responsible teams to determine the appropriate action. Thank you once again for your report.
        Attached Files
        Jessica P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by StealthM93, Today, 07:58 PM
        0 responses
        2 views
        0 likes
        Last Post StealthM93  
        Started by Mykro, Today, 11:01 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by bauerjj10, Today, 12:24 PM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Newtrader101, Today, 06:01 PM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_EricB  
        Started by Steve L, Today, 03:50 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X