5 if [ ! -f $CONFIG ]; then
12 echo "Created config: $CONFIG - Adapt config parameters!"
17 if [ ! -z "$1" ]; then
25 set datafile separator ","
27 set timefmt "%Y-%m-%d %H:%M:%S UTC"
28 set title "EXCHANGE: $EXCHANGE | TIMESPAN: $TIMESPAN\nZERO RATE: $ZERO_RATE $CURRENCY | ZERO VALUE: $ZERO_VALUE $CURRENCY"
29 plot "< wget -q -O - \"https://data.bitcoinity.org/export_data.csv?currency=$CURRENCY&data_type=price&exchange=$EXCHANGE&t=l×pan=$TIMESPAN\"" \
30 using 1:(\$3/$ZERO_RATE*$ZERO_VALUE) with lines title ""