Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Replay-Connection and ExitClose

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

    Replay-Connection and ExitClose

    Hi,

    I tried to check the automatic OnExitExecution with the replay-connection.
    In live-trading the local-server time is used, so I have to synchronize it.
    Am I right?

    In replay-connection there is no automatic exit-handling (actual local time is 6pm).

    Is the local-time also used in replay-connection. This would clarify this behaviour.

    So, there is no way to test it, only in live-trading ...

    Thx,
    Gamba

    #2
    DarthTraderson, correct local PC time is used as reference and therefore daily synching recommended, in backtest it should take the bars time - which session definitions are you using?

    If you still see issues, try a manual end of day exit with -

    Code:
     
    if (ToTime(Time[0]) >= your exit time as int)
    {
    ExitShort();
    ExitLong();
    }
    PS: Nice blog, best of luck on the operation.

    Comment


      #3
      I'm using 3.30pm to 10.15pm for NQ and YM, but nothing happens in replay-connection. Hm .... don't know whay, but I think I will use the manual time exit then ...

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      647 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      368 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      108 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      571 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      573 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X