Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

NT7 conversion from......Bars.MarketData.Connection.Options.Provider

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

    NT7 conversion from......Bars.MarketData.Connection.Options.Provider

    Hello,

    What does this look like in NT8?

    if (Bars.MarketData.Connection.Options.Provider == Cbi.Provider.Replay)

    cannot find it in the help...

    Thanks

    #2
    Hello llanqui,​

    Thanks for your post.

    Bars.MarketData is not a supported method in NinjaTrader. Therefore we do not have any documentation on it. However, you are free to experiment with it.

    That said, this is also not supported for NinjaTrader 8 and the source code used would be proprietary to NinjaTrader.

    Note that since it is not supported by NinjaTrader, changes could be made here without warning in future releases of NinjaTrader 8.

    You could find all of the supported methods and properties for NinjaTrader 8 on the NinjaTrader 8 help guide: https://ninjatrader.com/support/helpGuides/nt8/

    Let me know if I may further assist.
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Thanks Brandon,

      looks like this is now in Account.ConnectOptions.Provider ?

      Comment


        #4
        Hello llanqui,​

        Thanks for your note.

        Cbi.Connection.PlaybackConnection could be used to check if the Playback connection is connected.

        Please see this forum thread for more information: https://ninjatrader.com/support/foru...018#post812018

        Let me know if you have any further questions.
        Brandon H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by andrewtrades, Today, 04:57 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by chbruno, Today, 04:10 PM
        0 responses
        5 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        436 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        7 views
        0 likes
        Last Post FAQtrader  
        Started by rocketman7, Today, 09:41 AM
        5 responses
        19 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X