The stocks module is a MagicMirror addon.
This module displays a scrolling stocks ticker on your MagicMirror.
- clone this repo with the following command:
git clone https://github.com/Elaniobro/MMM-stocks.git - install all the npm modules with either
yarn installornpm install - update your Magic Mirror Config, by adding the following object:
To use this module, add it to the modules array in the
config/config.jsfile:
modules: [
{
module: 'MMM-stocks',
position: 'bottom_bar',
config: {
apiKey: 'YOUR_KEY_GOES_HERE', // api token from https://cloud.iexapis.com
crypto: 'BTCUSDT,LTCUSDT,ETHUSDT', // crypto symbols
separator: ' • ', // separator between stocks
stocks: 'MSFT,AAPL,GOOG,INTC', // stock symbols
updateInterval: 37000 // update interval in milliseconds
}
}
]- enjoy!
modulethe name of the module you are installing.positionwhere you want the mmm-nyc-transit module to appear. (note: works best on bottom)apiKeysee iexapis api Key on where to obtain yourscryptocrypto stock symbols- must add USDT to the end of crypto symbol.
- ex:
BTC+USDT=BTCUSDT
separatorcharacter(s) you woud like to use between stocksstocksstock stymbol nameupdateIntervaldefault is set to 5 minutes
You will need to sign up for the iexapis cloud API. To get a key, please visit their website: cloud iexapis.
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Elan Trybuch
Alex Yakhnin
This project is licensed under the MIT License - see the LICENSE.md file for details