Operational commands, environment configuration, and deployment for PolyFlup.
uv run polyflup.py # Run bot
uv run check_db.py # Check database
uv run migrate_db.py # Run migrations
uv pip install -r requirements.txt
cd ui && npm install
npm run dev # Dev mode
npm run build # Build
npm start # Start production
docker compose up -d --build
docker logs -f polyflup-bot
docker compose down
PROXY_PK: Private key (Required, starts with 0x)BET_PERCENT: Position size (default 5.0)MIN_EDGE: Min confidence (default 0.565)ENABLE_STOP_LOSS, ENABLE_TAKE_PROFIT, ENABLE_REVERSAL: YES/NOMARKETS: Comma-separated symbols (e.g., BTC,ETH)logs/trades_2025.log - All trading activity and monitoringlogs/window_YYYY-MM-DD_HH-mm.log - Specific 15-minute window historylogs/errors.log - Dedicated error stack traces and exceptions# Check database integrity
uv run check_db.py
# Run migrations manually
uv run migrate_db.py
# Check migration status
uv run check_migration_status.py
The bot includes specialized tools for syncing production data:
trades.db via SSHps aux | grep polyflupENABLE_ENHANCED_BALANCE_VALIDATION=YES in .envSearch for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer