How the world of casino card counting met that of Wall Street in a successful application of game theory to the stock market.