1# check source link for more details
2
3import plotly.graph_objects as go
4import pandas as pd
5from datetime import datetime
6df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/finance-charts-apple.csv')
7fig = go.Figure(data=[go.Candlestick(x=df['Date'],
8 open=df['AAPL.Open'],
9 high=df['AAPL.High'],
10 low=df['AAPL.Low'],
11 close=df['AAPL.Close'])])
12
13fig.show()