Update database schema and configuration for Crypto Trading Bot Platform

- Added new SQLAlchemy models in `database/models.py` for market data, trades, bots, signals, and performance tracking.
- Updated `docker-compose.yml` to use TimescaleDB for PostgreSQL and configured shared preload libraries.
- Created new schema files: `schema.sql` for the complete database setup and `schema_clean.sql` for a simplified version without hypertables.
- Updated documentation in `setup.md` to reflect changes in database initialization and service setup.
This commit is contained in:
Vasily.onl
2025-05-30 17:45:57 +08:00
parent 692611d3ae
commit 8121ce0430
9 changed files with 1310 additions and 17 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
*.pyc
.env
.env.local
.env.*