Ticker Symbol Search API Endpoint for Auto-Completion

Words
438
Reading
2 min
Listen
Play
8y

Repository

https://github.com/yashwanth2804/TickerSymbol

New Project

Ticker Symbol Api End Point

What is the project about?

Recently I had a hackathon challenge to work on real-time stock market data end points. After the hours of research from the various stock market end-point-apis , I had short listed a few. I thought that might be enough to complete my project.

IEX ,

Pros:

A real boon to stock market app developers because of the free unlimited api calls without any limitation.

Cons:

No Realtime data , only with 15 min delay

AlphaVantage,

Pros:

A site for pro developers with near real-time data/live stock data but comes with api key mess and limitation on requests/min made

After a few days of walkthrough, I found myself on the fence because I have to make an auto complete search field like google search box for stock name/symbol searches.

the main catch here is Symbol Search AutoComplete functionality already found in AlphaVantage, that too only 5 API calls/min and 500 api calls/day. Imagine your end user typing keyword of length about 6 char in a minute then you will run out of APIs.

alphavantageAPI.png

Then I had an idea of mixing the both worlds, no API key mess from IEX and high end functionality from AlphaVantage. At first I googled if any already existed but found none while yahoo fiance api was widely used for keyword search, sadly it's deprecated. I had no other choice to stick to AlphaVintage which costs around $30/month,30 api/min.

Thus I ended up making my own keyword filtering on ~8000 stock symbols downloaded data.I thought it could be great if I could host in cloud so that other devs can also use it.

tickersearch API [Just, I named it so]

Github : https://github.com/yashwanth2804/TickerSymbol

Demo : https://tickersearch.surge.sh/

facebook.png

In order to get the required search result , please provide KEYWORD_SEARCH in the following url

https://ticker-2e1ica8b9.now.sh/keyword/KEYWORD_SEARCH

eg : https://ticker-2e1ica8b9.now.sh/keyword/googl

output

[{"symbol":"GOOGL","name":"Alphabet Inc."}]

Pros

  • Free Free Free

  • No API key mess , No email spamming

  • Nothing more Nothing less

Cons

  • Weird API end point url

Technology Stack

  1. NodeJS

  2. Hosted on ZEIT ,with 100GB bandwidth and 3 instances available

Roadmap

  • documentation support for react,and JavaScript

  • When user makes a query they will get the live stock price in return with matched results

How to contribute?

Fork it [https://github.com/yashwanth2804/TickerSymbol] 

Clone it

[https://github.com/<your_github_name>/TickerSymbol.git or [email protected]:your_github_name/TickerSymbol.git] 

git clone https://github.com/your_github_name/TickerSymbol.git

Create a branch

cd first-contributions 



git checkout -b 

Add features

git add you_worked_files 



git commit -m "what your features" 

push it

git push origin your_branch 

Submit a pull request

Then from your account make a pull request

GitHub Account

https://github.com/yashwanth2804

Ticker Symbol Search API Endpoint for Auto-Completion | Ecency