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 Mindset, 04-21-2026, 06:46 AM
          0 responses
          87 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          132 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          68 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          118 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          67 views
          0 likes
          Last Post PaulMohn  
          Working...
          X