Appearance
Get all conditional orders
GET
/v1/orders/conditionals
Get all active conditional orders for your account.
A customerOrderId field will be returned in the response for all those orders that were created with a customerOrderId field.
Authorizations
apiKey
Your API key
Type
API Key (header: X-VALR-API-KEY)
apiSignature
HMAC SHA512 signature of the request (see Authentication section)
Type
API Key (header: X-VALR-SIGNATURE)
apiTimestamp
Request timestamp in milliseconds
Type
API Key (header: X-VALR-TIMESTAMP)
Responses
Conditional orders retrieved successfully
application/json
JSON
[
{
"orderId": "12d87c9e-ea28-416c-b0df-76ef6e2c0c05",
"triggerOrderSide": "buy",
"triggerOrderType": "limit-reduce-only",
"currencyPair": "1000PEPEUSDTPERP",
"createdAt": "2024-05-08T09:42:03.684Z",
"updatedAt": "2024-05-08T09:42:03.684Z",
"triggerType": "LAST_TRADED",
"conditionalType": "TAKE_PROFIT",
"positionSide": "sell",
"positionId": "a478bbe1-6090-08de-28a9-03d971446924",
"quantity": "0",
"takeProfitTriggerPrice": "0.007359",
"takeProfitPlacePrice": "0.0073"
},
{
"orderId": "e281eb8e-c315-4372-a7b6-8c5e5f5eb971",
"triggerOrderSide": "sell",
"triggerOrderType": "limit-reduce-only",
"currencyPair": "AVAXUSDTPERP",
"createdAt": "2024-10-12T03:08:19.060Z",
"updatedAt": "2024-10-12T03:08:19.060Z",
"triggerType": "LAST_TRADED",
"conditionalType": "OT_OCO",
"customerOrderId": "ConditionalByLastTraded",
"quantity": "0.2",
"takeProfitTriggerPrice": "44.74",
"takeProfitPlacePrice": "44.8",
"stopLossTriggerPrice": "30.1",
"stopLossPlacePrice": "30",
"linkedOrderId": "5b5ca343-2063-40dd-9c31-840dc72a5aab"
}
]