examples moved to archive
This commit is contained in:
11
archive/examples/1_setting_data/setting_data.py
Normal file
11
archive/examples/1_setting_data/setting_data.py
Normal file
@ -0,0 +1,11 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user