Bar feed freezes at the open.
The monitor prints BAR FEED STALE at 09:30 with the prior session's close. Restarting sometimes fixes it, nobody knows why, so the fix never sticks.
Independent engineering practice
I diagnose and fix market-data and broker-API failures in live trading systems.
Bar feed
stale, prior close
Order bridge
process up, no fills
Backtest vs live
lookahead, sign error
What a normal morning looks like
For prop firm traders, small quant teams, and developers running automated trading systems who fight unreliable data feeds and order routing.
Engineering services onlyThe monitor prints BAR FEED STALE at 09:30 with the prior session's close. Restarting sometimes fixes it, nobody knows why, so the fix never sticks.
The start script reports every process healthy while signals fire into nothing. The check passed; the execution path was already dead.
A same-bar lookahead or a sign error inflates a win rate. You find out with real money instead of in the script.
Problem
a live monitor reported BAR FEED STALE at 09:30, last bar from the prior session's close. Every forum answer says relog into TWS.
Found
TWS was healthy. A direct ib_insync query returned the correct 17 RTH bars. The 09:25 startup had subscribed before the open, when the newest bar legitimately was the prior close, and that subscription never picked up the new session. The bot's own re-establish-after-stall request returned the same stale history, pointing at cached client state on the existing clientId. Only a new process got fresh data.
Result
recovery went from 20+ minutes and a lost session down to a restart at 09:35. Same signature across five sessions before the mechanism was proven.
Problem
the start script printed BOTH LIVE for two order-routing bridges. Three signals fired that morning. Zero trades executed.
Found
launchd tears down the whole process group when the job exits, so both bridges died at 09:15:17, seconds after being verified. The check ran at the wrong moment, and the health check only parsed the main bot log while the bridges logged elsewhere, so the worst fault of the day was invisible to monitoring.
Result
the failure is now characterised and detectable through a separate liveness assertion, checking that the process exists and that a byte offset is advancing to prove new data is being consumed. A dead bridge can no longer pass as live.
Problem
a multi-year backtest reported results strong enough to justify risking real money. On its face the strategy looked validated.
Found
three separate defects, each of which flattered the result. Exits were evaluated from the signal bar instead of the bar the limit order actually filled on, so trades that never filled still produced outcomes. A short-side P&L sign error meant losses were added to the total instead of subtracted from it. And slippage was included inside the stop-trigger condition rather than only in the fill price, which gave every trade a few extra points of room before it could register as a loss.
Result
corrected on identical data, the honest result was materially worse than the reported one. The strategy was still worth running, but only once it was sized against the real edge rather than the flattering one. The detection method is now a fixed checklist that runs before any number is quoted.
Free 30-minute diagnostic.
Fixed price per fix.
No retainer, no lock-in.
If I can't find it, you don't pay for the search.
Tell me what it's doing wrong.