API_Getfilteredshares
Syntax:
filter = das, oder die Filterkriterien, nach denen gesucht werden soll
paging = schränkt die Suchergebnisse ein, entspricht LIMIT 0,25 in SQL
sorting = nach was sortiert werden soll, Feld und Text, entspicht ORDER BY in SQL
token = ihr Finanzoo token (https://www.finanzoo.de/account/api.html) -> Sie benötigen einen Premium Account für die Nutzung.
Beispiel Aufruf:
https://api.finanzoo.de/v1/public/?API_Getfilteredshares&token=YOURTOKEN&filter=[delisted=0;countryid=220,54;indexids=9,82]&paging=[0;5]&sorting=[fscore%20DESC]
Beispiel Antwort:
["{entries:94}",{"uid":"172","shortname":"Texas Instruments","name":"Texas Instruments","sma200_color":"1","fscore":"71.950","fscore_background_color":"BDFF21","balanceagevalid":"1","priceagevalid":"1","historycomplete":"1"},{"uid":"177","shortname":"Vertex","name":"Vertex Pharmaceuticals","sma200_color":"0","fscore":"71.000","fscore_background_color":"BDFF21","balanceagevalid":"1","priceagevalid":"1","historycomplete":"1"},{"uid":"67","shortname":"Adobe","name":"Adobe Systems","sma200_color":"0","fscore":"70.000","fscore_background_color":"BDFF21","balanceagevalid":"1","priceagevalid":"1","historycomplete":"1"},{"uid":"104","shortname":"Biogen","name":"Biogen","sma200_color":"0","fscore":"68.600","fscore_background_color":"BDFF21","balanceagevalid":"1","priceagevalid":"1","historycomplete":"1"},{"uid":"99","shortname":"Applied Materials","name":"Applied Materials","sma200_color":"1","fscore":"67.950","fscore_background_color":"C2FF1F","balanceagevalid":"1","priceagevalid":"1","historycomplete":"1"}]
Achtung!
Das erste Rückgabeelement enthält immer die Gesamtanzahl an gefundenen Einträgen! D.h. es sollte in der entsprechenden Programmiersprache als erstes herausgefiltert werden. Wir haben uns für diese Lösung aus Performancegründen entschieden.
API für Index Abfrage
API_Getindices
https://api.finanzoo.de/v1/public/?API_Getindices&token=YOURTOKEN
Index Id Zuordnung, momentan von Finanzoo unterstützt:
Id | Name |
1 | Dow Jones Industrial Average |
2 | Dax |
3 | TecDAX |
4 | MDAX |
5 | SDAX |
6 | Prime All Share |
7 | NASDAQ Comp. |
8 | S&P 500 |
9 | NASDAQ 100 |
11 | FTSE 100 |
12 | CAC 40 |
13 | IBEX 35 |
14 | ATX |
15 | OMX Stockholm PI |
16 | PX Prague |
17 | RTX Russian |
19 | BUX |
20 | WIG 20 |
26 | S&P/TSX 60 |
28 | S&P/TSX Composite |
30 | BOVESPA |
31 | NIKKEI 225 |
32 | Hang Seng |
33 | Australia All Ordinaries |
35 | TOPIX |
36 | DAXglobal BRIC |
37 | EURO STOXX 50 |
38 | SMI |
39 | AEX 25 |
41 | OMXH 25 |
42 | Athex 20 |
43 | BEL 20 |
49 | ISE 100 |
54 | Shanghai Composite |
62 | OMX Tallinn |
63 | OMX Riga |
64 | OMX Vilnius |
72 | CDAX |
75 | STOXX EUROPE 600 |
76 | HDAX |
77 | FTSE MIB |
79 | SPI |
80 | NO INDEX |
81 | ASX 200 |
82 | Russell 3000 |
83 | OSEBX |
84 | MSCI World Index |
Beispiel Aufruf für den DAX und TecDax:
https://api.finanzoo.de/v1/public/?API_Getfilteredshares&token=YOURTOKEN&filter=[delisted=0;indexids=2,3]
Rückgabe
["{entries:56}",{"uid":"32","shortname":"adidas","name":"adidas AG","sma200_color":"1","fscore":"27.000","fscore_background_color":"FFE000","balanceagevalid":"1","priceagevalid":"1","historycomplete":"1"},{"uid":"33","shortname":"Allianz","name":"Allianz SE","sma200_color":"1","fscore":"44.000","fscore_background_color":"F5FF05","balanceagevalid":"1","priceagevalid":"1","historycomplete":"1"},{"uid":"34","shortname":"BASF","name":"BASF..........................,"historycomplete":"1"}]
Gics Sektoren Id´s
API_Gics
https://api.finanzoo.de/v1/public/?API_Gics&token=YOURTOKEN