{ "__inputs": [ { "name": "DS_MT5CLI_SQLITE", "label": "mt5cli-SQLite", "description": "", "type": "datasource", "pluginId": "frser-sqlite-datasource", "pluginName": "SQLite" } ], "__requires": [ { "type": "datasource", "id": "frser-sqlite-datasource", "name": "SQLite", "version": "1.0.0" } ], "annotations": {"list": []}, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, "links": [], "panels": [ { "datasource": "${DS_MT5CLI_SQLITE}", "fieldConfig": {"defaults": {}, "overrides": []}, "gridPos": {"h": 8, "w": 24, "x": 0, "y": 0}, "id": 1, "title": "Close Price Over Time", "type": "timeseries", "targets": [ { "rawSql": "SELECT \"time\" AS time, \"symbol\", \"close\" FROM grafana_rates WHERE $__timeFilter(time) ORDER BY time", "format": "time_series", "refId": "A" } ] }, { "datasource": "${DS_MT5CLI_SQLITE}", "fieldConfig": {"defaults": {}, "overrides": []}, "gridPos": {"h": 8, "w": 12, "x": 0, "y": 8}, "id": 2, "title": "Spread Over Time", "type": "timeseries", "targets": [ { "rawSql": "SELECT \"time\" AS time, \"symbol\", \"spread\" FROM grafana_rates WHERE $__timeFilter(time) ORDER BY time", "format": "time_series", "refId": "A" } ] }, { "datasource": "${DS_MT5CLI_SQLITE}", "fieldConfig": {"defaults": {}, "overrides": []}, "gridPos": {"h": 8, "w": 12, "x": 12, "y": 8}, "id": 3, "title": "Tick Volume Over Time", "type": "timeseries", "targets": [ { "rawSql": "SELECT \"time\" AS time, \"symbol\", \"tick_volume\" FROM grafana_rates WHERE $__timeFilter(time) ORDER BY time", "format": "time_series", "refId": "A" } ] }, { "datasource": "${DS_MT5CLI_SQLITE}", "fieldConfig": {"defaults": {}, "overrides": []}, "gridPos": {"h": 8, "w": 24, "x": 0, "y": 16}, "id": 4, "title": "Tick Bid/Ask Over Time", "type": "timeseries", "targets": [ { "rawSql": "SELECT \"time\" AS time, \"symbol\", \"bid\", \"ask\" FROM grafana_ticks WHERE $__timeFilter(time) ORDER BY time LIMIT 5000", "format": "time_series", "refId": "A" } ] } ], "refresh": "1m", "schemaVersion": 36, "tags": ["mt5cli", "market"], "templating": { "list": [ { "current": {}, "hide": 0, "includeAll": false, "label": "Data Source", "multi": false, "name": "DS_MT5CLI_SQLITE", "options": [], "query": "frser-sqlite-datasource", "refresh": 1, "type": "datasource" } ] }, "time": {"from": "now-24h", "to": "now"}, "timepicker": {}, "timezone": "browser", "title": "MT5CLI - Market Data", "uid": "mt5cli-market", "version": 1 }