Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

retrieveing StreamWriter data

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

    retrieveing StreamWriter data

    Hello NT support!

    When I create a text file with StreamWriter, and during the running of strategy will be this file 0 byte and I can't able to retrieve the recorded data only that case, when the strategy is reseted. how can I retrieve the recorded data during the running of the strategy? there is somewhere an template file. can be found it?
    thanks for answer.

    #2
    Hello,

    Thanks for the forum post.

    My recommendation would be to create a new file name each time you run the strategy. Use the current time and date as a way to give it a new name.

    You other option is to copy the file while it is being written to and save it as another name before you reset the strategy.

    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      ok. thanks. it succeded in doing. there is a special method for it.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      68 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      38 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      62 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      62 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X