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 install
ornpm 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.js
file:
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!
module
the name of the module you are installing.position
where you want the mmm-nyc-transit module to appear. (note: works best on bottom)apiKey
see iexapis api Key on where to obtain yourscrypto
crypto stock symbols- must add USDT to the end of crypto symbol.
- ex:
BTC
+USDT
=BTCUSDT
separator
character(s) you woud like to use between stocksstocks
stock stymbol nameupdateInterval
default 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