Sin descripción

Lukas Goldschmidt 32b0fcc351 Add grid center shift config and docs hace 1 mes
src 25d984c9fb Fix grid side reconciliation and sizing caps hace 1 mes
strategies 32b0fcc351 Add grid center shift config and docs hace 1 mes
tests 32b0fcc351 Add grid center shift config and docs hace 1 mes
.env 22e90fa945 mcp clients fix, config to .env hace 1 mes
.env.example eb694cf545 gitignore hace 1 mes
.gitignore dee55c5c57 Ignore runtime data directory hace 1 mes
CHANGELOG.md 1e9af8811a Document v0.5.0 trader milestone hace 1 mes
Grid_Bot_Architecture.md 92679277ad Document strategy persistence and grid architecture hace 1 mes
MCP_SURFACE_PROPOSAL.md d2f540c1d0 Add standardized strategy MCP tools hace 1 mes
PROJECT.md 1e9af8811a Document v0.5.0 trader milestone hace 1 mes
README.md 1e9af8811a Document v0.5.0 trader milestone hace 1 mes
Strategy_Contract.md 92679277ad Document strategy persistence and grid architecture hace 1 mes
Strategy_Runtime.md 92679277ad Document strategy persistence and grid architecture hace 1 mes
Strategy_concepts_0.md 92679277ad Document strategy persistence and grid architecture hace 1 mes
Strategy_concepts_1.md 92679277ad Document strategy persistence and grid architecture hace 1 mes
Strategy_concepts_2.md c7dda72849 strategies table looking great hace 1 mes
Strategy_concepts_examples.md 92679277ad Document strategy persistence and grid architecture hace 1 mes
grid_bot_concept.md 92679277ad Document strategy persistence and grid architecture hace 1 mes
killserver.sh 7dbaa98994 initial commit - server scaffold hace 1 mes
requirements.txt 7dbaa98994 initial commit - server scaffold hace 1 mes
restart.sh 7dbaa98994 initial commit - server scaffold hace 1 mes
run.sh c7dda72849 strategies table looking great hace 1 mes
test_servers.sh c7dda72849 strategies table looking great hace 1 mes
tests.sh c7dda72849 strategies table looking great hace 1 mes

README.md

Trader MCP v0.5.0

MCP server for trading-related helper functions, with a dashboard for accounts and strategies.

Release notes

This release marks the point where the stack is genuinely usable:

  • grid trader places, replaces, recenters, and resizes orders as expected
  • strategy execution is stable enough to run continuously
  • shared execution now uses real fees for sizing
  • strategy state and dashboard behaviour are aligned with live trading flow
  • the public MCP surface stays compact while the runtime behaviour is much more complete

What works now

  • grid trading with live order placement and reconciliation
  • observe, pause, resume, stop, and reconcile control actions
  • live render panels and inline strategy config editing
  • account overview in the dashboard, kept intentionally out of the way

Next ideas

Further improvements may include more strategies, a cleaner shared config schema, and extra render widgets such as candles or line graphs. These are useful follow-ups, but they are not blockers for the current release.

Current MCP tools

  • list_strategies
  • get_strategy
  • update_strategy
  • control_strategy

Endpoints

  • GET / - landing page
  • GET /health - lightweight health check
  • GET /mcp/sse - MCP SSE transport endpoint

Quick start

source .venv/bin/activate
pip install -r requirements.txt
./run.sh

Default port: 8570

MCP

The public MCP surface is intentionally small:

  • list_strategies() returns a compact inventory
  • get_strategy(id, include_render=False, include_debug=False) returns one strategy with live metadata
  • update_strategy(id, config=None, state=None) updates config/state and reconciles
  • control_strategy(id, action) handles start, pause, resume, stop, reconcile

Dashboard

  • accounts section is collapsed by default
  • strategies table stays visible
  • per-strategy details expand below the row
  • live render panels update automatically
  • config is editable inline in the detail row

Development

See run.sh, tests.sh, killserver.sh, and restart.sh in this folder.