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 33.9k 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.
    • 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
            • G Offline
              goofy @homebrew
              last edited by goofy

              @homebrew
              i’m too - i can’t see anything on my display if i use the Stocks module.
              I‘m useing mm 2.2.1 on a raspberry pi.

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                alexyak @goofy
                last edited by

                I’ve found a web service which provides free intraday stock quotes. You will only need to register to get an API key.

                https://www.alphavantage.co/support/#api-key

                The code in the module will need to be modified though to parse a different payload result. I will try to update it today or tomorrow.

                G 1 Reply Last reply Reply Quote 3
                • G Offline
                  goofy @alexyak
                  last edited by goofy

                  @alexyak
                  Many Thanks - i‘m looking forward.
                  If you update your code - i will Test it ;)

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    alexyak @goofy
                    last edited by

                    I’ve updated the code to support the new API’s from https://iextrading.com/developer/docs/#stocks. Which BTW, doesn’t even require registration.

                    1 Reply Last reply Reply Quote 2
                    • S Offline
                      shep99
                      last edited by

                      Alexyak this is great thanks! The iex API seems to only support US stocks. Any chance of integrating Alphavantage into this great module? Would love to get some CDN ( TSX ) stocks into it

                      Thanks!

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

                        Many thanks for all your work Alexyak. I can’t seem to get the stock to display. I am using the default configuration file and this is display on the terminal during execution:

                        Connecting socket for: stocks
                        stocks helper started ...
                        Sockets connected & modules started ...
                        Launching application.
                        url:https://api.iextrading.com/1.0/stock/.DJI/quote
                        url:https://api.iextrading.com/1.0/stock/MSFT/quote
                        url:https://api.iextrading.com/1.0/stock/AAPL/quote
                        url:https://api.iextrading.com/1.0/stock/GOOG/quote
                        url:https://api.iextrading.com/1.0/stock/INTC/quote
                        url:https://api.iextrading.com/1.0/stock/CICS/quote
                        url:https://api.iextrading.com/1.0/stock/TSLA/quote
                        url:https://api.iextrading.com/1.0/stock/FB/quote
                        

                        Any suggestions?
                        Thanks, Mitch

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