progs/yahoo.sh
changeset 266 ca48ac1d3c3e
equal deleted inserted replaced
265:59779ce322a6 266:ca48ac1d3c3e
       
     1 #!/bin/sh
       
     2 ###set -e
       
     3 
       
     4 trap "exit" INT
       
     5 
       
     6 for sym in GOOG AAPL MSFT IBM FB AMZN BIDU PLD PSA AMT AIV AVB BXP CCI DLR EQIX EQR ESS EXR FRT HCP
       
     7 do
       
     8   echo $sym
       
     9   ./get_yahoo.sh $sym
       
    10   scala yahoo.scala $sym > $sym.csv.tmp  
       
    11   mv $sym.csv.tmp $sym.csv
       
    12 done
       
    13 
       
    14