# Last edited on 2015-04-24 23:32:28 by stolfilocal SMOOTHING PRICE FILES Computing the mean daily price, smoothed with Hahn windows of various widths. TESTING THE SMOOTHING PROGRAM datadir="../00-DATA/series/fix" dmin="2010-06-20" dmax="2014-03-10" for hrad in 00 01 08 10 ; do make_and_plot_smoothed_price.sh \ "${datadir}/2010-07-17--2014-02-25-TEST-USD-01d.txt" \ TEST USD "TestEx" 1.00 ${hrad} \ "out/2010-07-17--2014-02-25-TEST-USD-01d-sm${hrad}" \ "${dmin}" "${dmax}" \ "YES" done SMOOTHING MAIN FILES rundate="2015-04-24" # Nominal date of file set. dmin="2010-06-20" # Min date for plot. dmax="2015-05-10" # Max date for plot. make_and_plot_all_smoothed_prices.sh "${rundate}" "${dmin}" "${dmax}"