/MMM-Stock

Stock prices module for Magic Mirror

Primary LanguageJavaScriptMIT LicenseMIT

MMM-Stock

Stock prices third party module for Magic Mirror

##Installing the Module Navigate into your MagicMirror's modules folder and execute
git clone https://github.com/hakanmhmd/MMM-Stock.git

Using the module

To use this module, add it to the modules array in the config/config.js file:

{
    		module: "MMM-Stock",
    		position: "top_left",
    		config: {
    			companies: ["MSFT", "GOOG", "ORCL", "FB", "AAPL"]
    		}
}

Only US companies are accepted.

@keyframes ticker {
	0%   {margin-top: 0}
	25%  {margin-top: -30px}
	50%  {margin-top: -60px}
	75%  {margin-top: -90px}
	100% {margin-top: 0}
}

Make sure to play with these in case you change the number to stocks shown.
If there are 4 companies -> 100/4=25% for each of them