database-analyzer
Specialized in syncing the production database and performing analysis on trades, balances, and market history.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
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.
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!