Docs Pricing Get live access

Troubleshooting

Run edgeproof doctor first. It checks all subsystems and mirrors the hints below.

config.load fails

Symptoms: Doctor shows config.load: fail with a missing-variable message.

Fix: Run edgeproof init to generate a valid .env. Or manually set the missing env var. Common culprit: APCA_API_KEY_ID or APCA_API_SECRET_KEY not set.

LLM connectivity fails

Symptoms: llm.connectivity: fail, "connection refused" or timeout.

Fixes:

Alpaca account fails

Symptoms: alpaca.account: fail, 401 or wrong endpoint.

Fixes:

Clock skew warning

Symptoms: alpaca.clock: warn, skew >2s but <30s.

Fix: Enable NTP: sudo sntp -sS time.apple.com (macOS). Clock skew >30s causes a hard fail that blocks trading. Alpaca's clock is authoritative for all time-sensitive checks.

Discord channel not loading

Symptoms: discord.channel: fail, "no messages found" or "navigation timeout".

Fixes (puppeteer mode):

Fixes (bot mode):

Supervisor won't start (already running)

Symptoms: EdgeProof is already running (pid XXXX).

Fix: If the process isn't actually running (crash left a stale PID file):

rm output/supervisor.pid
edgeproof start

Or use edgeproof stop which handles stale PIDs gracefully.

Live trading locked (license)

Symptoms: edgeproof start with ALPACA_PAPER_TRADE=False prints LICENSE_REQUIRED.

Fix: Activate your license:

edgeproof license activate EP-XXXX-XXXX-XXXX-XXXX

If you have open positions and your license expired, EdgeProof starts in exit-only mode, where positions are managed but no new entries are taken until you renew.

Open positions not closing

Symptoms: Stop-loss or take-profit rules aren't firing.

Checks:

  1. Is edgeproof status showing the positions role as running?
  2. Is STREAMING_ENABLED=true? Streaming provides faster price updates than polling.
  3. Check output/logs/positions*.log for any error lines.
  4. Is the market open? Exits may be delayed if Alpaca's order queue is backed up.

Dashboard 404

Symptoms: edgeproof dashboard opens but shows a 404.

Fix: Run npm run build if you're running from source (installs from npm are always pre-built). The asset must be at dist/ledger/public/index.html.