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

Backtesting Questions - From a beginner

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

    Backtesting Questions - From a beginner

    I have been spending a lot of time in the strategy analyzer trying to find that perfect strategy only to validate the results in the market replay and I get wildly different results. When I then export the results to a spreadsheet and add up the P/L, the P/L, number of trades, and Max Drawdown are all very different.

    It seems like the most accurate result is coming from letting market replay run and exporting the data, however market replay replays very slowly even on max speed (maybe it's my computer, not sure).

    The other issue I'm running into is that I only have 3 months of market replay data, so I'm not sure how great my strategy works outside that time frame.

    Questions:
    1. Is anyone else having trouble getting accurate data from the Strategy Analyzer, and did you find a workaround?
    2. Is there a faster way to get the results of the replay?
    3. Is there a way I can get more days data?

    Thanks for the help,
    dumb noob

    #2
    Hello jourdale,

    There can be many differences from a historical test vs a realtime test depending on the strategies settings and logic. A backtest is a less granular test and does not have all of the same features as realtime trading. Generally you would need to debug your strategy to see what specific differences you are running up against when comparing realtime vs historical tests to know if that can be changed using settings or logic.

    You can find a post that covers this topic here: https://forum.ninjatrader.com/forum/...ay-performance
    JesseNinjaTrader Customer Service

    Comment


      #3
      I know Kinetick has at least 2 years of minute data - is there a way to possibly have more than 90 days worth of market replay data simply by using Kinetick? Is Kinetick data compatible with the Market Replay, or can I only use CQG data for market replay?

      Comment


        #4
        Hello jourdale,

        Kinetick does not offer playback data, that is held on NinjaTrader servers. Most common instruments are recorded for a period of time but will be much less than the historical data. You can optionally record data yourself using the option to record playback data from your connection.

        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by AaronKoRn, Today, 09:49 PM
        0 responses
        7 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Today, 08:42 PM
        0 responses
        9 views
        0 likes
        Last Post carnitron  
        Started by strategist007, Today, 07:51 PM
        0 responses
        10 views
        0 likes
        Last Post strategist007  
        Started by StockTrader88, 03-06-2021, 08:58 AM
        44 responses
        3,977 views
        3 likes
        Last Post jhudas88  
        Started by rbeckmann05, Today, 06:48 PM
        0 responses
        9 views
        0 likes
        Last Post rbeckmann05  
        Working...
        X