Plot a candlestick chart for stocks, forex, or crypto in Python

PHOTO EMBED

Mon Sep 05 2022 12:28:06 GMT+0000 (Coordinated Universal Time)

Saved by @Rmin #python #plot #chart #forex

def print_data_chart():
    data = pd.read_csv("USDCAD.csv")
    chart_data = go.Candlestick(x=data['time'], open=data['open'], high=data['high'], low=data['low'], close=data['coose'])
content_copyCOPY

candlestick chart

https://www.conorjohanlon.com/plot-a-candlestick-chart-for-stocks-forex-or-crypto-in-python/