API
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.- Output mode Choose your mode. Only buy or additional sell? It's up to you
- Exchange output Choisissez votre échange pour la sortie. Si vous utilisez uniquement Bittrex, vous pouvez le sélectionner. (Tous, Bittrex, Poloniex, Binance ou Kucoin)
- Exchange Market Choose your market for the output. You can select all the markets you want to trade (BTC,ETH,USDT,BNB,NEO)
- Volume du marché Vous pouvez choisir le volume du marché dans BTC de votre production. Supérieur à 400 BTC.
- Blacklist Vous pouvez créer votre propre liste noire pour les marchés que vous ne souhaitez pas exporter.