![]() It's a clean sweep! ExxonMobil takes the earnings quality crown, as BP's ongoing legal trouble continues to produce weak numbers. Earnings can be gamed with a number of different accounting tricks, but free cash flow is harder to manipulate, making it a favored metric here at the Fool.Ĭonsecutive profitable years (since 1992) We'll also use price-to-free cash flow today. The price-to-earnings ratio is the standard, so we'll check each company's current P/E and five-year historical average P/E. We use many different numbers and ratios when talking about the value of a stock. Will the reeling contender get knocked down for the count? Does BP have the appealing metrics necessary to fight back against ExxonMobil's consistent dominance? Let's find out. Continued uncertainty over Deepwater Horizon's long-term impact has kept BP's valuation low, but investors may take solace from ExxonMobil's highly successful recovery from the Alaskan Valdez disaster. BP paid nearly $1 billion to Transocean this past quarter to settle accident claims, and Transocean and Halliburton have long since been freed from any additional liability. The company's ongoing court battles with Deepwater Horizon partners Transocean ( NYS: RIG) and Halliburton ( NYS: HAL) have not gone its way. That lordly standing has led its stock to diverge from BP's quite markedly since 2006, particularly in the aftermath of the Deepwater Horizon disaster that sent the British oil giant's shares plunging:īP, on the other hand, has been reeling ever since the 2010 rig explosion heard round the world. ĭo you crave consistency, or are you looking for a turnaround story that can put some extra oomph in your gains? ExxonMobil's the oil industry's reigning monarch, the largest publicly traded, fully integrated oil company in the world. Let's go ringside and meet our two combatants, ExxonMobil ( NYS: XOM) and BP ( NYS: BP). The winner will be the stock that racks up the most points at the end of their competition. We'll also take a look ahead at some more subjective measures - Wall Street's analysts will get their say, but so will The Motley Fool's top market minds. They'll each be judged on a series of objective merits, including valuation, earnings quality, and dividend quality. The basic strategy is to build up the URL you need for a call w/ the parameters that you want and then to use R to send that to the server & retrieve the output (typically either in JSON or XML) and then parse that result back into an R object.Welcome to "Stock Smackdown," where two of your favorite stocks go head to head in a battle for superiority. Looking at how these packages interact with their respective web APIs should get you started - it's a fairly straightforward process. There are some examples at (particularly under the "REST-related packages" subsection, but there are others strewn about), as well as multiple packages on CRAN such as package "infochimps" by Drew Conway, RLastFM by Greg Hirson, as well as the "twitteR" and "RStackExchange" packages by me. Next, check out some packages that are doing similar things with other APIs. There you'll see the various URL calls that one can make and what the return formats would be. In terms of putting together such a package yourself, there are a few pointers that might be helpful:įirst is to check out the API for Wolfram Alpha:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |