lavolp3 / MMM-AVStock

MagicMirror module for displaying stock price with Alphavantage API
MIT License
38 stars 18 forks source link

Wrong stocks showing #32

Closed hermannw closed 3 years ago

hermannw commented 3 years ago

I installed this module today and copied the "Simple" configuration. Apple, Google and Tesla showing up. Great. Now let's see some other stocks. So I change: symbols : ["AAPL", "GOOGL", "TSLA"], to symbols : ["MSFT", "AMZN"], Nope. Still showing Apple and Google. But it only shows two, So it got the number right but not the code. No matter what I enter in symbols, it only shows Apple, Google and Tesla. I even changed the js file and left the symbols out in the config but still the same. Am I doing something wrong here?

Hermann

SteTR commented 3 years ago

Am also having the issue when setting different stocks.

lavolp3 commented 3 years ago

You are only seeing the current aliases. Set the option alias: [] or fill the array with aliases. I will set the array as default empty with the next update.

lavolp3 commented 3 years ago

V2.1.0 now sets alias: [] by default so you only see the symbol name. Let me know if your problems still exist

hermannw commented 3 years ago

Vielen Dank Dirk! It works now and I like the "grid" view. But it seems "stuck" in that view. mode: "table" does not change it and ticker still shows the chart on half of the left side.

Hermann

lavolp3 commented 3 years ago

@hermannw that seems impossible. Are you sure? The mode determines the DOM elements that are created. I wouldn't know how that would not change with a different entry. Of course restarting the mirror helps.