stocksignals.plot_ma_10_20

Module Contents

Functions

plot_ma_10_20days(stock_symbol)

Plot stock price and corresponding 10 and 20 day moving average.

stocksignals.plot_ma_10_20.plot_ma_10_20days(stock_symbol)[source]

Plot stock price and corresponding 10 and 20 day moving average. :param stock_symbol: Ticker symbol of the stock for which the plot is created :type stock_symbol: string

Returns:

A line chart showing price data and corresponding 10 and 20 day moving average line for a stock.

Return type:

Matplotlib chart

Examples

>>> plot_ma_10_20days("MSFT")