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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      147 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      71 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
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X