How sivanujan/deskmind works
Deskmind is a paper/testnet-only Binance USDT-M futures advisory and trading system, with a web dashboard for monitoring and charting. Market data is collected and stored, live candles feed agents, and strategy intents pass through risk and execution controls. The API exposes read-only chart and dashboard data. Edges reflect README statements or relationships visible in the supplied excerpts and SOURCE INDEX; unsampled subsystems are represented at their existing directory or module paths, without asserting unverified internal calls.
Main entry points: app.py Read-only API · agent.py Trend agent · service.py Execution service · pipeline.py Historical sync
Components 21
Market data
- Historical sync
src/deskmind/data/pipeline.py - Dataset definitions
src/deskmind/data/datasets.py - Live market feed
src/deskmind/data/live/service.py
Analysis
- Trend agent
src/deskmind/agents/trend/agent.py - Trend engine
src/deskmind/agents/trend/engine.py - Chart overlays
src/deskmind/agents/trend/overlays.py - Symbol universe
src/deskmind/universe/daily.py - Backtesting
src/deskmind/backtest/engine.py
Trading
- Trading strategies
src/deskmind/strategies/base.py - Risk evaluation
src/deskmind/risk/evaluator.py - Execution service
src/deskmind/execution/service.py - Binance testnet
API and dashboard
- Web dashboard
apps/web/src/app/(dashboard)/chart/page.tsx - Web API client
apps/web/src/lib/api.ts - Read-only API
src/deskmind/api/app.py - Control routes
src/deskmind/api/control.py - Dashboard routes
src/deskmind/api/dashboard.py
State and storage
- Historical data store
src/deskmind/data/storage.py - Live buffers
src/deskmind/data/live/buffers.py - PostgreSQL
Other components
- Operator
Connections 19
- Operator → Web dashboard: uses
README.md - Web dashboard → Web API client: requests data
- Web API client → Read-only API: calls
README.md - Read-only API → Control routes: registers routes
src/deskmind/api/app.py - Read-only API → Dashboard routes: registers routes
src/deskmind/api/app.py - Historical sync → Dataset definitions: uses definitions
src/deskmind/data/pipeline.py - Historical sync → Historical data store: reads and writes
src/deskmind/data/pipeline.py - Live market feed → Live buffers: updates buffers
README.md - Trend agent → Trend engine: processes candles
src/deskmind/agents/trend/agent.py - Trend agent → Live buffers: reads candles
README.md - Trend agent → Chart overlays: produces overlays
README.md - Read-only API → Chart overlays: serves overlays
src/deskmind/api/app.py - Read-only API → Historical data store: serves candle history
- Backtesting → Trading strategies: runs strategy
src/deskmind/backtest/engine.py - Execution service → Trading strategies: builds intents
src/deskmind/execution/service.py - Execution service → Risk evaluation: evaluates intents
src/deskmind/execution/service.py - Execution service → Binance testnet: submits orders
- Control routes → PostgreSQL: uses state
- Symbol universe → PostgreSQL: persists universe