|
|
hai 1 día | |
|---|---|---|
| src | hai 1 semana | |
| strategies | hai 1 día | |
| tests | hai 1 semana | |
| .env | hai 1 semana | |
| .env.example | hai 1 semana | |
| .gitignore | hai 1 semana | |
| AGENTS.md | hai 1 día | |
| CHANGELOG.md | hai 1 semana | |
| PROJECT.md | hai 1 semana | |
| README.md | hai 1 semana | |
| killserver.sh | hai 1 semana | |
| requirements.txt | hai 1 semana | |
| restart.sh | hai 1 semana | |
| run.sh | hai 1 semana | |
| test_servers.sh | hai 1 semana | |
| tests.sh | hai 1 semana |
Trader MCP runs strategies, persists their state, and exposes a compact MCP surface for operator and Hermes control.
report() for Hermescrypto-mcp, not Trader-owned datastart, pause, resume, stop, reconcile)report() and fitset_strategy_policyapply_control_decision(payload)list_strategiesget_strategyupdate_strategycontrol_strategyset_strategy_policyapply_control_decisionget_capabilitiesget_strategy() defaultsBy default, get_strategy() returns compact identity/control data plus report.
Optional flags:
include_configinclude_stateinclude_renderinclude_debuginclude_report (defaults to true)source .venv/bin/activate
pip install -r requirements.txt
./run.sh
Default port: 8570
GET / landing pageGET /health health checkGET /mcp/sse MCP SSE transport endpointGET /dashboard/ dashboardcontrol_strategy() handles lifecycle verbs.set_strategy_policy() stores Hermes intent as risk_posture and priority.apply_control_decision() is the canonical Hermes write tool for switch, pause, resume, and set_risk_mode.report().fit is the main Hermes-facing strategy fit block.report().supervision carries the strategy self-report used by Hermes for switching safety and ranking.See run.sh, tests.sh, killserver.sh, and restart.sh.