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