|
|
il y a 2 semaines | |
|---|---|---|
| src | il y a 2 semaines | |
| strategies | il y a 2 semaines | |
| tests | il y a 2 semaines | |
| .env | il y a 1 mois | |
| .env.example | il y a 1 mois | |
| .gitignore | il y a 2 semaines | |
| CHANGELOG.md | il y a 2 semaines | |
| PROJECT.md | il y a 3 semaines | |
| README.md | il y a 3 semaines | |
| killserver.sh | il y a 1 mois | |
| requirements.txt | il y a 1 mois | |
| restart.sh | il y a 1 mois | |
| run.sh | il y a 1 mois | |
| test_servers.sh | il y a 1 mois | |
| tests.sh | il y a 1 mois |
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.