Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market Replay not calling OnMarketData

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

    Market Replay not calling OnMarketData

    Hi,

    I have run into an issue with my indicator when using Market Replay connection. My handler for OnMarketData is not getting called all the time.

    For example, If I replay the ES for Feb 8 2011 from 12:00am, the first call into OnMarketData doesn't come until after 8am. However, there are lots of trades in between 12:00 and when the indicator gets the first call to OnMarketData(). The supper dom is displaying the market depth and the last trade during this time, so obviously there are trades being fired that are not being sent to OnMarketData.

    In fact it is easily recreated with the VolumeProfile indicator shipped with NT7. I am using 7.0.1000.2

    Any ideas why this is occuring?

    Thanks

    #2
    bi9foot,

    Please ensure you are running your script on a chart with a session template that has 12:00-8:00AM within the session hours. Also, be sure to check that your chart actually has bars prior to replay start. That will ensure you receive all OnMarketData/Depth events.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,229 views
    0 likes
    Last Post xiinteractive  
    Started by andrewtrades, Today, 04:57 PM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    7 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    441 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    12 views
    0 likes
    Last Post FAQtrader  
    Working...
    X