---
title: "Return margin impact info"
method: POST
path: "/accounts/{account}/order_impact"
tags: ["Order Margin Requirements"]
---

# Return margin impact info

`POST /accounts/{account}/order_impact`

This endpoint allows the consumer to check the impact that an order would have on the account, including margin, NLV and estimated commission costs.
To specify the contract, you provide a value for the ContractId field, OR Ticker/ListingExchange/InstrumentType=STK for stocks OR Ticker/Currency/InstrumentType=CASH for FX.

## Request body

- object
  - `CustomerOrderId` string — The order ID assigned by the customer.
  - `Ticker` string — The symbol that identifies the trading product
  - `ListingExchange` string — The exchange on which the trading product is listed (only for InstrumentType=STK)
  - `Currency` string — The currency in which the FX pair trades (only for InstrumentType=CASH)
  - `InstrumentType` string — The instrument type of the contract
  - `ContractId` number — The internal IB identifier for the trading product specified as an integer (can be obtained in response to /secdef request)
  - `Quantity` number — The number of units in the order; contracts or shares
  - `Price` number — The order price
  - `Order Type` 1 | 2 | 3 | 4 — Market = '1' Limit = '2' Stop = '3' StopLimit = '4'
  - `Aux Price` number — Required price to support Stop and Stop Limit orders
  - `Time in Force` 0 | 1 | 2 | 3 | 7 — Defines order's active lifetime. Day = '0' GTC (Good till Cancel) = '1' IOC (Immediate or Cancel) = '3' Open = '2' Close = '7'
  - `Side` 1 | 2 — Buy = '1', Sell = '2'

## Response `200`

Order impact info

- object
  - `EquityWithLoan` number
  - `InitMargin` number
  - `InitMarginBefore` number
  - `MaintMargin` number
  - `MaintMarginBefore` number
  - `MarginCurrency` string
  - `Commission` number
  - `MinCommissions` number
  - `MaxCommissions` number
  - `CommissionsCurrency` string

## Other responses

- `202` — Unsuccessfull response
- `204` — Unsuccessfull response
- `400` — Unsuccessfull response
- `401` — Unsuccessfull response
- `403` — Unsuccessfull response
- `408` — Unsuccessfull response

---

[API](https://skmtc.dev/interactivebrokers/apis/ibkr-3rd-party-web-api.md) · [All operations](https://skmtc.dev/interactivebrokers/apis/ibkr-3rd-party-web-api/llms.txt) · [OpenAPI document](https://skmtc.dev/interactivebrokers/apis/ibkr-3rd-party-web-api/revisions/97f75703dba5?raw)
