Compare commits

..

1 Commits

Author SHA1 Message Date
0fa61a585e
DRY up code, add GBP rates 2025-01-17 14:52:28 -05:00

View File

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