When you increase LotAmount, you must also increase PipCost and MarginCost by the same factor. Both are per lot.