AutoInfoClass_OrderBase_Order_BuyOrder object has no attribute getstate
-
Hello,
Great job building backtrader!
I followed instructions and installed Backtrader 1.9.76.123 (pip install backtrader[plotting]) with Python 3.7 64bits, MatPlotLib 3.4.1, Oandaoy 0.1 (pip install git+https://github.com/oanda/oandapy.git), IbPy2 0.8.0 (pip install https://github.com/blampe/IbPy/archive/master.zip), ib-api 0.9.70.
I succesfully followed and ran the "Quickstart" down to the "Our First Strategy" step.
When I do "Adding some Logic to the Strategy" and try run it, I get an error:
'AutoInfoClass_OrderBase_Order_BuyOrder' object has no attribute 'getstate'
Order.py:272 return getattr(self.params, name)Any idea?
Thx
Note: All my python packages are up to date.aiodns==2.0.0
aiohttp==3.7.4.post0
async-timeout==3.0.1
atomicwrites==1.4.0
attrs==20.3.0
autobahn==21.3.1
Automat==20.2.0
backcall==0.2.0
backtrader==1.9.76.123
ccxt==1.49.52
certifi==2020.12.5
cffi==1.14.5
chardet==4.0.0
click==7.1.2
colorama==0.4.4
constantly==15.1.0
cryptography==3.4.7
cycler==0.10.0
dateparser==1.0.0
decorator==5.0.7
Flask==1.1.2
gevent==21.1.2
greenlet==1.0.0
hyperlink==21.0.0
ib-api==0.9.70
IbPy2==0.8.0
idna==2.10
importlib-metadata==4.0.1
incremental==21.3.0
iniconfig==1.1.1
install==1.3.4
ipykernel==5.5.3
ipython==7.23.1
ipython-genutils==0.2.0
itsdangerous==1.1.0
jedi==0.18.0
Jinja2==2.11.3
jupyter-client==6.2.0
jupyter-core==4.7.1
kiwisolver==1.3.1
MarkupSafe==1.1.1
matplotlib==3.4.1
matplotlib-inline==0.1.2
multidict==5.1.0
nest-asyncio==1.5.1
numpy==1.20.2
oandapy==0.1
packaging==20.9
pandas==1.2.4
parso==0.8.2
pickleshare==0.7.5
Pillow==8.2.0
pip==21.1.1
pluggy==1.0.0.dev0
prompt-toolkit==3.0.18
py==1.10.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycares==3.1.1
pycparser==2.20
Pygments==2.9.0
pyOpenSSL==20.0.1
pyparsing==2.4.7
pysimplemodel==2.3.3
pytest==6.2.4
python-binance==1.0.4
python-dateutil==2.8.1
python-status==1.0.1
pytz==2021.1
pywin32==300
pyzmq==22.0.3
regex==2021.4.4
requests==2.25.1
schedule==1.1.0
service-identity==18.1.0
setuptools==56.1.0
six==1.16.0
ta==0.7.0
ta-lib==0.4.19
toml==0.10.2
tornado==6.1
traitlets==5.0.5
Twisted==21.2.0
twisted-iocpsupport==1.0.1
txaio==21.2.1
typing-extensions==3.10.0.0
tzlocal==2.1
ujson==4.0.2
urllib3==1.26.4
wcwidth==0.2.5
websocket-client==0.59.0
websockets==9.0.1
Werkzeug==1.0.1
wheel==0.36.2
yarl==1.6.3
zipp==3.4.1
zope.event==4.5.0
zope.interface==5.4.0