The Logical Approach to Investing