Hermes Agent 411d968f87 refactor(trader): v7 generic engine + YAML strategy config
Splits the monolithic trader.py (v6, 633 LOC) into a generic engine
(234 LOC) + config/strategy.yaml. Strategy is now declarative — change
risk parameters, indicator thresholds, and asset universe without
touching code.

Key changes:
- trader.py: reads config/strategy.yaml, no hardcoded thresholds/universe
- config/strategy.yaml: TWAP Reversion V7 settings (RSI 30/70, BB 20/2,
  EMA-12, 3% per-trade, 100 OSMO daily loss cap)
- Dockerfile: ubuntu:22.04 + osmosisd v31.0.0
- docker-compose.yml: cron-triggered, host network for LiteLLM
- state.json: extended with pool snapshots for pools 24, 124, 125
- portfolio_tally.json: new portfolio tracking file

This is the 'generic engine, declarative strategy' pattern — no code
edits needed to tune parameters going forward.
2026-06-27 16:48:58 +00:00
Description
Osmosis TWAP Reversion Bot
99 KiB