action interactivebrokers_post_accounts_account_order_impact { label: "Return margin impact info" description: "This endpoint allows the consumer to check the impact that an order would have on the account, including margin, NLV and estimated commission costs.\nTo 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.\n" provider: interactivebrokers method: POST path: "/accounts/{account}/order_impact" encoding: json input: { type: "object" properties: { "Aux Price": { type: "number" description: "Required price to support Stop and Stop Limit orders" } ContractId: { type: "number" description: "The internal IB identifier for the trading product specified as an integer (can be obtained in response to /secdef request)" } Currency: { type: "string" description: "The currency in which the FX pair trades (only for InstrumentType=CASH)" } CustomerOrderId: { type: "string" description: "The order ID assigned by the customer." } InstrumentType: { type: "string" description: "The instrument type of the contract" } ListingExchange: { type: "string" description: "The exchange on which the trading product is listed (only for InstrumentType=STK)" } "Order Type": { type: "number" description: "Market = '1'\nLimit = '2'\nStop = '3'\nStopLimit = '4'\n" enum: [1, 2, 3, 4] } Price: { type: "number" description: "The order price" } Quantity: { type: "number" description: "The number of units in the order; contracts or shares" } Side: { type: "number" description: "Buy = '1', Sell = '2'" enum: [1, 2] } Ticker: { type: "string" description: "The symbol that identifies the trading product" } "Time in Force": { type: "number" description: "Defines order's active lifetime.\nDay = '0'\nGTC (Good till Cancel) = '1'\nIOC (Immediate or Cancel) = '3'\nOpen = '2'\nClose = '7'\n" enum: [0, 1, 2, 3, 7] } } } output: { type: "object" properties: { Commission: { type: "number" } CommissionsCurrency: { type: "string" } EquityWithLoan: { type: "number" } InitMargin: { type: "number" } InitMarginBefore: { type: "number" } MaintMargin: { type: "number" } MaintMarginBefore: { type: "number" } MarginCurrency: { type: "string" } MaxCommissions: { type: "number" } MinCommissions: { type: "number" } } } }