DEV Community

xuks124
xuks124

Posted on

After a disconnection left my position hanging, I built a "brake layer" for my own algo setup (lessons + tool)

Sharing a lesson learned the hard way: my strategy script crashed on a reconnect, logged an error — and my order was still live. That incident shifted my focus from "making my strategy smarter" to "making failure recoverable", and eventually into VigilDesk, a local-first safety layer for algo traders.

What the brake layer does:

  • Kill-switch on connectivity loss / API errors (halt first, diagnose later)
  • Hard caps on position size and order frequency — the strategy cannot breach the guardrails
  • Anomaly circuit breakers (erratic fills, abnormal slippage)
  • Full local audit log; account data stays on your machine

What it is NOT: no signals, no trade recommendations, no managed accounts, and zero performance claims. Your strategy is the steering wheel; this is the brake.

Risk disclosure: algorithmic trading carries both technical and market risk; no tool eliminates the possibility of loss. Not financial advice.

Project page: https://xuks124.github.io · Repo: https://github.com/xuks124/vigildesk. Roast it — especially the parts you'd design differently.

Top comments (0)