mysql -u"$DB_USER"-p"$DB_PASS"-D"$DB_NAME"-e"SELECT UNIX_TIMESTAMP(timestamp), price FROM btc_prices WHERE DATE(timestamp) = '$today' ORDER BY timestamp">"$temp_file"
# Format the data for gnuplot (remove the first line containing column names)
tail-n +2 "$temp_file">"formatted_data.txt"
# Resample the data to get one data point every 2.4 hours (8640 seconds)