You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/opt/homebrew/Caskroom/miniforge/base/envs/py310/lib/python3.10/site-packages/vnpy_datamanager/ui/widget.py", line 384, in update_data
self.engine.download_bar_data(
File "/opt/homebrew/Caskroom/miniforge/base/envs/py310/lib/python3.10/site-packages/vnpy_datamanager/engine.py", line 206, in download_bar_data
data: List[BarData] = self.main_engine.query_history(
File "/opt/homebrew/Caskroom/miniforge/base/envs/py310/lib/python3.10/site-packages/vnpy/trader/engine.py", line 223, in query_history
return gateway.query_history(req)
File "/opt/homebrew/Caskroom/miniforge/base/envs/py310/lib/python3.10/site-packages/vnpy_ib/ib_gateway.py", line 232, in query_history
return self.api.query_history(req)
File "/opt/homebrew/Caskroom/miniforge/base/envs/py310/lib/python3.10/site-packages/vnpy_ib/ib_gateway.py", line 773, in query_history
delta: timedelta = end - req.start
TypeError: can't subtract offset-naive and offset-aware datetimes
换掉pytz的原因?
`@dataclass
class HistoryRequest:
"""
Request sending to specific gateway for querying history data.
"""
有好意思又开一个
更新数据时候
ib_gateway.py
换掉pytz的原因?
`@dataclass
class HistoryRequest:
"""
Request sending to specific gateway for querying history data.
"""
The text was updated successfully, but these errors were encountered: