A MagicMirror² module to display your eToro portfolio summary, including total equity, current profit/loss, and percentage gains in real-time.
- Individual Asset Tracking: Shows each stock, ETF, or crypto in your portfolio.
- Smart Aggregation: Automatically groups multiple open positions of the same asset into a single row.
- Automated Metadata: Dynamically fetches asset names and high-quality SVG logos from the eToro Market API.
- Profit/Loss Monitoring: Real-time tracking of net profit with color-coded (Green/Red) status.
- Clean Aesthetic: Designed to match the native MagicMirror² UI using subtle typography and circular icons.
- An eToro account.
- An eToro API Key and User Key.
- Note: These can be generated under Settings > Trading > API Key Management.
cd ~/MagicMirror/modules && git clone https://github.com/owensy/MMM-eToro.git && cd MMM-eToro && npm installTo update the module to the latest version, navigate to the module directory and pull the changes:
cd ~/MagicMirror/modules/MMM-eToro && git pullAdd the following to the modules array in your config/config.js file:
{
module: "MMM-eToro",
position: "top_right",
config: {
apiKey: "YOUR_ETORO_API_KEY",
userKey: "YOUR_ETORO_USER_KEY",
demo: false,
showTotal: true,
updateInterval: 600000
}
},| Option | Default | Description |
|---|---|---|
apiKey |
None |
Required. Your eToro Public API Key. |
userKey |
None |
Required. Your eToro User Key. |
demo |
false |
Set to true if you are using your Virtual Portfolio/Demo account keys. |
updateInterval |
600000 |
How often to fetch data (in ms). Default is 10 minutes. |
showTotal |
true |
Set to false to hide the summary row at the bottom of the table. |
Customize the look by editing MMM-eToro.css. It uses standard MagicMirror classes for a native look.
Data provided by eToro Public API
This module is for informational purposes only. Use it at your own risk. The developer is not responsible for any financial decisions made based on the data displayed.
MIT
