一键导入
polyflup-ops
Operational commands, environment configuration, and deployment for PolyFlup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Operational commands, environment configuration, and deployment for PolyFlup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
SQLite best practices, connection management, and migration system for PolyFlup.
Chronological log of system improvements and session summaries for PolyFlup.
Polymarket-specific terminology, trading strategies, and API reference.
Coding standards, modular architecture, and common execution patterns for the PolyFlup Python backend.
Specialized in maintaining project documentation, ensuring it reflects the current state of the codebase and operational procedures.
Specialized in syncing the production database and performing analysis on trades, balances, and market history.
| name | polyflup-ops |
| description | 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 .env