outstanding positions bug fix

This commit is contained in:
Oleg Sheynin
2025-07-15 00:10:46 +00:00
parent 94ffb32f50
commit 80cf1b60ef
5 changed files with 166 additions and 99 deletions
+2
View File
@@ -526,6 +526,8 @@ class BacktestResult:
day_return = 0
print(f"\n--- {filename} ---")
self.outstanding_positions = data["outstanding_positions"]
# Process each pair
for pair, symbols in data["trades"].items():
pair_return = 0