GithubHelp home page GithubHelp logo

coal's Introduction

quick coal script

I recently read an article about how many mining companies are bringing decommissioned coal mines online as coal prices surge. The coal price surge is in response to China cutting production (by limiting the number of days per year that coal mines can operate). I wondered if the fortunes of coal mining companies really track so closely with coal commodity prices.

I wrote a quick script to pull data from Quandl on the stock price of four large mining companies (versus four 'control' companies) relative to a measurement of coal commodity price.

The most surprising thing, to me anyway, was how negatively correlated my so-called control companies (GE, MSFT, GOOG, and BOA) were with coal pricing. I suspect this reflects that the overall state of the economy is largely dependent, to some extent, on commodity pricing. Google represented a fairly reasonable control, as its valuation was not strongly correlated with coal price.

Indeed though, the valuation, in stock terms, of all four coal companies was strongly correlated with the underlying commodity pricing. The next step would be to dig into the company fundamentals in order to see whether these companies actually generate more profits as coal prices increase or if they choose to expand capacity and plow revenue into investments.

coal's People

Contributors

ajtrexler avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.