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 178.7k 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.
    • MZ-BERM Offline
      MZ-BER
      last edited by

      Hi @Jalibu - first, thanks for the great module and all the effort to help.

      I was playing with the Depot feature and added all the quantities. It functions correctly, providing me with the current value based on the current market price of the stock. Now I’m wondering if is there a way to calculate the price gain since purchase, similar to the example provided?

      Is it possible to add the purchase price next to the quantity, so that the price gain or loss can be automatically calculated based on the current price?

      f081915f-8d3a-4338-bd3d-d5990238c801-image.png

      Best regards from Berlin

      -Manuel

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

        @MZ-BER thanks for your feedback. Also @spitzlbergerj asked for such a feature.
        Technically, the implementation (and calculation) should be very easy. The tricky part is to get this fitting into the different display modes/styles (e.g. horizontal, vertical scrolling). The horizontal scrolling values for example are hard to understand without any caption for what they stand for.
        In a table view like your’s, that’s easy and I’ve been thinking for a long time to introduce an additional table mode (like MMM-AVStock for example). The reason why I haven’t so far implemented this is, that I want to avoid that some features are only visible in a subset of modes/styles.

        But since several people have already expressed their wish and one shouldn’t hold back improvements because one could theoretically make it even better, I’ll try to implement that soon.

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

          Hi @Jalibu
          I don’t think it’s really a problem to understand the values even without appropriate tags. It’s not like there are hundreds of unknown and untrained people looking at such a MagicMirror. It is rather family or smaller teams that look at the displays. And those who are interested in shares quickly know what means what. That’s how it is in my proposal. On MagicMirror, the color of the values is usually enough for me to decide whether to trade. Everything else happens on the trading platform.

          I use many models in different views on my different MagicMirrors. With almost all modules, the different views also offer different functionalities. That’s kind of the point of a view - a different look at the same raw data. so I wouldn’t have a problem with that.

          And as already said, I would like to help. Unfortunately I lack the knowledge of the programming language used and the appropriate development environment.

          Many greetings and happy coding
          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 Jalibu

            @spitzlbergerj @MZ-BER
            I added some options to calculate the stock’s and the portfolio’s performance based on the purchase price.
            You can test it in the module’s development branch: https://github.com/jalibu/MMM-Jast/tree/development

            It currently looks like this which is not very pretty, imho. Please share your feedback and thoughts for further improvement.
            fa0d1269-c353-48f7-9cb3-05e47ee06f9b-image.png

            PS: Inspired by this, I thought of a new display mode with a table with sticky header and alternating body in the future.
            7fc47886-a5da-4f90-b745-b4bac79d44d6-image.png

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

              @spitzlbergerj @MZ-BER
              I introduced a first draft for a table view. You can select a “page size” for stock rotation.

              Please share your feedback.
              screenrecording.gif

              H 1 Reply Last reply Reply Quote 0
              • MZ-BERM Offline
                MZ-BER
                last edited by MZ-BER

                @Jalibu - fantastic Job! I just pulled the dev version and added the purchasePrice next to the quantity. The calculation is functioning properly. There is a slight discrepancy in the total amount, which is likely due to the exchange where I obtained my information. (The screenshot is from Parquet and they are utilizing Xetra as their exchange.

                Overall the first iteration is really good.

                Here some feedback (will share more as soon as I have time):

                • Some of my stocks/ETFs have three decimal places for the prices (Column Kursgewinn)
                • By adding more options like value increase % or total ect. new columns with header should be created. Otherwise it is confusing to understand where the number refers to.
                • Kursgewinn could be colored with green or red

                bf4f9961-0e88-4dd1-a0fe-37d52470e854-image.png

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

                  @Jalibu
                  Thank you very much for these variants. I’m on the road and unfortunately won’t be able to test live in the next days.

                  I don’t really have much room for the stocks on the mirror unfortunately. Three lines at the bottom is all I can use. So the Views I posted initially was my very favorite.

                  Suggestion 1: expand the ticker format to show each stock in two lines

                  Share 1                                 Share 2                               Share 3 ... 
                  current price  current performace       current price current performace      current price current performace ...
                  purchase price purchase performace      purchase price purchase performace    purchase price purchase performace ...
                  

                  Suggestion 2: Ticker to switch off

                  Suggestion 3: gladly also your new ticker view, then however options whether the respective values are to be faded in.

                  regards
                  Josef

                  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
                    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
                        • 1
                        • 2
                        • 11
                        • 12
                        • 13
                        • 14
                        • 15
                        • 16
                        • 17
                        • 13 / 17
                        • 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