feat: update get_best_pair to allow better filtering

This commit is contained in:
Matthias
2025-07-17 20:27:53 +02:00
parent a5ac8a95a7
commit 31522c681e
2 changed files with 6 additions and 6 deletions

View File

@@ -612,7 +612,7 @@ class RPC:
closed_trade_count = len([t for t in trades if not t.is_open])
best_pair = Trade.get_best_pair(start_date)
best_pair = Trade.get_best_pair([Trade.close_date > start_date, dir_filter])
trading_volume = Trade.get_trading_volume(
[Order.order_filled_date >= start_date, dir_filter]
)