Process alive but terminal dead: tracking last tick timestamp beats a process watchdog

Bradley B.

18 replies

My BullCharge terminal sat frozen for six hours while Task Manager swore the process was healthy. Since then a small script reads the last tick timestamp from the journal every five minutes and force-restarts on two minutes of silence. Anyone else monitoring ticks instead of process IDs?

3 likes

Replies

  1. late_train

    Live forward logs with real slippage are the only numbers that matter. Curve-fitted backtests fall apart the moment spreads widen.

    1 like

  2. Peter Bell

    Live forward logs with real slippage are the only numbers that matter. Curve-fitted backtests fall apart the moment spreads widen.

    1 like

  3. Gareth Reynolds

    Peter Bell wrote:

    Live forward logs with real slippage are the only numbers that matter. Curve-fitted backtests fall apart the moment spreads widen.

    Wrong thread, mate. And that gospel collapses when the terminal itself freezes - a dead client writes no logs at all, so your forward data has a six-hour hole and you never even knew. Tick monitoring is what keeps the log alive in the first place.

    0 likes

  4. Noah Hayes

    Gareth Reynolds wrote:

    Wrong thread, mate. And that gospel collapses when the terminal itself freezes - a dead client writes no logs at all, so your forward data has a six-hour hole and you never even knew. Tick monitoring…

    Gareth has it right, but a bare two-minute silence rule will restart your terminal every dead Friday evening and thin Asian session. Pair the tick check with server-time staleness or a synthetic heartbeat symbol, then it's actually useful. Watching process IDs alone is amateur hour, though - the process can be alive while the client is catatonic.

    1 like

  5. Edwin G.

    Live forward logs with real slippage are the only numbers that matter. Curve-fitted backtests fall apart the moment spreads widen.

    0 likes

  6. Bastien

    Edwin G. wrote:

    Live forward logs with real slippage are the only numbers that matter. Curve-fitted backtests fall apart the moment spreads widen.

    Live forward logs with real slippage are the only numbers that matter. Curve-fitted backtests fall apart the moment spreads widen.

    1 like

  7. Joseph C.

    Bastien wrote:

    Live forward logs with real slippage are the only numbers that matter. Curve-fitted backtests fall apart the moment spreads widen.

    Live forward logs with real slippage are the only numbers that matter. Curve-fitted backtests fall apart the moment spreads widen.

    0 likes

  8. Bradley B.

    Joseph C. wrote:

    Live forward logs with real slippage are the only numbers that matter. Curve-fitted backtests fall apart the moment spreads widen.

    Copypasting the same line three times in a thread doesn't make it relevant, Joseph. A frozen terminal writes no journal, so your forward logs develop a silent six-hour hole and the slippage data in them is fiction. Tick timestamps keep the log alive; the log doesn't keep the terminal alive.

    0 likes

  9. Peter Bell

    Bradley B. wrote:

    Copypasting the same line three times in a thread doesn't make it relevant, Joseph. A frozen terminal writes no journal, so your forward logs develop a silent six-hour hole and the slippage data in t…

    Fair point, and Noah's caveat is the one worth stealing - a raw two-minute silence rule will chew through restarts on dead Friday evenings and thin Asian hours. Gate it against server-time staleness or a heartbeat symbol. Watchdog on PID alone is still amateur hour though.

    0 likes

  10. Janusz K.

    Peter Bell wrote:

    Fair point, and Noah's caveat is the one worth stealing - a raw two-minute silence rule will chew through restarts on dead Friday evenings and thin Asian hours. Gate it against server-time staleness …

    Add spread check to the restart logic too - a frozen terminal that comes back during news with 20 pip spreads on EURUSD will eat your account faster than downtime ever did. My VPS script restarts, waits for spread under threshold, then lets the EA resume. Downtime is annoying; blind reconnection is expensive.

    0 likes

  11. Milan

    Janusz K. wrote:

    Add spread check to the restart logic too - a frozen terminal that comes back during news with 20 pip spreads on EURUSD will eat your account faster than downtime ever did. My VPS script restarts, wa…

    Only real gap left in your setup is what BullCharge does with an open position during the freeze - a restart script that waits for clean spreads is useless if a trade sat unmanaged for six hours with no stop visible on the broker side. Hard SL on every ticket, server-side, non-negotiable. My MyForexVPS uptime plus Vantage raw feed means nothing if the terminal dies mid-position and the stops live client-side.

    1 like

  12. Richard C.

    Milan wrote:

    Only real gap left in your setup is what BullCharge does with an open position during the freeze - a restart script that waits for clean spreads is useless if a trade sat unmanaged for six hours with…

    This is the only part of the thread that actually matters. If your stops are client-side and the terminal dies, you don't have a stop, you have a prayer. Server-side SL on every ticket from second one, then the watchdog conversation becomes about convenience instead of survival.

    0 likes

  13. Bradley B.

    Richard C. wrote:

    This is the only part of the thread that actually matters. If your stops are client-side and the terminal dies, you don't have a stop, you have a prayer. Server-side SL on every ticket from second on…

    Correct, and that's why my EA config writes the SL into the order ticket at entry, never as a client-side modification after. Watchdogs and heartbeat scripts protect uptime, not capital - only a broker-side stop survives a frozen terminal or a VPS outage. Everything else in this thread is housekeeping.

    0 likes

  14. Peter Bell

    Bradley B. wrote:

    Correct, and that's why my EA config writes the SL into the order ticket at entry, never as a client-side modification after. Watchdogs and heartbeat scripts protect uptime, not capital - only a brok…

    Server-side SL at entry is the only correct answer, everything else in this thread is just keeping the lights on. Only addition: set the SL wide enough that a news spread spike doesn't trigger it, then let the EA tighten it - premature stops during a restart cost money too. Housekeeping, but housekeeping that pays.

    0 likes

  15. Louis

    Peter Bell wrote:

    Server-side SL at entry is the only correct answer, everything else in this thread is just keeping the lights on. Only addition: set the SL wide enough that a news spread spike doesn't trigger it, th…

    Tightening the stop after restart is a client-side modification again, Peter - the exact failure mode you just condemned. If the terminal dies mid-tighten, you're holding a wide stop through news with 0.5% risk intent and 3% actual exposure. My logs show EA Automatic sets final SL at entry, no trailing edits; fewer moving parts, fewer ways to die.

    0 likes

  16. Owen M.

    Louis wrote:

    Tightening the stop after restart is a client-side modification again, Peter - the exact failure mode you just condemned. If the terminal dies mid-tighten, you're holding a wide stop through news wit…

    Louis, show me the actual ticket logs, not your summary of them. If the SL is set wide enough to survive a news spread spike, your 0.5% intent is fiction anyway - price fills on spread, so your real per-trade loss on a raw feed is whatever the widening gives you. Pull the actual fill data from your Tauro ledger over a news week and post the numbers.

    0 likes

  17. Marco Ferri

    Owen M. wrote:

    Louis, show me the actual ticket logs, not your summary of them. If the SL is set wide enough to survive a news spread spike, your 0.5% intent is fiction anyway - price fills on spread, so your real …

    Owen, demanding Louis's fill data while ignoring the simpler question: what did your own ledger lose during Bradley's six-hour freeze scenario? Downtime with a server-side SL is a known cost; your "real loss is whatever the spread gives you" cuts both ways - post a news-week slippage table yourself or stop grading other people's logs.

    0 likes

  18. Magnus

    Marco Ferri wrote:

    Owen, demanding Louis's fill data while ignoring the simpler question: what did your own ledger lose during Bradley's six-hour freeze scenario? Downtime with a server-side SL is a known cost; your "r…

    Both of you are arguing about ledgers while the actual point is boring: tick watchdog, server-side SL at entry, spread gate before resume. My three months on StarTrader raw show one real gap risk event, 2.1 pips slip logged, worst equity dip 4.1%. Post your own freeze-week numbers or you're both grading homework you never sat.

    0 likes

Reply

Sign in to reply.