Frontend framework : React.js
CSS framework : Bootstrap
API : TwelveData, Alpha Vantage
Graphing tools : Plotly
Cloud server : Digital Ocean
- Research on APIs (TwelveData, Alpha Vantage,Yahoo Finance)
- Check data format of data retrieved
- Research on suitable graphing tools. (AnyChart, Plotly, React-stockcharts)
- Getting ideas from some stock viewing sites and combining them together. (Yahoo Finance, Etoro)
- Fetch API.
- Choose both TwelveData and Alpha Vantage as Alpha Vantage do not provide
real-time data
and TwelveData do not provideMarketCap
. - Reconstruct data to suit the format of the graphing tool parameters.
- Displaying required data.
- Set timer to fetch data every
60 seconds
due to limited total amount of requests.(800 per day, 8 per minute)
(TwelveData),(500 per day, 5 per minute)
(Alpha Vantage) - *Changed the required
bid
&ask
tohigh
&low
as API chosen is not from a broker. - *Added
Sector
to make the data displayed neater. - Tried two graphing tools, Plotly & AnyChart and decided to use Plotly as it is more customisable.
- Tried Heroku, which is a free deploying platform.
- Faced
Error => (Javascript Heap Out of Memory)
- Tried to deploy on GitHub but the page is not showing anything.
- Choosing Digital Ocean as server memory is more customisable and cheaper.
- Build app.
- Deploy.
- Debugging the Error stated in
Deploying
. Where the Heap is Out of Memory.
- Enter company code in the search bar above, click
Search
,the relevant information will be displayed, - Regarding the graph, hover above the candle stick to look at the details.
- Drag to adjust specific range for viewing.
- Double click to reset axes.
- Some famous company code:
FB
,APPL
,TSLA
,MSFT
,AMD