I am working on a Python library for financial calculations based on Time series data. One of the functions I'm implementing is beta. This will allow the user to pass two sets of time-series data, one for the market and one for the stock/asset and get the beta.
However, I am stuck at whether I should annualise the returns. I have tried reading about it and I see that different people use different return periods, some use 1-day returns while some use 1-month returns. However, I can't seem to find if they use absolute returns or annualised returns.
While this doesn't drastically alter the Beta, it is an important detail. I can leave it up to the user as well, but I want to have helpful defaults, so that users don't have to pass every parameter.