Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market Replay hangs after playing 4 days of data

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

    Market Replay hangs after playing 4 days of data

    Hello there,

    I'm having a tough time with Market Replay. Using my strategy it will only play 4 days before it becomes unresponsive.:
    • Crosshairs on the chart disappears, no mouse pointer there either.
    • Market Replay control remains responsive.
    • Rewinding replay data displays "Loading" that is never-ending
    I've tested wiht SampleMAStrategy, it doesn't hang.

    Is this familiar? Known cause? It's in my code for sure but what?

    Many Thanks, Caesar.

    #2
    Hello Caesar,

    Thanks for your post.

    What version of NinjaTrader are you using? Please provide the entire version number. This can be found under Help -> About (Example: 8.0.?.?)

    Does the strategy have secondary added data series by calling AddDataSeries()? If so, do you have market replay data downloaded for that added data series?​

    To find the exact line(s) of code in your strategy that cause the behavior to occur you will need to reduce your code and add debugging prints.

    You could comment out or remove a section of code and retest to see if the behavior persists. If at any point you comment out/remove a section of code and the behavior stops, that section of code is likely causing the behavior. You could add debugging prints for that section of code to narrow in on the offending code.

    To create a copy of your script to modify without affecting the original strategy code, open a New > NinjaScript Editor, select your script, right-click in the Editor, select 'Save as', name the script, and click OK.

    Below is a link to a forum post that demonstrates how to use prints to understand behavior.
    https://ninjatrader.com/support/foru...121#post791121
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Hi Brandon,

      It is: 8.1.1.3 64-bit

      Many Thanks!

      Comment


        #4
        It's silly me ... the "hangs" turns out to be weekend days ...

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        64 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        139 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        75 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        45 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        50 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X