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 ScottWalsh, Today, 06:52 PM
        4 responses
        32 views
        0 likes
        Last Post ScottWalsh  
        Started by olisav57, Today, 07:39 PM
        0 responses
        4 views
        0 likes
        Last Post olisav57  
        Started by trilliantrader, Today, 03:01 PM
        2 responses
        19 views
        0 likes
        Last Post helpwanted  
        Started by cre8able, Today, 07:24 PM
        0 responses
        6 views
        0 likes
        Last Post cre8able  
        Started by Haiasi, Today, 06:53 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Working...
        X