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 DannyP96, 05-18-2026, 02:38 PM
    1 response
    27 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    117 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    226 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    418 views
    0 likes
    Last Post CaptainJack  
    Working...
    X