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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    68 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    41 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    24 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    27 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    54 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X