Skip to content

Fix a bug in equity curve calculation#38

Open
ordian wants to merge 6 commits intoathon-millane:devfrom
ordian:dev
Open

Fix a bug in equity curve calculation#38
ordian wants to merge 6 commits intoathon-millane:devfrom
ordian:dev

Conversation

@ordian
Copy link
Copy Markdown

@ordian ordian commented May 18, 2025

When we exited a position, our equity was updated as equity_curve.iloc[i] = equity_curve.iloc[i-1] previously, which was incorrect.

Also ran

for f in src/strategies/*.py; do python scripts/update_leaderboard.py $f; done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant