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