Нема описа

Lukas Goldschmidt 98e7bb4840 Share conservative sizing across strategies пре 1 месец
src 98e7bb4840 Share conservative sizing across strategies пре 1 месец
strategies 98e7bb4840 Share conservative sizing across strategies пре 1 месец
tests feb4ec9bde Add stop loss rebalancer strategy пре 1 месец
.env 22e90fa945 mcp clients fix, config to .env пре 1 месец
.env.example eb694cf545 gitignore пре 1 месец
.gitignore dee55c5c57 Ignore runtime data directory пре 1 месец
Grid_Bot_Architecture.md 92679277ad Document strategy persistence and grid architecture пре 1 месец
MCP_SURFACE_PROPOSAL.md d2f540c1d0 Add standardized strategy MCP tools пре 1 месец
PROJECT.md d2f540c1d0 Add standardized strategy MCP tools пре 1 месец
README.md d2f540c1d0 Add standardized strategy MCP tools пре 1 месец
Strategy_Contract.md 92679277ad Document strategy persistence and grid architecture пре 1 месец
Strategy_Runtime.md 92679277ad Document strategy persistence and grid architecture пре 1 месец
Strategy_concepts_0.md 92679277ad Document strategy persistence and grid architecture пре 1 месец
Strategy_concepts_1.md 92679277ad Document strategy persistence and grid architecture пре 1 месец
Strategy_concepts_2.md c7dda72849 strategies table looking great пре 1 месец
Strategy_concepts_examples.md 92679277ad Document strategy persistence and grid architecture пре 1 месец
grid_bot_concept.md 92679277ad Document strategy persistence and grid architecture пре 1 месец
killserver.sh 7dbaa98994 initial commit - server scaffold пре 1 месец
requirements.txt 7dbaa98994 initial commit - server scaffold пре 1 месец
restart.sh 7dbaa98994 initial commit - server scaffold пре 1 месец
run.sh c7dda72849 strategies table looking great пре 1 месец
test_servers.sh c7dda72849 strategies table looking great пре 1 месец
tests.sh c7dda72849 strategies table looking great пре 1 месец

README.md

Trader MCP

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

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.