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.

    Stocks

    Scheduled Pinned Locked Moved Utilities
    36 Posts 15 Posters 34.2k Views 14 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.
    • Z Offline
      ZTA0796
      last edited by

      Ok, so I think i figured it out. Still not sure why it worked, but for some reason, running a console.log("descriptive text " + this) seems to corrupt or change the type of “this”. If I put two consecutive console.log() calls–first with descriptive text, second with just “this”–then it works. Basically in the example above, if I just comment out the first two console.log() calls, then it no longer prints “undefined” and instead prints “MSFT”. Sorry for all the trouble!

      1 Reply Last reply Reply Quote 0
      • Mitch1138M Offline
        Mitch1138
        last edited by

        Several weeks ago this module seemed to stop working. It doesn’t generate any errors, just won’t display. Has anyone else seen this?

        Thanks, Dave

        pugslyP Mykle1M 2 Replies Last reply Reply Quote 0
        • pugslyP Offline
          pugsly @Mitch1138
          last edited by

          @Mitch1138 Yes same for me, this module no longer works.

          1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @Mitch1138
            last edited by

            @Mitch1138 said in Stocks: > Has anyone else seen this?

            @pugsly > Yes same for me, this module no longer works.

            At first glance, putting the url into a browser results in a 404 error
            http://finance.google.com/finance/info?client=ig&q=.DJI,MSFT,AAPL,GOOG,INTC,CICS,TSLA,FB

            Create a working config
            How to add modules

            homebrewH 1 Reply Last reply Reply Quote 0
            • cowboysdudeC Offline
              cowboysdude Module Developer
              last edited by

              The url in the module no longer works… it won’t give an error it’s a 404 error…

              I’m seeing if I can find a url replacement…

              homebrewH 1 Reply Last reply Reply Quote 0
              • homebrewH Offline
                homebrew @alexyak
                last edited by

                @alexyak
                can’t seem to get this updating on the MM display, any ideas? Was there any change to the original code?

                G 1 Reply Last reply Reply Quote 1
                • homebrewH Offline
                  homebrew @cowboysdude
                  last edited by

                  @cowboysdude
                  Did you find a working URL replacement?
                  Have you been using another Stocks module instead?

                  cowboysdudeC 1 Reply Last reply Reply Quote 0
                  • cowboysdudeC Offline
                    cowboysdude Module Developer @homebrew
                    last edited by

                    @homebrew No sorry I haven’t. I don’t use stock modules :) I don’t do stocks LOL

                    BUT if you can find a url that works I can look at the module for you…

                    1 Reply Last reply Reply Quote 2
                    • homebrewH Offline
                      homebrew @Mykle1
                      last edited by

                      @Mykle1
                      have you found a replacement url or just using another stocks module?

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @homebrew
                        last edited by

                        @homebrew

                        Like @cowboysdude, I don’t use stock modules. My interest in this topic was to troubleshoot for @Mitch1138 3 months ago. The API that was being used is no longer available. Cowboysdude and I both looked for a free API but there didn’t seem to be one available at the time.

                        If you can find a free API then I’ll certainly collaborate with Cowboysdude if he wanted some assistance

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 4
                        • First post
                          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