hedge my bet: When to hedge and how to calculate stakes