Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market replay vs backtest

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

    Market replay vs backtest

    Hello. I have a strategy running on S&P eminis which I backtested for a given period that generated approx. 14 trade entries. However, when I ran it with the Market replay it only generated 1 trade entry. The replay is showing that the price data is flowing through correctly, and visually I can see that trades should be generated, but they're not. Do you have any idea what might be causing this?

    One theory I have is that one of the inputs for the trade condition is VIX index, and I received a message saying Ninjabrokerage does not support the VIX index. So the data exists in the cache somewhere for the backtest (via my other brokerage account), but when I'm running the simulation it's trying to access data through Ninja which isn't there. I have no idea if that makes sense at all but it's only thing I could think of.

    Any thoughts?

    #2
    Hello stewarco,

    Thanks for the post.

    Vix data is not available from the Playback data servers. Only futures and forex data will be available from those servers. If you are connected to your data provider while running the backtest, then the strategy analyzer will pull the data from your connection, if you are not connected it will pull the data from your database. Since the Playback data servers will not supply this data, this strategy cannot be backtested by means of the playback connection.

    Please let me know if I may be of any further assistance.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      related question

      Thanks Chris. If I wanted to run this strategy live, would I run into the same problem? I'd like to execute all my futures through the ninjabrokerage, but some of the strats reference inputs on instruments or indices that are not supported by ninjabrokerage. I have the multibroker license, so would it be possible for me to connect to both so that I can access the data from my other broker but route the trades to Ninja?

      Thanks,
      Colin

      Comment


        #4
        Hello Colin,

        Thanks for the reply.

        With the Multi-Broker key, you can connect to two brokers and trade with both of those brokers. Just select the account you want to trade in the order entry window. This also means that you will receive data from both of these brokers.

        If the NT Continuum connection can not pull the requested data series, then NinjaTrader will look to the second data connection to get that data. As long as whatever data you need is coming from your data feed, you will not see this happen in real time.

        The help guide page below describes multiple connections further:


        Please let me know if I may be of any further assistance.
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CortexZenUSA, Today, 12:53 AM
        0 responses
        1 view
        0 likes
        Last Post CortexZenUSA  
        Started by CortexZenUSA, Today, 12:46 AM
        0 responses
        1 view
        0 likes
        Last Post CortexZenUSA  
        Started by usazencortex, Today, 12:43 AM
        0 responses
        5 views
        0 likes
        Last Post usazencortex  
        Started by sidlercom80, 10-28-2023, 08:49 AM
        168 responses
        2,266 views
        0 likes
        Last Post sidlercom80  
        Started by Barry Milan, Yesterday, 10:35 PM
        3 responses
        13 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Working...
        X