Bug fix: margin calculation was wrong due to integer types for LOT
params.