Skip to content

Commit

Permalink
BUG: Cast datetime to Timestamp to call value
Browse files Browse the repository at this point in the history
  • Loading branch information
StewartDouglas authored and jfkirk committed Sep 10, 2015
1 parent 3af8b6d commit ded6f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zipline/assets/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def lookup_symbol(self, symbol, as_of_date, fuzzy=None):
so we can find a match by inserting an underscore.
"""
symbol = symbol.upper()
ad_value = normalize_date(as_of_date).value
ad_value = pd.Timestamp(normalize_date(as_of_date)).value

if fuzzy is None:
try:
Expand Down

0 comments on commit ded6f85

Please sign in to comment.