lavolp3 / MMM-AVStock

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

Nothing being displayed in Table #22

Closed SavarA506 closed 3 years ago

SavarA506 commented 4 years ago

Hey, So I changed the last company to “amzn” but it still shows Samsung electronics and nothing shows in the table. Thanks

lavolp3 commented 4 years ago

Have you restarted the mirror? The changes are being fed into node_helper which calls the data. Node_helper.js does not change with a page refresh but with a restart of the server side of the mirror.

SavarA506 commented 4 years ago

Hey, I did restart the mirror after putting the code into the modules array in the config.js file. The config.js file is reading the code from the modules file as the table is shown and “Apple” “google” and “Samsung electronics” are shown along with the headings. Only the data is missing. Thanks.

SavarA506 commented 4 years ago

Here is what it looks like: 7DA45DA2-DE0D-4005-9E10-08C4D3B1C7AD

SavarA506 commented 4 years ago

Please help me with this matter.

julianzur commented 4 years ago

Could it be that the Alphavantage API has changed? I'm also seeing:

[AVSTOCK] Error: Invalid API call. Please retry or visit the documentation (https://www.alphavantage.co/documentation/) for TIME_SERIES_DAILY.

lavolp3 commented 4 years ago

@julianzur no the aplphavantage API works. It seems to be getting limited more and more but AAPL and GOOG surely work.

lavolp3 commented 4 years ago

@SavarA506 Sorry I don't have much time currently in the middle of holiday, job transition and other stuff. I will take care of this asap while giving this module a bigger update.

Can you post your config entry in the meantime but please leave out the API key

lavolp3 commented 4 years ago

The reason may be that I have pushed a breaking change for the table. Have reverted the change on the master branch. Please try again after a git pull and let me know if it works. For now I'm working on the new changes in the dev branch.

SavarA506 commented 4 years ago

What do I type in to CMD for a "git pull"

lavolp3 commented 4 years ago
cd ~/MagicMirror/modules/MMM-AVStock  
git pull
svlstriker commented 4 years ago

But with your reverts my problem pops up again... https://github.com/lavolp3/MMM-AVStock/issues/18

Something I have to change now?

lavolp3 commented 4 years ago

@svlstriker thanks for letting me know. I'm working on a me version in the dev branch but will fix this issue in the master branch again tomorrow.

lavolp3 commented 4 years ago

@julianzur @svlstriker @SavarA506 I have pushed a big update to version 2.0.0.

Please update

git pull
npm install

Let me know if your issues are resolved. Also, check out the new options. It should still work with the old ones.

svlstriker commented 3 years ago

looks good so far! one more problem is with settings of width to any % value... I had the issue, that without setting width, the chart overlaps only a few pixel another module... so I wanted to set width to 95% but the result ist, that it decreases the size to round about 75% But that is okay for me, nmot a real problem ;-)

BIG THANKS!

lavolp3 commented 3 years ago

width is an issue for me since I wanted to implement a flexible design. It may behave different in the next update. Then it will be by default set to '100%'. You can then change it to any number you like. Hopefully it works better that way, so stay tuned.

Will close this now since original issue has been solved