tobiasdueser / StockPortfolio-MoneyMoney

Other
3 stars 3 forks source link

Stock values can not be fetched anymore #4

Open iSchorsch opened 3 years ago

iSchorsch commented 3 years ago

the following error message is presented in MoneyMoney:

Sending: GET https://finnhub.io/api/v1/forex/rates?token=c1j26sn48v6t2bkelaag The server responded with the error message: Forbidden. Retrying... Sending: GET https://finnhub.io/api/v1/forex/rates?token=c1j26sn48v6t2bkelaag 08:39:07 HTTPS response: Forbidden Der Server Ihrer Bank meldet einen internen Fehler. Bitte versuchen Sie es später noch einmal.

This does happen even after refreshing the API-key in MoneyMoney.

Thank you!

roul76 commented 3 years ago

It seems access to https://finnhub.io/api/v1/forex/rates is not free anymore and requires a premium account (see https://finnhub.io/docs/api/forex-rates). So currency conversion is not available anymore unless you have a premium account.

iSchorsch commented 3 years ago

Thank you for your Info! I can not see any other plan than $1.000/month for a premium plan. Is there an other solution? I do check AAPL. Is a solution to switch to APC.F to check the value in Frankfurt to have the currency in EUR? Any other insides/workarounds are very welcome. Thank you!

roul76 commented 3 years ago

Maybe "Pricing / Deutsche Börse Level 1" 49,99 $/month [1] will work for you. I switched to guidezpl/StockPortfolio-MoneyMoney which only provides quotes in USD but that does it for me since I only need to see trends. All my EUR based stocks are listed there as well; you just have to find out the right symbol (eg. Deutsche Lufthansa: DLAKF) and have to calculate the USD price with a historical exchange rate [3]. Hope that helps.


[1] https://finnhub.io/deutsche-borse-end-of-day-level-1-data [2] https://github.com/guidezpl/StockPortfolio-MoneyMoney [3] https://de.exchange-rates.org/Rate/EUR/USD/23.03.2020 (change the date according your needs)

stevemeier commented 1 year ago

I have just created a pull request which fixes this.

@tobiasdueser Let me know if you can merge and get a fresh signature from the MoneyMoney team. Thanks!