progs/yahoo.sh
author Christian Urban <christian.urban@kcl.ac.uk>
Mon, 03 Jan 2022 00:59:32 +0000
changeset 419 d8dbf91c149b
parent 266 ca48ac1d3c3e
permissions -rwxr-xr-x
updated test with second arguments

#!/bin/sh
###set -e

trap "exit" INT

for sym in GOOG AAPL MSFT IBM FB AMZN BIDU PLD PSA AMT AIV AVB BXP CCI DLR EQIX EQR ESS EXR FRT HCP
do
  echo $sym
  ./get_yahoo.sh $sym
  scala yahoo.scala $sym > $sym.csv.tmp  
  mv $sym.csv.tmp $sym.csv
done