Read the statement by Michael Teeuw here.
MMM-CryptoPortfolio
-
MMM-CryptoPortfolio is a module for MagicMirror² that allows you to easily track your cryptocurrency investments. This module displays your portfolio value, cryptocurrency variations, and customizable data in real-time.
Installation
git clone https://github.com/DzMassi/MMM-CryptoPortfolio.git
cd MMM-CryptoPortfolio
npm installUsing the module
{
module: “MMM-CryptoPortfolio”,
position: “top_right”, // Position where the module will be displayed on MagicMirror
config: {
currency: “USD”, // Currency: USD, EUR, etc.
displayCount: 10, // Number of cryptocurrencies to display
showLogos: false, // Display logos (true/false)
showPerformance24h: true, // Display 24-hour performance (true/false)
showTotal: true, // Show total balance
sortBy: “value”, // Sort by: value, name, etc.
positiveColor: “#00FF00”, // Color for positive performance
negativeColor: “#FF0000”, // Color for negative performance
apiKey: “YOUR_API_KEY”, // CoinMarketCap API Key
cryptoListFile: “modules/MMM-CryptoPortfolio/cryptoList.json”, // Path to the JSON file
updateInterval: 10, // Update interval (based on the unit)
updateIntervalUnit: “minutes” // Unit: “seconds”, “minutes”, or “hours”
}
},