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 3.9k 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
                        • 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