Remove self.pfinitialvalue (won't work well with variable costs).