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 36.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.
    • 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
                • G Offline
                  goofy
                  last edited by

                  Me too - i do not see anything on my display.
                  I use the default config too.

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

                    There are a few symbols that don’t exist. Remove .DJI and CICS

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

                      Thanks again, that fixed it (although the DJI would be nice…).

                      I really appreciate your efforts.

                      Mitch

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

                        Awesome, and chance of getting alpha api to work for Canadian Stocks? ;) Thanks

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          stevegoble @shep99
                          last edited by

                          @shep99

                          This.

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            stevegoble @alexyak
                            last edited by

                            @alexyak said in Stocks:

                            There are a few symbols that don’t exist. Remove .DJI and CICS

                            I also was having many issues. This page will allow you to search for ticker symbols this api supports.

                            Until Alphavantage is supported anyway…they even have cryptocurrency on theirs…

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              goofy
                              last edited by

                              Hello, it work fine - but anybody knows a other API with includes more Country’s ?
                              For example, i want to add German Stocks too.

                              1 Reply Last reply Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • 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