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.

    All stocks modules are not working for me.

    Scheduled Pinned Locked Moved Utilities
    14 Posts 8 Posters 8.7k Views 8 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.
    • P Offline
      Pakmann
      last edited by

      stocks is using Google API which is Not longer supported.

      MMM Stock is using Yahoo API. Normally the module should works. On my MM the Module is no more visible. I try to debug the implemented stock datastream from Yahoo API and it works. I dont know why the module is not visible on screen

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

        @Pakmann said in All stocks modules are not working for me.:

        I try to debug the implemented stock datastream from Yahoo API and it works. I dont know why the module is not visible on screen

        What is the url to the datastream?

        http://www.financial-hacker.com/bye-yahoo-and-thank-you-for-the-fish/

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • P Offline
          Pakmann
          last edited by

          @Mykle1 i Setup the module for one example stock. In the Module file i delete the comment for debug url write to console.

          For this case my url see below. When i copy the url in browser i received all data.

          https://query.yahooapis.com/v1/public/yql?q=env%20'store%3A%2F%2Fdatatables.org%2Falltableswithkeys'%3B%20select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20('VOW3.DE')&format=json&diagnostics=true&callback=
          
          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @Pakmann
            last edited by

            @Pakmann said in All stocks modules are not working for me.:

            https://query.yahooapis.com/v1/public/yql?q=env ‘store%3A%2F%2Fdatatables.org%2Falltableswithkeys’%3B select * from yahoo.finance.quotes where symbol in (‘VOW3.DE’)&format=json&diagnostics=true&callback=

            I don’t get the data in a browser. It’s a download url to a txt file

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • P Offline
              Pakmann
              last edited by

              @Mykle1 you are right, the data are forbidden, i can see an http403 in the basic data.

              I tested this URL last week end of october. I was searching on the yahoo api and found the decription on yahoo. On yahoo i can take a look of the example. Today the data are empty too(see link before).

              Last week i made some tests with a second MM project glancr. Glancr has an Stocks modul, which is based on yahoo too. The modul was implemented this year in august. It works last week, so that was the reason why i try to debug the MMM-Stock Modul.

              I dont know why the service are down right now. In case of cancel the service, yahoo will not decripe her api i think. Maybe its temporally.

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

                @Pakmann said in All stocks modules are not working for me.:

                Maybe its temporally.

                From what I’ve read online it looks as if both Google and Yahoo have abandoned their respective stock API’s and it doesn’t look as if they have any plans to reinstate them.

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • D Offline
                  Dracarys
                  last edited by Dracarys

                  Yes. They both shut down their realtime finance API.
                  But this link still kinda works. Maybe someone can build a new module with it?
                  https://finance.google.com/finance?output=json&q=ETR.BMW

                  Cheers

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

                    @Dracarys said in All stocks modules are not working for me.:

                    But this link still kinda works.

                    Uhh, that is a link to download a txt file as well

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User
                      last edited by

                      I don’t know anything about finance and stocks, So I cannot help about creating module about that.
                      Anyway, Before some Genius builds really nice one, you can use web widgets instead. (you can put the HTML codes into any iframe or static html module, if exists.)
                      I’ve got this for test.
                      0_1510131104573_st.jpg
                      To find the widget, just google it. there are plenties.

                      1 Reply Last reply Reply Quote 1
                      • J Offline
                        Jonathan5435
                        last edited by

                        I recommend using MarketXLS.
                        They have regular updates and customer support.
                        It cost a little but it will save you time.
                        I had moved after Yahoo Finance API had been discontinued.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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