2

AkShare-策略示例-股票策略

 2 years ago
source link: https://www.oschina.net/question/4243070_2324305
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

AkShare-策略示例-股票策略

倾汐 发布于 前天 14:26

@AKShare 你好,想跟你请教个问题:在AkShare-策略示例-股票策略文章中,我把代码运行了一下,其中有个错误百思不得其解,特意请教您:

  File "C:\python37\lib\site-packages\backtrader\feed.py", line 479, in load
    _loadret = self._load()  File "C:\python37\lib\site-packages\backtrader\feeds\pandafeed.py", line 268, in _load
    dt = tstamp.to_pydatetime()
AttributeError: 'int' object has no attribute 'to_pydatetime'

哪部分有问题了?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK