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.5k 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.
    • JalibuJ Offline
      Jalibu Module Developer @MMuser
      last edited by

      @mmuser did you install the dependencies using npm install?

      1 Reply Last reply Reply Quote 0
      • M Offline
        MMuser
        last edited by

        Hi, yes i installed everything and after few restarts it is finally working, you did indeed great job, thanks for this module.
        Maybe one quick question, for horizontal scrolling, on the left side, scrolling is aligned with module above but on right side, scrolling starting on very right side ( don’t know how to insert screenshot to this forum). I tried to modify maxWidth -no result, as it is according to description related only to vertical style. Any possibility to correct this ?

        1 Reply Last reply Reply Quote 0
        • O Offline
          Overbid4225
          last edited by Overbid4225

          Was anyone able to make this work for Australia?
          I have tried AS and ASX both dont work. Example BOQ.AS but works on Yahoo Finance

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

            @Overbid4225 please check your logs: API request for BOQ.AS failed: Quote not found for ticker symbol: BOQ.AS
            This message does not come from the MMM-Jast module, but from the Yahoo Finance library. Apparently a required value is not available for this symbol.
            Since MMM-Jast depends on the results of the Yahoo Finance Library, unfortunately I can’t help you here either.

            O 1 Reply Last reply Reply Quote 0
            • O Offline
              Overbid4225 @Jalibu
              last edited by

              @Jalibu I see, thanks for the reply. Strange on Yahoo’s part to resolve BOQ.AS on their website or any other asx for that matter but not allow on API. https://finance.yahoo.com/quote/BOQ.AX?p=BOQ.AX&.tsrc=fin-srch

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

                @Overbid4225 yap, that‘s strange. The Yahoo Finanance library is unofficial and does not use a public API. Instead it just parses the Yahoo Website ;-)

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  Dracarys @Jalibu
                  last edited by

                  @Jalibu Hi, for me the module just stopped working since yesterday. It only says ‘loading’. Restartig the mirror doesnt Help. Before that it worked flawlessly for months. Is it Just me or does anyone else have this problem too?

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

                    @Dracarys It still works for me without any problems.
                    Do you get any logs?

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      Dracarys
                      last edited by Dracarys

                      I will post it as soon as i have the time :)

                      EDIT:

                      [30.06.2022 01:07.44.449] [ERROR] There was an error requesting the API. Failed Yahoo Schema validation
                      
                      
                      JalibuJ 1 Reply Last reply Reply Quote 0
                      • JalibuJ Offline
                        Jalibu Module Developer @Dracarys
                        last edited by Jalibu

                        @Dracarys
                        That’s strange. Can you sort out which symbol causes this error?

                        If it makes you happy, right now it’s better to see an error message on the mirror than to be shown the current stock performance.

                        1 Reply Last reply Reply Quote 2
                        • D Offline
                          Dracarys
                          last edited by

                          i just got rid of all smybols and used BMW.DE Its still the same unfortunately. I even updated on the last version of jast but that also didnt help.

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

                            @Dracarys can you please create an issue on Github? https://github.com/jalibu/MMM-Jast/issues

                            D 1 Reply Last reply Reply Quote 0
                            • D Offline
                              Dracarys @Jalibu
                              last edited by

                              @Jalibu Since my magicmirror is running since a few years without updates/upgrades i updated everything (Rpi, MagicMirror, Node, Jast etc…). Now the module works again :)

                              MartinLoidoltM 2 Replies Last reply Reply Quote 0
                              • D Dracarys referenced this topic on
                              • MartinLoidoltM Offline
                                MartinLoidolt @Dracarys
                                last edited by

                                @Dracarys I updated nearly everything I could find.
                                Could you tell me what you exactly updated?

                                1 Reply Last reply Reply Quote 0
                                • MartinLoidoltM Offline
                                  MartinLoidolt @Dracarys
                                  last edited by

                                  @Dracarys Nevermind i fixed it

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

                                    Hi Jan @Jalibu

                                    Thank you very much for this great Stocks module. The beer is already on the way. It’s best to choose Bavarian! :-)

                                    I have contributed a bit to the MMM-AVStock module (https://github.com/lavolp3/MMM-AVStock). Unfortunately TypeScript is not one of my languages, so I can help less there.

                                    You have already recorded the number of existing stocks. If we could add the purchase price, then a display like in MMM-AVStock would be possible. In addition to the current prices and their development, the own portfolio is then also shown in the development.

                                    Bild Text

                                    If I can help you in any way, please let me know.

                                    And another suggestion. I would like to have the representation like the horizontal ticker, only without ticker. So the display would be shown horizontally. But there is nothing running through.

                                    Thanks again

                                    Many 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

                                    1 Reply Last reply Reply Quote 1
                                    • 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

                                            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
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 5 / 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