Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 385 Bytes

Graphs.md

File metadata and controls

21 lines (18 loc) · 385 Bytes
title
Graphs

Candlestick

import yfinance as yf 
data = yf.download(tickers = 'ETH-USD', period = 'max', interval = '1d')
dfpl = data[0:100]
import plotly.graph_objects as go
fig = go.Figure(data=go.Candlestick(
    x = dfpl.index,
    open = dfpl.Open,
    high = dfpl.High,
    low = dfpl.Low,
    close = dfpl.Close    
))

fig.show()