trying to fix broken jenkins build that seems to be due to the end time

of the trading calendar calculations and availability of data from yhoo.
This commit is contained in:
fawce
2013-02-18 23:46:08 -05:00
parent b8a885a2d6
commit 4199b530b9
+3 -2
View File
@@ -17,12 +17,13 @@
import pandas as pd
import pytz
from datetime import datetime
from datetime import datetime, timedelta
from dateutil import rrule
from delorean import Delorean
start = datetime(1990, 1, 1, tzinfo=pytz.utc)
end_dln = Delorean(datetime.now(), 'US/Eastern').truncate('day').shift('UTC')
end_dln = Delorean(datetime.now() - timedelta(days=1), 'US/Eastern')
end_dln.truncate('day').shift('UTC')
end = end_dln.datetime