When you have extracted the raw OHLCV data, you can use it to graph the result in a candlestick chart, using Grafana. To do this, you need to have Grafana set up to connect to your $SELF_LONG instance.
-
Ensure you have Grafana installed, and you are using the TimescaleDB database that contains the Twelve Data dataset set up as a data source.
-
In Grafana, from the
Dashboardsmenu, clickNew Dashboard. In theNew Dashboardpage, clickAdd a new panel. -
In the
Visualizationsmenu in the top right corner, selectCandlestickfrom the list. Ensure you have set the Twelve Data dataset as your data source. -
Click
Edit SQLand paste in the query you used to get the OHLCV values. -
In the
Format assection, selectTable. -
Adjust elements of the table as required, and click
Applyto save your graph to the dashboard.
