This is a module to get data from Alpaca and display it on a MagicMirror.
This is based on the work of MagicMirror-Module-Template and MMM-Questrade
- Navigate to your MagicMirror/modules directory
- Clone the module with:
git clone https://github.com/jbrass/MMM-Alpaca
- Change to the module directory (cd MMM-Alpaca/)
- Install the Alpaca dependencies (npm install)
cd ~/MagicMirror/modules
git clone https://github.com/jbrass/MMM-Alpaca.git
cd MMM-Alpaca/
npm install
- Configure the module following the instructions below
This module requires you to provide your own API key and secret key from Alpaca. These can be found on your Alpaca overview page: https://app.alpaca.markets/paper/dashboard/overview .
To use this module, add the following to your config.js file:
modules: [
...
{
module: 'MMM-Alpaca',
position: 'top_right',
config: {
keyId:'<Your account id>',
secretKey: '<Your secret key>',
paper: <True of False if this is a paper account>,
}
},
...
]