Skip to main content
POST
/
initial-margin-requirement
cURL
curl --request POST \
  --url https://gateway.architect.exchange/orders/initial-margin-requirement \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "d": "B",
  "p": "<string>",
  "po": true,
  "q": 123,
  "s": "<string>",
  "tif": "<string>",
  "cid": 1,
  "tag": "<string>"
}
'
{
  "im": "<string>"
}

Authorizations

Authorization
string
header
required

User session token

Body

application/json
d
enum<string>
required

Order side; buying ("B") or selling ("S")

Available options:
B,
S
p
string
required

Order price in USD as decimal string; e.g. "1.2345"

po
boolean
required

Whether the order is post-only (maker-or-cancel)

q
integer<int32>
required

Order quantity in contracts; e.g. 100, 1000

s
string
required

Order symbol; e.g. GBPUSD-PERP, EURUSD-PERP

tif
string
required

Order time in force; e.g. "GTC", "IOC", "DAY"

cid
integer<int64> | null

Optional client order ID; 64 bit integer

Required range: x >= 0
tag
string | null

Optional order tag; maximum 10 alphanumeric characters

Response

200 - application/json

Initial margin requirement preview

im
string
required

Initial margin requirement for the order; e.g. "1000.00"