Skip to main content

Module generated

Module generated 

Source
Expand description

AUTO-GENERATED CODE - DO NOT EDIT!

IB REST API Source: crates/bezant-spec/ibkr-openapi-3.1.json Version: 2.29.0 Generated by oas3-gen v0.25.3

The IB REST API reference documentation

Structs§

AccessToken200Response
AccountAttributes
AccountAttributesParent
Describes account relations in partitioned or multiplexed (segemented) account structures.
AccountData
AccountDetailsResponse
AccountStatusBulkResponse
AccountStatusRequest
AccountStatusResponse
AccountSummaryResponse
Successful return contianing an array of at-a-glance account details.
AccountSummaryResponseCashBalance
AcctIdRequestBody
AcctIdRequestBody2
AcctIdRequestBody3
AchInstruction
AchInstructionClientAccountInfo
AckServerPromptRequest
Respond to a server prompt received via ntf websocket message.
ActivateAlertRequest
Activate or Deactivate existing alerts created for this account. This does not delete alerts, but disables notifications until reactivated.
ActivateAlertRequestPath
AdvancedOrderReject
Relates a message generated in response to the rejection of the submitted order ticket. In some cases, it may also present a mechanism to resubmit the same order following a prompted decision.
Alert
An array containing all alerts as separate objects.
AlertActivationRequest
AlertActivationResponse
AlertCondition
AlertCreationRequest
AlertCreationRequestCondition
AlertCreationResponse
AlertDeletionResponse
AlertDetails
details of the specified alert
AlgoParam
AlgosResponse
available algos
AlgosResponseAlgo
AllocationGroup
AllocationGroupAccount
AllocationGroups
AllocationGroupsDatum
AmRequestStatusResponse
AnswerResponse
ApplyCsvRequest
Applies verified CSV changes. Requires both Bearer token (header) and signed JWT (body). CSV must be verified via /csv/v2/verify first. JWT validity: 1 minute.

Scope: restrictions.write
Security Policy: Signed JWT
ApplyCsvRequestHeader
AssociatedEntity
AssociatedPerson
AsynchronousInstructionResponse
AsynchronousInstructionSetResponse
AsynchronousInstructionSetResponseInstructionResult
Au10TixDetailResponse
AvailableFundsResponse
Contains a combined overview of Commidity, Security and Crypto fund values.
AvailableFundsResponseSecurities
Contains an overview of Security specific fund values.
AvailableFundsResponseTotal
total values
AvailableStatementDatesData
AvailableStatementDatesDataValue
AvailableStatementDatesDataValueDaily
AvailableTaxFormsData
AvailableTaxFormsDataValue
BNResponse
BankInstructionsBulkRequestBody
BondFiltersResponse
BondFiltersResponseFilter
BondFiltersResponseFilterOption
BrokerageSessionInitRequest
BrokerageSessionStatus
BrokerageSessionStatusServerInfo
BulkMultiStatusResponse
CSVResponse
CancelBulkRequestBody
CancelInstruction
CancelOpenOrderRequest
Cancel an existing, unfilled order.
CancelOpenOrderRequestPath
CancelOpenOrderRequestQuery
CancelRequestBody
CategoryTreeResponse
CategoryTreeResponseCategories
A JSON object containing all category IDs and their relevant information.
CategoryTreeResponseCategoriesCategoryId
Category identifier.
CloseAllMdStreamsRequest
Instruct IServer to close all of its open backend data streams for all instruments.
CloseMdStreamRequest
Instruct IServer to close its backend stream for the instrument when real-time snapshots are no longer needed.
ComboPositionResponseComboPositionResponse
ComboPositionResponseComboPositionResponseLeg
ComplexAssetTransferInstruction
ConfirmOrderReplyRequest
Confirm an order reply message and continue with submission of order ticket.
ConfirmOrderReplyRequestPath
ConfirmedRequestBody
ConidRequestBody
ContraBrokerInfo
ContractInfo
ContractRules
detailed contract information
ContractRulesIncrementRule
ContractRulesOrderDefaults
Indicates default order type for the given security type.
ContractRulesOrderDefaultsLmt
ContractRulesTifDefaults
Object containing details about your TIF value defaults. These defaults can be viewed and modified in TWS’s within the Global Configuration.
CreateAlertRequest
Endpoint used to create a new alert, or modify an existing alert.
CreateAlertRequestPath
CreateAllocationGroupRequest
Add a new allocation group. This group can be used to trade in place of the {accountId} for the /iserver/account/{accountId}/orders endpoint.
CreateBrowserSessionResponse
CreateSessionResponse
CurrencyPairs
DeleteAlertRequest
Permanently delete an existing alert. Deleting an MTA alert will reset it to the default state.
DeleteAlertRequestPath
DeleteAllocationGroupRequest
Deletes a previously created allocation group. This endpoint is only supported for Financial Advisors and IBroker Accounts.
DeleteBankInstruction
DeleteFyiDeviceRequest
Delete a specific device from our saved list of notification devices.
DeleteFyiDeviceRequestPath
DeleteWatchlistRequest
Delete a specified watchlist from the username’s settings.
DeleteWatchlistRequestQuery
DeliveryOptions
DeliveryOptionsE
DepositFundsInstruction
DepositFundsInstructionIraDepositDetail
DepositFundsInstructionOpenBanking
DepositFundsInstructionOpenBankingPlaidOptions
DepositFundsPollingResponse
DepositFundsPollingResult
DepositFundsPollingResultDepositDetails
DepositFundsPollingResultDepositDetailsOpenBanking
Detail200Response
Detail200ResponseAccountInfoList
DetailRequestBody
DetailedContractInformation
DisclaimerInfo
DwacInstruction
DynAccountSearchResponse
DynAccountSearchResponseMatchedAccount
EchoResponse
EddaInstruction
EnabledRequestBody
EntityIRABene
EnumerationResponse
ErrorResponse
ExternalAssetTransfersBulkRequestBody
ExternalCashTransfersBulkRequestBody
ExternalPositionTransfer
FailedTickleResponse
Features
FeaturesSymbol
FileData
FileDetailsResponse
FopInstruction
ForecastDetailsResponse
ForecastMarketResponse
ForecastMarketResponseContract
ForecastRulesResponse
ForecastSchedulesResponse
ForecastSchedulesResponseTradingSchedule
ForecastSchedulesResponseTradingScheduleTradingTime
FormDetails
FormFileResponse
FormPayload
Funds
Contains commodities specific fund values.
FyiEnableDeviceOption
FyiSettingsFyiSetting
FyiVT
GenerateTokenRequest
Generate OAuth 2.0 access tokens based on request parameters.
GetAccountMarketSummaryRequest
Returns a summary of an account’s market value, by currency and asset class.
GetAccountMarketSummaryRequestPath
GetAccountOwnersRequest
Receive a list of all applicant names on the account and for which account and entity is represented.
GetAccountOwnersRequestPath
GetAccountSummaryRequest
Provides a general overview of the account details such as balance values.
GetAccountSummaryRequestPath
GetAccountsInModelRequest
Request all accounts held within a model.
GetAlertDetailsRequest
Request details of a specific alert by providing the assigned alertId Id.
GetAlertDetailsRequestPath
GetAlertDetailsRequestQuery
GetAlgosByInstrumentRequest
Returns supported IB Algos for an instrument. A pre-flight request must be submitted before retrieving information.
GetAlgosByInstrumentRequestPath
GetAlgosByInstrumentRequestQuery
GetAllAccountsForConidRequest
Get positions in accounts for a given instrument (no secDef await control)
GetAllAccountsForConidRequestPath
GetAllAccountsRequest
return accounts
GetAllAlertsRequest
Retrieve a list of all alerts attached to the provided account.
GetAllAlertsRequestPath
GetAllFyisRequest
Get a list of available notifications.
GetAllFyisRequestQuery
GetAllModelPositionsRequest
Request all positions held within the model.
GetAllSubaccountsRequest
Retrieve attributes of the subaccounts in the account structure.
GetAllWatchlistsRequest
Returns all saved watchlists stored on IB backend for the username in use in the current Web API session.
GetAllWatchlistsRequestQuery
GetAllmodelsRequest
Retrieve summaries for all models under the advisor account.
GetAllocatableSubaccountsRequest
Retrieves a list of all sub-accounts and returns their net liquidity and available equity for advisors to make decisions on what accounts should be allocated and how. This endpoint is only supported for Financial Advisors and IBroker Accounts.
GetAllocationGroupsRequest
Retrieves a list of all of the advisor’s allocation groups. This describes the name of the allocation group, number of subaccounts within the group, and the method in use for the group. This endpoint is only supported for Financial Advisors and IBroker Accounts.
GetAllocationPresetsRequest
Retrieve the preset behavior for allocation groups for specific events. This endpoint is only supported for Financial Advisors and IBroker Accounts.
GetAssetAllocationRequest
Get an account’s allocations by asset class, sector group, and sector.
GetAssetAllocationRequestPath
GetAssetAllocationRequestQuery
GetAvailableStmtDatesResponse
GetAvailableTaxFormsResponse
GetAvailableTradeConfirmationDatesResponse
GetAvailableTradeConfirmationDatesResponseData
GetBalanceSummaryRequest
Returns a summary of an account’s equity and cash balances, in total and by account segment.
GetBalanceSummaryRequestPath
GetBondFiltersRequest
Request a list of filters relating to a given Bond issuerID. The issuerId is retrieved from /iserver/secdef/search and can be used in /iserver/secdef/info?issuerId={issuerId} for retrieving conIds.
GetBondFiltersRequestQuery
GetBrokerListResponse
GetBrokerageAccountsRequest
Returns a list of accounts the user has trading access to, their respective aliases and the currently selected account. Note this endpoint must be called before modifying an order or querying open orders.
GetBrokerageStatusRequest
Current Authentication status to the Brokerage system. Market Data and Trading is not possible if not authenticated.
GetComboPositionsRequest
Provides all positions held in the account acquired as a combination, including values such as ratios, size, and market value.
GetComboPositionsRequestPath
GetComboPositionsRequestQuery
GetConidsByExchangeRequest
Send out a request to retrieve all contracts made available on a requested exchange. This returns all contracts that are tradable on the exchange, even those that are not using the exchange as their primary listing.
GetConidsByExchangeRequestQuery
GetContractInfoRequest
Returns the attributes of the instrument.
GetContractInfoRequestQuery
GetContractRulesRequest
Returns trading related rules for a specific contract and side.
GetContractStrikesRequest
Returns lists of valid strikes for options contracts on a given underlier, for all currently trading expirations. The /iserver/secdef/search endpoint must be called prior for the underlying. Otherwise empty arrays will return for “puts” and “calls”.
GetContractStrikesRequestQuery
GetContractSymbolsFromBodyRequest
Returns a list of contracts based on the search symbol provided as a query param.
GetContractSymbolsRequest
Returns a list of contracts based on the search symbol provided as a query param.
GetContractSymbolsRequestQuery
GetCurrencyPairsRequest
Obtains available currency pairs corresponding to the given target currency.
GetCurrencyPairsRequestQuery
GetDynamicAccountsRequest
Returns a list of accounts matching a query pattern set in the request. Broker accounts configured with the DYNACCT property will not receive account information at login. Instead, they must dynamically query then set their account number. Customers without the DYNACCT property will receive a 503 error.
GetDynamicAccountsRequestPath
GetExchangeRatesRequest
Obtains the exchange rates of the currency pair.
GetExchangeRatesRequestQuery
GetForecastCategoriesRequest
Returns the category names, parent ids, and markets for Event Contracts.
GetForecastContractRequest
Provides instrument details for the specific forecast contract.
GetForecastContractRequestQuery
GetForecastMarketsRequest
Returns all high level contract details affiliated with the underlying market conid provided.
GetForecastMarketsRequestQuery
GetForecastRulesRequest
Provides trading rules for specific event contracts.
GetForecastRulesRequestQuery
GetForecastScheduleRequest
Provides forecast trading schedules.
GetForecastScheduleRequestQuery
GetFundSummaryRequest
Provides a summary specific for avilable funds giving more depth than the standard /summary endpoint.
GetFundSummaryRequestPath
GetFutureBySymbolRequest
Returns a list of non-expired future contracts for given symbol(s)
GetFutureBySymbolRequestQuery
GetFyiDeliveryRequest
Options for sending fyis to email and other devices.
GetFyiDisclaimerssRequest
Receive additional disclaimers based on the specified typecode.
GetFyiDisclaimerssRequestPath
GetFyiSettingsRequest
Return the current choices of subscriptions for notifications.
GetGwApiV1AccountsAccountidDetailsRequest

Scope: accounts.read
Security Policy: HTTPS
GetGwApiV1AccountsAccountidDetailsRequestPath
GetGwApiV1AccountsAccountidKycRequest
Generate URL address to complete real-time KYC verification using Au10Tix

Scope: accounts.read
Security Policy: HTTPS
GetGwApiV1AccountsAccountidKycRequestPath
GetGwApiV1AccountsAccountidLoginMessagesRequest
Query login messages assigned by accountId

Scope: accounts.read
Security Policy: HTTPS
GetGwApiV1AccountsAccountidLoginMessagesRequestPath
GetGwApiV1AccountsAccountidLoginMessagesRequestQuery
GetGwApiV1AccountsAccountidStatusRequest
Query status of account by accountId

Scope: accounts.read
Security Policy: HTTPS
GetGwApiV1AccountsAccountidStatusRequestPath
GetGwApiV1AccountsAccountidTasksRequest
Query registration tasks assigned to account and pending tasks that are required for account approval

Scope: accounts.read
Security Policy: HTTPS
GetGwApiV1AccountsAccountidTasksRequestPath
GetGwApiV1AccountsAccountidTasksRequestQuery
GetGwApiV1AccountsLoginMessagesRequest
Query all accounts associated with ‘Client ID’ that have incomplete login message

Scope: accounts.read
Security Policy: HTTPS
GetGwApiV1AccountsLoginMessagesRequestQuery
GetGwApiV1AccountsRequest
Retrieve the application request and IBKR response data based on IBKR accountId or externalId. Only available for accounts that originate via API

Scope: accounts.read
Security Policy: HTTPS
GetGwApiV1AccountsRequestQuery
GetGwApiV1AccountsStatusRequest
Query status of all accounts associated with ‘Client ID’

Scope: accounts.read
Security Policy: HTTPS
GetGwApiV1AccountsStatusRequestQuery
GetGwApiV1ClientInstructionsClientinstructionidRequest
Retrieve status of request by clientInstructionId.

Scope: instructions.read
Security Policy: HTTPS
GetGwApiV1ClientInstructionsClientinstructionidRequestPath
GetGwApiV1ClientInstructionsClientinstructionidRequestQuery
GetGwApiV1EchoHttpsRequest

Scope: echo.read
Security Policy: HTTPS
GetGwApiV1EnumerationsComplexAssetTransferRequest
Get list of brokers supported for given asset transfer type

Scope: enumerations.read
Security Policy: HTTPS
GetGwApiV1EnumerationsComplexAssetTransferRequestQuery
GetGwApiV1EnumerationsEnumerationtypeRequest
Used to query list of enumerations for attributes included within extPositionsTransfers, occupation, employerBusiness, financialInformation, affiliationDetails, tradingPermissions, etc.

Scope: accounts.read OR enumerations.read
Security Policy: HTTPS
GetGwApiV1EnumerationsEnumerationtypeRequestPath
GetGwApiV1EnumerationsEnumerationtypeRequestQuery
GetGwApiV1FormsRequest
Get forms

Scope: accounts.read OR forms.read
Security Policy: HTTPS
GetGwApiV1FormsRequestQuery
GetGwApiV1FormsRequiredFormsRequest
Get required forms

Scope: accounts.read
Security Policy: HTTPS
GetGwApiV1FormsRequiredFormsRequestQuery
GetGwApiV1InstructionSetsInstructionsetidRequest
Retrieve status of all requests associated with instructionSetId.

Scope: instructions.read
Security Policy: HTTPS
GetGwApiV1InstructionSetsInstructionsetidRequestPath
GetGwApiV1InstructionSetsInstructionsetidRequestQuery
GetGwApiV1InstructionsInstructionidRequest
Retrieve status of request by instructionId

Scope: instructions.read
Security Policy: HTTPS
GetGwApiV1InstructionsInstructionidRequestPath
GetGwApiV1InstructionsInstructionidRequestQuery
GetGwApiV1ParticipatingBanksRequest
Get list of banks which support banking connection with Interactive Brokers.

Scope: enumerations.read
Security Policy: HTTPS
GetGwApiV1ParticipatingBanksRequestQuery
GetGwApiV1RequestsRequest
Fetch Requests’ Details By Timeframe

Scope: accounts.read
Security Policy: HTTPS
GetGwApiV1RequestsRequestQuery
GetGwApiV1StatementsAvailableRequest

Scope: statements.read OR reports.read
Security Policy: HTTPS
GetGwApiV1StatementsAvailableRequestHeader
GetGwApiV1StatementsAvailableRequestQuery
GetGwApiV1TaxDocumentsAvailableRequest

Scope: statements.read OR reports.read
Security Policy: HTTPS
GetGwApiV1TaxDocumentsAvailableRequestHeader
GetGwApiV1TaxDocumentsAvailableRequestQuery
GetGwApiV1TradeConfirmationsAvailableRequest

Scope: statements.read OR reports.read
Security Policy: HTTPS
GetGwApiV1TradeConfirmationsAvailableRequestHeader
GetGwApiV1TradeConfirmationsAvailableRequestQuery
GetGwApiV1ValidationsUsernamesUsernameRequest
Verify whether user is valid and available

Scope: accounts.read OR validations.read
Security Policy: HTTPS
GetGwApiV1ValidationsUsernamesUsernameRequestPath
GetInfoAndRulesRequest
Requests full contract details and trading rules for the given conid. A follow-up request will provide additional trading rules.
GetInfoAndRulesRequestPath
GetInstrumentDefinitionRequest
Returns a list of security definitions for the given conids.
GetInstrumentDefinitionRequestQuery
GetInstrumentInfoRequest
Requests full contract details for the given conid.
GetInstrumentInfoRequestPath
GetInvestedAccountsInModelRequest
Request the list of all accounts already invested in the provided model and a summary of their investment.
GetInvestedAccountsSummary
GetInvestedAccountsSummaryAccountList
GetManySubaccountsRequest
Used in tiered account structures (such as Financial Advisor and IBroker Accounts) to return a list of sub-accounts, paginated up to 20 accounts per page, for which the user can view position and account-related information. This endpoint must be called prior to calling other /portfolio endpoints for those sub-accounts. If you have less than 100 sub-accounts use /portfolio/subaccounts. To query a list of accounts the user can trade, see /iserver/accounts.
GetManySubaccountsRequestQuery
GetMarginSummaryRequest
Returns a summary of an account’s margin, in total and by account segment.
GetMarginSummaryRequestPath
GetMdHistoryRequest
Request historical data for an instrument in the form of OHLC bars.
GetMdHistoryRequestQuery
GetMdSnapshotRequest
Get Market Data for the given conid(s). A pre-flight request must be made prior to ever receiving data. For some fields, it may take more than a few moments to receive information. See response fields for a list of available fields that can be request via fields argument. The endpoint /iserver/accounts must be called prior to /iserver/marketdata/snapshot. For derivative contracts the endpoint /iserver/secdef/search must be called first.
GetMdSnapshotRequestQuery
GetModelPresetsRequest
Get the preset behavior for model rebalancing.
GetModelSummarySingleRequest
Request a summary for a single model.
GetMtaDetailsRequest
Retrieve information about your MTA alert. Each login user only has one mobile trading assistant (MTA) alert with it’s own unique tool id that cannot be changed. MTA alerts can not be created or deleted, only modified. When modified a new order Id is generated.
GetOpenOrdersRequest
Returns open orders and filled or cancelled orders submitted during the current brokerage session.
GetOpenOrdersRequestQuery
GetOrderStatusRequest
Retrieve the status of a single order. Only displays orders from the current brokerage session. If orders executed on a previous day or session, queries will 503 error.
GetOrderStatusRequestPath
GetPaginatedPositionsRequest
Get all positions in an account.
GetPaginatedPositionsRequestPath
GetPaginatedPositionsRequestQuery
GetParticipatingListResponse
GetParticipatingListResponseParticipatingBank
GetPerformanceAllPeriodsRequest
Returns the performance (MTM) for the given accounts, if more than one account is passed, the result is consolidated.
GetPerformanceAllPeriodsRequestQuery
GetPnlRequest
Returns updated profit and loss values for the selected account. Initial request will return an empty array in the upnl object.
GetPortfolioLedgerRequest
Get the given account’s ledger data detailing its balances by currency.
GetPortfolioLedgerRequestPath
GetPortfolioMetadataRequest
Get a single account’s attributes and capabilities.
GetPortfolioMetadataRequestPath
GetPortfolioSummaryRequest
Returns detailed summary of account values, by segment where appropriate.
GetPortfolioSummaryRequestPath
GetPositionByConidRequest
Get position for a given instrument in a single account.
GetPositionByConidRequestPath
GetScannerParametersRequest
Returns an xml file containing all available parameters to be sent for the Iserver scanner request.
GetScannerResultsRequest
Searches for contracts according to the filters specified in /iserver/scanner/params endpoint.
GetSessionTokenRequest
If the gateway has not received any requests for several minutes an open session will automatically timeout. The tickle endpoint pings the server to prevent the session from ending. It is expected to call this endpoint approximately every 60 seconds to maintain the connection to the brokerage session.
GetSessionValidationRequest
Validates the current session for the SSO user.
GetSingleAllocationGroupRequest
Retrieves the configuration of a single account group. This describes the name of the allocation group, the specific accounts contained in the group, and the allocation method in use along with any relevant quantities. This endpoint is only supported for Financial Advisors and IBroker Accounts.
GetSinglePerformancePeriodRequest
Returns the performance (MTM) for the given accounts, if more than one account is passed, the result is consolidated.
GetSpecificWatchlistRequest
Retrieve details of a single watchlist stored in the username’s settings.
GetSpecificWatchlistRequestQuery
GetStatementsResponse
GetStockBySymbolRequest
Returns an object contains all stock contracts for given symbol(s)
GetStockBySymbolRequestQuery
GetTradeHistoryRequest
Retrieve a list of trades, up to a maximum of 7 days prior.
GetTradeHistoryRequestQuery
GetTradingScheduleGetTrsrvSecdefScheduleRequest
Returns the trading schedule up to a month for the requested contract.
GetTradingScheduleGetTrsrvSecdefScheduleRequestQuery
GetTradingScheduleRequest
Returns the trading schedule for the 6 total days surrounding the current trading day. Non-Trading days, such as holidays, will not be returned.
GetTradingScheduleRequestQuery
GetTransactionsRequest
Transaction history for a given number of conids and accounts. Types of transactions include dividend payments, buy and sell transactions, transfers.
GetUncachedPositionsRequest
Returns a list of positions for the given account. /portfolio/accounts or /portfolio/subaccounts must be called prior to this endpoint. This endpoint provides near-real time updates and removes caching otherwise found in the /portfolio/{accountId}/positions/{pageId} endpoint.
GetUncachedPositionsRequestPath
GetUncachedPositionsRequestQuery
GetUnreadFyisRequest
Returns the total number of unread notifications
GroupRequestBody
GroupRequestBody2
GroupRequestBodyAccount
IbRestApiClient
IndividualComboPosition
IndividualIRABene
IndividualPosition
A specific account’s position in the requested conid.
IndividualPositionDisplayRule
Object defining minimum increments used in displaying market data for the instrument.
IndividualPositionDisplayRuleDisplayRuleStep
A single display rule increment.
IndividualPositionIncrementRule
Objects describing a single increment rule.
InitializeSessionRequest
After retrieving the access token and subsequent Live Session Token, customers can initialize their brokerage session with the ssodh/init endpoint.
InstructionPollingResponse
InstructionRequestBody
InstructionResponse
InstructionResult
InternalAssetTransfersBulkRequestBody
InternalCashTransferInstruction
InternalCashTransfersBulkRequestBody
InternalPositionTransferInstruction
InvalidatePositionCacheRequest
Instructs IB to discard cached portfolio positions for a given account, so that the next request for positions delivers freshly obtained data.
InvalidatePositionCacheRequestPath
InvestDivest200Response
InvestDivestRequestBody
InvestDivestRequestBodyAccountList
IserverHistoryBidAskResponse
Object containing the requested historical data and related metadata.
IserverHistoryLastResponse
Object containing the requested historical data and related metadata.
IserverHistoryMidpointResponse
Object containing the requested historical data and related metadata.
IserverScannerParams
IserverScannerParamsFilterList
IserverScannerParamsFilterListComboValue
IserverScannerParamsInstrumentList
IserverScannerParamsLocationTree
IserverScannerParamsLocationTreeLocation
IserverScannerParamsLocationTreeLocationLocation
IserverScannerParamsScanTypeList
IserverScannerRunRequest
IserverScannerRunRequestFilter
IserverScannerRunResponse
IserverScannerRunResponseContract
Ledger
Contains objects reflecting all currencies in which the account’s positions trade.
LiveOrdersResponse
LiveOrdersResponseOrder
Object representing one order.
LiveSessionToken200Response
LoginMessage
LoginMessageRequest
LoginMessageResponse
LogoutRequest
Logs the user out of the gateway session. Any further activity requires re-authentication. Discard client-side cookies upon logout.
MessageIdRequestBody
MessageResponse
ModelListResponse
ModelListResponseItem
ModelPositionResponse
ModelPositionResponseCash
ModelPositionResponsePositionList
ModelPresetsResponse
ModelSummaryResponse
ModifyAllocationGroupRequest
Modify an existing allocation group.
ModifyFyiDeliveryRequest
Choose whether a particular device is enabled or disabled.
ModifyFyiEmailsRequest
Enable or disable your account’s primary email to receive notifications.
ModifyFyiEmailsRequestQuery
ModifyFyiNotificationRequest
Enable or disable group of notifications by the specific typecode.
ModifyFyiNotificationRequestPath
ModifyOpenOrderRequest
Modify an existing, unfilled order.
ModifyOpenOrderRequestPath
NameRequestBody
NonDisclosedDetail
NotificationReadAcknowledge
NotificationReadAcknowledgeP
Returns details about the notification read status.
NotificationRequestBody
NotificationsNotification
OauthTokenResponse
OrderCancelSuccess
Acknowledges IB’s acceptance of the request to cancel the order. Does not report whether the cancellation can or will ultimately be enacted.
OrderPreview
Projected costs and changes to margin and equity values in the account, if the order ticket were executed in full.
OrderPreviewAmount
Describes the projected costs associated with the order ticket.
OrderPreviewEquity
Describes the projected change to the account’s equity.
OrderPreviewInitial
Describes the projected change to initial margin.
OrderPreviewMaintenance
Describes the projected change to maintenance margin.
OrderPreviewPosition
Describes the projected change to the account’s position in the instrument.
OrderReplyMessageOrderReplyMessage
An object containing order reply messages emitted against a single order ticket.
OrderReplyNotFound
Indicates that the order reply ID does not exist.
OrderStatus
Object containing information about the status of an order ticket.
OrderSubmitError
Indicates that the order reply message or submission was not accepted.
OrderSubmitSuccessOrderSubmitSuccess
Result of successful submission of one order ticket.
OrdersSubmissionRequest
PatchGwApiV1AccountsAccountidStatusRequest
Query status of account by accountId

Scope: accounts.write
Security Policy: Signed JWT
PatchGwApiV1AccountsAccountidStatusRequestPath
PatchGwApiV1AccountsAccountidTasksRequest
Task status can be updated from this api

Scope: accounts.write
Security Policy: Signed JWT
PatchGwApiV1AccountsAccountidTasksRequestPath
PatchGwApiV1AccountsRequest
Update information for an existing accountId

Scope: accounts.write
Security Policy: Signed JWT
PatchGwApiV1RequestsRequestidStatusRequest
This api will be used to update the status of am request

Scope: accounts.read
Security Policy: Signed JWT
PatchGwApiV1RequestsRequestidStatusRequestPath
PendingTask
PendingTasksResponse
PerformanceRequestBody
PerformanceResponse
PerformanceResponseCps
Returns the object containing the Cumulative performance data.
PerformanceResponseCpsDatum
PerformanceResponseNav
Net asset value data for the account or consolidated accounts. NAV data is not applicable to benchmarks.
PerformanceResponseNavDatum
PerformanceResponseNavDatumStartNav
Returns the intiial NAV available.
PerformanceResponseTpps
Returns the time period performance data.
PnlPartitionedResponse
PnlPartitionedResponseUpnl
Refers to the U accounts PnL. This does reference Realized Profit and Loss.
PnlPartitionedResponseUpnlU1234567Core
The account or model’s Profit and Loss.
PollingInstructionResult
Portfolio2PositionsPortfolio2position
PortfolioAllocations
PortfolioAllocationsAssetClass
Object containing values of positions sorted by long/short and asset class.
PortfolioAllocationsGroup
Object containing values of positions sorted by long/short and Sector Group.
PortfolioAllocationsSector
Object containing values of positions sorted by long/short and Sector.
PortfolioSummary
PortfolioSummaryValue
Position200Response
PositionRequestBody
PositionRequestBody2
PostGwApiV1AccountsAccountidTasksRequest
Task can be assigned from this api

Scope: accounts.write
Security Policy: Signed JWT
PostGwApiV1AccountsAccountidTasksRequestPath
PostGwApiV1AccountsDocumentsRequest
Provides mechanism to submit Agreements and Disclosures to IBKR once a day instead of with each application. We store these documents on the servers and will use them for new application requests submitted that day.
  • Documents will need to be submitted once a day (before the Applications are submitted). PDFs will be displayed and submitted as is- no changes/edits will be made to the actual PDF files.
  • This end-point will not process any Tax Form Documents. Tax Form document should be submitted with every application
  • If submitted in the morning, you only need to include the Tax Form attachment for each applicant. Otherwise, you will need to include PDFs with each application (Create Account).


Scope: accounts.write
Security Policy: Signed JWT
PostGwApiV1AccountsRequest
Submit account application. This will create brokerage account for the end user.

Scope: accounts.write
Security Policy: Signed JWT
PostGwApiV1BalancesQueryRequest
View available cash for withdrawal and account equity value by accountId

Scope: balances.read
Security Policy: Signed JWT
PostGwApiV1BalancesQueryRequestQuery
PostGwApiV1BankInstructionsBulkRequest

Scope: bank-instructions.write
Security Policy: Signed JWT
PostGwApiV1BankInstructionsBulkRequestQuery
PostGwApiV1BankInstructionsQueryRequest
View active bank instructions for an accountId.

Scope: bank-instructions.read
Security Policy: Signed JWT
PostGwApiV1BankInstructionsQueryRequestQuery
PostGwApiV1BankInstructionsRequest
Create or delete bank instructions by accountId. Only ACH and EDDA are supported for ‘Create’.

Scope: bank-instructions.write
Security Policy: Signed JWT
PostGwApiV1BankInstructionsRequestQuery
PostGwApiV1EchoSignedJwtRequest

Scope: echo.write
Security Policy: Signed JWT
PostGwApiV1ExternalAssetTransfersBulkRequest

Scope: transfers.write
Security Policy: Signed JWT
PostGwApiV1ExternalAssetTransfersBulkRequestQuery
PostGwApiV1ExternalAssetTransfersRequest
Initiate request to submit external position transfer. Methods- ACATS, ATON, Basic FOP, FOP, DWAC. More information on transfer methods can be found here - https://www.interactivebrokers.com/campus/trading-lessons/cash-and-position-transfers/

Scope: transfers.write
Security Policy: Signed JWT
PostGwApiV1ExternalAssetTransfersRequestQuery
PostGwApiV1ExternalCashTransfersBulkRequest

Scope: transfers.write
Security Policy: Signed JWT
PostGwApiV1ExternalCashTransfersBulkRequestQuery
PostGwApiV1ExternalCashTransfersQueryRequest
View available cash for withdrawal with and without margin loan by accountId

Scope: transfers.read
Security Policy: Signed JWT
PostGwApiV1ExternalCashTransfersQueryRequestQuery
PostGwApiV1ExternalCashTransfersRequest
Initiate request to deposit or withdrawal between IBKR account and bank account. More information on transfer methods can be found here - https://www.interactivebrokers.com/campus/trading-lessons/cash-and-position-transfers

Scope: transfers.write
Security Policy: Signed JWT
PostGwApiV1ExternalCashTransfersRequestQuery
PostGwApiV1InstructionsCancelBulkRequest

Scope: instructions.write
Security Policy: Signed JWT
PostGwApiV1InstructionsCancelBulkRequestQuery
PostGwApiV1InstructionsCancelRequest
Cancel request by instructionId.

Scope: instructions.write
Security Policy: Signed JWT
PostGwApiV1InstructionsCancelRequestQuery
PostGwApiV1InstructionsQueryRequest
Query list of recent transactions (up to 30 days) based on accountId.

Scope: instructions.read
Security Policy: Signed JWT
PostGwApiV1InstructionsQueryRequestQuery
PostGwApiV1InternalAssetTransfersBulkRequest

Scope: transfers.write
Security Policy: Signed JWT
PostGwApiV1InternalAssetTransfersBulkRequestQuery
PostGwApiV1InternalAssetTransfersRequest
Transfer positions internally between two accounts with Interactive Brokers

Scope: transfers.write
Security Policy: Signed JWT
PostGwApiV1InternalAssetTransfersRequestQuery
PostGwApiV1InternalCashTransfersBulkRequest

Scope: transfers.write
Security Policy: Signed JWT
PostGwApiV1InternalCashTransfersBulkRequestQuery
PostGwApiV1InternalCashTransfersRequest
Transfer cash internally between two accounts with Interactive Brokers.

Scope: transfers.write
Security Policy: Signed JWT
PostGwApiV1InternalCashTransfersRequestQuery
PostGwApiV1SsoBrowserSessionsRequest

Scope: sso-browser-sessions.write
Security Policy: Signed JWT
PostGwApiV1SsoBrowserSessionsRequestHeader
PostGwApiV1SsoSessionsRequest

Scope: sso-sessions.write
Security Policy: Signed JWT
PostGwApiV1SsoSessionsRequestHeader
PostGwApiV1StatementsRequest

Scope: statements.read OR statements.write OR reports.write
Security Policy: Signed JWT
PostGwApiV1StatementsRequestHeader
PostGwApiV1TaxDocumentsRequest

Scope: statements.write OR reports.write
Security Policy: Signed JWT
PostGwApiV1TaxDocumentsRequestHeader
PostGwApiV1TradeConfirmationsRequest

Scope: statements.write OR reports.write
Security Policy: Signed JWT
PostGwApiV1TradeConfirmationsRequestHeader
PostNewWatchlistRequest
Create a named watchlist by submitting a set of conids.
PredefinedDestinationInstruction
PredefinedDestinationInstructionFinancialInstitution
Presets
PreviewMarginImpactRequest
Preview the projected effects of an order ticket or bracket of orders, including cost and changes to margin and account equity.
PreviewMarginImpactRequestPath
QueryBankInstruction
QueryBankInstructionResponse
QueryBankInstructionResult
QueryBankInstructionResultBankInstructionDetail
QueryIRAContributions
QueryIRAContributionsResponse
QueryIRAContributionsResult
QueryIRAContributionsResultContribution
QueryRecentInstructionResponse
QueryRecentInstructionResult
QueryRecentInstructionResultInstructionHistory
QueryRecentInstructions
QueryRecentInstructionsTransactionHistory
QueryRecentRecurringEventResponse
QueryRecentRecurringEventResult
QueryRecentRecurringEventResultTransactionHistory
QueryRecentRecurringEventResultTransactionHistoryResult
QueryRecentRecurringEvents
QueryRecurringInstructions
QueryRecurringInstructionsResponse
QueryRecurringInstructionsResult
QueryRecurringInstructionsResultRecurringInstruction
QueryRequestBody
QueryRequestBody2
QueryRequestBody3
QueryRequestBody4
QueryWithdrawableAmountsInstructionResult
QueryWithdrawableAmountsResponse
QueryWithdrawableAmountsWithoutOriginHoldResponse
QueryWithdrawableAmountsWithoutOriginHoldResult
QueryWithdrawableCashEquity
QueryWithdrawableCashEquityResponse
QueryWithdrawableCashEquityResult
QueryWithdrawableFunds
QuestionnaireResponse
RateResponse
ReadFyiDisclaimerRequest
Mark a specific disclaimer message as read.
ReadFyiDisclaimerRequestPath
ReadFyiNotificationRequest
Mark a particular notification message as read or unread.
ReadFyiNotificationRequestPath
RecurringInstructionDetail
RegistrationTask
RegistrationTasksResponse
ReqAccessTokenRequest
Request an access token for the IB username that has granted authorization to the consumer.
ReqAccessTokenRequestHeader
ReqIDRequestBody
ReqLiveSessionTokenRequest
Generate a Live Session Token shared secret and gain access to Web API.
ReqLiveSessionTokenRequestHeader
ReqTempTokenRequest
Request a temporary token as a third party to begin the OAuth 1.0a authorization workflow.
ReqTempTokenRequestHeader
RequestDetail
RequestDetailsRequest
RequestDetailsResponse
RequiredFormsRequest
RequiredFormsResponse
ResetOrderSuppressionRequest
Removes suppression of all order reply messages that were previously suppressed in the current brokerage session.
ResponseData
ResponseFileResponse
RestrictionInfo
ResultError
Rule200Response
RuleRequestBody
Save200Response
Save200Response2
SaveRequestBody
SaveRequestBodyCashTarget
SaveRequestBodyPositionTarget
ScheduleResponse
ScheduleResponseSchedules
Returns a series of date objects of the given contract.
ScheduleResponseSchedulesDate
object containing the of hours objects detailing extended and liquid trading.
ScheduleResponseSchedulesDateExtendedHour
ScheduleResponseSchedulesDateLiquidHour
SearchRequestBody
SecDefInfoResponse
SecdefSearchResponseSecdefSearchResponse
SecdefSearchResponseSecdefSearchResponseIssuer
SecdefSearchResponseSecdefSearchResponseSection
SetAccountResponse
SetAccountinvestmentInModelRequest
Assign an account and the amount of cash to allocate into a model.
SetActiveAccountRequest
Switch the active account for how you request data. Only available for financial advisors and multi-account structures.
SetAllocationPresetRequest
Set the preset behavior for new allocation groups for specific events.
SetDynamicAccountRequest
Set the active dynamic account.
SetModelPresetsRequest
Set the preset behavior for models.
SetModelTargetPositionsRequest
Create or Modify a model’s target positions.
SignatureAndOwners
SignatureAndOwnersApplicant
SingleHistoricalBarBidAsk
Object containing Bid and Ask data for a single OHLC bar.
SingleHistoricalBarLast
Object containing Last or Trades data for a single OHLC bar.
SingleHistoricalBarMidpoint
Object containing Midpoint data for a single OHLC bar.
SingleOrderSubmissionRequest
A single order ticket.
SingleOrderSubmissionRequestJsonPayload
SingleOrderSubmissionRequestJsonPayloadAllocationProfile
The assigned contents for how the order should be allocated amongst subaccount(s).
SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocation
SingleOrderSubmissionRequestStrategyParameters
Parameters governing the selected algorithm, if applicable.
SingleWatchlist
Object detailing a single watchlist.
SingleWatchlistEntry
Object containing watchlist entry for a single instrument.
SsoValidateResponse
SsoValidateResponseFeatures
Returns supported features such as bonds and option trading.
StatusResponse
StatusResponse2
Confirms successful reply to the server prompt.
StatusResponse3
Confirms successful removal of suppression.
StatusResponse4
StmtRequest
Stocks
Strike200Response
SubAccounts
SubAccountsAccount
SubAccountsAccountDatum
Subaccounts2Response
Subaccounts2ResponseMetadata
Metadata container describing the subaccounts.
SubmitModelOrdersRequest
Submit all pending orders to the models. This is similar to the Model page’s Submit All Orders selection.
SubmitNewOrderRequest
Submit a new order(s) ticket, bracket, or OCA group.
SubmitNewOrderRequestPath
SuccessResponse
SuccessResponse2
SuccessResponse3
Acknowledges a successful request.
SuccessfulTickleResponse
SuccessfulTickleResponseHmds
Returns connection details for the historical market data server.
SuccessfulTickleResponseIserver
SummaryMarketValueResponse
SummaryMarketValueResponseCurrency
Returns an object containing market value details of the currency and positions held using that currency.
SummaryOfAccountBalancesResponse
SummaryOfAccountBalancesResponseCommodities
Contains Commodity-specific balance details.
SummaryOfAccountBalancesResponseSecurities
Contains Security-specific balance details.
SummaryOfAccountBalancesResponseTotal
Contains total balance details for the account.
SummaryOfAccountMarginResponse
SummaryOfAccountMarginResponseCommodities
SummaryOfAccountMarginResponseCryptoAtPaxos
SummaryOfAccountMarginResponseSecurities
SummaryRequestBody
SuppressOrderRepliesRequest
Suppress the specified order reply messages for the duration of the brokerage session.
SynchronousInstructionResponse
TaskActionResponse
TaxFormRequest
TaxFormResponse
TaxFormType
TokenRequest
TokenResponse
TradeConfirmationRequest
TradeConfirmationResponse
TradesResponseTradesResponse
Object containing details of a single execution.
TradingInstrumentTradingInstrumentDescription
TradingInstrumentTradingInstrumentDescriptionDescription
TradingInstrumentVariant0
TradingScheduleTradingSchedule
TradingScheduleTradingScheduleSchedule
TradingScheduleTradingScheduleScheduleSession
TradingScheduleTradingScheduleScheduleTime
TraditionalBankInstructionVerification
TransactionRequestBody
TransactionsResponse
TransactionsResponseRpnl
Returns the object containing the realized pnl for the contract on the date.
TransactionsResponseRpnlItems
TransactionsResponseTransaction
Transfer200Response
TransferRequestBody
TransferRequestBody2
TransferRequestBody3
TransferRequestBody4
TransferRequestBody5
TrsrvSecDefResponse
a contract’s security definition
TrsrvSecDefResponseSecdef
TrsrvSecDefResponseSecdefDisplayRule
TrsrvSecDefResponseSecdefDisplayRuleDisplayRuleStep
TrsrvSecDefResponseSecdefIncrementRule
UnsubscribedResponse
Indicates a successful request to unsubscribe all streams.
User
UserAccountsResponse
UserAccountsResponseAcctProps
Returns an json object for each accessible account’s properties.
UserAccountsResponseAcctPropsU1234567
UserAccountsResponseAliases
UserAccountsResponseAllowFeatures
UserAccountsResponseChartPeriods
UserAccountsResponseServerInfo
UserEntity
Provide information about the particular entity
UserNameAvailableResponse
VerifyCsvRequest
Validates CSV structure, restriction names, and rule parameters without applying changes. Must be called before /csv/v2/apply with the same requestId.

Scope: restrictions.write
Security Policy: Signed JWT
VerifyCsvRequestHeader
VerifyRequest
Watchlist200Response
WatchlistDeleteSuccess
Object detailing the successful deletion of a watchlist.
WatchlistDeleteSuccessData
WatchlistRequestBody
WatchlistRequestBodyRow
WatchlistsResponse
Object containing a successful query for watchlists saved for the username in use in the current Web API session.
WatchlistsResponseData
Contains the watchlist query results.
WatchlistsResponseDataUserList
Details of a single watchlist.
WithdrawFundsInstruction
WithdrawFundsInstructionIraWithdrawalDetail

Enums§

Account200Response
AccountAttributesBusinessType
A descriptor of the nature of the account, reflecting the responsible group within IB.
AccountAttributesClearingStatus
Status of the account with respect to clearing at IB. O is open, P pending, N new, A abandoned, C closed, R rejected.
AccountAttributesIbEntity
IB business entity under which the account resides.
AchInstructionAchType
AchInstructionBankInstructionCode
AchInstructionClientAccountInfoBankAccountTypeCode
AckServerPromptResponse
Response types for ackServerPrompt
ActivateAlertResponse
Response types for activateAlert
AlertActivationRequestAlertActive
Determines if the alert is active [1] or not [0]
AlertCreationRequestConditionLogicBind
Describes how multiple conditions should behave together. Available logic types:
AlertCreationRequestConditionType
Designate what condition type to use. Note the “MTA” types listed are only supported if iTWSOrdersOnly=1 Available condition types:
AlertCreationRequestTif
Time in Force duration of alert.
AlertDetailsOrderStatus
represent order statusAlways returns “Presubmitted”.
AlgoParamDefaultValue
Default parameter value. Type defined in valueClassName field
AlgoParamValueClassName
Returns the variable type of the parameter.
AllocationMethod
Interactive Brokers supports two forms of allocation methods. Allocation methods that have calculations completed by Interactive Brokers, and a set of allocation methods calculated by the user and then specified. IB-computed allocation methods:
ApplyCsvResponse
Response types for applyCSV
BankInstructionMethod
BondFiltersResponseFilterDisplayText
An identifier used to document returned options/values. This can be thought of as a key value.
CancelOpenOrderResponse
Response types for cancelOpenOrder
CloseAllMdStreamsResponse
Response types for closeAllMdStreams
CloseMdStreamResponse
Response types for closeMdStream
ConfirmOrderReplyResponse
Response types for confirmOrderReply
ContractRulesCqtType
ContractRulesIbAlgoType
ContractRulesOrderType
ContractRulesOrderTypesOutside
CreateAlertResponse
Response types for createAlert
CreateAllocationGroupResponse
Response types for createAllocationGroup
DeleteAlertResponse
Response types for deleteAlert
DeleteBankInstructionBankInstructionMethod
DeleteFyiDeviceResponse
Response types for deleteFyiDevice
DeleteWatchlistResponse
Response types for deleteWatchlist
DepositFundsInstructionBankInstructionMethod
DepositFundsInstructionIraDepositDetailFromIraType
DepositFundsInstructionIraDepositDetailIraContributionType
DepositFundsInstructionIraDepositDetailIraTaxYearType
EchoResponseRequestMethod
EchoResponseSecurityPolicy
EddaInstructionDebtorIdentificationDocumentType
EnumerationType
  • exchange-bundles - query most up to date list of exchange-bundles for tradingPermissions
  • business-and-occupation - list of occupation and employerBusiness for employmentDetails
  • employee-track - query most up to date companyId for account. For affiliation details, if company has an existing IBKR Employee Track account
  • fin-info-ranges - query most up to date range IDs by currency for annualNetIncome, netWorth, liquidNetWorth
  • acats - query most up to date values for brokerId and brokerName. Used if funding via US ACATS extPositionsTransfers
  • aton - query most up to date values for brokerId and brokerName. Used if funding via US ACATS extPositionsTransfers
  • market-data - query most up to date values for brokerId and brokerName. Used if funding via ATON Canada extPositionsTransfers
  • edd-avt - query questions associated with EDD (Enhanced Due Diligence) or AVT (Additional Verification) tasks assigned to an account
  • prohibited-country - view list of prohibited countries. Applicants that reside in prohibited country are restricted from opening an account with IBKR. Error will be thrown IF legalResidenceCountry, OR country (included within Residence, mailingAddress and employerAddress, taxResidency node) is a prohibited country
  • employee-plans - view EPA that are linked to master account (applicable IF offering SEP IRA accounts)
  • questionnaires - obtain list of questionnaires
  • security-questions - obtain list of questions supported for IBKR security questions
  • quiz-questions - obtain list of questions associated with IBKR knowledge assessment
  • wire-instructions - obtain list of wire instructions
  • product-country-bundles - obtain list of product country bundles
ExternalPositionTransferSourceIratype
GenerateTokenResponse
Response types for generateToken
GetAccountMarketSummaryResponse
Response types for getAccountMarketSummary
GetAccountOwnersResponse
Response types for getAccountOwners
GetAccountSummaryResponse
Response types for getAccountSummary
GetAccountsInModelResponse
Response types for getAccountsInModel
GetAlertDetailsResponse
Response types for getAlertDetails
GetAlgosByInstrumentRequestQueryAlgos
List of algo ids delimited by “;” to filter by. Max of 8 algos ids can be specified. Case sensitive to algo id.
GetAlgosByInstrumentResponse
Response types for getAlgosByInstrument
GetAllAccountsForConidResponse
Response types for getAllAccountsForConid
GetAllAccountsResponse
Response types for getAllAccounts
GetAllAlertsResponse
Response types for getAllAlerts
GetAllFyisResponse
Response types for getAllFyis
GetAllModelPositionsResponse
Response types for getAllModelPositions
GetAllSubaccountsResponse
Response types for getAllSubaccounts
GetAllWatchlistsResponse
Response types for getAllWatchlists
GetAllmodelsResponse
Response types for getAllmodels
GetAllocatableSubaccountsResponse
Response types for getAllocatableSubaccounts
GetAllocationGroupsResponse
Response types for getAllocationGroups
GetAllocationPresetsResponse
Response types for getAllocationPresets
GetAssetAllocationResponse
Response types for getAssetAllocation
GetBalanceSummaryResponse
Response types for getBalanceSummary
GetBondFiltersResponse
Response types for getBondFilters
GetBrokerageAccountsResponse
Response types for getBrokerageAccounts
GetBrokerageStatusResponse
Response types for getBrokerageStatus
GetComboPositionsResponse
Response types for getComboPositions
GetConidsByExchangeResponse
Response types for getConidsByExchange
GetContractInfoResponse
Response types for getContractInfo
GetContractRulesResponse
Response types for getContractRules
GetContractStrikesRequestQuerySectype
Security type of the requested contract of interest. Valid asset classes are:
GetContractStrikesResponse
Response types for getContractStrikes
GetContractSymbolsRequestQuerySecType
GetContractSymbolsResponse
Response types for getContractSymbols
GetCurrencyPairsResponse
Response types for getCurrencyPairs
GetDynamicAccountsResponse
Response types for getDynamicAccounts
GetExchangeRatesResponse
Response types for getExchangeRates
GetForecastCategoriesResponse
Response types for getForecastCategories
GetForecastContractResponse
Response types for getForecastContract
GetForecastMarketsResponse
Response types for getForecastMarkets
GetForecastRulesResponse
Response types for getForecastRules
GetForecastScheduleResponse
Response types for getForecastSchedule
GetFundSummaryResponse
Response types for getFundSummary
GetFutureBySymbolResponse
Response types for getFutureBySymbol
GetFyiDeliveryResponse
Response types for getFyiDelivery
GetFyiDisclaimerssResponse
Response types for getFyiDisclaimerss
GetFyiSettingsResponse
Response types for getFyiSettings
GetGwApiV1AccountsAccountidDetailsResponse
Response types for get_gw_api_v1_accounts_accountid_details
GetGwApiV1AccountsAccountidKycResponse
Response types for get_gw_api_v1_accounts_accountid_kyc
GetGwApiV1AccountsAccountidStatusResponse
Response types for get_gw_api_v1_accounts_accountid_status
GetGwApiV1AccountsAccountidTasksRequestQueryType
GetGwApiV1AccountsAccountidTasksResponse
Response types for get_gw_api_v1_accounts_accountid_tasks
GetGwApiV1AccountsLoginMessagesResponse
Response types for get_gw_api_v1_accounts_login_messages
GetGwApiV1AccountsResponse
Response types for get_gw_api_v1_accounts
GetGwApiV1AccountsStatusResponse
Response types for get_gw_api_v1_accounts_status
GetGwApiV1EchoHttpsResponse
Response types for get_gw_api_v1_echo_https
GetGwApiV1EnumerationsComplexAssetTransferResponse
Response types for get_gw_api_v1_enumerations_complex_asset_transfer
GetGwApiV1EnumerationsEnumerationtypeRequestQueryLanguage
GetGwApiV1EnumerationsEnumerationtypeResponse
Response types for get_gw_api_v1_enumerations_enumerationtype
GetGwApiV1FormsRequestQueryProjection
GetGwApiV1FormsRequiredFormsResponse
Response types for get_gw_api_v1_forms_required_forms
GetGwApiV1FormsResponse
Response types for get_gw_api_v1_forms
GetGwApiV1InstructionSetsInstructionsetidResponse
Response types for get_gw_api_v1_instruction_sets_instructionsetid
GetGwApiV1InstructionsInstructionidResponse
Response types for get_gw_api_v1_instructions_instructionid
GetGwApiV1ParticipatingBanksResponse
Response types for get_gw_api_v1_participating_banks
GetGwApiV1RequestsResponse
Response types for get_gw_api_v1_requests
GetGwApiV1StatementsAvailableResponse
Response types for get_gw_api_v1_statements_available
GetGwApiV1TaxDocumentsAvailableResponse
Response types for get_gw_api_v1_tax_documents_available
GetGwApiV1TradeConfirmationsAvailableResponse
Response types for get_gw_api_v1_trade_confirmations_available
GetGwApiV1ValidationsUsernamesUsernameResponse
Response types for get_gw_api_v1_validations_usernames_username
GetInfoAndRulesResponse
Response types for getInfoAndRules
GetInstrumentDefinitionResponse
Response types for getInstrumentDefinition
GetInstrumentInfoResponse
Response types for getInstrumentInfo
GetInvestedAccountsInModelResponse
Response types for getInvestedAccountsInModel
GetManySubaccountsResponse
Response types for getManySubaccounts
GetMarginSummaryResponse
Response types for getMarginSummary
GetMdHistoryRequestQueryDirection
GetMdHistoryResponse
Response types for getMdHistory
GetMdSnapshotResponse
Response types for getMdSnapshot
GetModelPresetsResponse
Response types for getModelPresets
GetModelSummarySingleResponse
Response types for getModelSummarySingle
GetMtaDetailsResponse
Response types for getMtaDetails
GetOpenOrdersRequestQueryFilters
GetOpenOrdersResponse
Response types for getOpenOrders
GetOrderStatusResponse
Response types for getOrderStatus
GetPaginatedPositionsResponse
Response types for getPaginatedPositions
GetPerformanceAllPeriodsResponse
Response types for getPerformanceAllPeriods
GetPnlResponse
Response types for getPnl
GetPortfolioLedgerResponse
Response types for getPortfolioLedger
GetPortfolioMetadataResponse
Response types for getPortfolioMetadata
GetPortfolioSummaryResponse
Response types for getPortfolioSummary
GetPositionByConidResponse
Response types for getPositionByConid
GetScannerParametersResponse
Response types for getScannerParameters
GetScannerResultsResponse
Response types for getScannerResults
GetSessionTokenResponse
Response types for getSessionToken
GetSessionValidationResponse
Response types for getSessionValidation
GetSingleAllocationGroupResponse
Response types for getSingleAllocationGroup
GetSinglePerformancePeriodResponse
Response types for getSinglePerformancePeriod
GetSpecificWatchlistResponse
Response types for getSpecificWatchlist
GetStockBySymbolResponse
Response types for getStockBySymbol
GetTradeHistoryResponse
Response types for getTradeHistory
GetTradingScheduleGetTrsrvSecdefScheduleRequestQueryAssetClass
Specify the security type of the given contract. Valid asset classes are:
GetTradingScheduleGetTrsrvSecdefScheduleResponse
Response types for getTradingSchedule_get_trsrv_secdef_schedule
GetTradingScheduleResponse
Response types for getTradingSchedule
GetTransactionsResponse
Response types for getTransactions
GetUncachedPositionsRequestQueryDirection
The chronologic order of orders to sort by.
GetUncachedPositionsResponse
Response types for getUncachedPositions
GetUnreadFyisResponse
Response types for getUnreadFyis
History200Response
IndividualComboPositionPutOrCall
The right of an options contract, if applicable.
IndividualPositionPutOrCall
The right of an options contract, if applicable.
InitializeSessionResponse
Response types for initializeSession
Instruction200Response
InstructionDirection
InstructionRequestBodyInstruction
InstructionRequestBodyInstructionType
InstructionResultInstructionStatus
InstructionResultInstructionType
InvalidatePositionCacheResponse
Response types for invalidatePositionCache
IserverScannerRunRequestFilterValue
Value corresponding to the input for “code”.
IserverSnapshotKind
LogoutResponse
Response types for logout
MdFields
Many FYI endpoints reference a “typecode” value. The table below lists the available codes and what they correspond to.
MessageIdRequestBodyMessageId
A warning message to be pre-approved.
ModifyFyiDeliveryResponse
Response types for modifyFyiDelivery
ModifyFyiEmailsResponse
Response types for modifyFyiEmails
ModifyOpenOrderResponse
Response types for modifyOpenOrder
Order200Response
Order200Response2
Order200Response3
OrderStatusChildOrderType
Indicates if the order ticket is hedged, and if so, in what way. 0 = No hedge, A = Attached child hedge order, B = Beta/portfolio hedge
OrderStatusOrderStatus
Status of the order ticket.
OrderStatusSecType
IB asset class identifier.
OrderStatusTif
Time in force of the order ticket.
PatchGwApiV1RequestsRequestidStatusResponse
Response types for patch_gw_api_v1_requests_requestid_status
PerformanceRequestBodyPeriod
Specify the period for which the account should be analyzed. Available period lengths:
PollingInstructionResultInstructionStatus
PositionRequestBody2SortDirection
Direction to sort the request by.
PositionRequestBody2SortField
Field to sort the response by.
PostGwApiV1AccountsAccountidTasksResponse
Response types for post_gw_api_v1_accounts_accountid_tasks
PostGwApiV1AccountsResponse
Response types for post_gw_api_v1_accounts
PostGwApiV1BalancesQueryResponse
Response types for post_gw_api_v1_balances_query
PostGwApiV1BankInstructionsBulkResponse
Response types for post_gw_api_v1_bank_instructions_bulk
PostGwApiV1BankInstructionsQueryResponse
Response types for post_gw_api_v1_bank_instructions_query
PostGwApiV1BankInstructionsResponse
Response types for post_gw_api_v1_bank_instructions
PostGwApiV1ExternalCashTransfersQueryResponse
Response types for post_gw_api_v1_external_cash_transfers_query
PostGwApiV1InstructionsCancelResponse
Response types for post_gw_api_v1_instructions_cancel
PostGwApiV1SsoBrowserSessionsResponse
Response types for post_gw_api_v1_sso_browser_sessions
PostGwApiV1SsoSessionsResponse
Response types for post_gw_api_v1_sso_sessions
PostGwApiV1StatementsResponse
Response types for post_gw_api_v1_statements
PostGwApiV1TaxDocumentsResponse
Response types for post_gw_api_v1_tax_documents
PostGwApiV1TradeConfirmationsResponse
Response types for post_gw_api_v1_trade_confirmations
PostNewWatchlistResponse
Response types for postNewWatchlist
PredefinedDestinationInstructionBankInstructionMethod
PredefinedDestinationInstructionFinancialInstitutionBranchCodeType
PredefinedDestinationInstructionFinancialInstitutionIdentifierType
PresetsDefaultMethodForAll
Interactive Brokers supports two forms of allocation methods. Allocation methods that have calculations completed by Interactive Brokers, and a set of allocation methods calculated by the user and then specified. IB-computed allocation methods:
PreviewMarginImpactResponse
Response types for previewMarginImpact
Query201Response
Query201Response2
QueryInstructionKind
QueryInstructionKind2
QueryRecentInstructionsTransactionHistoryTransactionType
QueryRequestBody2InstructionType
QueryRequestBody3InstructionType
QueryRequestBodyInstruction
ReadFyiNotificationResponse
Response types for readFyiNotification
RecurringInstructionDetailFrequency
Reply200Response
ReqAccessTokenResponse
Response types for reqAccessToken
ReqLiveSessionTokenResponse
Response types for reqLiveSessionToken
ReqTempTokenResponse
Response types for reqTempToken
RequestStatus
ResetOrderSuppressionResponse
Response types for resetOrderSuppression
SetAccountinvestmentInModelResponse
Response types for setAccountinvestmentInModel
SetActiveAccountResponse
Response types for setActiveAccount
SetAllocationPresetResponse
Response types for setAllocationPreset
SetModelPresetsResponse
Response types for setModelPresets
SetModelTargetPositionsResponse
Response types for setModelTargetPositions
Side
Side of the order ticket.
SingleOrderSubmissionRequestJsonPayloadAllocationProfileAllocType
The allocation type to define how shares should be distributed. A warning message to be pre-approved.
SingleOrderSubmissionRequestTrailingType
Specifies the type of trailing used with a Trailing order.
SingleWatchlistEntryAssetClass
All-capital, shorthand security type identifier of the instrument.
SubAccountsAccountDatumKey
Defines the value of the object
SubType
SubmitModelOrdersResponse
Response types for submitModelOrders
SubmitNewOrderResponse
Response types for submitNewOrder
SuppressOrderRepliesResponse
Response types for suppressOrderReplies
Task200Response
TickleResponse
TokenRequestClientAuthenticationMethod
TradesResponseTradesResponseSide
Side of the execution.
TradingInstrument
TradingInstrumentTradingInstrumentDescriptionDescriptionAssetType
TradingInstrumentTradingInstrumentDescriptionDescriptionSecurityIdType
TraditionalBankInstructionVerificationBankInstructionCode
TransactionsResponseRpnlItemsSide
Determines if the day was a loss or gain * L - LOSS * G - GAIN
TransferRequestBody2Instruction
TransferRequestBody2InstructionType
TransferRequestBody3Instruction
TransferRequestBody3InstructionType
Typecodes
Many FYI endpoints reference a “typecode” value. The table below lists the available codes and what they correspond to.
UserEntityEntityType
The type of entity assigned to the user
WithdrawFundsInstructionBankInstructionMethod
WithdrawFundsInstructionIraWithdrawalDetailIraWithholdType

Constants§

AUTHORIZATION
BASE_URL

Type Aliases§

Account200Response2
Array of objects representing accounts in the structure.
AccountRequestBody
Alerts
ArrayNode
ComboPositionResponse
Array of objects each containing a single combo position.
FyiSettings
IndividualPositionArray
IserverSnapshot
Returns an object for each conId requested.
Notifications
OrderReplyMessage
An array containing objects that each deliver the order reply messages emitted against one order ticket in the submission request’s array. Indicies of the order reply message objects in this array correspond to the indicies of the order tickets in the submission request’s array.
OrderSubmitSuccess
A successful submission of one or more order tickets.
Portfolio2Positions
Array of position objects, each defining a position held in the account.
Position200Response2
Array of objects reflecting all positions in the given account.
RestrictionRequestBody
Signed JWT token
SecdefSearchResponse
Subaccount200Response
Task200Response2
TradesResponse
Array of objects representing executions.
TradingSchedule
trading’s schedules
UtcDateTime
UTC datetime string in format YYYYMMDD-hh:mm:ss.