This commit is contained in:
vn.py 2019-09-17 23:30:30 +08:00
parent 0c1dc817b9
commit 38d090bed4

View File

@ -561,7 +561,7 @@ class OkexfRestApi(RestClient):
for l in data:
ts, o, h, l, c, v, _ = l
dt = datetime.strptime(ts, "%Y-%m-%dT%H:%M:%S.%fZ")
dt = utc_to_local(ts)
bar = BarData(
symbol=req.symbol,
exchange=req.exchange,