Live Data/Live Trading
Use the link below to go the original post
Click here to see the full blog post
Ariel Iván Ruiz Mateos last edited by
When I tried to run this algo, It returned: AttributeError: 'IBBroker' object has no attribute 'fundmode'
What could it happened?
That was a regression bug introduced which affect the live brokers in version
See this Community - Broker and fundmode for a solution with
Or update to the
188.8.131.52(released today) which addresses the problem.
Thanks for writing the very helpful post.
Look like IBBroker doesn't support get_orders_open() at https://www.backtrader.com/docu/broker.html#backtrader.brokers.BackBroker.get_orders_open
May I know is there anyway I could retrieve the open orders such as trailing stop order?
Please advise. Thank you.
No. And this is because such a method could fetch orders which haven't been created by the client itself. When you create them you can keep a reference to the created orders.