Skip to main content
POST
https://api-gw.verolabs.co/api/v1
/
orders
/
bracket-order
Place a bracket order
curl --request POST \
  --url https://api-gw.verolabs.co/api/v1/orders/bracket-order \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "symbol": "FPT",
  "side": "B",
  "conditionPrice": 123,
  "conditionType": ">=",
  "orderType": "LO",
  "quantity": 123,
  "account": "<string>",
  "takeProfitPrice": 123,
  "stopLossPrice": 123
}
'
{
  "status": 123,
  "data": "<unknown>",
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.oms.verolabs.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token used for protected REST API requests.

Body

application/json

Bracket order creation payload.

Payload for creating a bracket order with optional take-profit and stop-loss legs.

symbol
string
required

Trading symbol or product code.

Example:

"FPT"

side
enum<string>
required

Order side.

Available options:
B,
S
Example:

"B"

conditionPrice
number
required

Price that triggers the bracket order.

conditionType
enum<string>
required

Trigger condition comparing market price to conditionPrice.

Available options:
>=,
<=
Example:

">="

orderType
enum<string>
required

Order type submitted after the bracket condition is met.

Available options:
LO,
MTL
Example:

"LO"

quantity
number
required

Order quantity.

account
string
required

Trading account identifier.

takeProfitPrice
number

Optional take-profit target price.

stopLossPrice
number

Optional stop-loss price.

Response

Bracket order created.

Order response wrapper.

status
integer

Status code returned with the order response.

data
any

Order response payload, or null on failure.

message
string

Order success or error message.