BTC/USD:   1 hour: +0.35% | 2 hours: +0.04% | 6 hours: +0.67% | 12 hours: +0.69% | 24 hours: +0.92%
Coinbase

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.

Aperçu

https://mininghamster.com/api/v2/.

Commencer

$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);

Déprécier

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

Clé de démonstration

Les développeurs peuvent tester un signal de sortie aléatoire qui change toutes les 30 minutes.

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

Aperçu de la requête json

	
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 le marché où le signal est apparu
lastprice prix du signal à acheter
signalmode
exchange
basevolume le volume de base du marché en BTC.
time heure actuelle du signal (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

Options d'API

En option, vous pouvez définir les paramètres suivants dans votre profil.