BTC/USD:   1 hour: +1.11% | 2 hours: +1.62% | 6 hours: +0.51% | 12 hours: +0.12% | 24 hours: -0.94%
Zignaly

API

Note: Using the API interface only allowed for ONE user per key. If you use it with your self coded bot, please read YOURTRADINGBOT first.

Überblick

MiningHamster bietet Dir eine einfache und leistungsfähige REST-API, mit der Sie das neueste Signal von unserer Web-Oberfläche erhalten können. Alle Anfragen verwenden den Inhaltstyp application/json. Die Basis-URL ist https://mininghamster.com/api/v2/. Alle Anfragen sind GET-Anfragen und alle Antworten kommen in einem Standard-Antwortobjekt.

Starten

Um die Dinge einfach zu halten, bieten wir eine einfach zu verwaltende API-Key-Authentifizierungsmethode an. Beachten Sie, dass Sie einen API-Key benötigen, um das neueste Signal zu erhalten.

$apikey='API_KEY'; 
$uri='https://www.mininghamster.com/api/v2/$apikey; 
$sign=hash_hmac('sha512',$uri,$apikey); 
$ch = curl_init($uri); 
curl_setopt($ch, CURLOPT_HTTPHEADER, array('apisign:'.$sign)); 
$execResult = curl_exec($ch); 
$obj = json_decode($execResult);

Veraltet

https://www.mininghamster.com/output/getsignal.php?key=API_KEY

Demo Schlüssel

Entwickler können ein zufälliges Ausgangssignal testen, das sich alle 30 Minuten ändert.

https://www.mininghamster.com/api/v2/288b2113-28ac-4b14-801f-f4d9cf9d87ad

Vorschau der JSON-Anfrage

	
0:	
market: "BTC-INS"
lastprice: "0.0000238"
signalmode: "buy"
exchange: "binance"
basevolume: 308.9336
time: "2019-08-31 18:18:07"
signalID: "bin_707152820"
signals_qty: 43
profit_avg: 7.84
profit_median: 5.13
profit_mode: 5
profit_mode_qty: 5

market Der Markt bei dem das Signal ausgelöst wurde
lastprice Der Signalpreis zum kaufen
signalmode Der Modus für die Signalkalkulation: Unterschiedliche Modi
exchange Die Börse auf der das Signal ausgelöst wurde. Du kannst die Ausgabe der Börse in Deinen Einstellungen verwalten.
basevolume Das Volumen des Marktes in BTC.
time Erscheinungszeitpunkt des Signals (CET)
signalID the unique signalID for this signal
signals_qty Amount of signals already sent for this marketpair and exchange.
profit_avg The average profit achieved so far by this marketpair and exchange
profit_median The medium profit for this marketpair and exchange.
The median is the value separating the higher half from the lower half of the signal profits. It may be thought of as the "middle" value.
profit_mode The mode profit for this marketpair and exchange.
The mode is the profit that occurs most often. If no profit in the list is repeated, then there is no mode for this marketpair.
profit_mode_qty The quantity of the mode profit for this marketpair and exchange

API Optionen

Optional kann Du in deinem Profil folgende Einstellungen vornehmen.