Stock prices module for Magic Mirror
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Latest commit bc988db Apr 13, 2018
Permalink
Failed to load latest commit information.
LICENSE Initial commit Oct 19, 2016
MMM-Stock.css Update MMM-Stock.css Apr 13, 2018
MMM-Stock.js Fixed DOM error Nov 21, 2017
README.md Update readme Nov 22, 2017
node_helper.js Fixed DOM error Nov 21, 2017

README.md

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