Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to Retrieve Logging Results for Strategy

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

    How to Retrieve Logging Results for Strategy

    I enabled logging for a strategy used in simulated trading. I forgot to open a new NinjaScript output window before today's session began, and only opened it 20 minutes after session start. Is there a way to retrieve those first 20 minutes that I missed? Since I enabled logging for strategy without opening an output window, is this data stored somewhere on my hard drive?

    #2
    Hello Ocean Zhang,

    The output window is only able to add text while the window is open. This is not written to file.

    You can choose to write to file if you need a permanent copy of the output.

    Below is a link to an example of writing to a file.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Ok, so there's no way to retrieve the first 20 minutes of today's session since I didn't have the output window open?

      Comment


        #4
        Hello Ocean Zhang,

        That is correct. It is not possible to get information that is not written to the output window when the output window is not open.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mestor, 03-10-2023, 01:50 AM
        16 responses
        389 views
        0 likes
        Last Post z.franck  
        Started by rtwave, 04-12-2024, 09:30 AM
        4 responses
        31 views
        0 likes
        Last Post rtwave
        by rtwave
         
        Started by yertle, Yesterday, 08:38 AM
        7 responses
        29 views
        0 likes
        Last Post yertle
        by yertle
         
        Started by bmartz, 03-12-2024, 06:12 AM
        2 responses
        23 views
        0 likes
        Last Post bmartz
        by bmartz
         
        Started by funk10101, Today, 12:02 AM
        0 responses
        7 views
        0 likes
        Last Post funk10101  
        Working...
        X