{ "cells": [ { "cell_type": "markdown", "id": "expired-religious", "metadata": {}, "source": [ "# **Matplotlib OHLC Example**\n", "- https://github.com/matplotlib/mplfinance\n", "- **[Basics of OHLC charts with Python’s Matplotlib](https://towardsdatascience.com/basics-of-ohlc-charts-with-pythons-matplotlib-56d0e745a5be)**\n", "- **[mpl_finance 라이브러리 최신변경 및 신규모듈 추상화로 어렵다](https://github.com/matplotlib/mplfinance)**\n", "\n", "## **1 Loading the DataSet**\n", "데이터 불러오기" ] }, { "cell_type": "code", "execution_count": 1, "id": "visible-overview", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | date | \n", "open | \n", "high | \n", "low | \n", "close | \n", "volume | \n", "change | \n", "
---|---|---|---|---|---|---|---|
577 | \n", "2021-05-04 | \n", "366000 | \n", "367000 | \n", "360500 | \n", "364500 | \n", "398383 | \n", "0.004132 | \n", "
578 | \n", "2021-05-06 | \n", "360500 | \n", "364500 | \n", "359500 | \n", "361500 | \n", "632873 | \n", "-0.008230 | \n", "
579 | \n", "2021-05-07 | \n", "360500 | \n", "364000 | \n", "360000 | \n", "361000 | \n", "444578 | \n", "-0.001383 | \n", "