Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hakanmhmd/MMM-Stock

Stock prices module for Magic Mirror
https://github.com/hakanmhmd/MMM-Stock

Last synced: about 2 months ago
JSON representation

Stock prices module for Magic Mirror

Awesome Lists containing this project

README

        

# 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:
````javascript
{
module: "MMM-Stock",
position: "top_left",
config: {
companies: ["MSFT", "GOOG", "ORCL", "FB", "AAPL"]
}
}
````
Only US companies are accepted.

````css

@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
````