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 geddyisodin, Today, 05:20 AM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by Max238, Today, 01:28 AM
        3 responses
        32 views
        0 likes
        Last Post Max238
        by Max238
         
        Started by timko, Today, 06:45 AM
        2 responses
        13 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by habeebft, Today, 07:27 AM
        0 responses
        5 views
        0 likes
        Last Post habeebft  
        Started by Tim-c, Today, 03:54 AM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X