Markfans/cryptoquant-ai ? reverse-engineered prompt

Reverse engineered prompt

Build me a local first crypto trading dashboard that I can run on my own machine for research, monitoring, and backtesting, with optional OKX demo and live trading support. I want a clean web app where I can see market data, balances, open positions, order history, strategy results, and risk events all in one place, with a simple login for local use and secure storage for API credentials.

It should include a strategy engine that can do trend breakout and mean reversion style signals, basic risk gating, take profit and stop loss handling, and a kill switch if conditions get bad. Also add backtesting, shadow trading, portfolio performance charts, execution diagnostics, and an audit trail so I can review what happened later.

Use a modern TypeScript setup with a fast frontend and a small backend, store data locally with SQLite and JSON, and include optional AI summaries plus optional macro data if keys are provided. Make it easy to start locally and safe by default, with demo trading recommended first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab