Skip to main content
POST
https://api-gw.verolabs.co/api/v1
/
orders
/
stop-order
Place a stop-loss order
curl --request POST \
  --url https://api-gw.verolabs.co/api/v1/orders/stop-order \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "symbol": "FPT",
  "side": "B",
  "stopPrice": 123,
  "stopCondition": ">=",
  "orderType": "LO",
  "price": 123,
  "quantity": 123,
  "account": "<string>"
}
'
{
  "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

Stop-loss order creation payload.

Payload for creating a stop-loss order.

symbol
string
required

Trading symbol or product code.

Example:

"FPT"

side
enum<string>
required

Order side.

Available options:
B,
S
Example:

"B"

stopPrice
number
required

Trigger price for the stop-loss order.

stopCondition
enum<string>
required

Trigger condition comparing the market price to stopPrice.

Available options:
>=,
<=
Example:

">="

orderType
enum<string>
required

Order type submitted after the trigger condition is met.

Available options:
LO,
MTL
Example:

"LO"

price
number
required

Order price submitted after the trigger condition is met.

quantity
number
required

Order quantity submitted after the trigger condition is met.

account
string
required

Trading account identifier.

Response

Stop-loss 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.