Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Live Print statements

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

    Live Print statements

    I'm using Print statements throughout my strategy, so I can monitor prices, indicators, and internal diagnostics in the Output window at regular intervals. This works as expected when running backtests, but I expected my live strategies to be printing to the Output window as well. I'm not getting any output from my live strategies. Are Print statements ignored for live strategies? Is there a setting that controls this?

    j2

    #2
    Prints work in real-time when your strategy is actually processing. Suggest you just try a blank strategy that prints timestamps so you can see how it works.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the suggestion. The live time-stamp test worked fine, so I double-checked my live strategies. The lack of output was due to the connection problem we addressed earlier. My Print statements were in the OnBarUpdate handler for the instrument that wasn't delivering bars. Now that the connection is working, I'm seeing the Outputs I was expecting. Thanks again.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      110 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      59 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      37 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      41 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      78 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X