POST https://api.cryptohopper.com/v1/hopper/{id}/arbitrage/market/cancel/{arbitrage_id}

Cancels one market arbitrage: its open orders are cancelled on the exchange and the arbitrage is marked cancelled.

OAuth scope: read manage About scopes

Example request

curl -X POST "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/arbitrage/market/cancel/ARBITRAGE_ID" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Path parameters

NameTypeRequiredDescription
arbitrage_id string Required Market arbitrage ID.
id string Required Hopper ID of an arbitrage bot.

Response

Example response (illustrative values)

{
    "data": "Selected arbitrage(s) are cancelled."
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.