import pandas as pd from lightweight_charts import Chart if __name__ == '__main__': chart = Chart() # Columns: | time | open | high | low | close | volume (if volume is enabled) | df = pd.read_csv('ohlcv.csv') chart.set(df) chart.show(block=True)