fix issue #16 of empty files in /var/tmp; treasury data start 19990

This commit is contained in:
Victor Grau Serrat
2017-08-14 06:22:55 -04:00
parent 3c8f6958fd
commit a01bcd538a
5 changed files with 14 additions and 18 deletions
-1
View File
@@ -185,7 +185,6 @@ class BenchmarkSource(object):
return benchmark_series.pct_change()[1:]
else:
print '----------------------------------------'
start_date = asset.start_date
if start_date < trading_days[0]:
# get the window of close prices for benchmark_asset from the