Yup, that's it. That did it. I thought the second "order" was to keep track of the order, not to create another one. Lesson learned! Thanks. By the way, thanks creating backtrader, I am sure everyone in the community is very thankful for you guys' great work. Michael