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-JaST] Just another Stock Ticker (new: version 2.x)

    Scheduled Pinned Locked Moved Utilities
    166 Posts 37 Posters 208.8k Views 39 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.
    • spitzlbergerjS Offline
      spitzlbergerj Project Sponsor Module Developer @spitzlbergerj
      last edited by

      @Jalibu
      Please forgive me for not getting back to you in so long. I just have too many projects in parallel and the MagicMirror had to wait for a while now :-)

      I wanted to try the new display now. Unfortunately I am a github and git layman. Therefore I need your help.

      How can I switch from the master branch to the development branch and then do a git pull to get the new version?
      Unfortunately google didn’t really get me anywhere. I have tried many things, unfortunately without success so far

      Thanks a lot!
      Greetings
      Sepp

      Regards
      Josef

      http://www.spitzlberger.de/smartmirror, https://github.com/spitzlbergerj/MMM-TeslaLogger, https://github.com/spitzlbergerj/CaravanPi, https://www.la-gondola-barocca.de

      JalibuJ 1 Reply Last reply Reply Quote 0
      • JalibuJ Offline
        Jalibu Module Developer @spitzlbergerj
        last edited by

        @spitzlbergerj
        from within the MMM-Jast directory, execute

        git checkout development
        

        Unfortunately, I really don’t find the time to continue working on this project.

        Community, I would be very grateful for help.

        spitzlbergerjS 1 Reply Last reply Reply Quote 0
        • spitzlbergerjS Offline
          spitzlbergerj Project Sponsor Module Developer @Jalibu
          last edited by

          @Jalibu
          thank you very much. For me it works now

          Regards
          Josef

          http://www.spitzlberger.de/smartmirror, https://github.com/spitzlbergerj/MMM-TeslaLogger, https://github.com/spitzlbergerj/CaravanPi, https://www.la-gondola-barocca.de

          1 Reply Last reply Reply Quote 0
          • JalibuJ Offline
            Jalibu Module Developer
            last edited by

            Some may have noticed, that this module stopped working in the past days due to a change in Yahoo’s finance API.
            Today, I published an update for MMM-Jast which should fix that.

            MZ-BERM 1 Reply Last reply Reply Quote 3
            • MZ-BERM Offline
              MZ-BER @Jalibu
              last edited by

              @Jalibu - Hey mate, would you please also do the fix for the dev branch?

              JalibuJ 1 Reply Last reply Reply Quote 0
              • JalibuJ Offline
                Jalibu Module Developer @MZ-BER
                last edited by

                @MZ-BER done

                spitzlbergerjS 1 Reply Last reply Reply Quote 0
                • spitzlbergerjS Offline
                  spitzlbergerj Project Sponsor Module Developer @Jalibu
                  last edited by

                  @Jalibu - Thanks for the update of the development branch . Unfortunately I can’t manage to update to the new version. I have already tried

                  git pull
                  

                  This updated 7 files and so on …

                  Von https://github.com/jalibu/MMM-Jast
                     0412891..463571c  development -> origin/development
                  Aktualisiere 0412891..463571c
                  Fast-forward
                   MMM-Jast.js                       |  2 +-
                   README.md                         | 12 ++++++------
                   package.json                      |  2 +-
                   src/frontend/JastFrontendUtils.ts |  7 +++++--
                   templates/TableStockList.njk      | 14 +++++++-------
                   translations/de.json              |  5 ++++-
                   translations/en.json              |  5 ++++-
                   7 files changed, 28 insertions(+), 19 deletions(-)
                  

                  afterwards I executed

                  • npm install --only=production
                  • npm install

                  without success. The stock values are no longer displayed

                  git checkout development
                  

                  returns:

                  Already on 'development' Your branch is at the same level as 'origin/development'.
                  

                  I am grateful for any help

                  Regards
                  Josef

                  http://www.spitzlberger.de/smartmirror, https://github.com/spitzlbergerj/MMM-TeslaLogger, https://github.com/spitzlbergerj/CaravanPi, https://www.la-gondola-barocca.de

                  spitzlbergerjS 1 Reply Last reply Reply Quote 0
                  • spitzlbergerjS Offline
                    spitzlbergerj Project Sponsor Module Developer @spitzlbergerj
                    last edited by

                    @Jalibu - A reboot of the Raspberry brought success. Everything is OK again. Sorry that I was too impatient.
                    Greetings and thanks for your work!

                    Regards
                    Josef

                    http://www.spitzlberger.de/smartmirror, https://github.com/spitzlbergerj/MMM-TeslaLogger, https://github.com/spitzlbergerj/CaravanPi, https://www.la-gondola-barocca.de

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      Harry @Jalibu
                      last edited by

                      @Jalibu , Thanks for providing this! I have been using it for a few days. I have switched to the development branch as you describe here and updated everything, but the display looks the same as before and not like the one in your screen shot. Is that something special or am I missing a step?
                      Harry

                      JalibuJ 1 Reply Last reply Reply Quote 0
                      • JalibuJ Offline
                        Jalibu Module Developer @Harry
                        last edited by

                        @Harry in the config you need to set the value for „scroll“ to „table“.

                        H 1 Reply Last reply Reply Quote 0
                        • H Offline
                          Harry @Jalibu
                          last edited by

                          @Jalibu Thanks! I knew I missed something. :-)

                          1 Reply Last reply Reply Quote 0
                          • JalibuJ Offline
                            Jalibu Module Developer
                            last edited by Jalibu

                            The latest update officially introduced the new additional “table” view mode.

                            Table

                            Vertical

                            Happy using :-)
                            Feedback welcome.

                            1 Reply Last reply Reply Quote 0
                            • 1 Offline
                              1a2a3a
                              last edited by

                              Hi @Jalibu

                              1. how do i change the stock name color?

                              2. i have the module as static on my top right. how do i shift the entire thing to the screen right?

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                justbob
                                last edited by justbob

                                This module has been missing two things from the start, imho:

                                1.) Ability to rename “Portfolio:” to custom tag, just like we can set stocks.
                                2.) An option to add to portfolio cash amount.

                                Everyone likes seeing MagicMirror, but sometimes when guests come over, the last thing you want somebody from outside to see is that you actually have a portfolio, let alone the size of it.
                                Without it being seen, one can just say that they like to follow trends and keep things private.
                                I change the name of Portfolio to some made-up ticker and pretend it’s a ticker for some index, but it’s a drag to mess around with en.json file in translations folder every time there’s an update.

                                As for cash amount, sometimes there is unspecified amount of cash sitting in investors account. It’s not part of the portfolio per se, but being on investor account, it’s almost as good as being a part of portfolio.

                                Is there any chance of seeing 1.) and/or 2.) being implemented?

                                JalibuJ 1 Reply Last reply Reply Quote 0
                                • JalibuJ Offline
                                  Jalibu Module Developer @justbob
                                  last edited by Jalibu

                                  @justbob

                                  Thank you for your feedback and ideas for improvement.

                                  Do I understand your feature requests correctly?

                                  1. You want a way to explicitly change the name of the portfolio to e.g. “my money pot:”?
                                  2. Would you like a way to add a fixed value of money to the calculated portfolio assets consisting of shares?
                                    portfolioValue = extraMoney + calculatedPortfolioValueBasedOnSpecifiedShares

                                  Technically this is possible.
                                  However, unfortunately I don’t have the time to fulfill new requests at the moment due to other projects.

                                  But I am always happy to receive pull requests or small motivating donations.

                                  JalibuJ 1 Reply Last reply Reply Quote 0
                                  • JalibuJ Offline
                                    Jalibu Module Developer @Jalibu
                                    last edited by

                                    Dear fans and users of this module,

                                    unfortunately Yahoo has switched off the Stock API in its previous form. The module is therefore currently unable to retrieve data (an error appears in the log).

                                    The author of the library that Jast uses to retrieve data from Yahoo is working on a solution. At the moment, however, it is unclear whether there will/can be one.

                                    I will monitor the progress of the development and keep you informed.

                                    I am sorry that there is nothing else I can do at the moment but wait and see.

                                    JalibuJ 1 Reply Last reply Reply Quote 1
                                    • JalibuJ Offline
                                      Jalibu Module Developer @Jalibu
                                      last edited by Jalibu

                                      Update: The issue was fixed.

                                      Please read the version’s release notes for instructions for updating this module.

                                      S L 2 Replies Last reply Reply Quote 1
                                      • S Offline
                                        sethzarny @Jalibu
                                        last edited by

                                        @Jalibu Thank you for making the change to resolve the API format modification made by Yahoo. My timing was perfect. I was diagnosing the issue on my mirror when you updated your changes. They are working perfectly. Appreciate it.

                                        1 Reply Last reply Reply Quote 0
                                        • M mishman referenced this topic on
                                        • L Offline
                                          leonids @Jalibu
                                          last edited by

                                          @Jalibu

                                          I had tried to install MMM-Jast module several times but always get this error:
                                          I run Magic Mirror on Raspberry Pi2B . Is this a problem?

                                          (???) ? idealTree:MMM-Jast: sill idealTree buildDeps
                                          <— Last few GCs —>

                                          [28023:0x57d41a8] 57937 ms: Mark-Compact (reduce) 225.8 (233.7) -> 225.7 (233.9) MB, 270.99 / 0.02 ms (+ 84.6 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 445 ms) (average mu = 0.932, current mu = 0.608) a[28023:0x57d41a8] 58305 ms: Mark-Compact (reduce) 226.1 (233.9) -> 226.1 (234.4) MB, 356.64 / 0.00 ms (average mu = 0.834, current mu = 0.030) allocation failure; scavenge might not succeed

                                          <— JS stacktrace —>

                                          FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
                                          ----- Native stack trace -----

                                          Aborted
                                          leonid@magicmirror:~/MagicMirror/modules/MMM-Jast $

                                          S JalibuJ 2 Replies Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @leonids
                                            last edited by sdetweil

                                            @leonids you need to increase the swap space size

                                            and maybe the heap size

                                            for the heap size in config.js before the
                                            modules:[

                                            add

                                            electronSwitches:{ "js-flags": "--max-old-space-size=8192"},
                                            

                                            that will allocate 8 Meg of heap. you can make it bigger…

                                            make sure you increase the swap space

                                            I’ll leave that to a Google search for you

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            L 2 Replies 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
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 7 / 9
                                            • 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