Drop `pandas` timestamp for qt

drop_pandas
Tyler Goodlet 2022-05-15 13:49:42 -04:00
parent e718120cc7
commit 09f2f32d5b
1 changed files with 1 additions and 2 deletions

View File

@ -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())