XMR Market Cap: ${{ .Get "market_cap" }}.

Street Price: ${{ .Get "street_price" }}.

{{ $times := slice "Week" "Month" "Year" }}

Monero (XMR) Price

{{ $td := .Get "table_date" }} {{ $price := split (.Get "price_usd") "," }} {{ $week := index $price 1 }} {{ $month := index $price 2 }} {{ $year := index $price 3 }} {{ $price = slice $week $month $year }} {{ range $i, $v := $price }} {{ $color := "green" }} {{ if eq (substr $v 0 1) "-" }} {{ $color = "red" }} {{ end }} {{ end }} {{ $price := split (.Get "price_eur") "," }} {{ $week := index $price 1 }} {{ $month := index $price 2 }} {{ $year := index $price 3 }} {{ $price = slice $week $month $year }} {{ range $i, $v := $price }} {{ $color := "green" }} {{ if eq (substr $v 0 1) "-" }} {{ $color = "red" }} {{ end }} {{ end }} {{ $price := split (.Get "price_btc") "," }} {{ $week := index $price 1 }} {{ $month := index $price 2 }} {{ $year := index $price 3 }} {{ $price = slice $week $month $year }} {{ range $i, $v := $price }} {{ $color := "green" }} {{ if eq (substr $v 0 1) "-" }} {{ $color = "red" }} {{ end }} {{ end }}
{{ $td }} Week Month Year
USD ${{ index $price 0 }}{{ $v }}%
EUR €{{ index $price 0 }}{{ $v }}%
BTC ₿{{ index $price 0 }}{{ $v }}%

Data taken on {{ .Get "date" }}.