在 `trades.py` 中更新 `get_trades` 和 `get_trade_stats` 方法,增强了交易记录的查询功能,支持更多过滤选项(如 `limit`、`reconciled_only` 和 `include_sync`)。同时,调整了日志记录级别,从 `info` 改为 `debug`,以减少高负载时的日志输出。更新 `database/models.py` 中的 `get_all` 方法,新增参数以支持更灵活的查询,提升了系统的性能与稳定性。 |
||
|---|---|---|
| .. | ||
| models | ||
| routes | ||
| __init__.py | ||
| auth_deps.py | ||
| auth_utils.py | ||
| main.py | ||
| redis_log_handler.py | ||
| supervisor_account.py | ||