@Petra I would like to point out that, with your example, the number of contracts opened in my test script are 5, not 0.5. So, I guess there is a bug.

Not sure whether others experience the same issues.