Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hakanmhmd/MMM-Stock
- Owner: hakanmhmd
- License: mit
- Created: 2016-10-19T11:14:47.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-02-04T16:20:27.000Z (almost 5 years ago)
- Last Synced: 2024-08-04T10:03:00.630Z (5 months ago)
- Language: JavaScript
- Size: 107 KB
- Stars: 15
- Watchers: 5
- Forks: 16
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mmm - **MMM-Stock**
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 moduleTo 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
````