Read the statement by Michael Teeuw here.
[MMM-JaST] Just another Stock Ticker (new: version 2.x)
-
@jack819 to install a module (read the link below in my signature)
cd ~/MagicMirror/modules git clone url from module cd module_name npm i
you need the module folder to be the current folder to do the dependency install
-
Hello,
I am French.
Since The data is now fetched from Yahoo’s finance API. I would like to try again to install this module but beforehand I would like to know how we find the symbols for the stocks we want to have and present them like this:
{name: “BASF”, symbol: “BAS.DE”, quantity: 10},
{name: “SAP”, symbol: “SAP.DE”, quantity: 15},
{name: “Henkel”, symbol: “HEN3.DE”},
{name: “Alibaba”, symbol: “BABA”}
]
}
}The stocks that interest me are:
CAC 40
Dow jones
Euro stoxx 50
Crédit Agricole.Thank you
-
I tried to install this module with the stocks in examples but I had a problem of “Electron rebuild” because of black screen, I do not know how to make an “electron rebuild” so I deleted the module and the modules of my MM reappeared.
how to do an “electron rebuild”? -
Bonjour @rikko14,
an easy way to get your Stock Symbols is as follows:
- Open https://finance.yahoo.com and just search for your favorite stocks (i.e. BMW)
- Click on Search result
- URL should now be like https://finance.yahoo.com/quote/BMW.DE?p=BMW.DE&.tsrc=fin-srch where BMW.DE is the symbol.
This module should not cause any problems with Electron. But there was a mistake in the installation documentation. Please make sure to change into the MMM-Jast module’s folder before you execute the “npm i” command. Please check the latest installation instructions, as they are now fixed.
-
@jack819 That was my mistake in the documentation. It is fixed now.
-
@jalibu
This is an awesome module, thanks!
Is there a way to cut away decimal numbers on displayed asset price? I have limited space on my MM display and don’t need to see decimals… -
@uros76
I liked your idea and added this feature. Please checkout the latest version and check the README for instructions for your configuration.Please let me know if you’re facing any issues, as I did not have the time for extensive testing.
Changes v.2.1.0
- You can now configure the number of decimals for stock values (default: 2) and percentages (default: 1)
- Decimal separator symbols are now localized by the browser’s locale, as most of the countries use a comma instead of a dot.
- The stock’s name field is optional now. If it is not set, the stock’s official trade name will be used.
-
@jalibu you sir are a legend! Thanks a lot for such quick implementation of decimals idea. I just pulled the latest version and it works. Virtual beer for you :beer_mug:
-
The latest version has some major improvements for localizations in number formatting (i.e
$123.45
en-US vs.123,45 EUR
de-DE)Please check it out and let me know if you‘re facing issues.
-
Hello Jalibu,
first and foremost i want to say that your module is very nice.
But I want to ask you if it is possible to show the whole depot and not just the growth?
Furthermore it would be nice to have the option to disable the color.
Thanks for your Work!