Skip to contents

All functions

get_bbands()
Get Bollinger bands Calculates upper and lower Bollinger bands based on standard deviation of stock's close prirce over the past 20 days
get_data()
Downloads all available historical daily data for stock_ticker from Yahoo finance and stores it as a csv file in data folder as a sub directory of the current working directory If data folder does not exist it is created.
moving_average()
Calculate the moving average of a stock price for a given range of days
plot_200ma()
Plot stock price and corresponding 200 day moving average.
plot_bbands()
Plot stock price and corresponding upper and lower Bollinger bands for the last 200 trading days.
plot_ma_10_20days()
Plot stock price and corresponding 10 and 20 day moving average.
"MSFT"
Microsoft data