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