Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Breaking change in 8.0.2.4 - TradingHours.GetActualSessions() does no long exist

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

    Breaking change in 8.0.2.4 - TradingHours.GetActualSessions() does no long exist

    Hi NinjaTrader

    It seems that the latest 8.0.2.4 has a breaking change
    One of our indicators uses TradingHours.GetActualSessions() which no longer exists
    Could you tell me whats the new way ? And what does this mean for our customers ??
    Erwin
    EB Worx
    NinjaTrader Ecosystem Vendor - EB Worx

    #2
    Hello EB Worx,

    Thank you for your post.

    TradingHours.GetActualSessions() is undocumented and subject to change as are all undocumented methods. I will reach out to our development team to see if there is an alternate method, but it's likely you should be using a SessionIterator:



    You would likely need to update your scripts to use a SessionIterator instead and distribute the updated version to your clients.

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Hello EB Worx,

      Thank you for your patience.

      I confirmed with our development team that this was indeed removed in R24 and that using a SessionIterator would be the suggested change. They also wanted to remind you that you should not rely on code which is not documented since it's subject to change at any time.

      Please let us know if we may be of further assistance to you.
      Kate W.NinjaTrader Customer Service

      Comment


        #4
        Thanks for the quick reply!
        EB Worx
        NinjaTrader Ecosystem Vendor - EB Worx

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by llanqui, Today, 03:53 AM
        0 responses
        4 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        10 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        14 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Yesterday, 08:42 PM
        0 responses
        11 views
        0 likes
        Last Post carnitron  
        Started by strategist007, Yesterday, 07:51 PM
        0 responses
        14 views
        0 likes
        Last Post strategist007  
        Working...
        X