• 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 31.1k 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 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
              • A Offline
                alexyak
                last edited by Jan 4, 2018, 8:53 PM

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

                S 1 Reply Last reply Jan 7, 2018, 11:45 AM Reply Quote 0
                • M Offline
                  Mitch1138
                  last edited by Jan 4, 2018, 9:21 PM

                  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 Jan 4, 2018, 9:25 PM

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

                      @shep99

                      This.

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