- Introduced `train_daily.sh` for automating daily model retraining, including data download and model training steps. - Added `install_cron.sh` for setting up a cron job to run the daily training script. - Created `setup_schedule.sh` for configuring Systemd timers for daily training tasks. - Implemented a terminal UI using Rich for real-time monitoring of trading performance, including metrics display and log handling. - Updated `pyproject.toml` to include the `rich` dependency for UI functionality. - Enhanced `.gitignore` to exclude model and log files. - Added database support for trade persistence and metrics calculation. - Updated README with installation and usage instructions for the new features.
14 lines
295 B
Python
14 lines
295 B
Python
"""Database module for live trading persistence."""
|
|
from .database import get_db, init_db
|
|
from .models import Trade, DailySummary, Session
|
|
from .metrics import MetricsCalculator
|
|
|
|
__all__ = [
|
|
"get_db",
|
|
"init_db",
|
|
"Trade",
|
|
"DailySummary",
|
|
"Session",
|
|
"MetricsCalculator",
|
|
]
|