auto_trade_sys/backend/api/routes
薇薇安 f1e2cabc01 feat(account, stats, trades, database): 限制交易记录查询条数以优化内存管理
在 `account.py` 和 `stats.py` 中为获取状态为 open 的交易记录添加了条数限制,避免全表加载导致内存暴增。在 `trades.py` 中也为相关查询添加了限制,确保系统在处理大量数据时的稳定性。此外,更新了 `models.py` 中的默认 limit 设置,进一步优化内存使用。此更新有助于提升系统性能与资源管理。
2026-02-21 01:03:17 +08:00
..
__init__.py a 2026-01-13 17:30:59 +08:00
account.py feat(account, stats, trades, database): 限制交易记录查询条数以优化内存管理 2026-02-21 01:03:17 +08:00
accounts.py 1 2026-02-15 14:18:58 +08:00
admin.py 1 2026-02-14 14:47:30 +08:00
auth.py 增加多账号的支持体系 2026-01-20 15:55:34 +08:00
config.py 调整可能盈利的策略 2026-02-16 11:41:43 +08:00
dashboard.py a 2026-01-14 11:40:50 +08:00
public.py a 2026-01-21 11:48:41 +08:00
recommendations.py a 2026-01-20 10:48:32 +08:00
stats.py feat(account, stats, trades, database): 限制交易记录查询条数以优化内存管理 2026-02-21 01:03:17 +08:00
system.py fix(system): 优化服务状态检查的异常处理逻辑 2026-02-17 07:53:54 +08:00
trades.py feat(account, stats, trades, database): 限制交易记录查询条数以优化内存管理 2026-02-21 01:03:17 +08:00