Bug fix: pipCost was not scaled to one LOT.
Removed some debug output.
Bug fix: calculation of used margin corrected.
Bug fix: Lot margin calculation is now correct.
Added debug output.