The home
page provides a keyword search
function to help users find the stock ticker. The ticker search
page asks users to type the desired stock ticker. The plotting page
renders two plots.
The data source is Alphavantage
. Free users can make up to 500 requests per day. The web app applies the daily stock price
and end point search
functions.
daily stock price
contains the following information
- Open price
- Close price
- High
- Low
- Volume
end point search
contains a list of suggested tickers
I use pandas
dataframe to manipulate the time series data, generating average daily price
, moving average
and Bollinger bands
. Then generate two plots using bokeh
:
- The candlestick plot with Bollinger bands
- The average daily stock price and transaction volume
The plot has interactive hover tool. The second plot use twin y-axis to show different metrics.
The two plots are imbedded to the plotting template using components.
The home page has tab connecting to this github. The ticker search page has home page tab and github tab. The plotting page also provides link to google finance search
using the input ticker.