• 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.

All stocks modules are not working for me.

Scheduled Pinned Locked Moved Utilities
14 Posts 8 Posters 7.9k 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 Nov 5, 2017, 5:27 PM

    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

    M 1 Reply Last reply Nov 5, 2017, 7:12 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @Pakmann
      last edited by Mykle1 Nov 5, 2017, 7:14 PM Nov 5, 2017, 7:12 PM

      @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 Nov 5, 2017, 7:20 PM

        @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=
        
        M 1 Reply Last reply Nov 5, 2017, 8:16 PM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @Pakmann
          last edited by Nov 5, 2017, 8:16 PM

          @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 Nov 6, 2017, 5:40 PM

            @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.

            M 1 Reply Last reply Nov 7, 2017, 12:52 AM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @Pakmann
              last edited by Nov 7, 2017, 12:52 AM

              @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 Nov 7, 2017, 9:27 PM Nov 7, 2017, 9:26 PM

                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

                M 1 Reply Last reply Nov 7, 2017, 10:52 PM Reply Quote 0
                • M Offline
                  Mykle1 Project Sponsor Module Developer @Dracarys
                  last edited by Nov 7, 2017, 10:52 PM

                  @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 Nov 8, 2017, 8:53 AM

                    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 Nov 12, 2017, 11:35 PM

                      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
                      1 / 2
                      • First post
                        8/14
                        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