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 NullPointStrategies, Today, 05:17 AM
          0 responses
          44 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          124 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          65 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          42 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X