Read the statement by Michael Teeuw here.
Modules to display Stock (Capital Stock)
-
I’ve already tried this. Did it work for you?
-
@qqqqqqqq yes its working for me, but its not documented in the readme that you have to install
npm install requestin the module directory -
@strawberry-3.141 said in Modules to display Stock (Capital Stock):
@qqqqqqqq yes its working for me, but its not documented in the readme that you have to install
npm install requestin the module directoryDo i have to run that command? From the modules folder?
-
@qqqqqqqq
cd ~/MagicMirror/modules/MMM-Stockthen the command aboveThe second module does also not tell about installing the request dependency
-
The first module works, maybe I was doing something wrong. :/
Does it take forever to load for you too?
-
@strawberry-3.141 said in Modules to display Stock (Capital Stock):
@qqqqqqqq
cd ~/MagicMirror/modules/MMM-Stockthen the command aboveThe second module does also not tell about installing the request dependency
What do I make of this?
pi@raspberrypi:~/MagicMirror/modules $ npm install request /home/pi/MagicMirror/modules `-- request@2.79.0 +-- aws-sign2@0.6.0 +-- aws4@1.6.0 +-- caseless@0.11.0 +-- combined-stream@1.0.5 | `-- delayed-stream@1.0.0 +-- extend@3.0.0 +-- forever-agent@0.6.1 +-- form-data@2.1.2 | `-- asynckit@0.4.0 +-- har-validator@2.0.6 | +-- chalk@1.1.3 | | +-- ansi-styles@2.2.1 | | +-- escape-string-regexp@1.0.5 | | +-- has-ansi@2.0.0 | | | `-- ansi-regex@2.1.1 | | +-- strip-ansi@3.0.1 | | `-- supports-color@2.0.0 | +-- commander@2.9.0 | | `-- graceful-readlink@1.0.1 | +-- is-my-json-valid@2.15.0 | | +-- generate-function@2.0.0 | | +-- generate-object-property@1.2.0 | | | `-- is-property@1.0.2 | | +-- jsonpointer@4.0.1 | | `-- xtend@4.0.1 | `-- pinkie-promise@2.0.1 | `-- pinkie@2.0.4 +-- hawk@3.1.3 | +-- boom@2.10.1 | +-- cryptiles@2.0.5 | +-- hoek@2.16.3 | `-- sntp@1.0.9 +-- http-signature@1.1.1 | +-- assert-plus@0.2.0 | +-- jsprim@1.3.1 | | +-- extsprintf@1.0.2 | | +-- json-schema@0.2.3 | | `-- verror@1.3.6 | `-- sshpk@1.10.2 | +-- asn1@0.2.3 | +-- assert-plus@1.0.0 | +-- bcrypt-pbkdf@1.0.1 | +-- dashdash@1.14.1 | | `-- assert-plus@1.0.0 | +-- ecc-jsbn@0.1.1 | +-- getpass@0.1.6 | | `-- assert-plus@1.0.0 | +-- jodid25519@1.0.2 | +-- jsbn@0.1.1 | `-- tweetnacl@0.14.5 +-- is-typedarray@1.0.0 +-- isstream@0.1.2 +-- json-stringify-safe@5.0.1 +-- mime-types@2.1.14 | `-- mime-db@1.26.0 +-- oauth-sign@0.8.2 +-- qs@6.3.1 +-- stringstream@0.0.5 +-- tough-cookie@2.3.2 | `-- punycode@1.4.1 +-- tunnel-agent@0.4.3 `-- uuid@3.0.1 npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_modules/node_helper/package.json' npm WARN modules No description npm WARN modules No repository field. npm WARN modules No README data npm WARN modules No license field. -
@qqqqqqqq you can ignore these warnings
-
3rd module with google finance works for me just fine, all you need it to find the correct ticker. For currency try “CURRENCY:EURUSD”, for commodities unfortunately you will need to find some substitute. You can try “NYSEARCA: USO” or “NYSEARCA: BNO” in case of crude oil.
-
@qqqqqqqq
You are in the modules base folder, but you need to change into the specific module folder instead -
3rd works for me too. And, thanks for your help, I’ve added currency in in too.
I got it to display it as static list by modifying the .js file as below. I’ve modified the line 26 from this
var wrapper = document.createElement("marquee");to this
var wrapper = document.createElement("div");And line 62
from
divider.innerHTML = ' • ';to
divider.innerHTML = '<br>'; -
This is how they look right now.

Can someone please help me change the font style/size, since they look a little big compared to the others.
how do I change the brightness of a specific module?
I know, both has to be done using the custom.css but how?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login