Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plotted returns and cumulative returns don't match #105

Closed
sjhermanek opened this issue Jan 20, 2022 · 1 comment
Closed

Plotted returns and cumulative returns don't match #105

sjhermanek opened this issue Jan 20, 2022 · 1 comment

Comments

@sjhermanek
Copy link

Description

Returns in results.metrics["Cumulative Returns (%)"] don't match charted returns in Bokehplot or Account Value (USD) in Account History

Platform Info

  • Using latest blankly package
  • Running backtest over 2d

Additional context
image
image
image

@bfan1256
Copy link
Contributor

bfan1256 commented Jan 20, 2022

Just fixed to make cum_returns to use account_values instead of resampled_account_values, this should fix the cumulative returns. We'll add this into the next release (on dev right now)

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

No branches or pull requests

2 participants