From 84a6ecd029a12fcc23dcc66daf445a838ddab6b6 Mon Sep 17 00:00:00 2001 From: Arne Baeumler Date: Wed, 20 Jan 2021 10:21:05 +0100 Subject: [PATCH] update crypto assets --- htdocs/crypto.html | 56 ++++++++++++++++++++++++++++++---------- scripts/crypto.csv | 12 ++++++++- scripts/cryptoAnalyze.sh | 2 ++ tmpl/crypto-AAVE.tmpl | 17 ++++++++++++ tmpl/crypto-ALGO.tmpl | 17 ++++++++++++ tmpl/crypto-BTC.tmpl | 7 ++++- tmpl/crypto-CVC.tmpl | 17 ++++++++++++ tmpl/crypto-DNT.tmpl | 17 ++++++++++++ tmpl/crypto-ETH.tmpl | 5 +++- tmpl/crypto-LRC.tmpl | 17 ++++++++++++ tmpl/crypto-REN.tmpl | 17 ++++++++++++ tmpl/crypto-SNX.tmpl | 17 ++++++++++++ tmpl/crypto-XLM.tmpl | 7 ++++- tmpl/crypto-XTZ.tmpl | 5 +++- 14 files changed, 195 insertions(+), 18 deletions(-) create mode 100644 tmpl/crypto-AAVE.tmpl create mode 100644 tmpl/crypto-ALGO.tmpl create mode 100644 tmpl/crypto-CVC.tmpl create mode 100644 tmpl/crypto-DNT.tmpl create mode 100644 tmpl/crypto-LRC.tmpl create mode 100644 tmpl/crypto-REN.tmpl create mode 100644 tmpl/crypto-SNX.tmpl diff --git a/htdocs/crypto.html b/htdocs/crypto.html index 4c0e086..bbe165b 100644 --- a/htdocs/crypto.html +++ b/htdocs/crypto.html @@ -14,21 +14,61 @@

home lxc crypto Crypto - Monitoring

+
+ [AAVE (AAVE)]
+ AAVE-EUR +
+ +
+ [Algorand (ALGO)]
+ ALGO-EUR +
+
[Bitcoin (BTC)]
BTC-EUR
- [Ripple (XRP)]
- XRP-EUR + [Civic (CVC)]
+ CVC-EUR
- + +
+ [district0x (DNT)]
+ DNT-EUR +
+ +
+ [Etherium (ETH)]
+ ETH-EUR +
+ +
+ [Loopring (LRC)]
+ LRC-EUR +
+ +
+ [REN (REN)]
+ REN-EUR +
+ +
+ [Synthetix (SNX)]
+ SNX-EUR +
+
[Stellar Lumens (XLM)]
XLM-EUR
+
+ [Tezos (XTZ)]
+ XTZ-EUR +
+
@@ -41,16 +81,6 @@ EOS-EUR
-
- [Etherium (ETH)]
- ETH-EUR -
- -
- [Tezos (XTZ)]
- XTZ-EUR -
-
diff --git a/scripts/crypto.csv b/scripts/crypto.csv index ee07ff4..11994c4 100644 --- a/scripts/crypto.csv +++ b/scripts/crypto.csv @@ -1,3 +1,13 @@ 2020-04-21;BTC;0.00289369;20;1.49;6396.68;40 2020-04-28;BTC;0.12019584;900;13.21;7377.44;40 -2020-08-01;LTC;2.06335807;108.27;2.99;52.472715024203;6 +2020-12-27;XLM;1805.3694240;226.47;2.99;0.1254424701;6 +2021-01-14;ALGO;127.017134;50;1.99;0.378;10 +2021-01-14;DNT;433.03459818;50;1.99;0.1109;10 +2021-01-14;CVC;342.51184292;50;1.99;0.1402;10 +2021-01-14;REN;121.90557567;50;1.99;0.3938;10 +2021-01-14;LRC;141.41461300;50;1.99;0.3395;10 +2021-01-14;SNX;3.85008980;50;1.99;12.47;10 +2021-01-14;AAVE;0.37980223;50;1.99;126.41;10 +2021-01-14;XTZ;22.784402;50;1.99;2.11;10 +2021-01-14;XLM;380.6974577;100;2.99;0.2548;10 +2021-01-14;ETH;0.48874273;500;7.34;1008.01;10 diff --git a/scripts/cryptoAnalyze.sh b/scripts/cryptoAnalyze.sh index b285938..98e5c2e 100755 --- a/scripts/cryptoAnalyze.sh +++ b/scripts/cryptoAnalyze.sh @@ -19,6 +19,7 @@ do if [ "${profitPerc%%.*}" -ge "$SELLTHRESH" ]; then + echo "[$CURRENCY] bought: ${DATE}" echo "[$CURRENCY] profit: ${profitPerc}% >= ${SELLTHRESH}% !!!!" echo "[$CURRENCY] profit: $curProfit EUR (${profitPerc}%)" echo "[$CURRENCY] maxDiff: ${maxDiff}%" @@ -44,6 +45,7 @@ do if [ "0$HOUR" -eq "6" ]; then + echo "[$CURRENCY] bought: ${DATE}" echo "[$CURRENCY] profit: $curProfit EUR (${profitPerc}%)" echo "[$CURRENCY] maxDiff: ${maxDiff}%" echo diff --git a/tmpl/crypto-AAVE.tmpl b/tmpl/crypto-AAVE.tmpl new file mode 100644 index 0000000..d389bbe --- /dev/null +++ b/tmpl/crypto-AAVE.tmpl @@ -0,0 +1,17 @@ +-v AAVE in EUR +-t AAVE sell +--full-size-mode +--color=BACK#343637 +--color=CANVAS#F0F0F0 +--color=FONT#F0F0F0 +--font=TITLE:12:DejaVu Bold +DEF:sell=/var/www/localhost/rrd/crypto-AAVE.rrd:sell:AVERAGE +LINE:126.41#ff0000:2020-01-14 +COMMENT:\n +AREA:sell#CC9A5760:sell +COMMENT:\n +COMMENT: max. avg. min. cur.\n +GPRINT:sell:MAX:%6.4lf %sEUR +GPRINT:sell:AVERAGE:%6.4lf %sEUR +GPRINT:sell:MIN:%6.4lf %sEUR +GPRINT:sell:LAST:%6.4lf %sEUR\n diff --git a/tmpl/crypto-ALGO.tmpl b/tmpl/crypto-ALGO.tmpl new file mode 100644 index 0000000..e37e3be --- /dev/null +++ b/tmpl/crypto-ALGO.tmpl @@ -0,0 +1,17 @@ +-v ALGO in EUR +-t ALGO sell +--full-size-mode +--color=BACK#343637 +--color=CANVAS#F0F0F0 +--color=FONT#F0F0F0 +--font=TITLE:12:DejaVu Bold +DEF:sell=/var/www/localhost/rrd/crypto-ALGO.rrd:sell:AVERAGE +LINE:0.378#FF0000:2021-01-14 +COMMENT:\n +AREA:sell#CC9A5760:sell +COMMENT:\n +COMMENT: max. avg. min. cur.\n +GPRINT:sell:MAX:%6.4lf %sEUR +GPRINT:sell:AVERAGE:%6.4lf %sEUR +GPRINT:sell:MIN:%6.4lf %sEUR +GPRINT:sell:LAST:%6.4lf %sEUR\n diff --git a/tmpl/crypto-BTC.tmpl b/tmpl/crypto-BTC.tmpl index d33fe09..c57e6ae 100644 --- a/tmpl/crypto-BTC.tmpl +++ b/tmpl/crypto-BTC.tmpl @@ -6,8 +6,13 @@ --color=FONT#F0F0F0 --font=TITLE:12:DejaVu Bold DEF:sell=/var/www/localhost/rrd/crypto-BTC.rrd:sell:AVERAGE -COMMENT: max. avg. min. cur.\n +LINE:6396.68#FF0000:2020-04-21 +COMMENT:\n +LINE:7377.44#FF0000:2020-04-28 +COMMENT:\n AREA:sell#CC9A5760:sell +COMMENT:\n +COMMENT: max. avg. min. cur.\n GPRINT:sell:MAX:%6.4lf %sEUR GPRINT:sell:AVERAGE:%6.4lf %sEUR GPRINT:sell:MIN:%6.4lf %sEUR diff --git a/tmpl/crypto-CVC.tmpl b/tmpl/crypto-CVC.tmpl new file mode 100644 index 0000000..928bf59 --- /dev/null +++ b/tmpl/crypto-CVC.tmpl @@ -0,0 +1,17 @@ +-v CVC in EUR +-t CVC sell +--full-size-mode +--color=BACK#343637 +--color=CANVAS#F0F0F0 +--color=FONT#F0F0F0 +--font=TITLE:12:DejaVu Bold +DEF:sell=/var/www/localhost/rrd/crypto-CVC.rrd:sell:AVERAGE +LINE:0.1402#ff0000:2021-01-14 +COMMENT:\n +AREA:sell#CC9A5760:sell +COMMENT:\n +COMMENT: max. avg. min. cur.\n +GPRINT:sell:MAX:%6.4lf %sEUR +GPRINT:sell:AVERAGE:%6.4lf %sEUR +GPRINT:sell:MIN:%6.4lf %sEUR +GPRINT:sell:LAST:%6.4lf %sEUR\n diff --git a/tmpl/crypto-DNT.tmpl b/tmpl/crypto-DNT.tmpl new file mode 100644 index 0000000..6bfcb00 --- /dev/null +++ b/tmpl/crypto-DNT.tmpl @@ -0,0 +1,17 @@ +-v DNT in EUR +-t DNT sell +--full-size-mode +--color=BACK#343637 +--color=CANVAS#F0F0F0 +--color=FONT#F0F0F0 +--font=TITLE:12:DejaVu Bold +DEF:sell=/var/www/localhost/rrd/crypto-DNT.rrd:sell:AVERAGE +LINE:0.1109#FF0000:2021-01-14 +COMMENT:\n +AREA:sell#CC9A5760:sell +COMMENT:\n +COMMENT: max. avg. min. cur.\n +GPRINT:sell:MAX:%6.4lf %sEUR +GPRINT:sell:AVERAGE:%6.4lf %sEUR +GPRINT:sell:MIN:%6.4lf %sEUR +GPRINT:sell:LAST:%6.4lf %sEUR\n diff --git a/tmpl/crypto-ETH.tmpl b/tmpl/crypto-ETH.tmpl index ec43655..26e2c4e 100644 --- a/tmpl/crypto-ETH.tmpl +++ b/tmpl/crypto-ETH.tmpl @@ -6,8 +6,11 @@ --color=FONT#F0F0F0 --font=TITLE:12:DejaVu Bold DEF:sell=/var/www/localhost/rrd/crypto-ETH.rrd:sell:AVERAGE -COMMENT: max. avg. min. cur.\n +LINE:1008.01#ff0000:2021-01-14 +COMMENT:\n AREA:sell#CC9A5760:sell +COMMENT:\n +COMMENT: max. avg. min. cur.\n GPRINT:sell:MAX:%6.4lf %sEUR GPRINT:sell:AVERAGE:%6.4lf %sEUR GPRINT:sell:MIN:%6.4lf %sEUR diff --git a/tmpl/crypto-LRC.tmpl b/tmpl/crypto-LRC.tmpl new file mode 100644 index 0000000..ebb1055 --- /dev/null +++ b/tmpl/crypto-LRC.tmpl @@ -0,0 +1,17 @@ +-v LRC in EUR +-t LRC sell +--full-size-mode +--color=BACK#343637 +--color=CANVAS#F0F0F0 +--color=FONT#F0F0F0 +--font=TITLE:12:DejaVu Bold +DEF:sell=/var/www/localhost/rrd/crypto-LRC.rrd:sell:AVERAGE +LINE:0.3395#ff0000:2021-01-14 +COMMENT:\n +AREA:sell#CC9A5760:sell +COMMENT:\n +COMMENT: max. avg. min. cur.\n +GPRINT:sell:MAX:%6.4lf %sEUR +GPRINT:sell:AVERAGE:%6.4lf %sEUR +GPRINT:sell:MIN:%6.4lf %sEUR +GPRINT:sell:LAST:%6.4lf %sEUR\n diff --git a/tmpl/crypto-REN.tmpl b/tmpl/crypto-REN.tmpl new file mode 100644 index 0000000..a744cc2 --- /dev/null +++ b/tmpl/crypto-REN.tmpl @@ -0,0 +1,17 @@ +-v REN in EUR +-t REN sell +--full-size-mode +--color=BACK#343637 +--color=CANVAS#F0F0F0 +--color=FONT#F0F0F0 +--font=TITLE:12:DejaVu Bold +DEF:sell=/var/www/localhost/rrd/crypto-REN.rrd:sell:AVERAGE +LINE:0.3938#ff0000:2021-01-14 +COMMENT:\n +AREA:sell#CC9A5760:sell +COMMENT:\n +COMMENT: max. avg. min. cur.\n +GPRINT:sell:MAX:%6.4lf %sEUR +GPRINT:sell:AVERAGE:%6.4lf %sEUR +GPRINT:sell:MIN:%6.4lf %sEUR +GPRINT:sell:LAST:%6.4lf %sEUR\n diff --git a/tmpl/crypto-SNX.tmpl b/tmpl/crypto-SNX.tmpl new file mode 100644 index 0000000..a9a34dd --- /dev/null +++ b/tmpl/crypto-SNX.tmpl @@ -0,0 +1,17 @@ +-v SNX in EUR +-t SNX sell +--full-size-mode +--color=BACK#343637 +--color=CANVAS#F0F0F0 +--color=FONT#F0F0F0 +--font=TITLE:12:DejaVu Bold +DEF:sell=/var/www/localhost/rrd/crypto-SNX.rrd:sell:AVERAGE +LINE:12.47#ff0000:2021-01-14 +COMMENT:\n +AREA:sell#CC9A5760:sell +COMMENT:\n +COMMENT: max. avg. min. cur.\n +GPRINT:sell:MAX:%6.4lf %sEUR +GPRINT:sell:AVERAGE:%6.4lf %sEUR +GPRINT:sell:MIN:%6.4lf %sEUR +GPRINT:sell:LAST:%6.4lf %sEUR\n diff --git a/tmpl/crypto-XLM.tmpl b/tmpl/crypto-XLM.tmpl index 17ecfc3..ab28fa3 100644 --- a/tmpl/crypto-XLM.tmpl +++ b/tmpl/crypto-XLM.tmpl @@ -6,8 +6,13 @@ --color=FONT#F0F0F0 --font=TITLE:12:DejaVu Bold DEF:sell=/var/www/localhost/rrd/crypto-XLM.rrd:sell:AVERAGE -COMMENT: max. avg. min. cur.\n +LINE:0.1254424701#FF0000:2020-12-27 +COMMENT:\n +LINE:0.2548#FF0000:2021-01-14 +COMMENT:\n AREA:sell#CC9A5760:sell +COMMENT:\n +COMMENT: max. avg. min. cur.\n GPRINT:sell:MAX:%6.4lf %sEUR GPRINT:sell:AVERAGE:%6.4lf %sEUR GPRINT:sell:MIN:%6.4lf %sEUR diff --git a/tmpl/crypto-XTZ.tmpl b/tmpl/crypto-XTZ.tmpl index 18ebf6f..789ac42 100644 --- a/tmpl/crypto-XTZ.tmpl +++ b/tmpl/crypto-XTZ.tmpl @@ -6,8 +6,11 @@ --color=FONT#F0F0F0 --font=TITLE:12:DejaVu Bold DEF:sell=/var/www/localhost/rrd/crypto-XTZ.rrd:sell:AVERAGE -COMMENT: max. avg. min. cur.\n +LINE:2.11#ff0000:2021-01-14 +COMMENT:\n AREA:sell#CC9A5760:sell +COMMENT:\n +COMMENT: max. avg. min. cur.\n GPRINT:sell:MAX:%6.4lf %sEUR GPRINT:sell:AVERAGE:%6.4lf %sEUR GPRINT:sell:MIN:%6.4lf %sEUR