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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      144 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      70 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      78 views
      0 likes
      Last Post PaulMohn  
      Working...
      X