Risk & Safety

Circuit breakers, credential vaults, and the compliance checks that limit downside.

5 articles

All Risk & Safety Articles

Meet GUARDIAN: the compliance agent that vetoes bad trades

GUARDIAN runs before every single trade execution — checking PDT rules, wash sales, position limits, daily loss, drawdown, quality thresholds, and timing. If any check fails, the trade doesn't happen.

The PDT rule: what it is, why it matters, and how Apex1819 handles it

The Pattern Day Trader rule limits accounts under $25,000 to 3 day trades in any 5-day rolling window. GUARDIAN tracks this counter in real time — and the AI skips trades rather than risk violating it.

The -3% daily halt: why Apex1819 stops trading before you lose more

When daily losses hit -3%, all trading stops automatically. When drawdown hits -10%, the halt is more severe. Both thresholds are hardcoded — not configurable — and that's intentional.

How your brokerage credentials are stored — and why you should trust it

Your Alpaca API keys are stored in Supabase Vault — encrypted, zero plaintext exposure, never in logs. They're fetched once per trade, used, then immediately deleted from memory.

Ready to put this into practice?

Paper trading by default. No real money at risk.

Start Free Trial →

No credit card required