mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-13 17:42:42 +08:00
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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user