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

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?
    BertrandNinjaTrader Customer Service

    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.
        BertrandNinjaTrader Customer Service

        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,
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by ageeholdings, Today, 07:43 AM
            0 responses
            7 views
            0 likes
            Last Post ageeholdings  
            Started by pibrew, Today, 06:37 AM
            0 responses
            4 views
            0 likes
            Last Post pibrew
            by pibrew
             
            Started by rbeckmann05, Yesterday, 06:48 PM
            1 response
            14 views
            0 likes
            Last Post bltdavid  
            Started by llanqui, Today, 03:53 AM
            0 responses
            6 views
            0 likes
            Last Post llanqui
            by llanqui
             
            Started by burtoninlondon, Today, 12:38 AM
            0 responses
            12 views
            0 likes
            Last Post burtoninlondon  
            Working...
            X