• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnMarketData and Session Template

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

    OnMarketData and Session Template

    Seems OnMarketData continues to execute on my chart after the close of my session template. Is there a way to make OnMarketData honor the beginning and ending time of a custom session template? thanks

    #2
    Hello pman777,

    I am testing for the behavior.

    If am I am able to reproduce, I will report the behavior to our development (and inquire if this is expected).

    I appreciate your patience while I test.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello pman777,

      I was able to confirm the session template prevents only OnBarUpdate from processing and does not prevent OnMarketData/OnMarketDepth or other methods from being triggered and that this is expected behavior.

      Would you like to submit a feature request for the NinjaTrader Development to consider preventing OnMarketData (or other specific methods) from being triggered outside of the session template (Trading Hours in NT8) in a future version of NinjaTrader?
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Originally posted by NinjaTrader_ChelseaB View Post
        I was able to confirm the session template prevents only OnBarUpdate from processing and does not prevent OnMarketData/OnMarketDepth or other methods from being triggered and that this is expected behavior.
        Is there any history on why this was originally done this way? Just wondering.

        Comment


          #5
          Hello sledge,

          Thank you for your response.

          OnMarketData and OnMakretDepth are subscriptions to the live data. Chart bars are built by the Session Template/Trading Hours in order to view the graphs and studies over the desired collection of bars. This means OnBarUpdate is restricted to only the bars updating in the Session.

          This is essentially the difference between live data and a graph that is collection of data (Charts).

          Please let me know if you have any questions.
          Patrick H.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by fluffier, Yesterday, 11:49 PM
          0 responses
          2 views
          0 likes
          Last Post fluffier  
          Started by GARZONJ, Yesterday, 09:02 PM
          0 responses
          2 views
          0 likes
          Last Post GARZONJ
          by GARZONJ
           
          Started by bouncetherubble, Yesterday, 08:42 PM
          0 responses
          3 views
          0 likes
          Last Post bouncetherubble  
          Started by connorgrant5, Yesterday, 01:33 PM
          1 response
          15 views
          0 likes
          Last Post NinjaTrader_ShawnB  
          Started by Mykro, Yesterday, 01:28 PM
          7 responses
          17 views
          0 likes
          Last Post Mykro
          by Mykro
           
          Working...
          X