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