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-crypto-portfolio

    Scheduled Pinned Locked Moved Utilities
    26 Posts 12 Posters 14.4k Views 11 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.
    • C Offline
      Charley Module Developer
      last edited by

      Hello MagicMirror users,

      I have been working to improve Matteos Danelli’s cryptocurrency module.

      To add your own assets and get a proper layout I had to rewrite a big part of the module. In this module I am retrieving 2 data sets to get all data together.

      It is currently available in English, Deutsch, Nederlands, Italiano, Swedish if you can help adding languages it would be great.

      MMM-crypto-portfolio

      0_1522252122138_portfolio new.png
      (hope my assets rise again soon ;-)

      MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

      iMAGiCI 1 Reply Last reply Reply Quote 2
      • A Offline
        AmDDJunkie
        last edited by AmDDJunkie

        Very cool. Would you add Feathercoin and Nexus images to the repo?

        2_1524598358179_feather-white.png 1_1524598358179_white-square-nexus-logo.png 0_1524598358178_blue-square-nexus-logo.png

        1 Reply Last reply Reply Quote 0
        • C Offline
          Charley Module Developer
          last edited by

          @amDDJunkie I have just added the logos

          If someone else needs a logo added please send the logo size 50x50 pixels in colour and in white.

          MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

          1 Reply Last reply Reply Quote 1
          • J Offline
            jaminben
            last edited by

            Hi Charley,

            Is it possible to swap the icon from right to the left side of the text and to be able to remove the text word ‘Price’?

            If not no worries.

            Thanks for another classy module :)

            0_1524928219726_Move Logo.jpg

            1 Reply Last reply Reply Quote 0
            • C Offline
              Charley Module Developer
              last edited by

              @jaminben Yes it is possible

              In the newest update from today you have three new options

                      showLabels: true,       // true or false
                      logoPosition: "front",  // option front, middle, back
                      graphPosition: "back",  // option front, back
              

              However the labels for price changes will always be visible (just percentages without label look silly)

              Hope you like it

              MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

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

                @Charley said in MMM-crypto-portfolio:

                logoPosition: “front”,

                Cool… it appears to work but are the logos centered?.. mine look off center or rather the back edge of the logo is the edge which then makes the logos look slightly off.

                0_1525008700236_Centered.jpg

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Charley Module Developer
                  last edited by

                  To prevent alignment problems the portfolio is a nested table.
                  The only way to get the alignment properly for now I have removed the total asset label if the logo is set to ‘back’
                  Your assets are too high if you keep your wealth below the 1000 GDP it would have worked fine :-)

                  MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

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

                    Ok, thanks for taking the time and looking into this for me :)

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

                      This is amazing! Where is this pulling the info from? Binance?

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        Charley Module Developer
                        last edited by

                        The data comes from coincapmarket.com

                        MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

                        PowellaJasonP 1 Reply Last reply Reply Quote 0
                        • C Offline
                          callum8004
                          last edited by

                          Hi on the MMM-crypto-portfolio module im struggling to display both SingularDTV and Linda - I’ve tried teh obvious ‘linda’ and ‘singularDTV’ but no luck - any suggestions?

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            Charley Module Developer
                            last edited by

                            SingularDTV is at position 280 and Linda at 351 at coincapmarket.

                            Just increase the limit: 100 in config.js to 380

                            If you look at the example config.js the last line tells you increase if your currency doesn’t appear there are over 1000 at coincapmarket.com (at this moment 1656)

                            MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              Charley Module Developer
                              last edited by

                              Did it help you?

                              MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

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

                                @charley Hi Charley - solved the issue thanks for your reply!

                                1 Reply Last reply Reply Quote 0
                                • MarosM Offline
                                  Maros
                                  last edited by

                                  how do i increase font ? i’ve tried to put entry to custom.css .MMM-crypto-portfolio but with no sucess :( i’ve also changed in MMM-crypto-portfolio.css font-size from small to medium but also font stays on same size as before …

                                  C 1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    Charley Module Developer @Maros
                                    last edited by

                                    @maros If you look in the css file at line 54 it says

                                    font-size:14px
                                    

                                    You can increase or decrease the number (this size is chosen so it will align properly)

                                    MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

                                    1 Reply Last reply Reply Quote 0
                                    • MarosM Offline
                                      Maros
                                      last edited by

                                      ok thank you i’ll try :)

                                      1 Reply Last reply Reply Quote 0
                                      • twosquirrelsT Offline
                                        twosquirrels
                                        last edited by

                                        Is there an easy way to remove the “total assets” line at the bottom? I am only tracking one currency, so it’s redundant to have it displayed twice. Thanks.

                                        1 Reply Last reply Reply Quote 0
                                        • K Offline
                                          kornface13
                                          last edited by

                                          Is this working for anyone currently? I’ve copied the example config but nothing shows up in my dashboard at all. Wondering if the coinmarketcap data output has changed and this is no longer working. Thoughts?

                                          1 Reply Last reply Reply Quote 0
                                          • PowellaJasonP Offline
                                            PowellaJason @Charley
                                            last edited by

                                            This post is deleted!
                                            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
                                            • 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