Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Same version, data, strategy, settings, charts, diff results

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

    Same version, data, strategy, settings, charts, diff results

    I have done the following:
    1. copy my replay data from one computer to another (from the DB folder in the Ninjatrader 8)
    2. copy strategy code from one machine to the other, ensuring they are exactly the same (I wrote the source so I know they are identical)
    3. running same exact replay data on each machine

    The two machines are calculating differently for some reason.

    I noticed this also happens during live market trading (using tradovate on both).... they entering at different times and taking different trades, even with same exact strategy, settings, and chart settings.

    Why is this?

    #2
    Hello halgo_boulder,

    Without debugging the strategy on both PC's that would be impossible to say what the specific difference is. We have a guide that goes over comparing strategy results and how to debug a strategy, that would be useful for both comparing historical and realtime or also comparing two different PC's. You would need to add prints into the code to make sure the strategy had started on the exact same data point and also processed the exact same way on both pcs. Comparing the output will let you spot any differences so you can know exactly why its different.

    Comment


      #3
      Can you tell me why they would start at different data points if I have them set to start at the same data point on market replay?

      Comment


        #4
        Hello halgo_boulder,

        That could be due to differences in data, unfortunately I couldn't say if that is the specific problem its just one item that you would need to check by using Print statements in the scripts code.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        81 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        41 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        66 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        54 views
        0 likes
        Last Post CarlTrading  
        Working...
        X