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

feature request: Middleware to check valid ticker #97

Open
3 tasks
BeauBouchard opened this issue May 23, 2023 · 1 comment
Open
3 tasks

feature request: Middleware to check valid ticker #97

BeauBouchard opened this issue May 23, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@BeauBouchard
Copy link
Member

BeauBouchard commented May 23, 2023

Description

Create a middleware that checks the symbol to make sure its valid amx, nasdaq, nyse listing, as those are relatively the only ones that will show up for finviz charts. There should be about ~7500 of them, and the list changes often, which may require a service, or maintaining some changes down the road for things being delisted, although the image / chart generated will just be an invalid image, and not break the api or most clients.

Tasks

  • create new file middleware/tickerChecker.js
  • make a way to check the symbol/ticker against a list
  • tests
@BeauBouchard BeauBouchard added the enhancement New feature or request label May 23, 2023
@BeauBouchard
Copy link
Member Author

There is a repo, https://github.com/rreichel3/US-Stock-Symbols, which seems to be highly maintained, last updated 14 hours ago.

Their list https://raw.githubusercontent.com/rreichel3/US-Stock-Symbols/main/all/all_tickers.txt seems like a great starting point.

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

No branches or pull requests

1 participant