Skip to content

Commit c0283c3

Browse files
authored
Merge pull request #1 from parle-ai/feature/copytrack
feat: copy-trading replay & comparison system
2 parents 39fb91a + 566f32d commit c0283c3

27 files changed

Lines changed: 5236 additions & 31 deletions

CLAUDE.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Forked from [agent-next/polymarket-paper-trader](https://github.com/agent-next/p
1414
# Install
1515
pip install -e ".[dev]"
1616

17-
# Tests (615 non-live + 42 live = 657 total, 100% coverage)
17+
# Tests (791 non-live + 44 live = 835 total, 100% coverage)
1818
python3 -m pytest tests/ -x -q -m "not live" # fast, skip live API tests
1919
python3 -m pytest tests/ -v # verbose
2020
python3 -m pytest tests/ --cov=pm_trader --cov-report=term-missing # coverage
@@ -24,9 +24,15 @@ python3 -m pytest tests/test_e2e_live.py -v # live API (requires ne
2424
python3 -m pytest tests/test_engine.py -x -q # one file
2525
python3 -m pytest tests/test_engine.py::TestBuy::test_buy_yes -x -q # one test
2626

27-
# Run
27+
# Run (first time only — do NOT re-run init if account already exists, it resets cash)
2828
pm-trader init --balance 10000
2929
pm-trader-mcp # MCP server on stdio
30+
31+
# Dev (frontend + backend with auto-reload, no init needed)
32+
pm-trader web --port 8000 --reload # backend API (FastAPI + Uvicorn)
33+
cd frontend && npm install && npm run dev # frontend (Vite + React, port 5173)
34+
# Frontend proxies /api → http://127.0.0.1:8000
35+
# Open http://localhost:5173 for the dashboard
3036
```
3137

3238
## Architecture

0 commit comments

Comments
 (0)