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 r68cervera, Today, 05:29 AM
        0 responses
        3 views
        0 likes
        Last Post r68cervera  
        Started by geddyisodin, Today, 05:20 AM
        0 responses
        3 views
        0 likes
        Last Post geddyisodin  
        Started by JonesJoker, 04-22-2024, 12:23 PM
        6 responses
        35 views
        0 likes
        Last Post JonesJoker  
        Started by GussJ, 03-04-2020, 03:11 PM
        12 responses
        3,239 views
        0 likes
        Last Post Leafcutter  
        Started by AveryFlynn, Today, 04:57 AM
        0 responses
        6 views
        0 likes
        Last Post AveryFlynn  
        Working...
        X