Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

RealTime mode to Historical mode and back again

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

    RealTime mode to Historical mode and back again

    Hi,
    Is it possible for a strategy to toggle between real and synthetic trades based on performance criteria? i.e. if performance falls below a metric, switch to synthetic trades, continue monitoring the metric, and resume real trades once performance is again above the metric?
    thanks,
    David

    #2
    Hello trader3000a,

    That would not be possible, once you are in realtime any trades placed would be considered realtime trades. You could just not submit an order if you wanted to not have a real trade at that specific time.

    Comment


      #3
      thanks Jesse,
      So at this time, the only way to achieve my aim would be to set up a shared class so that a clone of the strat running in a sim account continuously tracks the metric value, and the strat on another account refers to that?
      thanks,
      David

      Comment


        #4
        Hello trader3000a,

        I wouldn't be able to make any suggestions on sharing data between scripts. You could use math to manually calculate values in your script if necessary.

        Comment


          #5
          Understood. Math to track the hypothetical trades is something I've considered, but slippage takes us out of corellation. Thanks again. Have a good holiday.
          David

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CaptainJack, 05-29-2026, 05:09 AM
          0 responses
          163 views
          0 likes
          Last Post CaptainJack  
          Started by CaptainJack, 05-29-2026, 12:02 AM
          0 responses
          82 views
          0 likes
          Last Post CaptainJack  
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          125 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          206 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          184 views
          0 likes
          Last Post CarlTrading  
          Working...
          X