dark-m0de / EODDataPortfolio-MoneyMoney

Inofficial EODData Extension for MoneyMoney
MIT License
1 stars 0 forks source link

Unable to get gold price #1

Closed skdnp closed 3 years ago

skdnp commented 3 years ago

Hello. I'm trying to make an account for physical gold, but somehow it doesn't work properly. Viewing at the source of https://eoddata.com/stockquote/FOREX/XAUEUR.htm, I can't spot any difference in the html compared to e.g. the AAPL from the examples. However using "FOREX/XAUEUR(3.286) [EUR]" fails to compute a value for the account. Any idea what might go wrong? Screenshot attached.

Screen Shot 2021-04-21 at 12 12 19

dark-m0de commented 3 years ago

Thanks for providing the feedback. I'm investigating it right now. My first assumption is that the number from that specific FOREX has a comma instead of a dot. I'll write again when I have pushed a fixed version with a mm signature.

image
skdnp commented 3 years ago

Yeah, the comma was instantly my vague suspicion as well. Guess that tonumber lua-internal isn't prepared for that? Thanks for the fast response!

dark-m0de commented 3 years ago

Just received the signed version and merged it. Solution was to remove comma signs from stock price strings. "FOREX/XAUEUR(3.286)[EUR]" is working now.

skdnp commented 3 years ago

10/10 githubber. Sehr zu empfehlen, gerne wieder :)