The Browser Heartbeat That Conserves Claude Credits
Some honesty up front: running this engine is expensive on the AI side. Every five minutes, Claude reviews fifteen books — fifteen separate API calls, each carrying a fully briefed meteorological prompt with forecast data, prior fills, and current order-book context. One analysis cycle lands at roughly $0.08–$0.12 in Anthropic spend. Multiply through a day and that becomes $23–$35 per active trader.
Before this update the engine kept running indefinitely once you hit "Start Bot" — including after you closed the tab, went to bed, or simply forgot. We had traders whose sessions ran for 72+ hours straight without anyone watching. That is over $100 of credits burned on trades nobody saw happen.
The Problem
We were burning through thousands of dollars in Claude API credits every week — and a large portion of that was for bots running with nobody watching. Trades were executing, positions were opening and closing, and users had no idea because their browser was closed. Some users came back to find unexpected losses from trades they never saw happen. That's not how a responsible trading platform should work.
How the Heartbeat Works
The solution is elegantly simple. Here's the exact mechanism:
POST /api/heartbeat. This is a few bytes — essentially saying "I'm still here."The Impact
Since implementing the heartbeat system, we've reduced unnecessary API spending by an estimated 60-70%. That's money we're reinvesting directly into making StormBot better — faster servers, more weather data sources, and the Gemini + TensorFlow integrations you'll see launching soon.
More importantly, it protects you. No more waking up to find the bot made trades while you were sleeping. Every trade happens while you're actively monitoring.
Want to Trade Without the Heartbeat?
We understand some traders prefer 24/7 uninterrupted operation. If you'd like the heartbeat system removed from your account — allowing the bot to run continuously even when your browser is closed — we can arrange that on a per-account basis.
Please note that this will significantly increase your API credit consumption. We'll discuss the implications and ensure your account has appropriate credit limits configured before enabling always-on mode.
Contact Us to Schedule a Meeting