Skip to main content
POST
/
orders
/
preflight
Preflight Order
curl --request POST \
  --url https://api.{your-broker}.slate-labs.com/orders/preflight \
  --header 'Content-Type: application/json' \
  --data '
{
  "symbol": "<string>",
  "action": "<string>",
  "requested_at": "2023-11-07T05:31:56Z"
}
'
{
  "block": "<string>",
  "ends_at": "2023-11-07T05:31:56Z",
  "message": "<string>"
}

Headers

X-Customer-Login
string | null

Body

application/json
symbol
string
required
Minimum string length: 1
action
string
required
Pattern: ^(open|close|trigger|sl|tp)$
requested_at
string<date-time> | null

Response

Successful Response

block
string | null
ends_at
string<date-time> | null
message
string | null