Move a reserved position to open positions

PATCH https://api.cryptohopper.com/v1/hopper/{id}/reserved/{reserved_id}/movetopositions

Moves one reserved position back to the hopper's open positions. A reserved position in the hopper's quote currency is removed instead.

An ID that is not found is skipped without an error. If the hopper is not found or has no config, the call returns data "No config found for hopper." instead of an error. Not available for exchange arbitrage, market maker, copy and grid bots.

Example request

curl -X PATCH "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/reserved/RESERVED_ID/movetopositions" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Path parameters

NameTypeRequiredDescription
id string Required Hopper ID.
reserved_id string Required Reserved position ID.

Response

Example response (illustrative values)

{
    "data": "Funds moved to open positions."
}

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