Market Signals
Market Signals is a signal desk for one trader. It alerts you when a market move starts. Agents read the context and advise you. Breaking news for the markets that have a news query comes from a free stack and, with a key, from NewsAPI.ai (the preferred provider). Plain rules guard the exits of every open position. Every trade uses paper money.
Project site: https://market-signals.io (vision, architecture and a usage guide).
Version 0.1.0. No release is tagged yet. Stage: advisory prototype. Agents propose and the trader decides. Version numbers stay below 1.0 until the system is stable. Milestone v0.2.0 is closed, and v0.3.0 is the next milestone to close (see Roadmap).
The Node engine is end of life since 2026-11-20. It gets no new features and no architectural fixes; those are built in Go. The Go control plane on Postgres takes over its work domain by domain, and milestone v0.13.0 removes Node (https://github.com/mfittko/market-signals/issues/345).
Architecture
The system has four layers. Each kind of state has exactly one component that may change it.
| Layer | Stack | Owns |
|---|
| Engine (end of life) | Node, SQLite (scripts/) | Candles, signals and alerts, the paper ledger and the paper bots, settings, strategy versions it saves itself, chat, provider budgets for its own calls. It stays the live writer of these until each domain moves to Go. |
| Control plane and worker | Go, Postgres (platform/) | Agent runs with leases and fencing, agents and their runtimes (llm, claude-code, mock), advisory positions, news triage, the run audit trail, the model gateway with its breaker and daily spend cap, and pipeline health. Strategies: console saves, activations, archives and restores write to the Go strategy store, and agent runs freeze their strategy from it. It also holds the Go paper ledger, which takes the Node book only through an import, and a typed mirror of the engine settings. The engine settings file stays the live settings source until https://github.com/mfittko/market-signals/issues/365. |
| Position monitor | Go, rules only (platform/) | Stops, targets, trailing stops, time stops and the kill switch for advisory positions, on completed bars. |
| Console | Next.js (platform/web/) | The desk, instrument charts, runs, positions, the portfolio, strategies, alerts and settings, updated live over server-sent events. |
The control plane reads the engine and has no write path to the live paper portfolio. Its Go paper ledger takes the Node book only through cmd/ledger-import, with a reconciliation report. The engine keeps deciding when the control plane is down.
Read more:
Quickstart
You need Node 22.18 or later and a language model key or a Claude Code login. The launchd install and the desktop notifications need macOS. The console stack also needs docker, go, pnpm, jq and openssl.
1. Run the engine
git clone https://github.com/mfittko/market-signals
cd market-signals
node scripts/signal-server.mjs # dashboard on http://127.0.0.1:8787
Open http://127.0.0.1:8787. Press ⚙ to configure the LLM provider, and press 🔔 on the combos you want alerts for. Settings live in data/settings.json, which is gitignored. See docs/engine.md for the full engine reference.
2. Run the console dev stack
cd platform
scripts/dev.sh db # once, main checkout only: creates the shared Postgres container on 127.0.0.1:5544
scripts/dev.sh up # development stack (needs the Postgres container dev.sh db creates; database ms_dev), control plane :8081, worker, console :3000
scripts/smoke.sh # end-to-end check with the mock agent, about 10 seconds
# open http://127.0.0.1:3000 in a browser
scripts/dev.sh down # --db also stops the shared Postgres server, which the live stack uses too