From 09f2f32d5b269efe4eecceff353d2f7c39921d70 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 15 May 2022 13:49:42 -0400 Subject: [PATCH] Drop `pandas` timestamp for qt --- piker/brokers/questrade.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/piker/brokers/questrade.py b/piker/brokers/questrade.py index bd364615..a3b5cfe0 100644 --- a/piker/brokers/questrade.py +++ b/piker/brokers/questrade.py @@ -35,7 +35,6 @@ import pendulum import trio import tractor from async_generator import asynccontextmanager -import pandas as pd import numpy as np import wrapt import asks @@ -669,7 +668,7 @@ def get_OHLCV( """ del bar['end'] del bar['VWAP'] - bar['start'] = pd.Timestamp(bar['start']).value/10**9 + bar['start'] = pendulum.from_timestamp(bar['start']) / 10**9 return tuple(bar.values())