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 futtrader, 04-21-2024, 01:50 AM
        6 responses
        58 views
        0 likes
        Last Post futtrader  
        Started by sgordet, Today, 11:48 AM
        0 responses
        4 views
        0 likes
        Last Post sgordet
        by sgordet
         
        Started by Trader146, Today, 11:41 AM
        0 responses
        5 views
        0 likes
        Last Post Trader146  
        Started by jpapa, 04-23-2024, 07:22 AM
        2 responses
        19 views
        0 likes
        Last Post rene69851  
        Started by funk10101, Today, 11:35 AM
        0 responses
        3 views
        0 likes
        Last Post funk10101  
        Working...
        X