JTJames Taoinmyblogjames.hashnode.dev·1d ago · 5 min readPull Live Forex Order Book Depth From Real-Time APIsIf you’ve only traded off basic tick prices up until now, you’re missing half the market story — I sure was for months. I used to rely solely on last traded prices for short-term scalping strategies, 00
JTJames Taoinmyblogjames.hashnode.dev·Jun 12 · 3 min readKeep HK Stock WebSocket Running Nonstop (Heartbeat Guide)Anyone who tracks Hong Kong stocks via WebSocket knows that annoying issue all too well. The connection looks active on your end, yet live quotes slowly grind to a halt out of nowhere. I used to blame00
JTJames Taoinmyblogjames.hashnode.dev·Jun 9 · 3 min readKeep Forex WebSocket Alive With Auto Heartbeats If you run live forex feeds, you’ve definitely run into that weird hidden issue. Your WebSocket looks connected on the surface, yet price updates just stop coming out of nowhere. No error alerts, no o00
JTJames Taoinmyblogjames.hashnode.dev·Jun 4 · 3 min readGrab Crypto Historical Candles & Run Trustworthy Backtests Early on when testing crypto trading strategies, I wasted countless hours tweaking indicator parameters, convinced bad strategy logic was ruining my backtest results. It took repeated failed trials to00
JTJames Taoinmyblogjames.hashnode.dev·Jun 3 · 3 min readHow Forex APIs Fill Weekend & Holiday Historical Price GapsAnyone who’s pulled forex historical data’s run into this annoying quirk, right? Pull a full week’s price history, and weekends either go blank or hold a flat unchanged rate for days straight. I once 00