Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is OnMarketData available in Market Replay?

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

    Is OnMarketData available in Market Replay?

    Hello,

    Basically that's the question: Is OnMarketData available in Market Replay? I download data from you server, don't record myself.

    Nothing appears on Print() command in output window. Although it works for onBarUpdate. But I need to assess last price together with bid/ask.

    Thank you.

    #2
    Yes danilam, it's available in replay as well, did you download then both Level 1 and Level 2 data?

    Are you printing from an indicator or strategy?

    Do you load historical data before the replay portion takes over?

    Comment


      #3
      Yes, I downloaded both level 1 and 2.
      I work with an indicator.
      I currently don't have any historical data before replay starts. Is it necessary? Never would thought of that.

      Thank you for further clarification.

      Comment


        #4
        Originally posted by danilam View Post
        Yes, I downloaded both level 1 and 2.
        I work with an indicator.
        I currently don't have any historical data before replay starts. Is it necessary? Never would thought of that.

        Thank you for further clarification.
        Yes, please try running the same test replay with with historical bars loaded before the replay takes over.

        Comment


          #5
          Thank you for exact explanation, Bertrand. I'll try to work out somehow.

          However, is it considered as normal behavior? For me, it's kind of bug, I would say I just don't see how historical candle data has something to do with market replay, and more over with onMarketData method. Can you, please, list it as suggestion with tracking number (or i'm not sure how it works here, sorry)?

          Thanks.

          Comment


            #6
            Yes, that would be considered working as expected, so there's no bug involved here but a limitation that you unfortunately hit with your setup. I will forward this for sure as suggestion for development to look into to further enhance NinjaTrader, once we have the tracking # I'll share it here.

            Thanks again,

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            152 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            89 views
            1 like
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            133 views
            2 likes
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            127 views
            1 like
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            107 views
            0 likes
            Last Post CarlTrading  
            Working...
            X