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

Stocks

Scheduled Pinned Locked Moved Utilities
36 Posts 15 Posters 30.4k 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.
  • C Offline
    cowboysdude Module Developer @homebrew
    last edited by Dec 27, 2017, 10:24 PM

    @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
    • H Offline
      homebrew @Mykle1
      last edited by Dec 27, 2017, 10:38 PM

      @Mykle1
      have you found a replacement url or just using another stocks module?

      M 1 Reply Last reply Dec 27, 2017, 10:45 PM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @homebrew
        last edited by Dec 27, 2017, 10:45 PM

        @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 Jan 3, 2018, 11:08 AM Jan 3, 2018, 10:50 AM

          @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 Jan 3, 2018, 12:07 PM Reply Quote 0
          • A Offline
            alexyak @goofy
            last edited by Jan 3, 2018, 12:07 PM

            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 Jan 3, 2018, 1:33 PM Reply Quote 3
            • G Offline
              goofy @alexyak
              last edited by goofy Jan 3, 2018, 1:33 PM Jan 3, 2018, 1:33 PM

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

              A 1 Reply Last reply Jan 4, 2018, 3:09 AM Reply Quote 0
              • A Offline
                alexyak @goofy
                last edited by Jan 4, 2018, 3:09 AM

                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 Jan 4, 2018, 5:31 AM

                  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 Jan 7, 2018, 11:31 AM Reply Quote 2
                  • M Offline
                    Mitch1138
                    last edited by Jan 4, 2018, 5:07 PM

                    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 Jan 4, 2018, 8:16 PM

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

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      3 / 4
                      • First post
                        25/36
                        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