question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

the problem

The Beta calculation should be done using period return and not actual Close price

See: https://www.investopedia.com/ask/answers/070615/what-formula-calculating-beta.asp

How to Calculate Beta To calculate the beta of a security, the [covariance] between the return of the security and the return of the market must be known, as well as the variance of the market returns.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Beta: Definition, Calculation, and Explanation for Investors
A security's beta is calculated by dividing the product of the covariance of the security's returns and the market's returns by the variance...
Read more >
Beta Formula Calculation
Beta can be calculated by dividing the asset's standard deviation of returns by the market's standard deviation. The result is then multiplied by...
Read more >
Calculator for Beta Formula (With Excel template)
To calculate Beta, you can use the above formula, where you divide the standard deviation of asset returns by the standard deviation of...
Read more >
How to Calculate Beta (with Pictures)
To calculate beta, start by finding the risk-free rate, the stock's rate of return, and the market's rate of return all expressed as...
Read more >
How to Calculate Beta (With Examples)
Beta is a measure of a company's stock volatility relative to the overall market. In other words, you're really looking at a company's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found