Compare commits

..

1 Commits

Author SHA1 Message Date
d45f782a5e
DRY up code, add GBP rates 2025-01-17 14:48:43 -05:00

View File

@ -4,7 +4,7 @@
YESTERDAY=$(date -d "yesterday" +%Y-%m-%d)
echo "Starting price tracking for $YESTERDAY" >&2
# Fetch and process rates for a fiat currency
# Function to get and process price data for a currency
get_price_data() {
local currency=$1
local data avg open24 last