mirror of
				https://git.wownero.com/lza_menace/totrader.git
				synced 2024-08-15 00:33:13 +00:00 
			
		
		
		
	update dashboard with portfo in btc
This commit is contained in:
		
							parent
							
								
									2c1d398465
								
							
						
					
					
						commit
						10fbd8d66e
					
				
					 1 changed files with 118 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -194,7 +194,7 @@
 | 
			
		|||
        "fillGradient": 0,
 | 
			
		||||
        "gridPos": {
 | 
			
		||||
          "h": 10,
 | 
			
		||||
          "w": 20,
 | 
			
		||||
          "w": 10,
 | 
			
		||||
          "x": 4,
 | 
			
		||||
          "y": 0
 | 
			
		||||
        },
 | 
			
		||||
| 
						 | 
				
			
			@ -299,6 +299,121 @@
 | 
			
		|||
          "alignLevel": null
 | 
			
		||||
        }
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        "aliasColors": {},
 | 
			
		||||
        "bars": false,
 | 
			
		||||
        "dashLength": 10,
 | 
			
		||||
        "dashes": false,
 | 
			
		||||
        "datasource": "postgres",
 | 
			
		||||
        "fill": 1,
 | 
			
		||||
        "fillGradient": 0,
 | 
			
		||||
        "gridPos": {
 | 
			
		||||
          "h": 10,
 | 
			
		||||
          "w": 10,
 | 
			
		||||
          "x": 14,
 | 
			
		||||
          "y": 0
 | 
			
		||||
        },
 | 
			
		||||
        "hiddenSeries": false,
 | 
			
		||||
        "id": 35,
 | 
			
		||||
        "legend": {
 | 
			
		||||
          "avg": false,
 | 
			
		||||
          "current": false,
 | 
			
		||||
          "max": false,
 | 
			
		||||
          "min": false,
 | 
			
		||||
          "show": false,
 | 
			
		||||
          "total": false,
 | 
			
		||||
          "values": false
 | 
			
		||||
        },
 | 
			
		||||
        "lines": true,
 | 
			
		||||
        "linewidth": 2,
 | 
			
		||||
        "nullPointMode": "null",
 | 
			
		||||
        "options": {
 | 
			
		||||
          "dataLinks": []
 | 
			
		||||
        },
 | 
			
		||||
        "percentage": false,
 | 
			
		||||
        "pointradius": 2,
 | 
			
		||||
        "points": false,
 | 
			
		||||
        "renderer": "flot",
 | 
			
		||||
        "seriesOverrides": [
 | 
			
		||||
          {
 | 
			
		||||
            "alias": "btc",
 | 
			
		||||
            "color": "#FA6400"
 | 
			
		||||
          }
 | 
			
		||||
        ],
 | 
			
		||||
        "spaceLength": 10,
 | 
			
		||||
        "stack": false,
 | 
			
		||||
        "steppedLine": false,
 | 
			
		||||
        "targets": [
 | 
			
		||||
          {
 | 
			
		||||
            "format": "time_series",
 | 
			
		||||
            "group": [],
 | 
			
		||||
            "metricColumn": "none",
 | 
			
		||||
            "rawQuery": false,
 | 
			
		||||
            "rawSql": "SELECT\n  date AS \"time\",\n  btc\nFROM portfolio\nWHERE\n  $__timeFilter(date)\nORDER BY 1",
 | 
			
		||||
            "refId": "A",
 | 
			
		||||
            "select": [
 | 
			
		||||
              [
 | 
			
		||||
                {
 | 
			
		||||
                  "params": [
 | 
			
		||||
                    "btc"
 | 
			
		||||
                  ],
 | 
			
		||||
                  "type": "column"
 | 
			
		||||
                }
 | 
			
		||||
              ]
 | 
			
		||||
            ],
 | 
			
		||||
            "table": "portfolio",
 | 
			
		||||
            "timeColumn": "date",
 | 
			
		||||
            "timeColumnType": "timestamp",
 | 
			
		||||
            "where": [
 | 
			
		||||
              {
 | 
			
		||||
                "name": "$__timeFilter",
 | 
			
		||||
                "params": [],
 | 
			
		||||
                "type": "macro"
 | 
			
		||||
              }
 | 
			
		||||
            ]
 | 
			
		||||
          }
 | 
			
		||||
        ],
 | 
			
		||||
        "thresholds": [],
 | 
			
		||||
        "timeFrom": null,
 | 
			
		||||
        "timeRegions": [],
 | 
			
		||||
        "timeShift": null,
 | 
			
		||||
        "title": "Portfolio BTC",
 | 
			
		||||
        "tooltip": {
 | 
			
		||||
          "shared": true,
 | 
			
		||||
          "sort": 0,
 | 
			
		||||
          "value_type": "individual"
 | 
			
		||||
        },
 | 
			
		||||
        "type": "graph",
 | 
			
		||||
        "xaxis": {
 | 
			
		||||
          "buckets": null,
 | 
			
		||||
          "mode": "time",
 | 
			
		||||
          "name": null,
 | 
			
		||||
          "show": true,
 | 
			
		||||
          "values": []
 | 
			
		||||
        },
 | 
			
		||||
        "yaxes": [
 | 
			
		||||
          {
 | 
			
		||||
            "format": "short",
 | 
			
		||||
            "label": null,
 | 
			
		||||
            "logBase": 1,
 | 
			
		||||
            "max": null,
 | 
			
		||||
            "min": null,
 | 
			
		||||
            "show": true
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
            "format": "short",
 | 
			
		||||
            "label": null,
 | 
			
		||||
            "logBase": 1,
 | 
			
		||||
            "max": null,
 | 
			
		||||
            "min": null,
 | 
			
		||||
            "show": true
 | 
			
		||||
          }
 | 
			
		||||
        ],
 | 
			
		||||
        "yaxis": {
 | 
			
		||||
          "align": false,
 | 
			
		||||
          "alignLevel": null
 | 
			
		||||
        }
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        "cacheTimeout": null,
 | 
			
		||||
        "colorBackground": false,
 | 
			
		||||
| 
						 | 
				
			
			@ -1885,7 +2000,7 @@
 | 
			
		|||
      "list": []
 | 
			
		||||
    },
 | 
			
		||||
    "time": {
 | 
			
		||||
      "from": "now-12h",
 | 
			
		||||
      "from": "2023-03-01T16:00:00.000Z",
 | 
			
		||||
      "to": "now"
 | 
			
		||||
    },
 | 
			
		||||
    "timepicker": {
 | 
			
		||||
| 
						 | 
				
			
			@ -1905,5 +2020,5 @@
 | 
			
		|||
    "timezone": "",
 | 
			
		||||
    "title": "Monero Trading Desk",
 | 
			
		||||
    "uid": "1KF3M1DGz",
 | 
			
		||||
    "version": 10
 | 
			
		||||
    "version": 5819
 | 
			
		||||
  }
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue