fintech-api icon indicating copy to clipboard operation
fintech-api copied to clipboard

[Feature] Add Endpoint to calculate Capital Asset Pricing Model (CAPM)

Open Codeansh opened this issue 2 years ago • 4 comments

Are you adding a new feature?

  • [x] YES
  • [ ] NO

Are you enhancing the old feature?

  • [ ] YES
  • [x] NO

Is your feature request related to a problem?

  • [ ] YES
  • [x] NO

Describe your feature/enhancement.

The Capital Asset Pricing Model (CAPM) is a widely used financial model that helps estimate the expected return on an investment based on its risk and the risk-free rate of return. The formula for calculating the expected return (ER) of an asset using the CAPM is as follows:

ER = Rf + β * (Rm - Rf)

where:

ER represents the expected return on the asset,
Rf is the risk-free rate of return (typically a government bond yield),
β (beta) measures the asset's sensitivity to systematic risk,
Rm is the expected return of the market (usually represented by a broad market index, such as the S&P 500),
Rm - Rf is the equity risk premium, representing the excess return of the market over the risk-free rate.

Can you add the feature by yourself?

  • [x] YES
  • [ ] NO

Additional Information

Please assign this issue to me.

Codeansh avatar Jun 21 '23 16:06 Codeansh

👋 @Codeansh

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.

Please make sure you have given us as much context as possible.

github-actions[bot] avatar Jun 21 '23 16:06 github-actions[bot]

Hello @Codeansh, thank you for raising an issue. 🙌 I have assigned the issue to you. You can now start working on it. If you encounter any problems, please feel free to connect with us. 👍

github-actions[bot] avatar Jun 26 '23 17:06 github-actions[bot]

Hello @Codeansh, this is Version 2 of Fintech API repository, there had been few major updates, please go through the CONTRIBUTING.md to make further contributions. Thanks.

ighoshsubho avatar Jun 30 '23 03:06 ighoshsubho

#399 , please review my pull request.

Codeansh avatar Jul 01 '23 11:07 Codeansh