PixelFund AI is a pixel-art themed stock trading simulation web app with specialist AI agents, realtime quote streaming, and virtual portfolio trading.
cp .env.example .env
npm install
npm run dev:allOpen:
- Web app:
http://localhost:3000 - API:
http://localhost:4000
Run local PostgreSQL + Redis first, then:
npm install
npm run db:setup
npm run dev- Pixel office UI and mobile-responsive experience
- Browser-isolated simulation accounts with scoped portfolio, watchlist, orders, and fill history via
x-demo-user-id - Durable order lifecycle with market, limit, stop, cancel, fill, and fail-closed live-data gating
- Full investment committee lifecycle with specialist, debate, risk council, team lead, and manager outputs
- Realtime websocket quote and lifecycle events
- System Console for API/database/Redis/provider readiness
- Trade sizing hints, richer P&L analytics, and recommendation explainability
- Market-data cache fallback for degraded provider moments
- Shared schema and domain packages
- CI workflow and test suite foundation
- Expanded true integration tests against live DB/Redis in CI
- Deeper observability/monitoring and deployment readiness
- Production auth provider and server-side user management
- Continuous docs-to-code drift prevention improvements
- Product + Implementation Plan
- Architecture
- Setup
- API Contracts
- Realtime Events
- Product Spec (V1)
- Testing
- Deployment
- Roadmap
- Incident Runbook
- Data Provider Comparison
- Why Not yfinance
- Changelog
- Demo Script
- Limitations & Next Steps
- Performance Playbook
- Canonical frontend:
apps/web - Canonical backend:
apps/api - Canonical shared packages:
packages/*
- Public API and websocket contracts must reference shared schema source (
packages/schemas/src/index.ts). - Roadmap phases must include explicit “Done Means” acceptance criteria.
- Setup docs must include exact commands and expected verification output.
- Update docs in the same PR as behavior/interface changes.
npm run docs:check-links
npm run health:check
npm run typecheck
npm testEducational simulation only. Not financial advice.