• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Modules to display Stock (Capital Stock)

Scheduled Pinned Locked Moved Troubleshooting
13 Posts 4 Posters 9.9k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    qqqqqqqq
    last edited by Feb 18, 2017, 12:47 PM

    The first module works, maybe I was doing something wrong. :/

    Does it take forever to load for you too?

    1 Reply Last reply Reply Quote 0
    • Q Offline
      qqqqqqqq @strawberry 3.141
      last edited by Feb 18, 2017, 12:50 PM

      @strawberry-3.141 said in Modules to display Stock (Capital Stock):

      @qqqqqqqq cd ~/MagicMirror/modules/MMM-Stock then the command above

      The 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.
      
      
      S Y 2 Replies Last reply Feb 18, 2017, 4:49 PM Reply Quote 0
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer @qqqqqqqq
        last edited by Feb 18, 2017, 4:49 PM

        @qqqqqqqq you can ignore these warnings

        Please create a github issue if you need help, so I can keep track

        1 Reply Last reply Reply Quote 0
        • Y Offline
          Yurick
          last edited by Feb 18, 2017, 6:28 PM

          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.

          Q 1 Reply Last reply Feb 19, 2017, 5:08 PM Reply Quote 0
          • Y Offline
            yawns Moderator @qqqqqqqq
            last edited by Feb 18, 2017, 6:54 PM

            @qqqqqqqq
            You are in the modules base folder, but you need to change into the specific module folder instead

            1 Reply Last reply Reply Quote 1
            • Q Offline
              qqqqqqqq @Yurick
              last edited by qqqqqqqq Feb 19, 2017, 5:21 PM Feb 19, 2017, 5:08 PM

              @Yurick

              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>';
              
              1 Reply Last reply Reply Quote 0
              • Q Offline
                qqqqqqqq
                last edited by Feb 20, 2017, 2:45 PM

                This is how they look right now.

                0_1487601867939_stock.png

                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?

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 2 / 2
                2 / 2
                • First post
                  11/13
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy