SMS: The theory of finance