Skip to main content
POST
/
api
/
v4
/
order
/
collateral
/
trigger-market
Collateral Trigger Market Order
curl --request POST \
  --url https://whitebit.com/api/v4/order/collateral/trigger-market \
  --header 'Content-Type: application/json' \
  --header 'X-TXC-APIKEY: <api-key>' \
  --data '
{
  "market": "<string>",
  "side": "buy",
  "amount": "<string>",
  "activation_price": "<string>",
  "request": "<string>",
  "nonce": "<string>",
  "clientOrderId": "<string>",
  "stopLoss": "<string>",
  "takeProfit": "<string>",
  "positionSide": "long"
}
'

Authorizations

X-TXC-APIKEY
string
header
required

API Key authentication for private endpoints.

Required headers:

  • X-TXC-APIKEY: Your API key
  • X-TXC-PAYLOAD: Base64 encoded JSON payload
  • X-TXC-SIGNATURE: HMAC SHA512 signature

Body

application/json
market
string
required
side
enum<string>
required
Available options:
buy,
sell
amount
string
required
activation_price
string
required
request
string
required
nonce
string
required
clientOrderId
string
stopLoss
string
takeProfit
string
positionSide
enum<string>
Available options:
long,
short

Response

200

Order created