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

What changes when I change TRADING_DAYS_PER_YEAR ? #181

Open
brettelliot opened this issue Jul 28, 2022 · 1 comment
Open

What changes when I change TRADING_DAYS_PER_YEAR ? #181

brettelliot opened this issue Jul 28, 2022 · 1 comment
Labels

Comments

@brettelliot
Copy link

Hi,

Im using bt for backtesting (great tool btw) and im exploring crypto data which trades 365 days a year. I made ffn.core. TRADING_DAYS_PER_YEAR equal to 365 and when I ran my backtests which have 5 years of daily data, I didnt see any differences in the performance stats. I assumed the annualized returns at least would change. So I have two questions...

  1. what performance metrics should change when I change TRADING_DAYS_PER_YEAR from 252 to 365?
  2. The docs say use 360 for crypto. Why would it be 360 and not 365?

Thanks!

@duggar
Copy link

duggar commented Aug 11, 2022

I have same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants