This commit is contained in:
Boki 2025-06-11 10:35:15 -04:00
parent 8955544593
commit 9d38f9a7b6
91 changed files with 2224 additions and 1400 deletions

View file

@ -326,7 +326,7 @@ export class VectorEngine {
let peak = equity[0];
for (const eq of equity) {
if (eq > peak) peak = eq;
if (eq > peak) {peak = eq;}
drawdown.push((peak - eq) / peak);
}