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

Measure a quarterly instrument over a year?

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

    Measure a quarterly instrument over a year?

    How can I best measure the performance of a quarterly instrument, over the course of a year?

    I'm testing a strategy on the ES, which is a quarterly instrument. I can certainly run a strategy for the quarter. Under Account Performance tab, then I can generate a report, to measure the overall performance of that strategy.

    The challenge I have is, when I want to do this over a full year, measuring overall. I can seemingly only run a strategy by a quarter. Then, for the year, I need to add up the four quarterly results, and calculate myself.

    As an example, for 2016, I run my strategy for Q1 2016, and generate the strategy results. Then, I restart and run my strategy for Q2 2016, and generate the strategy results. I then need to merge the Q1 strategy results, into the Q2 strategy results by hand. Ditto for Q3 and Q4.

    Instead, I just rather run the strategy for the entire 2016 overall all the quarterly instruments, and have the performance calculated.

    Possible? Thanks again.

    #2
    Hello timmbbo,

    Thanks for your post.

    In the strategy analyzer, you can specify the begin and end date of the analysis and the instrument to analyze. NinjaTrader will retrieve the data needed by each contract over the period specified. For example in the strategy analyzer enter the dates of 01/01/2016 and 12/31/2016, enter the instrument ES 12-17. Ninjatrader will use the rollover dates in the master instrument to determine the contract in effect at the time(s) and will pull the needed historical data.
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by andrewtrades, Today, 04:57 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    6 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    436 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    9 views
    0 likes
    Last Post FAQtrader  
    Started by rocketman7, Today, 09:41 AM
    5 responses
    20 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X