/stocks-analysis

Stocks analysis using python packages

Primary LanguageJupyter NotebookMIT LicenseMIT

stocks-analysis

Stocks analysis using python packages

Jupyter notebooks

This notebook plots the following stock charts:

  1. Price and Volume charts
  2. Price, SMA, and EMA charts
  3. Price, SMA-50, and SMA-200 charts

yf_ta_part1.properties under config folder has the following parameters that you can configure to pass to the notebook:

  • TICKER - Ticker symbol, e.g., MSFT, this must be a ticker symbol
  • START - start date, e.g. 2021-01-01. This property needs to be adjusted for a ticker as some of them may not have older data
  • TEMPLATE - template for display, it must be one of plotly's template types, e.g. plotly_dark, check Theming and templates in Python for other templates
  • TICKERS  -  list of similar stocks to compare performance. You can also add an index such as Nasdaq 100 (^NDX) to the list

Stock Technical Analysis uses the following main packages:

  • yfinance - reading stocks data
  • TA Lib - Technical Analysis, e.g., SMA, EMA calculations
  • plotly - plotting graphs
  • jproperties - reading the property file
  • pandas - date utilities

An example of a chart showing Price and Volume:newplot (4)

Medium Article

This notebook plots the following stock charts:

  1. Candlestick
  2. RSI and Volume
  3. Bollinger Bands
  4. MACD

Medium Article

This notebook inserts Earnings data into MongoDB Atlas database

Medium Article

Medium Article

Medium Article

Medium Article

Medium Article

Medium Article

Medium Article

Medium Article

Medium Article