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 kinfxhk, 07-14-2026, 09:39 AM
      0 responses
      84 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 10:18 AM
      0 responses
      90 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 09:50 AM
      0 responses
      70 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 07:21 AM
      0 responses
      86 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-11-2026, 02:11 AM
      0 responses
      63 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X