portfolio-performance / portfolio

Track and evaluate the performance of your investment portfolio across stocks, cryptocurrencies, and other assets.
http://www.portfolio-performance.info
Eclipse Public License 1.0
2.96k stars 606 forks source link

Add Ariva.de quote feed #1556

Open ptruka opened 4 years ago

ptruka commented 4 years ago

As discussed in https://forum.portfolio-performance.info/t/aktueller-kurs-von-l-s/7623/24 it is very useful for TradeRepublic users, or for Lang & Schwarz Exchange in general, to scrape the current stock price from Ariva.de in order to get the correct value.

Instead of using the table from web site method it would be very comfortable to have something similar to the Yahoo Finance quote feed feature implemented.

With this URL it is possible to receive the current and the prices of the last 30 days: https://www.ariva.de/{isin}/historische_kurse?boerse_id={handelsplatz}&month=&currency={cur}=&clean_split=1&clean_split=0&clean_payout=0&clean_bezug=0

{isin}

{cur}: EUR;USD;CHF

{handelsplatz}: (some examples, not complete) 16 = L&S RT (Lang Schwarz) 0 = Düsseldorf 1 = Frankfurt 2 = Hamburg 3 = Hannover 4 = München 5 = Stuttgart 6 = Xetra 17 = Berlin 58 = Wien 83 = Nasdaq OTC Other 102 = HypoVereinsbank 123 = SIX Swiss Exchange 131 = Tradegate 162 = Quotrix ...

buchen commented 4 years ago

I haven't checked the legal fine print lately, but does Ariva allow downloading the historical prices? I know they have some "Marktdaten Services" where they sell "exclusive" access to master data and prices.

ptruka commented 4 years ago

thanks for pointing this out, i'm trying to get a statement.

cmaoling commented 4 years ago

While using the URL is an option, I could not find any general statement on the page: or Nutzungsbedingungen which would prohibite this: https://www.ariva.de/extras/verzoegerungen.m The page will block your IP, if you crawl/stress it though.