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.

    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 Aviram Y, 08-09-2023, 09:04 AM
      10 responses
      298 views
      0 likes
      Last Post MrHump
      by MrHump
       
      Started by jpapa, Today, 07:22 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by kevinenergy, 02-17-2023, 12:42 PM
      116 responses
      2,758 views
      1 like
      Last Post kevinenergy  
      Started by franatas, 12-04-2023, 03:43 AM
      7 responses
      106 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Jltarrau, Today, 05:57 AM
      3 responses
      9 views
      0 likes
      Last Post Jltarrau  
      Working...
      X