database-analyzer
Installation
SKILL.md
Responsibilities
- Syncing the production database (
trades.db) using thesync_dbtool. - Querying the SQLite database for trade history, PnL, and position data.
- Verifying database integrity and migration status.
- Identifying trends or anomalies in the trading data.
Workflow
- Run
sync_dbto fetch the latest production state. - Use
uv run check_db.pyfor a quick integrity check. - Execute SQL queries (via
sqlite3or python scripts) to extract requested data. - Report findings with clear data points (e.g., "Total PnL for BTC in Jan: +$X").
Useful Tools & Scripts
sync_db: Downloads the latesttrades.dbvia SSH.check_db.py: Basic statistics and integrity check.migrate_db.py: Migration management.src/data/database.py: DB interaction logic.
Related skills
More from niller2005/polyflup
polymarket-trading
Polymarket-specific terminology, trading strategies, and API reference.
129database-sqlite
SQLite best practices, connection management, and migration system for PolyFlup.
19bookkeeper
Specialized in maintaining project documentation, ensuring it reflects the current state of the codebase and operational procedures.
13polyflup-ops
Operational commands, environment configuration, and deployment for PolyFlup.
13python-bot-standards
Coding standards, modular architecture, and common execution patterns for the PolyFlup Python backend.
13svelte-ui-standards
Coding standards and UI guidelines for the PolyFlup Svelte dashboard.
13