BTC/USD:   1 hour: +0.22% | 2 hours: +1.53% | 6 hours: -0.02% | 12 hours: +2.21% | 24 hours: +2.88%
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.

Visión de conjunto

MiningHamster proporciona una API REST sencilla y poderosa que le permite obtener la última señal desde nuestra interfaz web. Todas las solicitudes usan el tipo de contenido application/json. La URL base es https://mininghamster.com/api/v2/. Todas las solicitudes son GET y todas las respuestas vienen en un objeto de respuesta predeterminado.

Empezando

Con el ánimo de mantener las cosas simples, ofrecemos una forma fácil de administrar su API Key para la autenticación. Tenga en cuenta que DEBE tener una API-Key para obtener la última señal.

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

Deprecating

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

Demo Key

Los desarrolladores pueden probar una señal de salida aleatoria que cambia cada 30 minutos.

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

Vista previa de la solicitud 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 el mercado donde apareció la señal
lastprice precio de señal a comprar
signalmode el modo para el cálculo de la señal: Diferentes modos
exchange el Exchange donde apareció la señal. Puede seleccionar su Exchange en configuración.
basevolume el volumen base del mercado en BTC
time hora actual de la señal (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

Opciones de API

Opcionalmente, puede realizar las siguientes configuraciones en su perfil.