Skip to content

frank184/hermes-paper-trader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hermes Paper Trader

Agentic paper-trading research scaffold using Hermes Workspace, Hermes Agent, a narrow project MCP, Alpaca paper trading, FastAPI services, Postgres, and simple inference.

The core rule: Hermes does not talk to Alpaca directly. Hermes calls trader-mcp; the orchestrator owns Alpaca access, policy checks, persistence, and paper order submission.

Quick Start

cp .env.example .env
cp services/hermes-workspace/.env.example services/hermes-workspace/.env
# edit .env with Alpaca paper API credentials
# edit services/hermes-workspace/.env with Hermes/Workspace-only secrets
docker compose up --build

Useful local URLs:

  • Hermes Workspace: http://127.0.0.1:3000
  • Hermes native dashboard: http://127.0.0.1:9119
  • Hermes gateway health: http://127.0.0.1:8642/health
  • Trading orchestrator: http://127.0.0.1:8001
  • Inference API: http://127.0.0.1:8002
  • Trader MCP: http://127.0.0.1:8004/mcp

Optional notebooks:

docker compose --profile notebooks up jupyter

Then open http://127.0.0.1:8888.

Service Entry Points

Project Docs

Manual Smoke Checks

./scripts/smoke.sh

Dry-run decision:

curl -X POST http://127.0.0.1:8001/decisions/propose \
  -H 'content-type: application/json' \
  -d '{"symbol":"SPY","qty":1,"dry_run":true,"auto_size":true}'

Import postman/hermes-paper-trader.postman_collection.json for REST and MCP requests.

About

A Hermes MCP Trader Orchestrator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors