Skip to main content
PUT
TypeScript

Authorizations

Authorization
string
header
required

Your firm’s API key (the API calls this the tenant key; trdrs_sk_…), server-to-server only.

Query Parameters

broker
string

Pick a connected broker. Omitted = the priority default. A present-but-unknown value is a 400, never a silent fallback.

account
string

Pick an account within that broker. Validated against the caller's own set; out-of-set is a 400.

Body

application/json
instrument
string
required
leverage
number
marginMode
enum<string>
Available options:
cross,
isolated

Response

Applied

ok
boolean
required