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

Request: Dividend yield API endpoint. #37

Open
Dionamus opened this issue Sep 9, 2024 · 0 comments
Open

Request: Dividend yield API endpoint. #37

Dionamus opened this issue Sep 9, 2024 · 0 comments

Comments

@Dionamus
Copy link

Dionamus commented Sep 9, 2024

I know that this can be done with two API requests (I'm currently using /v3/reference/dividends and /v2/aggs/grouped/locale/us/market/stocks/{date} with funky date math like I mentioned in #36) and just dividing the dividend (and optionally multiply the frequency) by the price, but if such an endpoint existed, it could also be done with just one.

I'd also include parameters for specifying forward yield and trailing twelve months (TTM).

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

1 participant