Add files via upload

This commit is contained in:
FxPouya
2025-12-26 15:19:15 +03:30
committed by GitHub
parent b54fbf0aa8
commit 185ec2ed5d
7 changed files with 603 additions and 17 deletions
+2
View File
@@ -100,6 +100,8 @@ class Strategy {
newStrategy.closeAtOpposite = this.closeAtOpposite;
newStrategy.metrics = this.metrics ? JSON.parse(JSON.stringify(this.metrics)) : {};
newStrategy.fitness = this.fitness || 0;
// Copy walk-forward analysis results
newStrategy.walkForward = this.walkForward ? JSON.parse(JSON.stringify(this.walkForward)) : undefined;
return newStrategy;
}