Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Output Window Print Sequence

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

    Output Window Print Sequence

    I have some print statement in my code that outputs the daily equity values for my strategy. When running a backtest with a list of equities the ouput sequence gets mixed up between the different equities. It seems that NT runs the equities in sequence, so why does the output have the daily equity printed values mixed up?

    #2
    Double Bogie, what do you expect to see? The daily PNL for all equities tested lining up for review? The Prints would be fired whenever your code / instance hits that specific section, you could not rely on a particular sequence here as backtesting / optimizing is multithreaded in NT.

    It might be better to export / write those values to txt files.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      I guess you answered my question. Basically you are saying that the strategy code for each equity in the list can be running simultaneously and outputting data as it hits the print statements.

      Comment


        #4
        Originally posted by Double Bogie View Post
        I guess you answered my question. Basically you are saying that the strategy code for each equity in the list can be running simultaneously and outputting data as it hits the print statements.
        Yes, correct Double Bogie.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by maybeimnotrader, Yesterday, 05:46 PM
        1 response
        18 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Perr0Grande, Yesterday, 08:16 PM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by f.saeidi, Yesterday, 08:12 AM
        3 responses
        25 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by algospoke, Yesterday, 06:40 PM
        1 response
        15 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by quantismo, Yesterday, 05:13 PM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X