Visualizing Historical Bitcoin Prices

This notebook explores visualizing historical price data for Bitcoin. A colorized candlestick chart helps visualize daily price trends and larger time frame price trends together: https://en.wikipedia.org/wiki/Candlestick_chart

Fetching Historical Price Data

Candlestick Chart

Use matplotlib and mpl finance library for candlestick support: https://github.com/matplotlib/mpl_finance

Chart shows:

  • Bitcoin prices organized by day (in UTC)
  • X-axis is Date
  • Y-axis is Price at Open, High, Low, and Close of the day

Interpretation

  • Color:
    • Green candlesticks are "bullish" trend days (increased price)
    • Red candlesticks are "bearish" trend days (decreased price)
  • Body: Difference between open and close, day's trend strengh
  • Shadows: Day's price range, high above open/close, low below open/close
  • more ...