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.

    MMM-AVStock v2.0.0 (npm update required!)

    Scheduled Pinned Locked Moved Productivity
    14 Posts 6 Posters 6.0k Views 8 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.
    • lavolp3L Offline
      lavolp3 Module Developer
      last edited by lavolp3

      Based on @Sean 's MMM-AVStock, which I have taken over from him, I present you now version 2.0.0

      As the previous version it comes with a ticker and table mode, now it is possible to add a chart, or use chart mode to only show it.

      Additional features:

      • TOUCH MODE. Touch on a ticker / row to show the chart
      • VOLUMES: Daily Trading volumes.
      • TECHNICALS: Include EMA’s or SMA’s. As many as you want.
      • ZOOMABLE CHART. Yes. Zoomable.

      Now go and BTFD!

      avstock-table[1].PNG

      avstock-ticker[1].PNG

      There’s one downside at the moment:
      The data sourced from Alphavantage gets only updated once at the and of a trading day. So you always have the last session’s values.
      I’m working on a new source.

      Install

      Find the module here and have fun:
      [card:lavolp3/MMM-AVStock]
      https://github.com/lavolp3/MMM-AVStock

      or install directly, cause you just can’t wait any longer!

      cd ~/MagicMirror/modules
      git clone https://github.com/lavolp3/MMM-AVStock
      cd MMM-AVStock
      npm install
      

      Updates:

      NOTE! ALL CURRENT USERS OF THE MODULE NEED TO DO AN npm install AFTER UPDATING!

      git pull
      npm install
      

      How to troubleshoot modules
      MMM-soccer v2, MMM-AVStock

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

        cool… what charting tool are you using?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        lavolp3L 1 Reply Last reply Reply Quote 0
        • lavolp3L Offline
          lavolp3 Module Developer @sdetweil
          last edited by

          @sdetweil Highcharts. Quite cool! They have a stockchart mode.
          I learned today ther’s even an ‘organization chart’ mode.

          How to troubleshoot modules
          MMM-soccer v2, MMM-AVStock

          S 1 Reply Last reply Reply Quote 1
          • S Offline
            sdetweil @lavolp3
            last edited by

            @lavolp3 thanks

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • E Offline
              etayl
              last edited by

              Hi,
              I want to follow a stock from Korean stock market. For example, Samsung.
              I found its symbol to be something like 000053.SK but it seems that the stock price isn’t being updated.
              Can you know what’s the problem?
              Thanks,
              Etay

              lavolp3L 1 Reply Last reply Reply Quote 0
              • lavolp3L Offline
                lavolp3 Module Developer @etayl
                last edited by

                @etayl Try the stock search function
                https://www.alphavantage.co/query?function=SYMBOL_SEARCH&keywords=Samsu&apikey=kxxxxxxxxxx
                Funnily it apparently works with any given API key.
                Here I can only find Samsung Frankfurt and London quotes.

                How to troubleshoot modules
                MMM-soccer v2, MMM-AVStock

                1 Reply Last reply Reply Quote 0
                • lavolp3L Offline
                  lavolp3 Module Developer
                  last edited by

                  Small update on new API.

                  I am working on including IEX Cloud API. Have been successful for quotes.
                  However the API has a limit for their free tier (as they all have) and requesting historic prices comsumes a LOT of usage quota.
                  For the charts to show we need this historical data however.
                  I am considering using both sources for the different purposes (i.e. IEX for quotes and AV for historic data).
                  So users would need 2 API keys for the complete module or one if they don’t want to see the chart.
                  If anyone has a better idea and knowledge about the API, let me know!

                  Have a great weekend everyone!

                  How to troubleshoot modules
                  MMM-soccer v2, MMM-AVStock

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    cml @lavolp3
                    last edited by

                    @lavolp3 said in MMM-AVStock v2.0.0 (npm update required!):

                    nd

                    Do you think you will work on fixing the API? or letting it go since it’s now behind a payall. Loved it while it lasted regardless!

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      cml @cml
                      last edited by

                      @cml For anyone looking for a fix, found on github via user “SleipnirMS”

                      "When using chartInterval = daily, you have to set it to “daily_adjusted” and replace both “daily” entries in node_helper.js to “daily_adjusted”.

                      Then it uses the free api part and everything is fine again."

                      lavolp3L 1 Reply Last reply Reply Quote 1
                      • lavolp3L Offline
                        lavolp3 Module Developer @cml
                        last edited by

                        MMM-AVStock has been REANIMATED!

                        I have pushed a branch that uses the yahoo finance API and leaves Alphavantage behind for good.
                        Config should work as before, so anyone who wants to test, please let me know how it works!
                        You don’t need any new API Key!

                        How to troubleshoot modules
                        MMM-soccer v2, MMM-AVStock

                        C 1 Reply Last reply Reply Quote 0
                        • C Offline
                          cml @lavolp3
                          last edited by

                          @lavolp3 New branch works great! Thanks for updating this!

                          lavolp3L 1 Reply Last reply Reply Quote 0
                          • lavolp3L Offline
                            lavolp3 Module Developer @cml
                            last edited by

                            Thanks!
                            I still need to work on the ticker and update the readme. Hope I can get this done in the next weeks.

                            How to troubleshoot modules
                            MMM-soccer v2, MMM-AVStock

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              rmcelwee
                              last edited by

                              I’m looking for a little help to make my chart look better. I’m only interested in one stock so that is all I am displaying. I notice the docs say the chart is only 90 days but the examples show 4 or 5 months. Anyway to increase past 90 days? OR, is there anyway to get the chart to stretch the 90 days out so it takes up the width of my vertical monitor? Anyway to get the months listed at the bottom of the chart? Any suggestions on how to make the chart look better? Thanks!

                              FWIW, I had a hard time getting this to run. The solution for me was to get version 18 of node running (someone else mentioned this). I was too dumb to do this until I found this webpage: https://pimylifeup.com/raspberry-pi-nodejs/

                              Also, mode : “chart”, did not work for me (showed a blank page).

                              20231212_114555 - Copy.jpg

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                rmcelwee @lavolp3
                                last edited by

                                Anyone??? I’ll bump this to see if anyone can help. There has to be a way to get the chart to look better than this.

                                20240122_113312 - Copy.jpg

                                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 / 1
                                • 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