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 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
      53 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X