Documentation
Log In
Documentation

Order type wchich is often called a stop loss. Stop order have similar usage - it just protects you againsts loss of funds. After reaching a stopRate value which is determined by last transaction rate - our stop order is realizing on the market.

{
  "amount": "0.55",
  "rate": "30100",
  "stopRate": "30200",
  "offerType": "BUY",
  "mode": "stop-limit"
}
{
  "amount": "0.55",
  "stopRate": "30200",
  "offerType": "SELL",
  "mode": "stop-market"
}
{
  "amount": "0.55",
  "stopRate": "30200",
  "offerType": "SELL",
  "mode": "stop-market",
  "ignoreInvalidStopRate": true
}
{
  "amount": "0.55",
  "rate": "30100",
  "stopRate": "30200",
  "offerType": "BUY",
  "mode": "stop-limit",
  "balances": {
    "first": "01dd158d-7011-4bbc-98f3-80f09d7e24b8",
    "second": "69d14efe-0b1b-413f-ada4-4a8a975b7d76"
  }
}

Response details

KeyTypeDescription
statusStringStatus of stop offer execution: Ok / Fail.
stopOfferIdUUIDUnique id of stop offer.

📘

In case of ignoreInvalidStopRate usage and immediately transaction execute - the response will not show any of realized transactions.

Language
Credentials