From f27af6a1d54f7dbff4e4a99fe727b544981575f7 Mon Sep 17 00:00:00 2001 From: olli Date: Thu, 30 May 2024 17:32:41 +0200 Subject: [PATCH] yahoo history fix --- dabo/functions/market_performance.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dabo/functions/market_performance.sh b/dabo/functions/market_performance.sh index 66f2484..e0fdd29 100644 --- a/dabo/functions/market_performance.sh +++ b/dabo/functions/market_performance.sh @@ -64,7 +64,7 @@ function market_performance { local f_index_performance_added=0 local f_index_performance_csv="" local f_INDEX - local f_indexlist=$(ls -1t asset-histories/*INDEX* | egrep -v 'US-UNEMPLOYMENT-INDEX|US-CONSUMER-PRICE-INDEX|US-FED-FEDERAL-FUNDS-RATE-INVERTED' | perl -pe 's#asset-histories/(.+)-INDEX.history.csv#$1#') + local f_indexlist=$(ls -1t asset-histories/*INDEX*history.csv | egrep -v 'US-UNEMPLOYMENT-INDEX|US-CONSUMER-PRICE-INDEX|US-FED-FEDERAL-FUNDS-RATE-INVERTED' | perl -pe 's#asset-histories/(.+)-INDEX.history.csv#$1#') for f_INDEX in $f_indexlist do # day average 1 week ago