Hi @KT ! Could you paste the full source code with all the modifications?
thanks a lot! and good work!
When I tried to run this algo, It returned: AttributeError: 'IBBroker' object has no attribute 'fundmode'
What could it happened?