在 `trades.py` 中新增 `time_filter` 参数,允许用户按平仓时间或开仓时间筛选交易记录。更新 `Trade.get_all` 方法以支持该功能,并调整查询逻辑以符合新的时间筛选需求。同时,前端组件 `TradeList.jsx` 也进行了相应更新,增加了时间筛选按钮,提升了用户体验和数据查询的灵活性。 |
||
|---|---|---|
| .. | ||
| models | ||
| routes | ||
| __init__.py | ||
| auth_deps.py | ||
| auth_utils.py | ||
| main.py | ||
| redis_log_handler.py | ||
| supervisor_account.py | ||