yahoo history fix

This commit is contained in:
olli 2024-05-30 17:32:41 +02:00
parent 1c64825654
commit f27af6a1d5

View File

@ -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