---
title: "POST /initial-margin-requirement"
method: POST
path: "/initial-margin-requirement"
tags: ["order-gateway"]
---

# POST /initial-margin-requirement

`POST /initial-margin-requirement`

## Request body

- PlaceOrderRequest
  - `aid` string, nullable — Optional account ID. If omitted, the account is inferred from the connection: the user's default account, or the session account for an account-scoped session.
  - `cid` integer
  - `d` 'B' | 'S', required
  - `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, required — Order quantity in contracts; e.g. 100, 1000
  - `s` string, required — Order symbol; e.g. XAU-PERP, EURUSD-PERP
  - `st` 'CancelIncoming' | 'CancelResting' | 'CancelBoth' — Controls how the matching engine handles an order that would trade against the submitter's own resting orders. Defaults to `CancelIncoming`.
  - `tag` string, nullable — Optional order tag; maximum 10 alphanumeric characters
  - `tif` string, required — Order time in force; e.g. "GTC", "IOC". "DAY" is accepted but deprecated and will be removed in a future release — use "GTC" instead.

## Response `200`

Initial margin requirement preview

- InitialMarginRequirementResponse
  - `im` string, required — Initial margin requirement for the order; e.g. "1000.00"
  - `im_pct` string, required — Initial margin percentage for the order symbol
  - `mult` string, required — Multiplier for the order symbol
  - `pos` integer, required — Current signed position in the order symbol

---

[API](https://skmtc.net/architect/apis/ax-api-gateway.md) · [All operations](https://skmtc.net/architect/apis/ax-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/architect/ax-api-gateway/revisions/2955c31c524d/schema)
