Traceback (most recent call last):
File "/home/book/Workspace/pyal/download.py", line 59, in
feeds = tools.build_feed(instruments, 2013, 2018, "histdata")
File "/home/book/.local/lib/python3.5/site-packages/pyalgotrade_tushare/tools.py", line 90, in build_feed
if not os.path.exists(fileName):
File "/usr/lib/python3.5/genericpath.py", line 19, in exists
os.stat(path)
TypeError: argument should be string, bytes or integer, not PosixPath
Traceback (most recent call last): File "/home/book/Workspace/pyal/download.py", line 59, in
feeds = tools.build_feed(instruments, 2013, 2018, "histdata")
File "/home/book/.local/lib/python3.5/site-packages/pyalgotrade_tushare/tools.py", line 90, in build_feed
if not os.path.exists(fileName):
File "/usr/lib/python3.5/genericpath.py", line 19, in exists
os.stat(path)
TypeError: argument should be string, bytes or integer, not PosixPath