diff --git a/vnpy_tushare/tushare_datafeed.py b/vnpy_tushare/tushare_datafeed.py index 558d0ed..2d0c87e 100644 --- a/vnpy_tushare/tushare_datafeed.py +++ b/vnpy_tushare/tushare_datafeed.py @@ -121,8 +121,8 @@ def query_bar_history(self, req: HistoryRequest) -> Optional[List[BarData]]: symbol: str = req.symbol exchange: Exchange = req.exchange interval: Interval = req.interval - start: datetime = req.start.strftime("%Y%m%d") - end: datetime = req.end.strftime("%Y%m%d") + start: datetime = req.start.strftime("%Y-%m-%d %H:%M:%S") + end: datetime = req.end.strftime("%Y-%m-%d %H:%M:%S") ts_symbol: str = to_ts_symbol(symbol, exchange) if not ts_symbol: