Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.18 KB

File metadata and controls

30 lines (24 loc) · 1.18 KB

Graph OHLCV data

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.

Graphing OHLCV data

  1. Ensure you have Grafana installed, and you are using the TimescaleDB database that contains the Twelve Data dataset set up as a data source.

  2. In Grafana, from the Dashboards menu, click New Dashboard. In the New Dashboard page, click Add a new panel.

  3. In the Visualizations menu in the top right corner, select Candlestick from the list. Ensure you have set the Twelve Data dataset as your data source.

  4. Click Edit SQL and paste in the query you used to get the OHLCV values.

  5. In the Format as section, select Table.

  6. Adjust elements of the table as required, and click Apply to save your graph to the dashboard.

    Creating a candlestick graph in Grafana using 1-day OHLCV tick data