I am following the sample research environment example as given at

https://github.com/QuantConnect/Lean/blob/master/Jupyter/BasicQuantBookTemplate.ipynb

spy = qb.AddEquity("SPY")

h1 = qb.History(qb.Securities.Keys, 360, Resolution.Daily)

h1.loc["SPY"]["close"].plot()

I wanted to plot candle stick pattern instead of the linechart.

Author