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 10.8k 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
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • 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