diff options
Diffstat (limited to 'python/api_quotes')
| -rw-r--r-- | python/api_quotes/quotes.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/python/api_quotes/quotes.py b/python/api_quotes/quotes.py index 8d0b0231..f795d5df 100644 --- a/python/api_quotes/quotes.py +++ b/python/api_quotes/quotes.py @@ -42,9 +42,7 @@ class MarkitQuote(Deal, table_name=None, deal_type=None): def from_markit_line(cls, d): base_attributes = { "msg_id": d["message"]["id"], - "quotedate": datetime.datetime.fromtimestamp( - d["receiveddatetime"] / 1000 - ).replace(tzinfo=datetime.timezone.utc), + "quotedate": datetime.datetime.fromtimestamp(d["receiveddatetime"] / 1000), "quotesource": d["sourceshortname"], } return base_attributes |
