Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Exporting Basket Backtest Results

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

    Exporting Basket Backtest Results

    I am trying to export the results of a back-test to Excel.
    Unfortunately, I can't seem to get a complete execution list (entry/exit date, entry/exit price) of ALL the instruments in the basket.
    The Performance tab only shows the execution detail of a single instrument at a time and I have a large number of instruments in the basket.
    Does anyone know how to get a comprehensive list?

    Thanks,

    #2
    Originally posted by mjtrader View Post
    I am trying to export the results of a back-test to Excel.
    Unfortunately, I can't seem to get a complete execution list (entry/exit date, entry/exit price) of ALL the instruments in the basket.
    The Performance tab only shows the execution detail of a single instrument at a time and I have a large number of instruments in the basket.
    Does anyone know how to get a comprehensive list?

    Thanks,
    Hello mjtrader,

    Thank you for your post.

    If you click on the Advanced button within the Account Perfomance it will expand the window where you will have the option to choose which instruments you would included within your report.

    I have included a link below to our Help Guide that goes over the Account Performance tab.



    Please let me know if I can be of further assistance.
    Christopher J.NinjaTrader Customer Service

    Comment


      #3
      I don't see a way to add Instruments in the Accounts Performance tab.
      Do I need to setup something?
      This menu appears to control actual trades reporting whereas I want to see execution detail of Back-test results from Strategy Analyzer.

      Comment


        #4
        Hello mjtrader,

        NinjaTrader_Christopher referred to the Account Performance-tab, which is not relevant in your situation.

        Unfortunately it is not possible to export executions for all instruments part of the basket test at once. You will need to export the data in the Executions-tab for each instrument seperate.
        JasonNinjaTrader Customer Service

        Comment


          #5
          I am able to get a list of all executions of all instruments
          in the basket by including the following function in my strategy:

          protected override void OnExecution(IExecution execution)
          {
          Print(execution.ToString());
          }
          And then copying the text from the Output window.
          This, however, gives more detail than I need. Can someone tell me how to print just the Instrument name, fill price, & date from the execution class?

          Right now I get this error running back-test for 20 minutes: System.OutofMemoryError exception thrown.

          Comment


            #6
            Hi mjtrader, I suggest you take a look at this reference sample to work out what statistics you need if the IExecution is too much detail - http://www.ninjatrader-support2.com/...ead.php?t=4084
            BertrandNinjaTrader Customer Service

            Comment


              #7
              I am trying to apply a multi-variable strategy to a basket of stocks to evaluate which combination of variables works best for the basket as a whole. The problem is that when I run the backtest it produces results at the individual stock level and not at the basket or group level. Is there a way to run the backtest so that it treats the basket as a whole and not as a bunch of individual stocks? Am I just not setting up something correctly in my strategy analyzer?

              Thanks

              Comment


                #8
                Mannygags,

                What you are trying to do is portfolio backtesting. Portfolio backtesting is not supported in NinjaTrader.
                Josh P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by ETFVoyageur, Today, 04:00 PM
                1 response
                7 views
                0 likes
                Last Post ETFVoyageur  
                Started by AaronKTradingForum, Today, 03:44 PM
                1 response
                8 views
                0 likes
                Last Post AaronKTradingForum  
                Started by Felix Reichert, 04-26-2024, 02:12 PM
                11 responses
                77 views
                0 likes
                Last Post Felix Reichert  
                Started by junkone, 04-28-2024, 02:19 PM
                7 responses
                83 views
                1 like
                Last Post junkone
                by junkone
                 
                Started by pechtri, 06-22-2023, 02:31 AM
                11 responses
                139 views
                0 likes
                Last Post Nyman
                by Nyman
                 
                Working...
                X