diff --git a/vnpy/trader/gateway/futuGateway/futuGateway.py b/vnpy/trader/gateway/futuGateway/futuGateway.py index 830aa380..f938065e 100644 --- a/vnpy/trader/gateway/futuGateway/futuGateway.py +++ b/vnpy/trader/gateway/futuGateway/futuGateway.py @@ -425,8 +425,9 @@ class FutuGateway(VtGateway): tick.gatewayName = self.gatewayName self.tickDict[symbol] = tick - tick.date = row['data_date'] + tick.date = row['data_date'].replace('-', '') tick.time = row['data_time'] + tick.datetime = datetime.strptime(' '.join([tick.date, tick.time]), '%Y%m%d %H:%M:%S.%f') tick.openPrice = row['open_price'] tick.highPrice = row['high_price']