pub const SPEC_JSON: &str = "{\n \"components\": {\n \"examples\": {\n \"AccountExample\": {\n \"value\": [\n {\n \"PrepaidCrypto-P\": false,\n \"PrepaidCrypto-Z\": false,\n \"accountAlias\": null,\n \"accountId\": \"DU123456\",\n \"accountStatus\": 1590724800000,\n \"accountTitle\": \"John Smith, LLC\",\n \"accountVan\": \"DU123456\",\n \"acctCustType\": \"LLC\",\n \"brokerageAccess\": true,\n \"businessType\": \"IB_SALES\",\n \"category\": \"\",\n \"clearingStatus\": \"O\",\n \"covestor\": false,\n \"currency\": \"USD\",\n \"desc\": \"DU123456\",\n \"displayName\": \"John Smith, LLC\",\n \"faclient\": false,\n \"ibEntity\": \"IBLLC-US\",\n \"id\": \"DU123456\",\n \"noClientTrading\": false,\n \"parent\": {\n \"accountId\": \"\",\n \"isMChild\": false,\n \"isMParent\": false,\n \"isMultiplex\": false,\n \"mmc\": []\n },\n \"trackVirtualFXPortfolio\": true,\n \"tradingType\": \"STKNOPT\",\n \"type\": \"DEMO\"\n }\n ]\n },\n \"DailyHTML\": {\n \"value\": {\n \"accountId\": \"UXXXX\",\n \"endDate\": \"20230102\",\n \"mimeType\": \"text/html\",\n \"startDate\": \"20230102\"\n }\n },\n \"DailyHTMLGZip\": {\n \"value\": {\n \"accountId\": \"UXXXX\",\n \"endDate\": \"20230102\",\n \"gzip\": true,\n \"mimeType\": \"text/html\",\n \"startDate\": \"20230102\"\n }\n },\n \"MonthlyPDF\": {\n \"value\": {\n \"accountId\": \"UXXXX\",\n \"endDate\": \"202301\",\n \"mimeType\": \"application/pdf\",\n \"startDate\": \"202301\"\n }\n }\n },\n \"extensions\": {},\n \"parameters\": {\n \"AccountIdRequestParam\": {\n \"description\": \"Specifies the account id to retrieve information\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"UXXXX\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n \"Authorization\": {\n \"description\": \"OAuth 2.0 Bearer token. Format: Bearer {access_token}. Token contains accountId claim. Validity: ~50 minutes.\",\n \"explode\": false,\n \"in\": \"header\",\n \"name\": \"Authorization\",\n \"required\": true,\n \"schema\": {\n \"example\": \"Bearer eyJ0eXAiOiJhdCtKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjFkOTEx...\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n },\n \"AuthorizationHeaderParam\": {\n \"description\": \"Specifies the authorization header value (e.g., Bearer eyJ0eXAiOiJKV1...).\",\n \"explode\": false,\n \"in\": \"header\",\n \"name\": \"authorization\",\n \"required\": true,\n \"schema\": {\n \"example\": \"Bearer eyJ0eXAiOiJKV1...\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n },\n \"TaxYearRequestParam\": {\n \"description\": \"Specifies the tax year to retrieve information\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"year\",\n \"required\": true,\n \"schema\": {\n \"example\": 2024,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"form\"\n },\n \"clientIdPathParam\": {\n \"description\": \"The client\'s clientId\",\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"client-id\",\n \"required\": true,\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n },\n \"clientInstructionIdPathParam\": {\n \"description\": \"The target instruction id.\",\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"clientInstructionId\",\n \"required\": true,\n \"schema\": {\n \"example\": -1988905739,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"simple\"\n },\n \"instructionIdPathParam\": {\n \"description\": \"The target instruction id.\",\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"instructionId\",\n \"required\": true,\n \"schema\": {\n \"example\": -1988905739,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"simple\"\n },\n \"instructionSetIdPathParam\": {\n \"description\": \"The target instruction set id.\",\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"instructionSetId\",\n \"required\": true,\n \"schema\": {\n \"example\": -1988905739,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"simple\"\n }\n },\n \"requestBodies\": {\n \"CreateBrowserSessionRequestBody\": {\n \"content\": {\n \"text/plain\": {\n \"schema\": {\n \"type\": \"string\"\n }\n }\n },\n \"description\": \"Create browser session on behalf of end-user.\",\n \"required\": true\n },\n \"CreateSessionRequestBody\": {\n \"content\": {\n \"text/plain\": {\n \"schema\": {\n \"type\": \"string\"\n }\n }\n },\n \"description\": \"Create session on behalf of end-user.\",\n \"required\": true\n },\n \"SignedJwtEchoRequestBody\": {\n \"content\": {\n \"text/plain\": {\n \"schema\": {\n \"type\": \"string\"\n }\n }\n },\n \"description\": \"Create a Signed JWT echo request.\",\n \"required\": true\n }\n },\n \"responses\": {\n \"BadRequest\": {\n \"description\": \"Invalid input format or missing required fields\"\n },\n \"Forbidden\": {\n \"description\": \"Insufficient permissions or JWT validation failed\"\n },\n \"IServerAccountBadRequest\": {\n \"description\": \"bad request; passed input cannot pass initial validation and detected right away\"\n },\n \"InternalError\": {\n \"description\": \"Internal server error\"\n },\n \"InternalServerError\": {\n \"description\": \"internal server error, returned when incoming request cannot be processed. It can sometimes include subset of bad requests. For example, wrong accountId passed and it can only be detected later in handling request. Error contains reason of the problem.\\n\"\n },\n \"NoContent\": {\n \"description\": \"no content\"\n },\n \"ServiceUnavailable\": {\n \"description\": \"service is unavailable. For example if request takes more than 10s due to some internal service unavailability, request aborted and this status returned\\n\"\n },\n \"Unauthorized\": {\n \"description\": \"Invalid or expired access token\"\n }\n },\n \"schemas\": {\n \"ACHDetails\": {\n \"properties\": {\n \"bankName\": {\n \"type\": \"string\"\n },\n \"custInitAch\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"AUSExposureDetailsType\": {\n \"properties\": {\n \"ausExposureRelationship\": {\n \"type\": \"string\"\n },\n \"licenseNumber\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"personName\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AbandonAccount\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"Account\": {\n \"properties\": {\n \"accountConfiguration\": {\n \"$ref\": \"#/components/schemas/AccountConfigurationType\"\n },\n \"accountRep\": {\n \"$ref\": \"#/components/schemas/AccountRep\"\n },\n \"accountType\": {\n \"enum\": [\n \"Investment\",\n \"Trading\",\n \"SMSF\"\n ],\n \"type\": \"string\"\n },\n \"advisorWrapFees\": {\n \"$ref\": \"#/components/schemas/AdvisorWrapFeesType\"\n },\n \"alias\": {\n \"type\": \"string\"\n },\n \"allExchangeAccess\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/ExchangeAccess\"\n },\n \"type\": \"array\"\n },\n \"baseCurrency\": {\n \"enum\": [\n \"USD\",\n \"EUR\",\n \"GBP\",\n \"CAD\",\n \"JPY\",\n \"HKD\",\n \"AUD\",\n \"CHF\",\n \"MXN\",\n \"SEK\",\n \"NZD\",\n \"HUF\",\n \"CZK\",\n \"CNH\",\n \"DKK\",\n \"RUB\",\n \"ILS\",\n \"NOK\",\n \"SGD\",\n \"PLN\",\n \"ZAR\",\n \"AED\",\n \"KRW\",\n \"SAR\",\n \"TRY\",\n \"RON\",\n \"BGN\"\n ],\n \"type\": \"string\"\n },\n \"brokerageServiceCodes\": {\n \"items\": {\n \"enum\": [\n \"IBClearing\",\n \"IBExecution\",\n \"IBPrime\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"capabilities\": {\n \"items\": {\n \"enum\": [\n \"BOND\",\n \"FOP\",\n \"FUND\",\n \"FUT\",\n \"MRGN\",\n \"MULT\",\n \"OPT\",\n \"SSF\",\n \"CFD\",\n \"STK\",\n \"CLP\",\n \"LEVFX\",\n \"CMDTY\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"clientActiveTrading\": {\n \"type\": \"boolean\"\n },\n \"clientCommissionSchedule\": {\n \"$ref\": \"#/components/schemas/CommissionScheduleType\"\n },\n \"clientInterestMarkupSchedules\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/InterestMarkupType\"\n },\n \"type\": \"array\"\n },\n \"commissionConfigs\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/CommissionConfig\"\n },\n \"type\": \"array\"\n },\n \"custodian\": {\n \"$ref\": \"#/components/schemas/CustodianType\"\n },\n \"decendent\": {\n \"$ref\": \"#/components/schemas/IRADecedent\"\n },\n \"depositNotification\": {\n \"$ref\": \"#/components/schemas/DepositNotification\"\n },\n \"drip\": {\n \"type\": \"boolean\"\n },\n \"duplicate\": {\n \"type\": \"boolean\"\n },\n \"dvpInstructions\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/DVPInstruction\"\n },\n \"type\": \"array\"\n },\n \"employeePlan\": {\n \"type\": \"string\"\n },\n \"extPositionsTransfers\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/ExtPositionsTransferType\"\n },\n \"type\": \"array\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"feesTemplateName\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"investmentObjectives\": {\n \"items\": {\n \"enum\": [\n \"Trading\",\n \"Growth\",\n \"Speculation\",\n \"Hedging\",\n \"Preservation\",\n \"Income\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"ira\": {\n \"type\": \"boolean\"\n },\n \"iraBeneficiaries\": {\n \"$ref\": \"#/components/schemas/IRABeneficiariesType\"\n },\n \"iraOfficialTitle\": {\n \"type\": \"string\"\n },\n \"iraType\": {\n \"enum\": [\n \"RI\",\n \"RO\",\n \"RT\",\n \"SP\",\n \"ED\",\n \"TH\",\n \"RH\",\n \"SH\",\n \"RRSP\",\n \"SRRSP\",\n \"TFSA\",\n \"SIMPLE\",\n \"ISA\",\n \"JISA\"\n ],\n \"type\": \"string\"\n },\n \"margin\": {\n \"type\": \"string\"\n },\n \"migration\": {\n \"type\": \"boolean\"\n },\n \"multiCurrency\": {\n \"type\": \"boolean\"\n },\n \"numberOfDuplicates\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"optionLevel\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"propertyProfile\": {\n \"type\": \"string\"\n },\n \"sourceAccountId\": {\n \"type\": \"string\"\n },\n \"stockYieldProgram\": {\n \"type\": \"boolean\"\n },\n \"successorCustodian\": {\n \"$ref\": \"#/components/schemas/CustodianType\"\n },\n \"tradingLimits\": {\n \"$ref\": \"#/components/schemas/TradingLimits\"\n },\n \"tradingPermissions\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TradingPermission\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"AccountClose\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"closeReason\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AccountConfiguration\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"string\"\n },\n \"value\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"AccountConfigurationType\": {\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"xml\": {\n \"attribute\": true\n }\n },\n \"value\": {\n \"type\": \"boolean\",\n \"xml\": {\n \"attribute\": true\n }\n }\n },\n \"type\": \"object\"\n },\n \"AccountData\": {\n \"properties\": {\n \"accountAlias\": {\n \"type\": \"string\"\n },\n \"accountId\": {\n \"type\": \"string\"\n },\n \"accountTitle\": {\n \"type\": \"string\"\n },\n \"applicantType\": {\n \"type\": \"string\"\n },\n \"baseCurrency\": {\n \"type\": \"string\"\n },\n \"businessDescription\": {\n \"type\": \"string\"\n },\n \"capabilities\": {\n \"additionalProperties\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\",\n \"uniqueItems\": true\n },\n \"type\": \"object\"\n },\n \"class_action_program\": {\n \"type\": \"string\"\n },\n \"clearingStatus\": {\n \"type\": \"string\"\n },\n \"clearingStatusDescription\": {\n \"type\": \"string\"\n },\n \"countryOfCorporation\": {\n \"type\": \"string\"\n },\n \"dateApproved\": {\n \"type\": \"string\"\n },\n \"dateBegun\": {\n \"type\": \"string\"\n },\n \"dateClosed\": {\n \"type\": \"string\"\n },\n \"dateDelinked\": {\n \"type\": \"string\"\n },\n \"dateFunded\": {\n \"type\": \"string\"\n },\n \"dateLinked\": {\n \"type\": \"string\"\n },\n \"dateOpened\": {\n \"type\": \"string\"\n },\n \"dividendReinvestment\": {\n \"additionalProperties\": {\n \"type\": \"boolean\"\n },\n \"type\": \"object\"\n },\n \"emailAddress\": {\n \"type\": \"string\"\n },\n \"equity\": {\n \"format\": \"double\",\n \"type\": \"number\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"feeTemplate\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"household\": {\n \"type\": \"string\"\n },\n \"investmentObjectives\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\",\n \"uniqueItems\": true\n },\n \"limitedOptionTrading\": {\n \"type\": \"string\"\n },\n \"mailing\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"mainAccount\": {\n \"type\": \"string\"\n },\n \"margin\": {\n \"type\": \"string\"\n },\n \"masterAccountId\": {\n \"type\": \"string\"\n },\n \"mifidCategory\": {\n \"type\": \"string\"\n },\n \"mifirStatus\": {\n \"type\": \"string\"\n },\n \"officialTitle\": {\n \"type\": \"string\"\n },\n \"optionLevel\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"orgType\": {\n \"type\": \"string\"\n },\n \"primaryUser\": {\n \"type\": \"string\"\n },\n \"processType\": {\n \"type\": \"string\"\n },\n \"propertyProfile\": {\n \"type\": \"string\"\n },\n \"registeredAddress\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"riskScore\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"signatures\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"sourceAccountId\": {\n \"type\": \"string\"\n },\n \"stateCode\": {\n \"type\": \"string\"\n },\n \"stockYieldProgram\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"subType\": {\n \"type\": \"string\"\n },\n \"taxIds\": {\n \"items\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"taxTreatyDetails\": {\n \"items\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"tradeIntentionType\": {\n \"type\": \"string\"\n },\n \"trustType\": {\n \"type\": \"string\"\n },\n \"usTaxPurposeType\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AccountDetailsResponse\": {\n \"properties\": {\n \"account\": {\n \"$ref\": \"#/components/schemas/AccountData\"\n },\n \"associatedEntities\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AssociatedEntity\"\n },\n \"type\": \"array\"\n },\n \"associatedPersons\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AssociatedPerson\"\n },\n \"type\": \"array\"\n },\n \"decedents\": {\n \"items\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"entityIRABeneficiaries\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/EntityIRABene\"\n },\n \"type\": \"array\"\n },\n \"error\": {\n \"$ref\": \"#/components/schemas/ErrorResponse\"\n },\n \"errorDescription\": {\n \"type\": \"string\"\n },\n \"financialInformation\": {\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"type\": \"object\"\n },\n \"hasError\": {\n \"type\": \"boolean\"\n },\n \"individualIRABeneficiaries\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/IndividualIRABene\"\n },\n \"type\": \"array\"\n },\n \"marketData\": {\n \"items\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"restrictions\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RestrictionInfo\"\n },\n \"type\": \"array\",\n \"uniqueItems\": true\n },\n \"sourcesOfWealth\": {\n \"items\": {\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"tradeBundles\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"withHoldingStatement\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"AccountManagementRequests\": {\n \"properties\": {\n \"abandonAccount\": {\n \"$ref\": \"#/components/schemas/AbandonAccount\"\n },\n \"accountClose\": {\n \"$ref\": \"#/components/schemas/AccountClose\"\n },\n \"accountConfiguration\": {\n \"$ref\": \"#/components/schemas/AccountConfiguration\"\n },\n \"accreditedInvestor\": {\n \"$ref\": \"#/components/schemas/AccreditedInvestor\"\n },\n \"addAdditionalAccount\": {\n \"$ref\": \"#/components/schemas/AddAdditionalAccount\"\n },\n \"addCLPCapability\": {\n \"$ref\": \"#/components/schemas/AddCLPCapability\"\n },\n \"addLevFxCapability\": {\n \"$ref\": \"#/components/schemas/AddLEVFXCapability\"\n },\n \"addMiFirData\": {\n \"$ref\": \"#/components/schemas/AddMiFIRData\"\n },\n \"addNewUser\": {\n \"$ref\": \"#/components/schemas/AddNewUser\"\n },\n \"addTradingPermissions\": {\n \"$ref\": \"#/components/schemas/AddTradingPermissions\"\n },\n \"allocateVan\": {\n \"$ref\": \"#/components/schemas/AllocateVAN\"\n },\n \"applyFeeTemplate\": {\n \"$ref\": \"#/components/schemas/ApplyFeeTemplate\"\n },\n \"changeAccountHolderDetail\": {\n \"$ref\": \"#/components/schemas/ChangeAccountHolderDetail\"\n },\n \"changeBaseCurrency\": {\n \"$ref\": \"#/components/schemas/ChangeBaseCurrency\"\n },\n \"changeFinancialInformation\": {\n \"$ref\": \"#/components/schemas/ChangeFinancialInformation\"\n },\n \"changeMarginType\": {\n \"$ref\": \"#/components/schemas/ChangeMarginType\"\n },\n \"completeLoginMessage\": {\n \"$ref\": \"#/components/schemas/CompleteLoginMessage\"\n },\n \"createUser\": {\n \"$ref\": \"#/components/schemas/CreateUser\"\n },\n \"disableAccountInBrokerage\": {\n \"$ref\": \"#/components/schemas/DisableAccountInBrokerage\"\n },\n \"documentSubmission\": {\n \"$ref\": \"#/components/schemas/DocumentSubmission\"\n },\n \"duplicateAccount\": {\n \"$ref\": \"#/components/schemas/DuplicateAccount\"\n },\n \"enableAccountInBrokerage\": {\n \"$ref\": \"#/components/schemas/EnableAccountInBrokerage\"\n },\n \"enrollInDrip\": {\n \"$ref\": \"#/components/schemas/EnrollInDRIP\"\n },\n \"enrollInSyep\": {\n \"$ref\": \"#/components/schemas/EnrollInSYEP\"\n },\n \"informationChange\": {\n \"$ref\": \"#/components/schemas/InformationChange\"\n },\n \"leaveDrip\": {\n \"$ref\": \"#/components/schemas/LeaveDRIP\"\n },\n \"leaveSyep\": {\n \"$ref\": \"#/components/schemas/LeaveSYEP\"\n },\n \"linkDuplicateAccount\": {\n \"$ref\": \"#/components/schemas/LinkDuplicateAccount\"\n },\n \"manageMarketDataSubscriptions\": {\n \"$ref\": \"#/components/schemas/ManageMarketDataSubscriptions\"\n },\n \"processDocuments\": {\n \"$ref\": \"#/components/schemas/ProcessDocuments\"\n },\n \"prohibitedCountryQuestionnaire\": {\n \"$ref\": \"#/components/schemas/ProhibitedCountryQuestionnaire\"\n },\n \"questionnaires\": {\n \"$ref\": \"#/components/schemas/QuestionnairesWithAccount\"\n },\n \"quizQuestionnaires\": {\n \"$ref\": \"#/components/schemas/QuizQuestionnaires\"\n },\n \"removeTradingPermissions\": {\n \"$ref\": \"#/components/schemas/RemoveTradingPermissions\"\n },\n \"reopenAccount\": {\n \"$ref\": \"#/components/schemas/ReopenAccount\"\n },\n \"resetAbandonedAccount\": {\n \"$ref\": \"#/components/schemas/ResetAbandonedAccount\"\n },\n \"securityQuestions\": {\n \"$ref\": \"#/components/schemas/SecurityQuestions\"\n },\n \"updateAccountAlias\": {\n \"$ref\": \"#/components/schemas/UpdateAccountAlias\"\n },\n \"updateAccountRepresentatives\": {\n \"$ref\": \"#/components/schemas/UpdateAccountRepresentatives\"\n },\n \"updateBcan\": {\n \"$ref\": \"#/components/schemas/UpdateBCAN\"\n },\n \"updateCredentials\": {\n \"$ref\": \"#/components/schemas/UpdateCredentials\"\n },\n \"updateExternalId\": {\n \"$ref\": \"#/components/schemas/UpdateExternalId\"\n },\n \"updatePropertyProfile\": {\n \"$ref\": \"#/components/schemas/UpdatePropertyProfile\"\n },\n \"updateTaxForm\": {\n \"$ref\": \"#/components/schemas/UpdateTaxForm\"\n },\n \"updateUserAccessRights\": {\n \"$ref\": \"#/components/schemas/UpdateUserAccessRights\"\n },\n \"updateW8Ben\": {\n \"$ref\": \"#/components/schemas/UpdateW8BEN\"\n },\n \"updateWithholdingStatement\": {\n \"$ref\": \"#/components/schemas/UpdateWithholdingStatement\"\n }\n },\n \"type\": \"object\"\n },\n \"AccountManagementRequestsPayload\": {\n \"properties\": {\n \"accountManagementRequests\": {\n \"$ref\": \"#/components/schemas/AccountManagementRequests\"\n }\n },\n \"type\": \"object\"\n },\n \"AccountRep\": {\n \"properties\": {\n \"included\": {\n \"type\": \"boolean\"\n },\n \"repDetails\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RepDetail\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"AccountStatusBulkResponse\": {\n \"properties\": {\n \"accounts\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AccountStatusResponse\"\n },\n \"type\": \"array\"\n },\n \"limit\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"offset\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"total\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"AccountStatusRequest\": {\n \"properties\": {\n \"endDate\": {\n \"format\": \"date\",\n \"type\": \"string\"\n },\n \"limit\": {\n \"format\": \"int32\",\n \"maximum\": 1000,\n \"minimum\": 1,\n \"type\": \"integer\"\n },\n \"offset\": {\n \"format\": \"int32\",\n \"minimum\": 0,\n \"type\": \"integer\"\n },\n \"startDate\": {\n \"format\": \"date\",\n \"type\": \"string\"\n },\n \"status\": {\n \"enum\": [\n \"N\",\n \"O\",\n \"P\",\n \"C\",\n \"A\",\n \"E\",\n \"F\",\n \"I\",\n \"J\",\n \"L\",\n \"M\",\n \"R\",\n \"W\",\n \"Q\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"endDate\",\n \"startDate\"\n ],\n \"type\": \"object\"\n },\n \"AccountStatusResponse\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"adminAccountId\": {\n \"type\": \"string\"\n },\n \"dateClosed\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"dateOpened\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"dateStarted\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"masterAccountId\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"state\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AccountSupportType\": {\n \"properties\": {\n \"acceptOwnersResideUS\": {\n \"type\": \"boolean\"\n },\n \"administrator\": {\n \"$ref\": \"#/components/schemas/AdministratorType\"\n },\n \"administratorContactPerson\": {\n \"$ref\": \"#/components/schemas/AdministratorContactPersonType\"\n },\n \"businessDescription\": {\n \"type\": \"string\"\n },\n \"ownersResideUS\": {\n \"type\": \"boolean\"\n },\n \"primaryContributor\": {\n \"$ref\": \"#/components/schemas/PrimaryContributorType\"\n },\n \"solicitOwnersResideUS\": {\n \"type\": \"boolean\"\n },\n \"type\": {\n \"enum\": [\n \"FINANCIALINSTITUTION\",\n \"PROPRIETARYTRADING\",\n \"FAMILYINVVEHICLE\",\n \"OPERATINGBUSINESS\",\n \"BROKERDEALER\",\n \"LICENSEDADVISOR\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AccreditedInvestor\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"eligibleContractParticipant\": {\n \"$ref\": \"#/components/schemas/EligibleContractParticipant\"\n },\n \"qualifiedPurchaser\": {\n \"$ref\": \"#/components/schemas/QualifiedPurchaser\"\n },\n \"signature\": {\n \"type\": \"string\"\n },\n \"signedBy\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"status\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"AccreditedInvestorInformation\": {\n \"properties\": {\n \"q1\": {\n \"type\": \"boolean\"\n },\n \"q2\": {\n \"type\": \"boolean\"\n },\n \"q3\": {\n \"type\": \"boolean\"\n },\n \"q4\": {\n \"type\": \"boolean\"\n },\n \"q5\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"AchInstruction\": {\n \"maxProperties\": 7,\n \"minProperties\": 7,\n \"properties\": {\n \"accountId\": {\n \"example\": \"U223454\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"achType\": {\n \"enum\": [\n \"DEBIT\",\n \"CREDIT\",\n \"DEBIT_CREDIT\"\n ],\n \"example\": \"DEBIT_CREDIT\",\n \"type\": \"string\"\n },\n \"bankInstructionCode\": {\n \"enum\": [\n \"CAACH\",\n \"USACH\"\n ],\n \"example\": \"USACH\",\n \"type\": \"string\"\n },\n \"bankInstructionName\": {\n \"example\": \"TestInstr\",\n \"maxLength\": 100,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"clientAccountInfo\": {\n \"maxProperties\": 4,\n \"minProperties\": 4,\n \"properties\": {\n \"bankAccountNumber\": {\n \"example\": \"101267576983\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"bankAccountTypeCode\": {\n \"enum\": [\n 0.0,\n 1.0,\n 2.0\n ],\n \"example\": 1,\n \"type\": \"number\"\n },\n \"bankName\": {\n \"example\": \"JPM Chase\",\n \"maxLength\": 100,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"bankRoutingNumber\": {\n \"example\": \"202012983\",\n \"maxLength\": 24,\n \"minLength\": 1,\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"bankAccountNumber\",\n \"bankAccountTypeCode\",\n \"bankName\",\n \"bankRoutingNumber\"\n ],\n \"type\": \"object\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"currency\": {\n \"example\": \"USD\",\n \"maxLength\": 3,\n \"minLength\": 1,\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accountId\",\n \"achType\",\n \"bankInstructionCode\",\n \"bankInstructionName\",\n \"clientAccountInfo\",\n \"clientInstructionId\",\n \"currency\"\n ],\n \"type\": \"object\"\n },\n \"AddAdditionalAccount\": {\n \"properties\": {\n \"account\": {\n \"$ref\": \"#/components/schemas/Account\"\n },\n \"accountId\": {\n \"type\": \"string\"\n },\n \"customer\": {\n \"$ref\": \"#/components/schemas/Customer\"\n },\n \"documents\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Document\"\n },\n \"type\": \"array\"\n },\n \"users\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/User\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"AddCLPCapability\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"documents\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Document\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"AddEntity\": {\n \"properties\": {\n \"addRelationships\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AddRelationship\"\n },\n \"type\": \"array\"\n },\n \"documents\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Document\"\n },\n \"type\": \"array\"\n },\n \"individual\": {\n \"$ref\": \"#/components/schemas/Individual\"\n },\n \"legalEntity\": {\n \"$ref\": \"#/components/schemas/LegalEntity\"\n }\n },\n \"type\": \"object\"\n },\n \"AddLEVFXCapability\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AddMiFIRData\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"identifications\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Identification\"\n },\n \"type\": \"array\"\n },\n \"title\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AddNewUser\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"inputLanguage\": {\n \"enum\": [\n \"en\",\n \"zh-Hans\",\n \"ja\",\n \"ru\",\n \"fr\",\n \"pt\",\n \"es\",\n \"it\",\n \"ar-AE\",\n \"de\",\n \"he-IL\",\n \"hu\"\n ],\n \"type\": \"string\"\n },\n \"prefix\": {\n \"type\": \"string\"\n },\n \"translation\": {\n \"type\": \"boolean\"\n },\n \"userDetails\": {\n \"$ref\": \"#/components/schemas/UserDetails\"\n },\n \"userName\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AddRelationship\": {\n \"properties\": {\n \"name\": {\n \"enum\": [\n \"Account_Holder\",\n \"Spouse\",\n \"Firstholder\",\n \"Secondholder\",\n \"Trader\",\n \"Secretary\",\n \"Treasurer\",\n \"Ceo\",\n \"Owner\",\n \"Trustee\",\n \"Beneficiary\",\n \"Grantor\",\n \"Director\",\n \"Principal\",\n \"Shareholder\",\n \"Partner\",\n \"Controlling_Officer\",\n \"Beneficialowner\",\n \"Signatory\",\n \"Comp_Officer\",\n \"Superv_Broker\",\n \"Pooled_User\",\n \"Financial_User\",\n \"Contingent\",\n \"Ira_Beneficiary\",\n \"Employee\",\n \"Non_Employee\",\n \"Fund_Admin\",\n \"Fund_Contact\",\n \"Firm_Admin\",\n \"Firm_Billing\",\n \"Firm_Clearing\",\n \"Firm_Sales\",\n \"Firm_Trading\",\n \"Firm_User\",\n \"Account_Admin\",\n \"Account_Billing\",\n \"Account_Clearing\",\n \"Account_Sales\",\n \"Account_Trading\",\n \"User_Individual\",\n \"Fund_Manager\",\n \"Investment_Advisor\",\n \"Shf_Investmanager\",\n \"Advisory_Principal\",\n \"Advisory_Signatory\",\n \"Associated_Fund\",\n \"Primary_Contributor\",\n \"Administrator\",\n \"Contact\",\n \"Lead_Compliance_Officer\",\n \"Compliance_Officer\",\n \"Other_Officer\",\n \"Apply_User\",\n \"Transfer_On_Death_Legator\",\n \"Tod_Primary_Beneficiary\",\n \"Tod_Contingent_Beneficiary\",\n \"Nominee\",\n \"Nominee_Guardian\",\n \"Ira_Decedent\",\n \"Authorized_Person\",\n \"Promoter\",\n \"Wholetime_Director\",\n \"Nominee_Owner\",\n \"Third_Party_Admin\",\n \"Compliance_Contact\",\n \"Trust_Controller\",\n \"Trust_Applicant\",\n \"Organization_Applicant\",\n \"Mm_Contact\",\n \"Reg_Rep\",\n \"Plan_Sponsor\",\n \"Plan_Sponsor_Officer\",\n \"Pension_Admin\",\n \"Pension_Admin_Contact\",\n \"Accountant\",\n \"Joint_Applicant\",\n \"Custodian_Employee\",\n \"Successor_Custodian\",\n \"Custodian\",\n \"Successor_Custodian_Employee\",\n \"Chief_Compliance_Officer\",\n \"Chief_Financial_Officer\",\n \"Trading_Officer\",\n \"Child\",\n \"Parent\",\n \"Sibling\",\n \"Estate\",\n \"As_Interest_May_Appear\",\n \"Ira_Present_Trust\",\n \"Other\",\n \"Life_Partner\",\n \"Common_Law_Partner\",\n \"Grandchild\",\n \"Charity\",\n \"Trust_Ira\",\n \"Successor_Holder\",\n \"Head_Of_Desk\",\n \"Cftc_Non_Applicant_Ocr_Contact\",\n \"Ocr_Account_Controller\",\n \"Cftc_Applicant_Ocr_Contact\"\n ],\n \"type\": \"string\"\n },\n \"ownershipPercentage\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"AddTradingPermissions\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"documentSubmission\": {\n \"$ref\": \"#/components/schemas/DocumentSubmission\"\n },\n \"optionLevel\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"tradingPermissions\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TradingPermission\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"Address\": {\n \"properties\": {\n \"city\": {\n \"type\": \"string\"\n },\n \"country\": {\n \"type\": \"string\"\n },\n \"postalCode\": {\n \"type\": \"string\"\n },\n \"state\": {\n \"type\": \"string\"\n },\n \"street1\": {\n \"type\": \"string\"\n },\n \"street2\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AdministratorContactPersonType\": {\n \"properties\": {\n \"firstName\": {\n \"type\": \"string\"\n },\n \"lastName\": {\n \"type\": \"string\"\n },\n \"middleInitial\": {\n \"type\": \"string\"\n },\n \"phoneNumber\": {\n \"type\": \"string\"\n },\n \"suffix\": {\n \"enum\": [\n \"Jr.\",\n \"Sr.\",\n \"I\",\n \"II\",\n \"III\",\n \"IV\",\n \"V\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AdministratorType\": {\n \"properties\": {\n \"address\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"firstName\": {\n \"type\": \"string\"\n },\n \"lastName\": {\n \"type\": \"string\"\n },\n \"middleInitial\": {\n \"type\": \"string\"\n },\n \"suffix\": {\n \"enum\": [\n \"Jr.\",\n \"Sr.\",\n \"I\",\n \"II\",\n \"III\",\n \"IV\",\n \"V\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AdvisorWrapFeesType\": {\n \"properties\": {\n \"automatedFeesDetails\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AutomatedWrapFeeDetailsType\"\n },\n \"type\": \"array\"\n },\n \"chargeAdvisor\": {\n \"type\": \"boolean\"\n },\n \"chargeOtherFeesToAdvisor\": {\n \"type\": \"boolean\"\n },\n \"highWaterMarkConfigHwma\": {\n \"$ref\": \"#/components/schemas/HighWaterMarkType\"\n },\n \"highWaterMarkConfigHwmq\": {\n \"$ref\": \"#/components/schemas/HighWaterMarkType\"\n },\n \"strategy\": {\n \"enum\": [\n \"AUTOMATED\",\n \"DIRECTBILLING\",\n \"NO_FEE\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AffiliationDetailsType\": {\n \"properties\": {\n \"affiliationRelationship\": {\n \"enum\": [\n \"Self\",\n \"Spouse\",\n \"Parent\",\n \"Child\",\n \"Other\"\n ],\n \"type\": \"string\"\n },\n \"company\": {\n \"type\": \"string\"\n },\n \"companyEmailAddress\": {\n \"type\": \"string\"\n },\n \"companyId\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"companyMailingAddress\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"companyPhone\": {\n \"type\": \"string\"\n },\n \"duplicateStmtRequired\": {\n \"type\": \"boolean\"\n },\n \"personName\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AgreementRevision\": {\n \"discriminator\": {\n \"propertyName\": \"type\"\n },\n \"properties\": {\n \"type\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"type\"\n ],\n \"type\": \"object\"\n },\n \"AllocateVAN\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"countryCode\": {\n \"type\": \"string\"\n },\n \"currency\": {\n \"enum\": [\n \"USD\",\n \"EUR\",\n \"GBP\",\n \"CAD\",\n \"JPY\",\n \"HKD\",\n \"AUD\",\n \"CHF\",\n \"MXN\",\n \"SEK\",\n \"NZD\",\n \"HUF\",\n \"CZK\",\n \"CNH\",\n \"DKK\",\n \"RUB\",\n \"ILS\",\n \"NOK\",\n \"SGD\",\n \"PLN\",\n \"ZAR\",\n \"AED\",\n \"KRW\",\n \"SAR\",\n \"TRY\",\n \"RON\",\n \"BGN\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AllowedScopeSet\": {\n \"properties\": {\n \"scopes\": {\n \"$ref\": \"#/components/schemas/RegisteredScopeSet\"\n }\n },\n \"type\": \"object\"\n },\n \"AmRequestStatusResponse\": {\n \"properties\": {\n \"acctId\": {\n \"type\": \"string\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"requestId\": {\n \"type\": \"string\"\n },\n \"requestType\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AnnualBlendedPercentage\": {\n \"properties\": {\n \"blendedFrom\": {\n \"type\": \"string\"\n },\n \"blendedTo\": {\n \"type\": \"string\"\n },\n \"percentage\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"Answer\": {\n \"properties\": {\n \"answerDetail\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AnswerDetail\"\n },\n \"type\": \"array\"\n },\n \"detail\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"questionId\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"AnswerDetail\": {\n \"properties\": {\n \"detail\": {\n \"type\": \"string\"\n },\n \"name\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AnswerResponse\": {\n \"properties\": {\n \"answer\": {\n \"type\": \"string\"\n },\n \"answerId\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"dependentAnswerId\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"dependentQuestionId\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"multiAnswerDetail\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"Application\": {\n \"properties\": {\n \"accounts\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Account\"\n },\n \"type\": \"array\"\n },\n \"additionalAccounts\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AddAdditionalAccount\"\n },\n \"type\": \"array\"\n },\n \"customer\": {\n \"$ref\": \"#/components/schemas/Customer\"\n },\n \"documents\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Document\"\n },\n \"type\": \"array\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"inputLanguage\": {\n \"enum\": [\n \"en\",\n \"zh-Hans\",\n \"ja\",\n \"ru\",\n \"fr\",\n \"pt\",\n \"es\",\n \"it\",\n \"ar-AE\",\n \"de\",\n \"he-IL\",\n \"hu\"\n ],\n \"type\": \"string\"\n },\n \"masterAccountId\": {\n \"type\": \"string\"\n },\n \"paperAccount\": {\n \"type\": \"boolean\"\n },\n \"questionnaires\": {\n \"$ref\": \"#/components/schemas/Questionnaires\"\n },\n \"translation\": {\n \"type\": \"boolean\"\n },\n \"users\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/User\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"ApplicationPayload\": {\n \"properties\": {\n \"application\": {\n \"$ref\": \"#/components/schemas/Application\"\n }\n },\n \"type\": \"object\"\n },\n \"ApplyFeeTemplate\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"templateName\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"ArrayNode\": {\n \"type\": \"object\"\n },\n \"AssetExperience\": {\n \"properties\": {\n \"assetClass\": {\n \"enum\": [\n \"BILL\",\n \"BOND\",\n \"CASH\",\n \"CFD\",\n \"COMB\",\n \"FOP\",\n \"FUND\",\n \"FUT\",\n \"OPT\",\n \"SSF\",\n \"STK\",\n \"WAR\",\n \"MRGN\",\n \"CLP\"\n ],\n \"type\": \"string\"\n },\n \"knowledgeLevel\": {\n \"enum\": [\n \"Extensive\",\n \"Good\",\n \"Limited\",\n \"None\"\n ],\n \"type\": \"string\"\n },\n \"tradesPerYear\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"yearsTrading\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"AssociatedEntities\": {\n \"properties\": {\n \"associatedEntities\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AssociatedEntity\"\n },\n \"type\": \"array\"\n },\n \"associatedIndividuals\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AssociatedIndividual\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"AssociatedEntity\": {\n \"properties\": {\n \"AssociatedPersons\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AssociatedPerson\"\n },\n \"type\": \"array\"\n },\n \"associations\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\",\n \"uniqueItems\": true\n },\n \"email\": {\n \"type\": \"string\"\n },\n \"entityId\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"externalCode\": {\n \"type\": \"string\"\n },\n \"identityDocuments\": {\n \"items\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"mailing\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"organizationCountry\": {\n \"type\": \"string\"\n },\n \"phones\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"residence\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"taxTreatyDetails\": {\n \"items\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"AssociatedIndividual\": {\n \"properties\": {\n \"authorizedPerson\": {\n \"type\": \"boolean\"\n },\n \"authorizedToSignOnBehalfOfOwner\": {\n \"type\": \"boolean\"\n },\n \"authorizedTrader\": {\n \"type\": \"boolean\"\n },\n \"birthName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"cityOfBirth\": {\n \"type\": \"string\"\n },\n \"countryOfBirth\": {\n \"type\": \"string\"\n },\n \"crs\": {\n \"$ref\": \"#/components/schemas/FormCRS\"\n },\n \"dateOfBirth\": {\n \"description\": \"Date of birth of the applicant. The applicant must be 18 years or older to open an account. <br><ul><li>If the YYY-MM-DD < 18 years error will be triggered and the account will not be created.</li><li>If YYYY-MM-DD < 21 the applicant is restricted to opening a CASH account only.</li><li>UGMA and UTMA accounts are available for minors 18 years of age or younger. An individual or entity who manages an account for a minor until that minor reaches a specific age. Available to US residents only.</li><li>This application must be opened using the front-end application which is available within the IBKR Portal.</li><li>Assets held in a single account managed by a single Custodian user.</li><li>Error will be thrown if dateOfBirth is any value other than YYYY-MM-DD.</li></ul>\",\n \"example\": \"1990-08-14\",\n \"type\": \"string\"\n },\n \"email\": {\n \"type\": \"string\"\n },\n \"employeeTitle\": {\n \"type\": \"string\"\n },\n \"employmentDetails\": {\n \"$ref\": \"#/components/schemas/EmploymentDetails\"\n },\n \"employmentType\": {\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"gender\": {\n \"enum\": [\n \"M\",\n \"F\",\n \"Male\",\n \"Female\"\n ],\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"identification\": {\n \"$ref\": \"#/components/schemas/Identification\"\n },\n \"mailingAddress\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"maritalStatus\": {\n \"enum\": [\n \"S\",\n \"M\",\n \"W\",\n \"D\",\n \"C\"\n ],\n \"type\": \"string\"\n },\n \"motherMaidenName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"name\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"nativeName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"numDependents\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"ownershipPercentage\": {\n \"type\": \"number\"\n },\n \"phones\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PhoneInfo\"\n },\n \"type\": \"array\"\n },\n \"primaryTrustee\": {\n \"type\": \"boolean\"\n },\n \"prohibitedCountryQuestionnaire\": {\n \"$ref\": \"#/components/schemas/ProhibitedCountryQuestionnaireList\"\n },\n \"referenceUsername\": {\n \"type\": \"string\"\n },\n \"residenceAddress\": {\n \"$ref\": \"#/components/schemas/ResidenceAddress\"\n },\n \"sameMailAddress\": {\n \"type\": \"boolean\"\n },\n \"taxResidencies\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TaxResidency\"\n },\n \"type\": \"array\"\n },\n \"titles\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Title\"\n },\n \"type\": \"array\"\n },\n \"translated\": {\n \"type\": \"boolean\"\n },\n \"usTaxResident\": {\n \"type\": \"boolean\"\n },\n \"userId\": {\n \"type\": \"string\"\n },\n \"w8Ben\": {\n \"$ref\": \"#/components/schemas/FormW8BEN\"\n },\n \"w9\": {\n \"$ref\": \"#/components/schemas/FormW9\"\n }\n },\n \"type\": \"object\"\n },\n \"AssociatedPerson\": {\n \"properties\": {\n \"associations\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\",\n \"uniqueItems\": true\n },\n \"commercial\": {\n \"type\": \"string\"\n },\n \"countryOfBirth\": {\n \"type\": \"string\"\n },\n \"countryOfCitizenship\": {\n \"type\": \"string\"\n },\n \"countryOfLegalResidence\": {\n \"type\": \"string\"\n },\n \"dateOfBirth\": {\n \"type\": \"string\"\n },\n \"email\": {\n \"type\": \"string\"\n },\n \"employmentDetails\": {\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"type\": \"object\"\n },\n \"employmentType\": {\n \"type\": \"string\"\n },\n \"entityId\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"externalCode\": {\n \"type\": \"string\"\n },\n \"firstName\": {\n \"type\": \"string\"\n },\n \"gender\": {\n \"type\": \"string\"\n },\n \"identityDocuments\": {\n \"items\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"lastLogin\": {\n \"type\": \"string\"\n },\n \"lastName\": {\n \"type\": \"string\"\n },\n \"mailing\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"maritalStatus\": {\n \"type\": \"string\"\n },\n \"mdSubscriberStatus\": {\n \"type\": \"string\"\n },\n \"middleInitial\": {\n \"type\": \"string\"\n },\n \"middleName\": {\n \"type\": \"string\"\n },\n \"motersMaidenName\": {\n \"type\": \"string\"\n },\n \"numberOfDependents\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"passwordDate\": {\n \"type\": \"string\"\n },\n \"phones\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"residence\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"salutation\": {\n \"type\": \"string\"\n },\n \"securityDevice\": {\n \"type\": \"string\"\n },\n \"stateOfLegalResidence\": {\n \"type\": \"string\"\n },\n \"subscribedServices\": {\n \"items\": {\n \"additionalProperties\": {\n \"type\": \"object\"\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"suffix\": {\n \"type\": \"string\"\n },\n \"taxTreatyDetails\": {\n \"items\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"userStatus\": {\n \"type\": \"string\"\n },\n \"userStatusTrading\": {\n \"type\": \"string\"\n },\n \"username\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AssociationTypeEntities\": {\n \"properties\": {\n \"individual\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AssociatedIndividual\"\n },\n \"type\": \"array\"\n },\n \"legalEntity\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/LegalEntity\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"AsynchronousInstructionResponse\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionResponse\"\n }\n ]\n },\n \"AsynchronousInstructionSetResponse\": {\n \"properties\": {\n \"instructionResults\": {\n \"items\": {\n \"properties\": {\n \"instructionResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionResult\"\n }\n ]\n },\n \"instructionSetId\": {\n \"example\": 9094,\n \"type\": \"number\"\n },\n \"status\": {\n \"example\": 202,\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"instructionResult\",\n \"instructionSetId\",\n \"status\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"instructionSetId\": {\n \"example\": -1988905739,\n \"type\": \"number\"\n },\n \"status\": {\n \"example\": 202,\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"instructionSetId\",\n \"status\"\n ],\n \"type\": \"object\"\n },\n \"AttachedFileType\": {\n \"example\": {\n \"fileLength\": 432177,\n \"fileName\": \"Form5001.pdf\",\n \"sha1Checksum\": \"03D899BA757F617C907A1F021D7046AC1DAC8707\"\n },\n \"properties\": {\n \"fileLength\": {\n \"description\": \"Length of the PDF form\",\n \"example\": 432177,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"fileName\": {\n \"description\": \"File name of the PDF document submitted to IBKR. fileName included within the documents request must match the fileName of the PDF file that is included within the signed request. <br> • Acceptable Formats: .jpeg, .jpg, .pdf, .png <br> • Max size: 10 MB\",\n \"example\": \"Form5001.pdf\",\n \"type\": \"string\"\n },\n \"sha1Checksum\": {\n \"description\": \"SHA-1 is crypto algorithm that is used to verify that a file has been unaltered. This is done by producing a checksum before the file has been transmitted, and then once it reaches it\'s destination. \",\n \"example\": \"03D899BA757F617C907A1F021D7046AC1DAC8707\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"fileLength\",\n \"fileName\",\n \"sha1Checksum\"\n ],\n \"type\": \"object\"\n },\n \"Au10TixDetailResponse\": {\n \"properties\": {\n \"entityId\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"error\": {\n \"$ref\": \"#/components/schemas/ErrorResponse\"\n },\n \"errorDescription\": {\n \"type\": \"string\"\n },\n \"expiryDate\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"hasError\": {\n \"type\": \"boolean\"\n },\n \"startDate\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"state\": {\n \"type\": \"string\"\n },\n \"url\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AuthorizationCode\": {\n \"properties\": {\n \"code\": {\n \"type\": \"string\"\n },\n \"hash\": {\n \"type\": \"string\"\n },\n \"hash_algorithm\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AutomatedWrapFeeDetailsType\": {\n \"properties\": {\n \"annualBlendedPercentages\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AnnualBlendedPercentage\"\n },\n \"type\": \"array\"\n },\n \"maxFee\": {\n \"type\": \"number\"\n },\n \"navRanges\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/NAVRangeType\"\n },\n \"type\": \"array\"\n },\n \"numContracts\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"perTradeMarkups\": {\n \"$ref\": \"#/components/schemas/CommissionScheduleType\"\n },\n \"percentOfNLVCap\": {\n \"type\": \"string\"\n },\n \"percentOfNLVCapQ\": {\n \"type\": \"string\"\n },\n \"postFrequency\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"enum\": [\n \"ANNUALFLATFEE\",\n \"ANNUALFLATFEE_MONTHLY\",\n \"ANNUALFLATFEE_QUATERLY\",\n \"PERCENTOFEQUITY\",\n \"PERCENTOFEQUITY_MONTHLY\",\n \"PERCENTOFEQUITY_EOM\",\n \"PERCENTOFEQUITY_QUATERLY\",\n \"PERCENTOFEQUITY_QUARTERLY\",\n \"PERCENTOFEQUITY_EOQ\",\n \"BLENDEDPERCENTOFEQUITY\",\n \"BLENDEDPERCENTOFEQUITY_MONTHLY\",\n \"BLENDEDPERCENTOFEQUITY_EOM\",\n \"BLENDEDPERCENTOFEQUITY_QUARTERLY\",\n \"BLENDEDPERCENTOFEQUITY_EOQ\",\n \"INVOICE_LIMIT\",\n \"INVOICE_LIMIT_Q\",\n \"PERCENTOFPROFIT\",\n \"PERCENTOFPROFIT_QUARTER\",\n \"PERTRADE\",\n \"PERCENTOFNLV_CAP\",\n \"PERCENTOFNLV_CAP_EOPEQTY\",\n \"PERCENTOFNLV_CAP_Q\",\n \"PERCENTOFNLV_CAP_EOPEQTY_Q\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"AvailableStatementDatesData\": {\n \"properties\": {\n \"dataType\": {\n \"example\": \"String\",\n \"type\": \"string\"\n },\n \"value\": {\n \"properties\": {\n \"annual\": {\n \"description\": \"annual available reports\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"daily\": {\n \"properties\": {\n \"endDate\": {\n \"description\": \"daily report end date\",\n \"type\": \"string\"\n },\n \"startDate\": {\n \"description\": \"daily report start date\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"monthly\": {\n \"description\": \"monthly available reports\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"AvailableTaxFormsData\": {\n \"properties\": {\n \"dataType\": {\n \"example\": \"String\",\n \"type\": \"string\"\n },\n \"value\": {\n \"properties\": {\n \"forms\": {\n \"description\": \"available tax forms\",\n \"items\": {\n \"$ref\": \"#/components/schemas/TaxFormType\",\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"Base64UrlString\": {\n \"properties\": {\n \"empty\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"BulkMultiStatusResponse\": {\n \"properties\": {\n \"instructionResults\": {\n \"type\": \"array\"\n },\n \"instructionSetId\": {\n \"example\": -1988905739,\n \"type\": \"number\"\n },\n \"status\": {\n \"example\": 207,\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"instructionSetId\",\n \"status\"\n ],\n \"type\": \"object\"\n },\n \"BusinessRejectResponse\": {\n \"properties\": {\n \"instructionResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionErrorResult\"\n }\n ]\n },\n \"instructionSetId\": {\n \"example\": 8389943,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"status\": {\n \"example\": 422,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"title\": {\n \"example\": \"Business Error\",\n \"type\": \"string\"\n },\n \"type\": {\n \"example\": \"/simple\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"instructionSetId\",\n \"status\",\n \"title\",\n \"type\"\n ]\n },\n \"CSVResponse\": {\n \"properties\": {\n \"message\": {\n \"description\": \"Result message: \'OK\' or error description\",\n \"example\": \"OK\",\n \"type\": \"string\"\n },\n \"requestId\": {\n \"description\": \"Request ID echo\",\n \"example\": 127,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"success\": {\n \"description\": \"Operation success status\",\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"message\",\n \"requestId\",\n \"success\"\n ],\n \"type\": \"object\"\n },\n \"CancelInstruction\": {\n \"maxProperties\": 3,\n \"minProperties\": 3,\n \"properties\": {\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"instructionId\": {\n \"example\": 43085477,\n \"type\": \"number\"\n },\n \"reason\": {\n \"example\": \"Testing\",\n \"maxLength\": 256,\n \"minLength\": 1,\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"clientInstructionId\",\n \"instructionId\",\n \"reason\"\n ],\n \"type\": \"object\"\n },\n \"ChangeAccountHolderDetail\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"documents\": {\n \"$ref\": \"#/components/schemas/DocumentSubmission\"\n },\n \"inputLanguage\": {\n \"enum\": [\n \"en\",\n \"zh-Hans\",\n \"ja\",\n \"ru\",\n \"fr\",\n \"pt\",\n \"es\",\n \"it\",\n \"ar-AE\",\n \"de\",\n \"he-IL\",\n \"hu\"\n ],\n \"type\": \"string\"\n },\n \"newAccountHolderDetails\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AssociatedIndividual\"\n },\n \"type\": \"array\"\n },\n \"referenceUserName\": {\n \"type\": \"string\"\n },\n \"translation\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"ChangeBaseCurrency\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"newBaseCurrency\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"ChangeFinancialInformation\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"newFinancialInformation\": {\n \"$ref\": \"#/components/schemas/FinancialInformation\"\n },\n \"referenceUserName\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"ChangeMarginType\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"documentSubmission\": {\n \"$ref\": \"#/components/schemas/DocumentSubmission\"\n },\n \"newMargin\": {\n \"type\": \"string\"\n },\n \"operation\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"CheckDetails\": {\n \"properties\": {\n \"accountNumber\": {\n \"type\": \"string\"\n },\n \"checkNumber\": {\n \"type\": \"string\"\n },\n \"routingNumber\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"ClientConfiguration\": {\n \"properties\": {\n \"accountSelectionMode\": {\n \"enum\": [\n \"SINGLE\",\n \"MULTIPLE\"\n ],\n \"type\": \"string\"\n },\n \"allowedIps\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"rateLimitConfigs\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RateLimitConfig\"\n },\n \"type\": \"array\"\n },\n \"tokenRevocationEnabled\": {\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"accountSelectionMode\",\n \"allowedIps\",\n \"rateLimitConfigs\",\n \"tokenRevocationEnabled\"\n ],\n \"type\": \"object\"\n },\n \"ClientPublicKeySet\": {\n \"properties\": {\n \"keys\": {\n \"description\": \"Array of JSON Web Keys\",\n \"items\": {\n \"discriminator\": {\n \"propertyName\": \"kty\"\n },\n \"oneOf\": [\n {\n \"allOf\": [\n {\n \"properties\": {\n \"alg\": {\n \"description\": \"Algorithm\",\n \"type\": \"string\"\n },\n \"kid\": {\n \"description\": \"Key ID\",\n \"type\": \"string\"\n },\n \"kty\": {\n \"description\": \"Key type\",\n \"enum\": [\n \"RSA\",\n \"EC\",\n \"oct\"\n ],\n \"type\": \"string\"\n },\n \"use\": {\n \"description\": \"Public key use\",\n \"enum\": [\n \"sig\",\n \"enc\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n ],\n \"properties\": {\n \"e\": {\n \"description\": \"RSA exponent\",\n \"type\": \"string\"\n },\n \"n\": {\n \"description\": \"RSA modulus\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n {\n \"allOf\": [\n {\n \"properties\": {\n \"alg\": {\n \"description\": \"Algorithm\",\n \"type\": \"string\"\n },\n \"kid\": {\n \"description\": \"Key ID\",\n \"type\": \"string\"\n },\n \"kty\": {\n \"description\": \"Key type\",\n \"enum\": [\n \"RSA\",\n \"EC\",\n \"oct\"\n ],\n \"type\": \"string\"\n },\n \"use\": {\n \"description\": \"Public key use\",\n \"enum\": [\n \"sig\",\n \"enc\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n ],\n \"properties\": {\n \"crv\": {\n \"description\": \"Elliptic curve\",\n \"type\": \"string\"\n },\n \"x\": {\n \"description\": \"X coordinate\",\n \"type\": \"string\"\n },\n \"y\": {\n \"description\": \"Y coordinate\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n {\n \"allOf\": [\n {\n \"properties\": {\n \"alg\": {\n \"description\": \"Algorithm\",\n \"type\": \"string\"\n },\n \"kid\": {\n \"description\": \"Key ID\",\n \"type\": \"string\"\n },\n \"kty\": {\n \"description\": \"Key type\",\n \"enum\": [\n \"RSA\",\n \"EC\",\n \"oct\"\n ],\n \"type\": \"string\"\n },\n \"use\": {\n \"description\": \"Public key use\",\n \"enum\": [\n \"sig\",\n \"enc\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n ],\n \"properties\": {\n \"k\": {\n \"description\": \"Key value\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"CommissionConfig\": {\n \"properties\": {\n \"style\": {\n \"enum\": [\n \"Bundled\",\n \"Unbundled\"\n ],\n \"type\": \"string\"\n },\n \"type\": {\n \"enum\": [\n \"Commodities\",\n \"Securities\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"CommissionMarkupType\": {\n \"properties\": {\n \"amount\": {\n \"type\": \"number\"\n },\n \"code\": {\n \"type\": \"string\"\n },\n \"maximum\": {\n \"type\": \"number\"\n },\n \"minimum\": {\n \"type\": \"number\"\n },\n \"plusCost\": {\n \"type\": \"boolean\"\n },\n \"stairs\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/MarkupStaircaseType\"\n },\n \"type\": \"array\"\n },\n \"ticketCharge\": {\n \"type\": \"number\"\n },\n \"type\": {\n \"enum\": [\n \"FA\",\n \"FM\",\n \"PM\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"CommissionScheduleType\": {\n \"properties\": {\n \"markups\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/CommissionMarkupType\"\n },\n \"type\": \"array\"\n },\n \"pricingStructure\": {\n \"enum\": [\n \"FIXED\",\n \"TIERED\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"CompleteLoginMessage\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"loginMessageIds\": {\n \"items\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"ComplexAssetTransferInstruction\": {\n \"maxProperties\": 8,\n \"minProperties\": 6,\n \"properties\": {\n \"accountId\": {\n \"example\": \"U46377\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"accountIdAtCurrentBroker\": {\n \"example\": \"7NXXXX0\",\n \"maxLength\": 64,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"contraBrokerInfo\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/ContraBrokerInfo\"\n }\n ]\n },\n \"direction\": {\n \"enum\": [\n \"IN\",\n \"OUT\"\n ],\n \"example\": \"IN\",\n \"type\": \"string\"\n },\n \"nonDisclosedDetail\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/NonDisclosedDetail\"\n }\n ]\n },\n \"quantity\": {\n \"example\": 1000,\n \"type\": \"number\"\n },\n \"tradingInstrument\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/TradingInstrument\"\n }\n ]\n }\n },\n \"required\": [\n \"accountId\",\n \"clientInstructionId\",\n \"contraBrokerInfo\",\n \"direction\",\n \"quantity\",\n \"tradingInstrument\"\n ],\n \"type\": \"object\"\n },\n \"ComplexAssetTransferPollingResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/PollingInstructionResult\"\n },\n {\n \"properties\": {\n \"clearingState\": {\n \"type\": \"string\"\n },\n \"consolidatedComplexAssetTransferReport\": {\n \"items\": {\n \"properties\": {\n \"assetType\": {\n \"type\": \"string\"\n },\n \"contractId\": {\n \"example\": 1,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"isin\": {\n \"type\": \"string\"\n },\n \"quantity\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"string\"\n },\n \"symbol\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"clearingState\"\n ],\n \"type\": \"object\"\n }\n ]\n },\n \"Consent\": {\n \"properties\": {\n \"account_id\": {\n \"type\": \"string\"\n },\n \"client_id\": {\n \"type\": \"string\"\n },\n \"consent_id\": {\n \"type\": \"string\"\n },\n \"consent_status\": {\n \"enum\": [\n \"GRANTED\",\n \"REVOKED\",\n \"ROTATED\"\n ],\n \"type\": \"string\"\n },\n \"consented_at\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"consented_scopes\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\",\n \"uniqueItems\": true\n },\n \"user_id\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"ContraBrokerInfo\": {\n \"maxProperties\": 9,\n \"minProperties\": 7,\n \"properties\": {\n \"accountTitle\": {\n \"example\": \"Equatex U.S. Inc. For the Benefit of the Plan Participants of UBS AG\",\n \"maxLength\": 128,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"accountType\": {\n \"example\": \"ORG\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"brokerAccountId\": {\n \"example\": \"as3456567678578N\",\n \"maxLength\": 64,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"brokerName\": {\n \"example\": \"JP MORGAN\",\n \"maxLength\": 128,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"contactEmail\": {\n \"example\": \"a@gmail.com\",\n \"maxLength\": 64,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"contactName\": {\n \"example\": \"as\",\n \"maxLength\": 64,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"contactPhone\": {\n \"example\": \"2039126155\",\n \"maxLength\": 16,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"country\": {\n \"example\": \"United States\",\n \"maxLength\": 64,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"depositoryId\": {\n \"example\": \"1234\",\n \"maxLength\": 64,\n \"minLength\": 1,\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accountType\",\n \"brokerAccountId\",\n \"brokerName\",\n \"contactEmail\",\n \"contactPhone\",\n \"country\",\n \"depositoryId\"\n ],\n \"type\": \"object\"\n },\n \"CounterpartyPermission\": {\n \"properties\": {\n \"instruction_type_name\": {\n \"type\": \"string\"\n },\n \"permission_name\": {\n \"type\": \"string\"\n },\n \"permission_status\": {\n \"enum\": [\n \"ACTIVE\",\n \"INACTIVE\",\n \"DISABLED\",\n \"UNKNOWN\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"permission_name\"\n ],\n \"type\": \"object\"\n },\n \"CreateBrowserSessionRequest\": {\n \"properties\": {\n \"credential\": {\n \"example\": \"ddowney2\",\n \"type\": \"string\"\n },\n \"ip\": {\n \"example\": \"10.10.10.10\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"credential\",\n \"ip\"\n ],\n \"type\": \"object\"\n },\n \"CreateBrowserSessionResponse\": {\n \"properties\": {\n \"active\": {\n \"type\": \"boolean\"\n },\n \"url\": {\n \"example\": \"https://www.interactivebrokers.com/sso/...\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"access_token\"\n ],\n \"type\": \"object\"\n },\n \"CreateSessionRequest\": {\n \"properties\": {\n \"alternativeIps\": {\n \"example\": [\n \"10.10.10.11\",\n \"10.10.10.12\"\n ],\n \"items\": {\n \"example\": \"10.10.10.11\",\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"credential\": {\n \"example\": \"ddowney2\",\n \"type\": \"string\"\n },\n \"ip\": {\n \"example\": \"10.10.10.10\",\n \"type\": \"string\"\n },\n \"service\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"credential\",\n \"ip\"\n ],\n \"type\": \"object\"\n },\n \"CreateSessionResponse\": {\n \"properties\": {\n \"access_token\": {\n \"example\": \"eyJ0eXAiOiJKV1...\",\n \"type\": \"string\"\n },\n \"active\": {\n \"type\": \"boolean\"\n },\n \"token_type\": {\n \"example\": \"Bearer\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"access_token\"\n ],\n \"type\": \"object\"\n },\n \"CreateUser\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"authorizedTrader\": {\n \"type\": \"boolean\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"prefix\": {\n \"type\": \"string\"\n },\n \"userName\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"CustodianType\": {\n \"properties\": {\n \"employee\": {\n \"$ref\": \"#/components/schemas/Individual\"\n },\n \"individual\": {\n \"$ref\": \"#/components/schemas/Individual\"\n },\n \"legalEntity\": {\n \"$ref\": \"#/components/schemas/LegalEntity\"\n }\n },\n \"type\": \"object\"\n },\n \"Customer\": {\n \"properties\": {\n \"accountHolder\": {\n \"$ref\": \"#/components/schemas/IndividualApplicant\"\n },\n \"directTradingAccess\": {\n \"type\": \"boolean\"\n },\n \"email\": {\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"governingState\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"independentAccount\": {\n \"type\": \"boolean\"\n },\n \"jointHolders\": {\n \"$ref\": \"#/components/schemas/JointApplicant\"\n },\n \"legalResidenceCountry\": {\n \"type\": \"string\"\n },\n \"mdStatusNonPro\": {\n \"type\": \"boolean\"\n },\n \"meetAmlStandard\": {\n \"type\": \"string\"\n },\n \"meetsAmlStandard\": {\n \"type\": \"string\"\n },\n \"optForDebitCard\": {\n \"type\": \"boolean\"\n },\n \"organization\": {\n \"$ref\": \"#/components/schemas/OrganizationApplicant\"\n },\n \"originCountry\": {\n \"type\": \"string\"\n },\n \"paperAccount\": {\n \"type\": \"boolean\"\n },\n \"preferredPrimaryLanguage\": {\n \"type\": \"string\"\n },\n \"preferredSecondaryLanguage\": {\n \"type\": \"string\"\n },\n \"prefix\": {\n \"type\": \"string\"\n },\n \"roboFaClient\": {\n \"type\": \"boolean\"\n },\n \"taxTreatyCountry\": {\n \"type\": \"string\"\n },\n \"terminationAge\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"transferUsMicroCapStock\": {\n \"type\": \"boolean\"\n },\n \"trust\": {\n \"$ref\": \"#/components/schemas/TrustApplicant\"\n },\n \"type\": {\n \"enum\": [\n \"INDIVIDUAL\",\n \"JOINT\",\n \"TRUST\",\n \"UGMA\",\n \"UTMA\",\n \"ORG\",\n \"IRA\"\n ],\n \"type\": \"string\"\n },\n \"userName\": {\n \"type\": \"string\"\n },\n \"userNameAlias\": {\n \"type\": \"string\"\n },\n \"userNameSource\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"DVPInstruction\": {\n \"properties\": {\n \"accountID\": {\n \"type\": \"string\"\n },\n \"accountName\": {\n \"type\": \"string\"\n },\n \"agentID\": {\n \"type\": \"string\"\n },\n \"agentName\": {\n \"type\": \"string\"\n },\n \"assetClass\": {\n \"enum\": [\n \"BILL\",\n \"BOND\",\n \"CASH\",\n \"CFD\",\n \"COMB\",\n \"FOP\",\n \"FUND\",\n \"FUT\",\n \"OPT\",\n \"SSF\",\n \"STK\",\n \"WAR\",\n \"MRGN\",\n \"CLP\"\n ],\n \"type\": \"string\"\n },\n \"brokerCode\": {\n \"type\": \"string\"\n },\n \"dayDoID\": {\n \"type\": \"string\"\n },\n \"default\": {\n \"type\": \"boolean\"\n },\n \"exchange\": {\n \"enum\": [\n \"NYSE\",\n \"AMEX\",\n \"NASDAQ\",\n \"CBOE\",\n \"ISE\",\n \"BOX\",\n \"PHLX\",\n \"PSE\"\n ],\n \"type\": \"string\"\n },\n \"expiry\": {\n \"format\": \"date\",\n \"type\": \"string\"\n },\n \"externalAccountID\": {\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"firmID\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"prepayCommission\": {\n \"type\": \"boolean\"\n },\n \"prepayTax\": {\n \"type\": \"boolean\"\n },\n \"role\": {\n \"enum\": [\n \"E\",\n \"C\",\n \"B\"\n ],\n \"type\": \"string\"\n },\n \"txGroupCode\": {\n \"enum\": [\n \"G\",\n \"Z\",\n \"R\",\n \"N\"\n ],\n \"type\": \"string\"\n },\n \"type\": {\n \"enum\": [\n \"DTCID\",\n \"NSCC\",\n \"CMTA\",\n \"GUS\",\n \"OCCSSF\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"DayQuantityLimit\": {\n \"properties\": {\n \"asset\": {\n \"enum\": [\n \"BILL\",\n \"BOND\",\n \"CASH\",\n \"CFD\",\n \"COMB\",\n \"FOP\",\n \"FUND\",\n \"FUT\",\n \"OPT\",\n \"SSF\",\n \"STK\",\n \"WAR\",\n \"MRGN\",\n \"CLP\"\n ],\n \"type\": \"string\"\n },\n \"quantity\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"DeleteBankInstruction\": {\n \"maxProperties\": 5,\n \"minProperties\": 5,\n \"properties\": {\n \"accountId\": {\n \"example\": \"U399192\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"bankInstructionMethod\": {\n \"enum\": [\n \"WIRE\",\n \"ACH\"\n ],\n \"example\": \"WIRE\",\n \"type\": \"string\"\n },\n \"bankInstructionName\": {\n \"example\": \"Test-instruction\",\n \"maxLength\": 150,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"currency\": {\n \"example\": \"USD\",\n \"maxLength\": 3,\n \"minLength\": 1,\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accountId\",\n \"bankInstructionMethod\",\n \"bankInstructionName\",\n \"clientInstructionId\",\n \"currency\"\n ],\n \"type\": \"object\"\n },\n \"DeleteEntity\": {\n \"properties\": {\n \"ibEntityId\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"DeleteRelationship\": {\n \"properties\": {\n \"name\": {\n \"enum\": [\n \"Account_Holder\",\n \"Spouse\",\n \"Firstholder\",\n \"Secondholder\",\n \"Trader\",\n \"Secretary\",\n \"Treasurer\",\n \"Ceo\",\n \"Owner\",\n \"Trustee\",\n \"Beneficiary\",\n \"Grantor\",\n \"Director\",\n \"Principal\",\n \"Shareholder\",\n \"Partner\",\n \"Controlling_Officer\",\n \"Beneficialowner\",\n \"Signatory\",\n \"Comp_Officer\",\n \"Superv_Broker\",\n \"Pooled_User\",\n \"Financial_User\",\n \"Contingent\",\n \"Ira_Beneficiary\",\n \"Employee\",\n \"Non_Employee\",\n \"Fund_Admin\",\n \"Fund_Contact\",\n \"Firm_Admin\",\n \"Firm_Billing\",\n \"Firm_Clearing\",\n \"Firm_Sales\",\n \"Firm_Trading\",\n \"Firm_User\",\n \"Account_Admin\",\n \"Account_Billing\",\n \"Account_Clearing\",\n \"Account_Sales\",\n \"Account_Trading\",\n \"User_Individual\",\n \"Fund_Manager\",\n \"Investment_Advisor\",\n \"Shf_Investmanager\",\n \"Advisory_Principal\",\n \"Advisory_Signatory\",\n \"Associated_Fund\",\n \"Primary_Contributor\",\n \"Administrator\",\n \"Contact\",\n \"Lead_Compliance_Officer\",\n \"Compliance_Officer\",\n \"Other_Officer\",\n \"Apply_User\",\n \"Transfer_On_Death_Legator\",\n \"Tod_Primary_Beneficiary\",\n \"Tod_Contingent_Beneficiary\",\n \"Nominee\",\n \"Nominee_Guardian\",\n \"Ira_Decedent\",\n \"Authorized_Person\",\n \"Promoter\",\n \"Wholetime_Director\",\n \"Nominee_Owner\",\n \"Third_Party_Admin\",\n \"Compliance_Contact\",\n \"Trust_Controller\",\n \"Trust_Applicant\",\n \"Organization_Applicant\",\n \"Mm_Contact\",\n \"Reg_Rep\",\n \"Plan_Sponsor\",\n \"Plan_Sponsor_Officer\",\n \"Pension_Admin\",\n \"Pension_Admin_Contact\",\n \"Accountant\",\n \"Joint_Applicant\",\n \"Custodian_Employee\",\n \"Successor_Custodian\",\n \"Custodian\",\n \"Successor_Custodian_Employee\",\n \"Chief_Compliance_Officer\",\n \"Chief_Financial_Officer\",\n \"Trading_Officer\",\n \"Child\",\n \"Parent\",\n \"Sibling\",\n \"Estate\",\n \"As_Interest_May_Appear\",\n \"Ira_Present_Trust\",\n \"Other\",\n \"Life_Partner\",\n \"Common_Law_Partner\",\n \"Grandchild\",\n \"Charity\",\n \"Trust_Ira\",\n \"Successor_Holder\",\n \"Head_Of_Desk\",\n \"Cftc_Non_Applicant_Ocr_Contact\",\n \"Ocr_Account_Controller\",\n \"Cftc_Applicant_Ocr_Contact\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"DepositFundsInstruction\": {\n \"maxProperties\": 13,\n \"minProperties\": 5,\n \"properties\": {\n \"accountId\": {\n \"example\": \"U46377\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"amount\": {\n \"example\": 100,\n \"type\": \"number\"\n },\n \"bankInstructionMethod\": {\n \"enum\": [\n \"ACH\",\n \"WIRE\",\n \"eDDA\",\n \"OPEN_BANKING\"\n ],\n \"example\": \"WIRE\",\n \"type\": \"string\"\n },\n \"bankInstructionName\": {\n \"example\": \"Instruction\",\n \"maxLength\": 150,\n \"minLength\": 0,\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"currency\": {\n \"example\": \"USD\",\n \"maxLength\": 3,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"identifier\": {\n \"example\": \"identifier\",\n \"maxLength\": 64,\n \"minLength\": 0,\n \"type\": \"string\"\n },\n \"iraDepositDetail\": {\n \"properties\": {\n \"fromIraType\": {\n \"enum\": [\n \"NONE\",\n \"TRADITIONAL\",\n \"ROLLOVER\",\n \"ROTH\",\n \"SEP\",\n \"EDUCATION\",\n \"TRADITIONAL_INHERITED\",\n \"ROTH_INHERITED\",\n \"SEP_INHERITED\",\n \"RETIREMENT_SAVING_PLAN\",\n \"SPOUSAL_RETIREMENT_SAVING_PLAN\",\n \"TAX_FREE_SAVING_ACCOUNT\"\n ],\n \"example\": \"TRADITIONAL\",\n \"type\": \"string\"\n },\n \"iraContributionType\": {\n \"enum\": [\n \"ROLLOVER\",\n \"LATE_ROLLOVER\",\n \"DIRECT_ROLLOVER\",\n \"CONTRIBUTION\",\n \"SPOUSAL_CONTRIBUTION\",\n \"EMPLOYER_SEP_CONTRIBUTION\"\n ],\n \"example\": \"ROLLOVER\",\n \"type\": \"string\"\n },\n \"iraTaxYearType\": {\n \"enum\": [\n \"CURRENT\",\n \"PRIOR\"\n ],\n \"example\": \"CURRENT\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"fromIraType\",\n \"iraContributionType\",\n \"iraTaxYearType\"\n ],\n \"type\": \"object\"\n },\n \"openBanking\": {\n \"properties\": {\n \"plaidOptions\": {\n \"properties\": {\n \"completionRedirectUri\": {\n \"description\": \"This should be a URI with a custom scheme and this can be any value you\'d like, as long as it isn\'t a reserved one such as http or tel. By convention, it\'s often one associated with the name of your application.\",\n \"example\": \"wonderwallet://hosted-link-complete\",\n \"minLength\": 0,\n \"type\": \"string\"\n },\n \"isMobileApp\": {\n \"type\": \"boolean\"\n },\n \"linkDisplayName\": {\n \"description\": \"Client Name displayed on Plaid Link UI\",\n \"example\": \"WonderWallet\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"serviceProvider\": {\n \"enum\": [\n \"PLAID\"\n ],\n \"example\": \"PLAID\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"serviceProvider\"\n ],\n \"type\": \"object\"\n },\n \"recurringInstructionDetail\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/RecurringInstructionDetail\"\n }\n ]\n },\n \"senderInstitutionName\": {\n \"example\": \"Senders Institution name\",\n \"maxLength\": 128,\n \"minLength\": 0,\n \"type\": \"string\"\n },\n \"sendingInstitution\": {\n \"example\": \"Sending Institution name\",\n \"maxLength\": 128,\n \"minLength\": 0,\n \"type\": \"string\"\n },\n \"specialInstruction\": {\n \"example\": \"U46377\",\n \"maxLength\": 128,\n \"minLength\": 0,\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accountId\",\n \"amount\",\n \"bankInstructionMethod\",\n \"clientInstructionId\",\n \"currency\"\n ],\n \"type\": \"object\"\n },\n \"DepositFundsPollingResponse\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionPollingResponse\"\n },\n {\n \"properties\": {\n \"instructionResult\": {\n \"$ref\": \"#/components/schemas/DepositFundsPollingResult\"\n }\n },\n \"type\": \"object\"\n }\n ]\n },\n \"DepositFundsPollingResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/PollingInstructionResult\"\n },\n {\n \"properties\": {\n \"depositDetails\": {\n \"properties\": {\n \"amount\": {\n \"type\": \"number\"\n },\n \"currency\": {\n \"type\": \"string\"\n },\n \"openBanking\": {\n \"properties\": {\n \"providerResponse\": {\n \"type\": \"object\"\n },\n \"serviceProvider\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"whenAvailable\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n }\n ]\n },\n \"DepositNotification\": {\n \"properties\": {\n \"achDetails\": {\n \"$ref\": \"#/components/schemas/ACHDetails\"\n },\n \"amount\": {\n \"type\": \"number\"\n },\n \"checkDetails\": {\n \"$ref\": \"#/components/schemas/CheckDetails\"\n },\n \"currency\": {\n \"enum\": [\n \"USD\",\n \"EUR\",\n \"GBP\",\n \"CAD\",\n \"JPY\",\n \"HKD\",\n \"AUD\",\n \"CHF\",\n \"MXN\",\n \"SEK\",\n \"NZD\",\n \"HUF\",\n \"CZK\",\n \"CNH\",\n \"DKK\",\n \"RUB\",\n \"ILS\",\n \"NOK\",\n \"SGD\",\n \"PLN\",\n \"ZAR\",\n \"AED\",\n \"KRW\",\n \"SAR\",\n \"TRY\",\n \"RON\",\n \"BGN\"\n ],\n \"type\": \"string\"\n },\n \"ibAccount\": {\n \"type\": \"string\"\n },\n \"iraDepositDetails\": {\n \"$ref\": \"#/components/schemas/IRADepositDetails\"\n },\n \"type\": {\n \"enum\": [\n \"CHECK\",\n \"WIRE\",\n \"ACH\",\n \"SKIP_DEPOSIT\"\n ],\n \"type\": \"string\"\n },\n \"wireDetails\": {\n \"$ref\": \"#/components/schemas/WireDetails\"\n }\n },\n \"type\": \"object\"\n },\n \"Details\": {\n \"properties\": {\n \"answer\": {\n \"type\": \"string\"\n },\n \"question\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"DisableAccountInBrokerage\": {\n \"deprecated\": true,\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"Document\": {\n \"properties\": {\n \"attachedFile\": {\n \"$ref\": \"#/components/schemas/AttachedFileType\"\n },\n \"documentType\": {\n \"description\": \"Acceptable documents will vary based on the formNumber.\",\n \"enum\": [\n \"Check\",\n \"Company Ownership\",\n \"Divorce Settlement\",\n \"Employer Confirmation\",\n \"Entitlement to Payments\",\n \"Letter\",\n \"Ownership\",\n \"Pay Slip\",\n \"Proof of Sale\",\n \"Proof of Winnings\",\n \"Severance\",\n \"Tax Return\",\n \"Will\",\n \"Bank Statement\",\n \"Brokerage Statement\",\n \"Current Lease\",\n \"Financial Statement\",\n \"Certificate of Incorporation/Formation\",\n \"Certificate of Registratios\",\n \"Company Charter\",\n \"Certificate of Good Standing\",\n \"Government-issued Business License\",\n \"Corporate Charter\",\n \"Articles of Incorporation\",\n \"Bank Passbook/Statement\",\n \"Certified Proof of Identity\",\n \"Certified Proof of Address\",\n \"Income Tax Return\",\n \"Additional Proof of Identity Document\",\n \"Proof of Principal Place of Business and Registration\",\n \"Utility Bill\",\n \"Evidence of Ownership of Property\",\n \"Authorization to Open Account - Evidence\",\n \"Authorization to Open Account - Certification\",\n \"Italian Health Card (Tessera Sanitaria)\",\n \"CRS card of Lombardy\",\n \"Italian Electronic ID Card - CIE\",\n \"Court- or Govt-issued document\",\n \"Copy of Passport, National Id or Driver\'s License\",\n \"Passport\",\n \"National ID\"\n ],\n \"example\": \"Brokerage Statement\",\n \"type\": \"string\"\n },\n \"execLoginTimestamp\": {\n \"description\": \"Login timestamp for the session (when the client logged in and acknowledged the agreement).\",\n \"example\": -1186971863,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"execTimestamp\": {\n \"description\": \"Timestamp of the execution of the agreement by the customer (i.e. the time that the client signed the agreement).\",\n \"example\": -1186971863,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"expirationDate\": {\n \"description\": \"Expiration date of the ID Document.\",\n \"format\": \"date\",\n \"type\": \"string\"\n },\n \"externalAccountId\": {\n \"type\": \"string\"\n },\n \"externalIndividualId\": {\n \"description\": \"Identifier at the external entity for the individual executing the agreement. Must be an individual listed on the application. Ignored for INDIVIDUAL applications as the agreements must be executed by the Account Holder. Required for JOINT accounts created via ECA for POI and POA submission. For the JOINT holder created via ECA, external id of the account holder needs to be provided for which POI/POA is being submitted.\",\n \"example\": \"Test_22\",\n \"type\": \"string\"\n },\n \"formNumber\": {\n \"description\": \"Form number of the pendingTask OR Document submitted.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"payload\": {\n \"$ref\": \"#/components/schemas/FilePayload\"\n },\n \"proofOfAddressType\": {\n \"description\": \"Description of document submitted to satisfy Proof of Address.\",\n \"enum\": [\n \"Driver License\",\n \"Bank Statement\",\n \"Brokerage Statement\",\n \"Homeowner Insurance Policy Bill\",\n \"Homeowner Insurance Policy Document\",\n \"Renter Insurance Policy bill\",\n \"Renter Insurance Policy Document\",\n \"Security System Bill\",\n \"Government Issued Letters\",\n \"Utility Bill\",\n \"Current Lease\",\n \"Evidence of Ownership of Property\",\n \"Other Document\"\n ],\n \"example\": \"Bank Statement\",\n \"type\": \"string\"\n },\n \"proofOfIdentityType\": {\n \"description\": \"Description of document submitted to satisfy Proof of Identity.\",\n \"enum\": [\n \"Driver License\",\n \"Passport\",\n \"Alien ID Card\",\n \"National ID Card\",\n \"Bank Statement\",\n \"Evidence of Ownership of Property\",\n \"Credit Card Statement\",\n \"Utility Bill\",\n \"Brokerage Statement\",\n \"T4 Statement\",\n \"CRA Assessment\",\n \"Hong Kong and Macao Entry Permit\"\n ],\n \"example\": \"Driver License\",\n \"type\": \"string\"\n },\n \"signature\": {\n \"type\": \"string\"\n },\n \"signedBy\": {\n \"description\": \"signedBy must match the submitted: name (first + middle initial (if applicable) + last).<br/>*Data is case and space sensitive.<br/>Object is required if submitting documents for the following endpoints: <br/><ul><li>Client Registration: [POST]: https://api.ibkr.com/gw/api/v1/accounts</li><li>Updating Account Information: [PATCH] https://api.ibkr.com/gw/api/v1/account</li></ul>\",\n \"example\": \"Jane L Doe\",\n \"items\": {\n \"description\": \"signedBy must match the submitted: name (first + middle initial (if applicable) + last).<br/>*Data is case and space sensitive.<br/>Object is required if submitting documents for the following endpoints: <br/><ul><li>Client Registration: [POST]: https://api.ibkr.com/gw/api/v1/accounts</li><li>Updating Account Information: [PATCH] https://api.ibkr.com/gw/api/v1/account</li></ul>\",\n \"example\": \"Jane L Doe\",\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"validAddress\": {\n \"description\": \"If Driver License is provided as proofOfIdentityType AND validAddress=true, single document can be used to satisfy Proof of Identity and Proof of Address.\",\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"attachedFile\",\n \"execLoginTimestamp\",\n \"execTimestamp\",\n \"formNumber\"\n ],\n \"type\": \"object\"\n },\n \"DocumentSubmission\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"documents\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Document\"\n },\n \"type\": \"array\"\n },\n \"inputLanguage\": {\n \"enum\": [\n \"en\",\n \"zh-Hans\",\n \"ja\",\n \"ru\",\n \"fr\",\n \"pt\",\n \"es\",\n \"it\",\n \"ar-AE\",\n \"de\",\n \"he-IL\",\n \"hu\"\n ],\n \"type\": \"string\"\n },\n \"translation\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"DuplicateAccount\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"numberOfDuplicates\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"DwacInstruction\": {\n \"maxProperties\": 9,\n \"properties\": {\n \"accountId\": {\n \"example\": \"U46377\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"accountTitle\": {\n \"example\": \"Title\",\n \"maxLength\": 140,\n \"minLength\": 0,\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"contraBrokerAccountId\": {\n \"example\": \"12345678A\",\n \"maxLength\": 20,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"contraBrokerTaxId\": {\n \"example\": \"123456789\",\n \"maxLength\": 25,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"direction\": {\n \"enum\": [\n \"IN\"\n ],\n \"example\": \"IN\",\n \"type\": \"string\"\n },\n \"quantity\": {\n \"example\": 1000,\n \"type\": \"number\"\n },\n \"referenceId\": {\n \"example\": \"refId\",\n \"maxLength\": 20,\n \"minLength\": 0,\n \"type\": \"string\"\n },\n \"tradingInstrument\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/TradingInstrument\"\n }\n ]\n }\n },\n \"required\": [\n \"accountId\",\n \"clientInstructionId\",\n \"contraBrokerAccountId\",\n \"contraBrokerTaxId\",\n \"direction\",\n \"quantity\",\n \"tradingInstrument\"\n ],\n \"type\": \"object\"\n },\n \"EFPQuantityLimits\": {\n \"properties\": {\n \"maxGrossEfpTrades\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"maxNetEfpTrades\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"maxNominalEfpPerOrder\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"EchoResponse\": {\n \"properties\": {\n \"queryParameters\": {\n \"example\": {},\n \"type\": \"object\"\n },\n \"requestMethod\": {\n \"enum\": [\n \"GET\",\n \"POST\",\n \"PATCH\",\n \"PUT\"\n ],\n \"example\": \"GET\",\n \"type\": \"string\"\n },\n \"securityPolicy\": {\n \"enum\": [\n \"HTTPS\",\n \"SIGNED_JWT\",\n \"ENCRYPTED_JWE\"\n ],\n \"example\": \"HTTPS\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"requestMethod\",\n \"securityPolicy\"\n ],\n \"type\": \"object\"\n },\n \"EddaInstruction\": {\n \"maxProperties\": 8,\n \"minProperties\": 8,\n \"properties\": {\n \"accountId\": {\n \"example\": \"U2323232\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"bankAccountNumber\": {\n \"example\": \"132456\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"bankBranchCode\": {\n \"example\": \"003\",\n \"maxLength\": 3,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"bankClearingCode\": {\n \"example\": \"003\",\n \"maxLength\": 3,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"bankInstructionName\": {\n \"example\": \"Instruction Name\",\n \"maxLength\": 100,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"currency\": {\n \"example\": \"CNH\",\n \"maxLength\": 3,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"debtorIdentificationDocumentType\": {\n \"enum\": [\n \"hkId\",\n \"passport\",\n \"chinaId\",\n \"hkMacaoEntryPermit\"\n ],\n \"example\": \"hkId\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accountId\",\n \"bankAccountNumber\",\n \"bankBranchCode\",\n \"bankClearingCode\",\n \"bankInstructionName\",\n \"clientInstructionId\",\n \"currency\",\n \"debtorIdentificationDocumentType\"\n ],\n \"type\": \"object\"\n },\n \"EligibleContractParticipant\": {\n \"properties\": {\n \"eligibleContractParticipantDetails\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/EligibleContractParticipantDetails\"\n },\n \"type\": \"array\"\n },\n \"status\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"EligibleContractParticipantDetails\": {\n \"properties\": {\n \"code\": {\n \"enum\": [\n \"DiscretionaryBasis\",\n \"HighRisk\"\n ],\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"EmploymentDetails\": {\n \"properties\": {\n \"businessDescription\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"emplCountryResCountryDetails\": {\n \"type\": \"string\"\n },\n \"employer\": {\n \"type\": \"string\"\n },\n \"employerAddress\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"employerBusiness\": {\n \"type\": \"string\"\n },\n \"employerPhone\": {\n \"type\": \"string\"\n },\n \"occupation\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"EnableAccountInBrokerage\": {\n \"deprecated\": true,\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"EnrollInDRIP\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"EnrollInSYEP\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"documents\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Document\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"EntityIRABene\": {\n \"properties\": {\n \"articleOfWill\": {\n \"type\": \"string\"\n },\n \"entityType\": {\n \"type\": \"string\"\n },\n \"location\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"EnumerationResponse\": {\n \"properties\": {\n \"enumerationsType\": {\n \"type\": \"string\"\n },\n \"formNumber\": {\n \"type\": \"string\"\n },\n \"jsonData\": {\n \"$ref\": \"#/components/schemas/ArrayNode\"\n }\n },\n \"type\": \"object\"\n },\n \"EnumerationType\": {\n \"description\": \"<ul><li>exchange-bundles - query most up to date list of exchange-bundles for tradingPermissions</li><li>business-and-occupation - list of occupation and employerBusiness for employmentDetails</li><li>employee-track - query most up to date companyId for account. For affiliation details, if company has an existing IBKR Employee Track account</li><li>fin-info-ranges - query most up to date range IDs by currency for annualNetIncome, netWorth, liquidNetWorth</li><li>acats - query most up to date values for brokerId and brokerName. Used if funding via US ACATS extPositionsTransfers</li><li>aton - query most up to date values for brokerId and brokerName. Used if funding via US ACATS extPositionsTransfers</li><li>market-data - query most up to date values for brokerId and brokerName. Used if funding via ATON Canada extPositionsTransfers</li><li>edd-avt - query questions associated with EDD (Enhanced Due Diligence) or AVT (Additional Verification) tasks assigned to an account</li><li>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</li><li>employee-plans - view EPA that are linked to master account (applicable IF offering SEP IRA accounts)</li><li>questionnaires - obtain list of questionnaires</li><li>security-questions - obtain list of questions supported for IBKR security questions</li><li>quiz-questions - obtain list of questions associated with IBKR knowledge assessment</li><li>wire-instructions - obtain list of wire instructions</li><li>product-country-bundles - obtain list of product country bundles</li></ul>\",\n \"enum\": [\n \"exchange-bundles\",\n \"business-and-occupation\",\n \"employee-track\",\n \"fin-info-ranges\",\n \"acats\",\n \"aton\",\n \"market-data\",\n \"edd-avt\",\n \"prohibited-country\",\n \"employee-plans\",\n \"questionnaires\",\n \"security-questions\",\n \"quiz-questions\",\n \"wire-instructions\",\n \"product-country-bundles\"\n ],\n \"type\": \"string\"\n },\n \"ErrorResponse\": {\n \"properties\": {\n \"error\": {\n \"$ref\": \"#/components/schemas/ErrorResponse\"\n },\n \"errorDescription\": {\n \"type\": \"string\"\n },\n \"hasError\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"ExchangeAccess\": {\n \"properties\": {\n \"assetClass\": {\n \"enum\": [\n \"BILL\",\n \"BOND\",\n \"CASH\",\n \"CFD\",\n \"COMB\",\n \"FOP\",\n \"FUND\",\n \"FUT\",\n \"OPT\",\n \"SSF\",\n \"STK\",\n \"WAR\",\n \"MRGN\",\n \"CLP\"\n ],\n \"type\": \"string\"\n },\n \"exchange\": {\n \"enum\": [\n \"NYSE\",\n \"AMEX\",\n \"NASDAQ\",\n \"CBOE\",\n \"ISE\",\n \"BOX\",\n \"PHLX\",\n \"PSE\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"ExtPositionsTransferType\": {\n \"properties\": {\n \"accountAtBroker\": {\n \"type\": \"string\"\n },\n \"approximateAccountValue\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"authorizeToRemoveFund\": {\n \"type\": \"boolean\"\n },\n \"brokerId\": {\n \"type\": \"string\"\n },\n \"brokerName\": {\n \"type\": \"string\"\n },\n \"ein\": {\n \"type\": \"string\"\n },\n \"ibAccount\": {\n \"type\": \"string\"\n },\n \"marginLoan\": {\n \"type\": \"boolean\"\n },\n \"optionPos\": {\n \"type\": \"boolean\"\n },\n \"partialBondPositions\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PartialBondPosition\"\n },\n \"type\": \"array\"\n },\n \"partialCashPositions\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PartialCashPosition\"\n },\n \"type\": \"array\"\n },\n \"partialFundPositions\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PartialFundPosition\"\n },\n \"type\": \"array\"\n },\n \"partialOptionPositions\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PartialOptionPosition\"\n },\n \"type\": \"array\"\n },\n \"partialStockPositions\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PartialStockPosition\"\n },\n \"type\": \"array\"\n },\n \"partialWarrantPositions\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PartialWarrantPosition\"\n },\n \"type\": \"array\"\n },\n \"shortPos\": {\n \"type\": \"boolean\"\n },\n \"signature\": {\n \"type\": \"string\"\n },\n \"srcIRAType\": {\n \"enum\": [\n \"RI\",\n \"RO\",\n \"RT\",\n \"SP\",\n \"ED\",\n \"TH\",\n \"RH\",\n \"SH\",\n \"RRSP\",\n \"SRRSP\",\n \"TFSA\",\n \"SIMPLE\",\n \"ISA\",\n \"JISA\"\n ],\n \"type\": \"string\"\n },\n \"ssn\": {\n \"type\": \"string\"\n },\n \"subType\": {\n \"enum\": [\n \"ACATS\",\n \"ATON\"\n ],\n \"type\": \"string\"\n },\n \"thirdPartyType\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"enum\": [\n \"FULL\",\n \"PARTIAL\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"ExternalPositionTransfer\": {\n \"maxProperties\": 9,\n \"properties\": {\n \"accountAtBroker\": {\n \"example\": \"SOL12345\",\n \"maxLength\": 34,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"accountId\": {\n \"example\": \"U2323232\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"brokerId\": {\n \"example\": \"0226\",\n \"maxLength\": 20,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"brokerName\": {\n \"example\": \"Wall Street Financial Group\",\n \"maxLength\": 256,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"signature\": {\n \"example\": \"sample signature\",\n \"maxLength\": 140,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"sourceIRAType\": {\n \"enum\": [\n \"RO\",\n \"RI\",\n \"RT\",\n \"SP\",\n \"ED\",\n \"TH\",\n \"RH\",\n \"SH\"\n ],\n \"example\": \"RO\",\n \"type\": \"string\"\n },\n \"subType\": {\n \"enum\": [\n \"ACATS\",\n \"ATON\"\n ],\n \"example\": \"ACATS\",\n \"type\": \"string\"\n },\n \"type\": {\n \"enum\": [\n \"FULL\"\n ],\n \"example\": \"FULL\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accountAtBroker\",\n \"accountId\",\n \"brokerId\",\n \"brokerName\",\n \"clientInstructionId\",\n \"signature\",\n \"subType\",\n \"type\"\n ],\n \"type\": \"object\"\n },\n \"FileData\": {\n \"properties\": {\n \"data\": {\n \"type\": \"object\"\n },\n \"name\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"FileDetailsResponse\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"requestFileName\": {\n \"type\": \"string\"\n },\n \"responseFileName\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"FilePayload\": {\n \"properties\": {\n \"data\": {\n \"description\": \"Includes document encoded in base64.\",\n \"example\": \"pm.collectionVariables.get(\'form5001\')\",\n \"type\": \"string\"\n },\n \"mimeType\": {\n \"description\": \"Format of the file.\",\n \"example\": \"application/pdf\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"data\",\n \"mimeType\"\n ],\n \"type\": \"object\"\n },\n \"FinancialInformation\": {\n \"properties\": {\n \"additionalSourcesOfIncome\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/SourceOfIncomeType\"\n },\n \"type\": \"array\"\n },\n \"annualNetIncome\": {\n \"type\": \"number\"\n },\n \"investmentExperience\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AssetExperience\"\n },\n \"type\": \"array\"\n },\n \"investmentObjectives\": {\n \"items\": {\n \"enum\": [\n \"Trading\",\n \"Growth\",\n \"Speculation\",\n \"Hedging\",\n \"Preservation\",\n \"Income\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"liquidNetWorth\": {\n \"type\": \"number\"\n },\n \"netWorth\": {\n \"type\": \"number\"\n },\n \"questionnaires\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/QuestionnaireType\"\n },\n \"type\": \"array\"\n },\n \"soiQuestionnaire\": {\n \"$ref\": \"#/components/schemas/SOIQuestionnaire\"\n },\n \"sourceOfFunds\": {\n \"type\": \"string\"\n },\n \"sourcesOfWealth\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/SourceOfWealthType\"\n },\n \"type\": \"array\"\n },\n \"totalAssets\": {\n \"type\": \"number\"\n },\n \"translated\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"FopInstruction\": {\n \"maxProperties\": 7,\n \"properties\": {\n \"accountId\": {\n \"example\": \"U46377\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"contraBrokerAccountId\": {\n \"example\": \"12345678A\",\n \"maxLength\": 20,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"contraBrokerDtcCode\": {\n \"example\": \"534\",\n \"maxLength\": 20,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"direction\": {\n \"enum\": [\n \"IN\",\n \"OUT\"\n ],\n \"example\": \"IN\",\n \"type\": \"string\"\n },\n \"quantity\": {\n \"example\": 1000,\n \"type\": \"number\"\n },\n \"tradingInstrument\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/TradingInstrument\"\n }\n ]\n }\n },\n \"required\": [\n \"accountId\",\n \"clientInstructionId\",\n \"contraBrokerAccountId\",\n \"contraBrokerDtcCode\",\n \"direction\",\n \"quantity\",\n \"tradingInstrument\"\n ],\n \"type\": \"object\"\n },\n \"ForbiddenInstructionResponse\": {\n \"properties\": {\n \"detail\": {\n \"example\": \"Input is not a JSON Object or doesn\'t contain all expected fields\",\n \"type\": \"string\"\n },\n \"instructionResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionErrorResult\"\n }\n ]\n },\n \"instructionSetId\": {\n \"example\": 8389943,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"status\": {\n \"example\": 400,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"title\": {\n \"example\": \"Bad Request\",\n \"type\": \"string\"\n },\n \"type\": {\n \"example\": \"/invalid-argument\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"detail\",\n \"instructionResult\",\n \"instructionSetId\",\n \"status\",\n \"title\",\n \"type\"\n ],\n \"type\": \"object\"\n },\n \"FormCRS\": {\n \"properties\": {\n \"controllingPersonDesignation\": {\n \"enum\": [\n \"SENIOR_MGMT_OFFICER\",\n \"BY_OWNERSHIP\",\n \"BY_OTHER_MEANS\"\n ],\n \"type\": \"string\"\n },\n \"oecdStatus\": {\n \"enum\": [\n \"DEPOSITORY_INSTITUTION\",\n \"CUSTODIAL_INSTITUTION\",\n \"SPECIFIED_INSURANCE_COMPANY\",\n \"INVESTMENT_ENTITY_IN_NONPARTICIPATING_JURISDICTION\",\n \"INVESTMENT_ENTITY_NOT_LISTED\",\n \"PUBLICLY_TRADED_CORPORATION_OR_AFFILIATE\",\n \"OTHER_ACTIVE_NON_FINANCIAL_ENTITY\",\n \"PASSIVE_NON_FINANCIAL_ENTITY\",\n \"EXEMPT_RETIREMENT_PLAN\",\n \"NON_REPORTING_FI\",\n \"OTHER_INVESTMENT_ENTITY\",\n \"FINANCIAL_INSTITUTION\",\n \"NON_REPORTING_FINANCIAL_INSTITUTION\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"FormDetails\": {\n \"properties\": {\n \"acceptableDocs\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"action\": {\n \"type\": \"string\"\n },\n \"apiSupportedTask\": {\n \"type\": \"boolean\"\n },\n \"dateModified\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"error\": {\n \"$ref\": \"#/components/schemas/ErrorResponse\"\n },\n \"errorDescription\": {\n \"type\": \"string\"\n },\n \"fileLength\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"fileName\": {\n \"type\": \"string\"\n },\n \"formName\": {\n \"type\": \"string\"\n },\n \"formNumber\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"hasError\": {\n \"type\": \"boolean\"\n },\n \"language\": {\n \"type\": \"string\"\n },\n \"payload\": {\n \"$ref\": \"#/components/schemas/FormPayload\"\n },\n \"questionnaire\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/QuestionnaireResponse\"\n },\n \"type\": \"array\"\n },\n \"sha1Checksum\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"FormFileResponse\": {\n \"properties\": {\n \"error\": {\n \"$ref\": \"#/components/schemas/ErrorResponse\"\n },\n \"errorDescription\": {\n \"type\": \"string\"\n },\n \"fileData\": {\n \"$ref\": \"#/components/schemas/FileData\"\n },\n \"formDetails\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/FormDetails\"\n },\n \"type\": \"array\"\n },\n \"hasError\": {\n \"type\": \"boolean\"\n },\n \"timestamp\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"FormPayload\": {\n \"properties\": {\n \"data\": {\n \"type\": \"string\"\n },\n \"mimeType\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"FormW8BEN\": {\n \"properties\": {\n \"blankForm\": {\n \"type\": \"boolean\"\n },\n \"cert\": {\n \"type\": \"boolean\"\n },\n \"electronicFormat\": {\n \"type\": \"boolean\"\n },\n \"explanation\": {\n \"enum\": [\n \"US_TIN\",\n \"TIN_NOT_DISCLOSED\",\n \"TIN_NOT_REQUIRED\",\n \"TIN_NOT_ISSUED\"\n ],\n \"type\": \"string\"\n },\n \"foreignTaxId\": {\n \"type\": \"string\"\n },\n \"localTaxForms\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/LocalTaxForm\"\n },\n \"type\": \"array\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"part29ACountry\": {\n \"type\": \"string\"\n },\n \"proprietaryFormNumber\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"referenceNumber\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"signatureType\": {\n \"enum\": [\n \"Electronic\",\n \"Physical\"\n ],\n \"type\": \"string\"\n },\n \"submitDate\": {\n \"type\": \"string\"\n },\n \"taxFormFile\": {\n \"type\": \"string\"\n },\n \"tin\": {\n \"type\": \"string\"\n },\n \"tinOrExplanationRequired\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"FormW8BENE\": {\n \"properties\": {\n \"blankForm\": {\n \"type\": \"boolean\"\n },\n \"box11Status\": {\n \"enum\": [\n \"LIMITED_BRANCH\",\n \"US_BRANCH\",\n \"PARTICIPATING_FFI\",\n \"REPORTING_MODEL_1_FFI\",\n \"REPORTING_MODEL_2_FFI\"\n ],\n \"type\": \"string\"\n },\n \"cert\": {\n \"type\": \"boolean\"\n },\n \"countryOfOrganization\": {\n \"type\": \"string\"\n },\n \"disregardedEntityName\": {\n \"type\": \"string\"\n },\n \"electronicFormat\": {\n \"type\": \"boolean\"\n },\n \"entityType\": {\n \"enum\": [\n \"CORPORATION\",\n \"DISREGARDED_ENTITY\",\n \"PARTNERSHIP\",\n \"SIMPLE_TRUST\",\n \"GRANTOR_TRUST\",\n \"COMPLEX_TRUST\",\n \"ESTATE\",\n \"GOVERNMENT\",\n \"CENTRAL_BANK_OF_ISSUE\",\n \"TAX_EXEMPT_ORGANIZATION\",\n \"PRIVATE_FOUNDATION\"\n ],\n \"type\": \"string\"\n },\n \"explanation\": {\n \"enum\": [\n \"US_TIN\",\n \"TIN_NOT_DISCLOSED\",\n \"TIN_NOT_REQUIRED\",\n \"TIN_NOT_ISSUED\"\n ],\n \"type\": \"string\"\n },\n \"fatcaStatus\": {\n \"enum\": [\n \"NONPARTICIPATING_FFI\",\n \"PARICIPATING_FFI\",\n \"REPORTING_MODEL_1_FFI\",\n \"REPORTING_MODEL_2_FFI\",\n \"REGISTERED_DEEMED_COMPLIANT_FFI\",\n \"SPONSORED_FFI\",\n \"CERTIFIED_DEEMED_COMPLIANT_NONREGISTERING_LOCAL_BANK\",\n \"CERTIFIED_DEEMED_COMPLIANT_FFI\",\n \"CERTIFIED_DEEMED_COMPLIANT_SPONSORED_VEHICLE\",\n \"CERTIFIED_DEEMED_COMPLIANT_LIMITED_LIFE_DEBT\",\n \"CERTIFIED_DEEMED_COMPLIANT_INVESTMENT_ADVISORS\",\n \"OWNER_DOCUMENTED_FFI\",\n \"RESTRICTED_DISTRIBUTOR\",\n \"NONREPORTING_IGA_FFI\",\n \"FOREIGN_GOVERNMENT\",\n \"INTERNATIONAL_ORGANIZATION\",\n \"EXEMPT_RETIREMENT_PLANS\",\n \"ENTITY_OWNED_BY_EXEMPT_BENEFICIAL_OWNERS\",\n \"TERRITORY_FINANCIAL_INSTITUTION\",\n \"NONFINANCIAL_GROUP\",\n \"EXCEPTED_NONFINANCIAL_STARTUP\",\n \"EXCEPTED_NONFINANCIAL_ENTITY\",\n \"AN_501_C_ORGANIZATION\",\n \"NONPROFIT_ORGANIZATION\",\n \"PUBLICLY_TRADED_NFFE\",\n \"EXCEPTED_TERRITORY_NFFE\",\n \"ACTIVE_NFFE\",\n \"PASSIVE_NFFE\",\n \"EXCEPTED_INTER_AFFILIATE_FFI\",\n \"DIRECT_REPORTING_NFFE\",\n \"SPONSORED_DIRECT_REPORTING_NFFE\"\n ],\n \"type\": \"string\"\n },\n \"foreignTin\": {\n \"type\": \"string\"\n },\n \"giin\": {\n \"type\": \"string\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"part1024A\": {\n \"type\": \"boolean\"\n },\n \"part1024B\": {\n \"type\": \"boolean\"\n },\n \"part1024C\": {\n \"type\": \"boolean\"\n },\n \"part1024D\": {\n \"type\": \"boolean\"\n },\n \"part1125A\": {\n \"type\": \"boolean\"\n },\n \"part1125B\": {\n \"type\": \"boolean\"\n },\n \"part1125C\": {\n \"type\": \"boolean\"\n },\n \"part1226\": {\n \"type\": \"boolean\"\n },\n \"part1226Desc1\": {\n \"type\": \"string\"\n },\n \"part1226Desc2\": {\n \"type\": \"string\"\n },\n \"part1226Desc3\": {\n \"enum\": [\n \"CollectiveInvestmentVehicle\",\n \"ExemptBeneficialOwner-RetirementPlan\",\n \"FinancialInstitutionwithlocalClientBase\",\n \"InvestmentAdvisorsandManagers\",\n \"LocalBank\",\n \"SponsoredCloselyHeldInvestmentVehicle\",\n \"SponsoredInvestmentEntity\",\n \"TrusteeDocumentedTrust\"\n ],\n \"type\": \"string\"\n },\n \"part1226Desc4\": {\n \"type\": \"string\"\n },\n \"part1327\": {\n \"type\": \"boolean\"\n },\n \"part1428A\": {\n \"type\": \"boolean\"\n },\n \"part1428B\": {\n \"type\": \"boolean\"\n },\n \"part1529A\": {\n \"type\": \"boolean\"\n },\n \"part1529B\": {\n \"type\": \"boolean\"\n },\n \"part1529C\": {\n \"type\": \"boolean\"\n },\n \"part1529D\": {\n \"type\": \"boolean\"\n },\n \"part1529E\": {\n \"type\": \"boolean\"\n },\n \"part1529F\": {\n \"type\": \"boolean\"\n },\n \"part1630\": {\n \"type\": \"boolean\"\n },\n \"part1731\": {\n \"type\": \"boolean\"\n },\n \"part1832\": {\n \"type\": \"boolean\"\n },\n \"part1933\": {\n \"type\": \"boolean\"\n },\n \"part2034\": {\n \"type\": \"boolean\"\n },\n \"part2135\": {\n \"type\": \"boolean\"\n },\n \"part2135Date\": {\n \"type\": \"string\"\n },\n \"part2236\": {\n \"type\": \"boolean\"\n },\n \"part2337A\": {\n \"type\": \"boolean\"\n },\n \"part2337ADesc\": {\n \"type\": \"string\"\n },\n \"part2337B\": {\n \"type\": \"boolean\"\n },\n \"part2337BDesc1\": {\n \"type\": \"string\"\n },\n \"part2337BDesc2\": {\n \"type\": \"string\"\n },\n \"part2438\": {\n \"type\": \"boolean\"\n },\n \"part2539\": {\n \"type\": \"boolean\"\n },\n \"part2640A\": {\n \"type\": \"boolean\"\n },\n \"part2640B\": {\n \"type\": \"boolean\"\n },\n \"part2640C\": {\n \"type\": \"boolean\"\n },\n \"part2741\": {\n \"type\": \"boolean\"\n },\n \"part2842\": {\n \"type\": \"string\"\n },\n \"part2843\": {\n \"type\": \"boolean\"\n },\n \"part314A\": {\n \"type\": \"boolean\"\n },\n \"part314ACountry\": {\n \"type\": \"string\"\n },\n \"part314B\": {\n \"enum\": [\n \"CompanyMeetsOwnershipAndBaseErosionTest\",\n \"TaxExemptPensionTrustOrPensionFund\",\n \"CompanyMeetsDerivativeBenefitsTest\",\n \"TaxExemptOrganization\",\n \"CompanyWithIncomeActiveBusiness\",\n \"PubliclyTradedCorporation\",\n \"FavorableDiscretionaryDetermination\",\n \"SubsidiaryOfAPubliclyTradedCorporation\",\n \"Government\",\n \"NoLobArticleInTreaty\",\n \"Other\"\n ],\n \"type\": \"string\"\n },\n \"part314C\": {\n \"type\": \"boolean\"\n },\n \"part416\": {\n \"type\": \"string\"\n },\n \"part417I\": {\n \"type\": \"boolean\"\n },\n \"part417Ii\": {\n \"type\": \"boolean\"\n },\n \"part518\": {\n \"type\": \"boolean\"\n },\n \"part619\": {\n \"type\": \"boolean\"\n },\n \"part720\": {\n \"type\": \"string\"\n },\n \"part721\": {\n \"type\": \"boolean\"\n },\n \"part822\": {\n \"type\": \"boolean\"\n },\n \"part923\": {\n \"type\": \"boolean\"\n },\n \"proprietaryFormNumber\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"referenceNumber\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"signatureType\": {\n \"enum\": [\n \"Electronic\",\n \"Physical\"\n ],\n \"type\": \"string\"\n },\n \"submitDate\": {\n \"type\": \"string\"\n },\n \"substantialUsOwnerExternalIds\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"taxFormFile\": {\n \"type\": \"string\"\n },\n \"tinOrExplanationRequired\": {\n \"type\": \"boolean\"\n },\n \"usTin\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"FormW8IMY\": {\n \"properties\": {\n \"box11Status\": {\n \"enum\": [\n \"LIMITED_BRANCH\",\n \"US_BRANCH\",\n \"PARTICIPATING_FFI\",\n \"REPORTING_MODEL_1_FFI\",\n \"REPORTING_MODEL_2_FFI\"\n ],\n \"type\": \"string\"\n },\n \"cert\": {\n \"type\": \"boolean\"\n },\n \"countryOfIncorporation\": {\n \"type\": \"string\"\n },\n \"disregardedEntityName\": {\n \"type\": \"string\"\n },\n \"entityType\": {\n \"enum\": [\n \"QUALIFIED_INTERMEDIARY\",\n \"NONQUALIFIED_INTERMEDIARY\",\n \"TERRITORY_FINANCIAL\",\n \"US_BRANCH\",\n \"WITHHOLDING_FOREIGN_PARTNERSHIP\",\n \"WITHHOLDING_FOREIGN_TRUST\",\n \"NONWITHHOLDING_FOREIGN_PARTNERSHIP\",\n \"NONWITHHOLDING_FOREIGN_SIMPLE_TRUST\",\n \"NONWITHHOLDING_FOREIGN_GRANTOR_TRUST\"\n ],\n \"type\": \"string\"\n },\n \"fatcaStatus\": {\n \"enum\": [\n \"NONPARTICIPATING_FFI\",\n \"PARTICIPATING_FFI\",\n \"REPORTING_MODEL1_FFI\",\n \"REPORTING_MODEL2_FFI\",\n \"REGISTERED_DEEMED_COMPLAINT\",\n \"TERRITORY_FINANCIAL_INSTITUTION\",\n \"SPONSORED_FFI\",\n \"CERTIFIED_DEEMED_COMPLAINT_FFI\",\n \"CERTIFIED_DEEMED_COMPLAINT_SPONSORED\",\n \"CERTIFIED_DEEMED_COMPLAINT_LIMITED_LIFE_DEBT\",\n \"OWNER_DOCUMENTED_FFI\",\n \"RESTRICTED_DISTRIBUTOR\",\n \"FOREIGN_CENTRAL_BANK_ISSUE\",\n \"NONREPORTING_IGA_FFO\",\n \"EXEMPT_RETIREMENT_PLAN\",\n \"EXCEPTED_NONFINANCIAL_GROUP_ENTITY\",\n \"EXCEPTED_NONFINANCIAL_STARTUP_COMPANY\",\n \"EXCEPTED_NONFINANCIAL_ENTITY_IN_LIQUIDATION\",\n \"PUBLICLY_TRADED_NFFE\",\n \"EXCEPTED_TERRITORY_NFFE\",\n \"ACTIVE_NFFE\",\n \"PASSIVE_NFFE\",\n \"DIRECT_REPORTING_NFFE\",\n \"SPONSORED_DIRECT_REPORTING_NFFE\"\n ],\n \"type\": \"string\"\n },\n \"giin\": {\n \"type\": \"string\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"part1021\": {\n \"type\": \"string\"\n },\n \"part1021A\": {\n \"type\": \"string\"\n },\n \"part1021B\": {\n \"type\": \"boolean\"\n },\n \"part1021C\": {\n \"type\": \"boolean\"\n },\n \"part1122A\": {\n \"type\": \"boolean\"\n },\n \"part1122B\": {\n \"type\": \"boolean\"\n },\n \"part1122C\": {\n \"type\": \"boolean\"\n },\n \"part1223\": {\n \"type\": \"boolean\"\n },\n \"part1324\": {\n \"type\": \"boolean\"\n },\n \"part1425A\": {\n \"type\": \"string\"\n },\n \"part1425B\": {\n \"type\": \"boolean\"\n },\n \"part1526\": {\n \"type\": \"boolean\"\n },\n \"part1627A\": {\n \"type\": \"boolean\"\n },\n \"part1627B\": {\n \"type\": \"boolean\"\n },\n \"part1627C\": {\n \"type\": \"boolean\"\n },\n \"part1728\": {\n \"type\": \"boolean\"\n },\n \"part1829\": {\n \"type\": \"boolean\"\n },\n \"part1829Desc1\": {\n \"type\": \"string\"\n },\n \"part1829Desc2\": {\n \"type\": \"string\"\n },\n \"part1829Desc3\": {\n \"type\": \"string\"\n },\n \"part1930A\": {\n \"type\": \"boolean\"\n },\n \"part1930B\": {\n \"type\": \"boolean\"\n },\n \"part1930C\": {\n \"type\": \"boolean\"\n },\n \"part1930D\": {\n \"type\": \"boolean\"\n },\n \"part1930E\": {\n \"type\": \"boolean\"\n },\n \"part1930F\": {\n \"type\": \"boolean\"\n },\n \"part2031\": {\n \"type\": \"boolean\"\n },\n \"part2132\": {\n \"type\": \"boolean\"\n },\n \"part2132Desc\": {\n \"type\": \"string\"\n },\n \"part2233\": {\n \"type\": \"boolean\"\n },\n \"part2233Desc\": {\n \"type\": \"string\"\n },\n \"part2334A\": {\n \"type\": \"boolean\"\n },\n \"part2334ADesc\": {\n \"type\": \"string\"\n },\n \"part2334B\": {\n \"type\": \"boolean\"\n },\n \"part2334BDesc\": {\n \"type\": \"string\"\n },\n \"part2435\": {\n \"type\": \"boolean\"\n },\n \"part2536\": {\n \"type\": \"boolean\"\n },\n \"part2637\": {\n \"type\": \"boolean\"\n },\n \"part2738\": {\n \"type\": \"string\"\n },\n \"part2739\": {\n \"type\": \"boolean\"\n },\n \"part314A\": {\n \"type\": \"boolean\"\n },\n \"part314B\": {\n \"type\": \"boolean\"\n },\n \"part314C\": {\n \"type\": \"boolean\"\n },\n \"part314CDesc\": {\n \"type\": \"string\"\n },\n \"part314D\": {\n \"type\": \"boolean\"\n },\n \"part314DDesc\": {\n \"type\": \"string\"\n },\n \"part314E\": {\n \"type\": \"boolean\"\n },\n \"part314EDesc\": {\n \"type\": \"string\"\n },\n \"part314EI\": {\n \"type\": \"boolean\"\n },\n \"part314EIi\": {\n \"type\": \"boolean\"\n },\n \"part415A\": {\n \"type\": \"boolean\"\n },\n \"part415B\": {\n \"type\": \"boolean\"\n },\n \"part415C\": {\n \"type\": \"boolean\"\n },\n \"part415D\": {\n \"type\": \"boolean\"\n },\n \"part516A\": {\n \"type\": \"boolean\"\n },\n \"part516B\": {\n \"type\": \"boolean\"\n },\n \"part516C\": {\n \"type\": \"boolean\"\n },\n \"part617A\": {\n \"type\": \"boolean\"\n },\n \"part617B\": {\n \"type\": \"boolean\"\n },\n \"part617C\": {\n \"type\": \"boolean\"\n },\n \"part718\": {\n \"type\": \"boolean\"\n },\n \"part819\": {\n \"type\": \"boolean\"\n },\n \"part920\": {\n \"type\": \"boolean\"\n },\n \"referenceNumber\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"usTin\": {\n \"type\": \"string\"\n },\n \"usTinType\": {\n \"enum\": [\n \"QI-EIN\",\n \"WP-EIN\",\n \"WT-EIN\",\n \"EIN\",\n \"SSN\",\n \"ITIN\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"FormW9\": {\n \"properties\": {\n \"blankForm\": {\n \"type\": \"boolean\"\n },\n \"businessName\": {\n \"type\": \"string\"\n },\n \"cert1\": {\n \"type\": \"boolean\"\n },\n \"cert2\": {\n \"type\": \"boolean\"\n },\n \"cert3\": {\n \"type\": \"boolean\"\n },\n \"cert4\": {\n \"type\": \"boolean\"\n },\n \"customerType\": {\n \"enum\": [\n \"Individual\",\n \"Corporation\",\n \"Partnership\",\n \"LLC\",\n \"Other\"\n ],\n \"type\": \"string\"\n },\n \"localTaxForms\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/LocalTaxForm\"\n },\n \"type\": \"array\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"otherCustomerType\": {\n \"type\": \"string\"\n },\n \"proprietaryFormNumber\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"signatureType\": {\n \"enum\": [\n \"Electronic\",\n \"Physical\"\n ],\n \"type\": \"string\"\n },\n \"taxClassification\": {\n \"type\": \"string\"\n },\n \"taxFormFile\": {\n \"type\": \"string\"\n },\n \"tin\": {\n \"type\": \"string\"\n },\n \"tinType\": {\n \"enum\": [\n \"SSN\",\n \"EIN\",\n \"NonUS_NationalId\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"GetAvailableStmtDatesResponse\": {\n \"properties\": {\n \"data\": {\n \"$ref\": \"#/components/schemas/AvailableStatementDatesData\",\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"GetAvailableTaxFormsResponse\": {\n \"properties\": {\n \"data\": {\n \"$ref\": \"#/components/schemas/AvailableTaxFormsData\",\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"GetAvailableTradeConfirmationDatesResponse\": {\n \"properties\": {\n \"data\": {\n \"properties\": {\n \"dataType\": {\n \"example\": \"String\",\n \"type\": \"string\"\n },\n \"value\": {\n \"description\": \"available trade confirmation dates\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"GetBrokerListResponse\": {\n \"properties\": {\n \"brokers\": {\n \"items\": {\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"minItems\": 1,\n \"type\": \"array\"\n },\n \"instructionType\": {\n \"example\": \"COMPLEX_ASSET_TRANSFER\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"brokers\",\n \"instructionType\"\n ],\n \"type\": \"object\"\n },\n \"GetParticipatingListResponse\": {\n \"properties\": {\n \"participatingBanks\": {\n \"items\": {\n \"properties\": {\n \"BIC\": {\n \"example\": \"WEDIHKHHXXX\",\n \"type\": \"string\"\n },\n \"clearingCode\": {\n \"example\": \"390\",\n \"type\": \"string\"\n },\n \"institutionName\": {\n \"example\": \"WELAB BANK LIMITED\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"BIC\",\n \"clearingCode\",\n \"institutionName\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"type\": {\n \"example\": \"eDDA\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"participatingBanks\",\n \"type\"\n ],\n \"type\": \"object\"\n },\n \"GetStatementsResponse\": {\n \"properties\": {\n \"data\": {\n \"properties\": {\n \"accept\": {\n \"description\": \"specify response media types that are acceptable\",\n \"type\": \"string\"\n },\n \"dataType\": {\n \"description\": \"the data type of the value after decoding\",\n \"type\": \"string\"\n },\n \"encoding\": {\n \"description\": \"encoding used for the value\",\n \"type\": \"string\"\n },\n \"gzip\": {\n \"description\": \"content encoding flag. Represents whether the response is compressed\",\n \"type\": \"boolean\"\n },\n \"mimeType\": {\n \"description\": \"mimeType of document after decoding and serializing the value\",\n \"type\": \"string\"\n },\n \"value\": {\n \"description\": \"Base 64 encoded String of byte[]. Byte[] represents compressed data when gzip is true\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"HighWaterMarkConfigurationType\": {\n \"properties\": {\n \"numberOfPeriods\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"prorateForWithdrawals\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"HighWaterMarkType\": {\n \"properties\": {\n \"hwm\": {\n \"$ref\": \"#/components/schemas/HighWaterMarkConfigurationType\"\n },\n \"previousLosses\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PreviousLossesType\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"IRABeneficiariesType\": {\n \"properties\": {\n \"contingentBeneficiaries\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/IRAContingentBeneficiary\"\n },\n \"type\": \"array\"\n },\n \"contingentBeneficiaryEntities\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/IRAContingentBeneficiaryEntity\"\n },\n \"type\": \"array\"\n },\n \"primaryBeneficiaries\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/IRAPrimaryBeneficiary\"\n },\n \"type\": \"array\"\n },\n \"primaryBeneficiaryEntities\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/IRAPrimaryBeneficiaryEntity\"\n },\n \"type\": \"array\"\n },\n \"spousePrimaryBeneficary\": {\n \"type\": \"boolean\"\n },\n \"successor\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"IRAContingentBeneficiary\": {\n \"properties\": {\n \"authorizedToSignOnBehalfOfOwner\": {\n \"type\": \"boolean\"\n },\n \"authorizedTrader\": {\n \"type\": \"boolean\"\n },\n \"birthName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"cityOfBirth\": {\n \"type\": \"string\"\n },\n \"countryOfBirth\": {\n \"type\": \"string\"\n },\n \"crs\": {\n \"$ref\": \"#/components/schemas/FormCRS\"\n },\n \"dateOfBirth\": {\n \"description\": \"Date of birth of the applicant. The applicant must be 18 years or older to open an account. <br><ul><li>If the YYY-MM-DD < 18 years error will be triggered and the account will not be created.</li><li>If YYYY-MM-DD < 21 the applicant is restricted to opening a CASH account only.</li><li>UGMA and UTMA accounts are available for minors 18 years of age or younger. An individual or entity who manages an account for a minor until that minor reaches a specific age. Available to US residents only.</li><li>This application must be opened using the front-end application which is available within the IBKR Portal.</li><li>Assets held in a single account managed by a single Custodian user.</li><li>Error will be thrown if dateOfBirth is any value other than YYYY-MM-DD.</li></ul>\",\n \"example\": \"1990-08-14\",\n \"type\": \"string\"\n },\n \"email\": {\n \"type\": \"string\"\n },\n \"employeeTitle\": {\n \"type\": \"string\"\n },\n \"employmentDetails\": {\n \"$ref\": \"#/components/schemas/EmploymentDetails\"\n },\n \"employmentType\": {\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"gender\": {\n \"enum\": [\n \"M\",\n \"F\",\n \"Male\",\n \"Female\"\n ],\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"identification\": {\n \"$ref\": \"#/components/schemas/Identification\"\n },\n \"mailingAddress\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"maritalStatus\": {\n \"enum\": [\n \"S\",\n \"M\",\n \"W\",\n \"D\",\n \"C\"\n ],\n \"type\": \"string\"\n },\n \"motherMaidenName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"name\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"nativeName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"numDependents\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"ownershipPercentage\": {\n \"type\": \"number\"\n },\n \"phones\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PhoneInfo\"\n },\n \"type\": \"array\"\n },\n \"primaryTrustee\": {\n \"type\": \"boolean\"\n },\n \"prohibitedCountryQuestionnaire\": {\n \"$ref\": \"#/components/schemas/ProhibitedCountryQuestionnaireList\"\n },\n \"relationship\": {\n \"enum\": [\n \"Brother\",\n \"Daughter\",\n \"Estate\",\n \"Father\",\n \"Husband\",\n \"Mother\",\n \"Other\",\n \"Sister\",\n \"Son\",\n \"Wife\",\n \"Charity\",\n \"Trust\",\n \"Spouse\",\n \"Child\",\n \"Sibling\",\n \"Parent\",\n \"Grandchild\",\n \"Common Law Partner\"\n ],\n \"type\": \"string\"\n },\n \"residenceAddress\": {\n \"$ref\": \"#/components/schemas/ResidenceAddress\"\n },\n \"sameMailAddress\": {\n \"type\": \"boolean\"\n },\n \"taxResidencies\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TaxResidency\"\n },\n \"type\": \"array\"\n },\n \"title\": {\n \"$ref\": \"#/components/schemas/Title\"\n },\n \"translated\": {\n \"type\": \"boolean\"\n },\n \"usTaxResident\": {\n \"type\": \"boolean\"\n },\n \"userId\": {\n \"type\": \"string\"\n },\n \"w8Ben\": {\n \"$ref\": \"#/components/schemas/FormW8BEN\"\n },\n \"w9\": {\n \"$ref\": \"#/components/schemas/FormW9\"\n }\n },\n \"type\": \"object\"\n },\n \"IRAContingentBeneficiaryEntity\": {\n \"properties\": {\n \"address\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"articleOfWill\": {\n \"type\": \"string\"\n },\n \"entityType\": {\n \"enum\": [\n \"Trust\",\n \"Estate\",\n \"Charity\"\n ],\n \"type\": \"string\"\n },\n \"executionDate\": {\n \"format\": \"date\",\n \"type\": \"string\"\n },\n \"executor\": {\n \"$ref\": \"#/components/schemas/Individual\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"ownershipPercentage\": {\n \"type\": \"number\"\n },\n \"relationship\": {\n \"enum\": [\n \"Brother\",\n \"Daughter\",\n \"Estate\",\n \"Father\",\n \"Husband\",\n \"Mother\",\n \"Other\",\n \"Sister\",\n \"Son\",\n \"Wife\",\n \"Charity\",\n \"Trust\",\n \"Spouse\",\n \"Child\",\n \"Sibling\",\n \"Parent\",\n \"Grandchild\",\n \"Common Law Partner\"\n ],\n \"type\": \"string\"\n },\n \"title\": {\n \"$ref\": \"#/components/schemas/Title\"\n }\n },\n \"type\": \"object\"\n },\n \"IRADecedent\": {\n \"properties\": {\n \"authorizedToSignOnBehalfOfOwner\": {\n \"type\": \"boolean\"\n },\n \"authorizedTrader\": {\n \"type\": \"boolean\"\n },\n \"birthName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"cityOfBirth\": {\n \"type\": \"string\"\n },\n \"countryOfBirth\": {\n \"type\": \"string\"\n },\n \"crs\": {\n \"$ref\": \"#/components/schemas/FormCRS\"\n },\n \"dateOfBirth\": {\n \"description\": \"Date of birth of the applicant. The applicant must be 18 years or older to open an account. <br><ul><li>If the YYY-MM-DD < 18 years error will be triggered and the account will not be created.</li><li>If YYYY-MM-DD < 21 the applicant is restricted to opening a CASH account only.</li><li>UGMA and UTMA accounts are available for minors 18 years of age or younger. An individual or entity who manages an account for a minor until that minor reaches a specific age. Available to US residents only.</li><li>This application must be opened using the front-end application which is available within the IBKR Portal.</li><li>Assets held in a single account managed by a single Custodian user.</li><li>Error will be thrown if dateOfBirth is any value other than YYYY-MM-DD.</li></ul>\",\n \"example\": \"1990-08-14\",\n \"type\": \"string\"\n },\n \"dateOfDeath\": {\n \"format\": \"date\",\n \"type\": \"string\"\n },\n \"email\": {\n \"type\": \"string\"\n },\n \"employeeTitle\": {\n \"type\": \"string\"\n },\n \"employmentDetails\": {\n \"$ref\": \"#/components/schemas/EmploymentDetails\"\n },\n \"employmentType\": {\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"gender\": {\n \"enum\": [\n \"M\",\n \"F\",\n \"Male\",\n \"Female\"\n ],\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"identification\": {\n \"$ref\": \"#/components/schemas/Identification\"\n },\n \"inheritorType\": {\n \"enum\": [\n \"S\",\n \"I\",\n \"T\",\n \"O\"\n ],\n \"type\": \"string\"\n },\n \"mailingAddress\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"maritalStatus\": {\n \"enum\": [\n \"S\",\n \"M\",\n \"W\",\n \"D\",\n \"C\"\n ],\n \"type\": \"string\"\n },\n \"motherMaidenName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"name\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"nativeName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"numDependents\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"phones\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PhoneInfo\"\n },\n \"type\": \"array\"\n },\n \"primaryTrustee\": {\n \"type\": \"boolean\"\n },\n \"prohibitedCountryQuestionnaire\": {\n \"$ref\": \"#/components/schemas/ProhibitedCountryQuestionnaireList\"\n },\n \"relationship\": {\n \"enum\": [\n \"Other\",\n \"Trust\",\n \"Spouse\",\n \"Individual\"\n ],\n \"type\": \"string\"\n },\n \"residenceAddress\": {\n \"$ref\": \"#/components/schemas/ResidenceAddress\"\n },\n \"sameMailAddress\": {\n \"type\": \"boolean\"\n },\n \"taxResidencies\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TaxResidency\"\n },\n \"type\": \"array\"\n },\n \"title\": {\n \"$ref\": \"#/components/schemas/Title\"\n },\n \"translated\": {\n \"type\": \"boolean\"\n },\n \"usTaxResident\": {\n \"type\": \"boolean\"\n },\n \"userId\": {\n \"type\": \"string\"\n },\n \"w8Ben\": {\n \"$ref\": \"#/components/schemas/FormW8BEN\"\n },\n \"w9\": {\n \"$ref\": \"#/components/schemas/FormW9\"\n }\n },\n \"type\": \"object\"\n },\n \"IRADepositDetails\": {\n \"properties\": {\n \"depositType\": {\n \"enum\": [\n \"contribution\",\n \"rollover\"\n ],\n \"type\": \"string\"\n },\n \"fromIraType\": {\n \"enum\": [\n \"RI\",\n \"RO\",\n \"RT\",\n \"SP\",\n \"ED\",\n \"TH\",\n \"RH\",\n \"SH\",\n \"RRSP\",\n \"SRRSP\",\n \"TFSA\",\n \"SIMPLE\",\n \"ISA\",\n \"JISA\"\n ],\n \"type\": \"string\"\n },\n \"taxYear\": {\n \"enum\": [\n \"current\",\n \"prior\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"IRAPrimaryBeneficiary\": {\n \"properties\": {\n \"authorizedToSignOnBehalfOfOwner\": {\n \"type\": \"boolean\"\n },\n \"authorizedTrader\": {\n \"type\": \"boolean\"\n },\n \"birthName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"cityOfBirth\": {\n \"type\": \"string\"\n },\n \"countryOfBirth\": {\n \"type\": \"string\"\n },\n \"crs\": {\n \"$ref\": \"#/components/schemas/FormCRS\"\n },\n \"dateOfBirth\": {\n \"description\": \"Date of birth of the applicant. The applicant must be 18 years or older to open an account. <br><ul><li>If the YYY-MM-DD < 18 years error will be triggered and the account will not be created.</li><li>If YYYY-MM-DD < 21 the applicant is restricted to opening a CASH account only.</li><li>UGMA and UTMA accounts are available for minors 18 years of age or younger. An individual or entity who manages an account for a minor until that minor reaches a specific age. Available to US residents only.</li><li>This application must be opened using the front-end application which is available within the IBKR Portal.</li><li>Assets held in a single account managed by a single Custodian user.</li><li>Error will be thrown if dateOfBirth is any value other than YYYY-MM-DD.</li></ul>\",\n \"example\": \"1990-08-14\",\n \"type\": \"string\"\n },\n \"email\": {\n \"type\": \"string\"\n },\n \"employeeTitle\": {\n \"type\": \"string\"\n },\n \"employmentDetails\": {\n \"$ref\": \"#/components/schemas/EmploymentDetails\"\n },\n \"employmentType\": {\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"gender\": {\n \"enum\": [\n \"M\",\n \"F\",\n \"Male\",\n \"Female\"\n ],\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"identification\": {\n \"$ref\": \"#/components/schemas/Identification\"\n },\n \"mailingAddress\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"maritalStatus\": {\n \"enum\": [\n \"S\",\n \"M\",\n \"W\",\n \"D\",\n \"C\"\n ],\n \"type\": \"string\"\n },\n \"motherMaidenName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"name\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"nativeName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"numDependents\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"ownershipPercentage\": {\n \"type\": \"number\"\n },\n \"phones\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PhoneInfo\"\n },\n \"type\": \"array\"\n },\n \"primaryTrustee\": {\n \"type\": \"boolean\"\n },\n \"prohibitedCountryQuestionnaire\": {\n \"$ref\": \"#/components/schemas/ProhibitedCountryQuestionnaireList\"\n },\n \"relationship\": {\n \"enum\": [\n \"Brother\",\n \"Daughter\",\n \"Estate\",\n \"Father\",\n \"Husband\",\n \"Mother\",\n \"Other\",\n \"Sister\",\n \"Son\",\n \"Wife\",\n \"Charity\",\n \"Trust\",\n \"Spouse\",\n \"Child\",\n \"Sibling\",\n \"Parent\",\n \"Grandchild\",\n \"Common Law Partner\"\n ],\n \"type\": \"string\"\n },\n \"residenceAddress\": {\n \"$ref\": \"#/components/schemas/ResidenceAddress\"\n },\n \"sameMailAddress\": {\n \"type\": \"boolean\"\n },\n \"taxResidencies\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TaxResidency\"\n },\n \"type\": \"array\"\n },\n \"title\": {\n \"$ref\": \"#/components/schemas/Title\"\n },\n \"translated\": {\n \"type\": \"boolean\"\n },\n \"usTaxResident\": {\n \"type\": \"boolean\"\n },\n \"userId\": {\n \"type\": \"string\"\n },\n \"w8Ben\": {\n \"$ref\": \"#/components/schemas/FormW8BEN\"\n },\n \"w9\": {\n \"$ref\": \"#/components/schemas/FormW9\"\n }\n },\n \"type\": \"object\"\n },\n \"IRAPrimaryBeneficiaryEntity\": {\n \"properties\": {\n \"address\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"articleOfWill\": {\n \"type\": \"string\"\n },\n \"charityNumber\": {\n \"type\": \"string\"\n },\n \"entityType\": {\n \"enum\": [\n \"Trust\",\n \"Estate\",\n \"Charity\"\n ],\n \"type\": \"string\"\n },\n \"executionDate\": {\n \"format\": \"date\",\n \"type\": \"string\"\n },\n \"executor\": {\n \"$ref\": \"#/components/schemas/Individual\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"ownershipPercentage\": {\n \"type\": \"number\"\n },\n \"relationship\": {\n \"enum\": [\n \"Brother\",\n \"Daughter\",\n \"Estate\",\n \"Father\",\n \"Husband\",\n \"Mother\",\n \"Other\",\n \"Sister\",\n \"Son\",\n \"Wife\",\n \"Charity\",\n \"Trust\",\n \"Spouse\",\n \"Child\",\n \"Sibling\",\n \"Parent\",\n \"Grandchild\",\n \"Common Law Partner\"\n ],\n \"type\": \"string\"\n },\n \"title\": {\n \"$ref\": \"#/components/schemas/Title\"\n }\n },\n \"type\": \"object\"\n },\n \"Identification\": {\n \"description\": \"Identification information of the associated person.\",\n \"properties\": {\n \"alienCard\": {\n \"description\": \"Alien Card\",\n \"type\": \"string\"\n },\n \"cardColor\": {\n \"description\": \"Required if MedicareCard is provided.\",\n \"enum\": [\n \"BLUE\",\n \"GREEN\",\n \"YELLOW\"\n ],\n \"type\": \"string\"\n },\n \"citizenship\": {\n \"description\": \"Citizenship of the applicant.<br>If citizenship, citizenship2, OR citizenship3 is classified as a \\u2018Prohibited Country\', THEN ProhibitedCountryQuestionnaire is required.<br>List of Prohibited Countries an be obtained using /getEnumerations<br>Preferred id document by IssuingCountry\",\n \"example\": \"AUS\",\n \"type\": \"string\"\n },\n \"citizenship2\": {\n \"description\": \"If the applicant has multiple citizenship, provide the additional citizenship of the applicant.<br>If citizenship, citizenship2, OR citizenship3 is classified as a \\u2018Prohibited Country\', THEN ProhibitedCountryQuestionnaire is required.<br>List of Prohibited Countries an be obtained using /getEnumerations<br>Preferred id document by IssuingCountry\",\n \"type\": \"string\"\n },\n \"citizenship3\": {\n \"description\": \"If the applicant has multiple citizenship, provide the additional citizenship of the applicant.<br>If citizenship, citizenship2, OR citizenship3 is classified as a \\u2018Prohibited Country\', THEN ProhibitedCountryQuestionnaire is required.<br>List of Prohibited Countries an be obtained using /getEnumerations<br>Preferred id document by IssuingCountry\",\n \"type\": \"string\"\n },\n \"driversLicense\": {\n \"description\": \"Drivers License<br>Pattern for AUS: ^.{0,64}$<br>Pattern for NZL: ^[A-Z]{2}\\\\d{6}$\",\n \"example\": \"989444798\",\n \"type\": \"string\"\n },\n \"educationalQualification\": {\n \"type\": \"string\"\n },\n \"expirationDate\": {\n \"description\": \"Provide expiration date of the ID document. Cannot be past date.\",\n \"format\": \"date\",\n \"type\": \"string\"\n },\n \"expire\": {\n \"description\": \"Indicate IF ID document has an ExpirationDate.\",\n \"type\": \"boolean\"\n },\n \"fathersName\": {\n \"type\": \"string\"\n },\n \"greenCard\": {\n \"type\": \"boolean\"\n },\n \"hkTravelPermit\": {\n \"description\": \"HK and Macao Travel Permit\",\n \"type\": \"string\"\n },\n \"issuingCountry\": {\n \"description\": \"Issuing country of the ID document.\",\n \"example\": \"AUS\",\n \"type\": \"string\"\n },\n \"issuingState\": {\n \"description\": \"Issuing state of the ID document.\",\n \"type\": \"string\"\n },\n \"legalResidenceCountry\": {\n \"type\": \"string\"\n },\n \"legalResidenceState\": {\n \"type\": \"string\"\n },\n \"medicareCard\": {\n \"description\": \"Only applicable for Australia residents.\",\n \"type\": \"string\"\n },\n \"medicareReference\": {\n \"description\": \"Required if MedicareCard is provided.\",\n \"type\": \"string\"\n },\n \"nationalCard\": {\n \"description\": \"National Identification Card<br>Pattern by Country-<br> ARG: ^\\\\d{8}$<br>AUS: ^(\\\\d{8}|\\\\d{9})$<br>BRA: ^\\\\d{11}$<br>CHN: ^\\\\d{17}(\\\\d|X)$<br>DNK: ^\\\\d{10}$<br>ESP: ^\\\\d{8}[A-Z]$<br>FRA: ^\\\\d{15}$<br>FRA: ^\\\\d{4}([A-Z]|\\\\d){3}\\\\d{5}$<br>ITA: ^([A-Z]{2}\\\\d{7}|\\\\d{7}[A-Z]{2}|[A-Z]{2}\\\\d{5}[A-Z]{2})$<br>ITA: ^[A-Z]{6}\\\\d{2}[A-Z]\\\\d{2}[A-Z]\\\\d{3}[A-Z]$<br>MEX: ^[A-Z]{4}\\\\d{6}[A-Z]{6}\\\\d{2}$<br>MYZ: ^\\\\d{12}$<br>RUS: ^\\\\d{10}$<br>RUS: ^\\\\d{9}$<br>SGP: ^[A-Z]\\\\d{7}[A-Z]$<br>SWE: ^(\\\\d{10}|\\\\d{12})$<br>TUR: ^\\\\d{11}$<br>ZAF: ^\\\\d{13}$\",\n \"type\": \"string\"\n },\n \"panNumber\": {\n \"description\": \"India PanCard, required for India Residents and citizens.\",\n \"type\": \"string\"\n },\n \"passport\": {\n \"description\": \"Passport\",\n \"type\": \"string\"\n },\n \"proofOfAgeCard\": {\n \"type\": \"string\"\n },\n \"rta\": {\n \"description\": \"Only applicable IF ID_Type=DriversLicense AND IssuingCountry=AUS\",\n \"type\": \"string\"\n },\n \"sin\": {\n \"description\": \"Social insurance number, required for Canada Residents and citizens.\",\n \"type\": \"string\"\n },\n \"ssn\": {\n \"description\": \"Social security number, required for US Residents and citizens.\",\n \"type\": \"string\"\n },\n \"taxId\": {\n \"description\": \"Tax ID TIN within <TaxResidencies>foreign_tax_id within <W8Ben>\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"Individual\": {\n \"properties\": {\n \"authorizedToSignOnBehalfOfOwner\": {\n \"type\": \"boolean\"\n },\n \"authorizedTrader\": {\n \"type\": \"boolean\"\n },\n \"birthName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"cityOfBirth\": {\n \"type\": \"string\"\n },\n \"countryOfBirth\": {\n \"type\": \"string\"\n },\n \"crs\": {\n \"$ref\": \"#/components/schemas/FormCRS\"\n },\n \"dateOfBirth\": {\n \"description\": \"Date of birth of the applicant. The applicant must be 18 years or older to open an account. <br><ul><li>If the YYY-MM-DD < 18 years error will be triggered and the account will not be created.</li><li>If YYYY-MM-DD < 21 the applicant is restricted to opening a CASH account only.</li><li>UGMA and UTMA accounts are available for minors 18 years of age or younger. An individual or entity who manages an account for a minor until that minor reaches a specific age. Available to US residents only.</li><li>This application must be opened using the front-end application which is available within the IBKR Portal.</li><li>Assets held in a single account managed by a single Custodian user.</li><li>Error will be thrown if dateOfBirth is any value other than YYYY-MM-DD.</li></ul>\",\n \"example\": \"1990-08-14\",\n \"type\": \"string\"\n },\n \"email\": {\n \"type\": \"string\"\n },\n \"employeeTitle\": {\n \"type\": \"string\"\n },\n \"employmentDetails\": {\n \"$ref\": \"#/components/schemas/EmploymentDetails\"\n },\n \"employmentType\": {\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"gender\": {\n \"enum\": [\n \"M\",\n \"F\",\n \"Male\",\n \"Female\"\n ],\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"identification\": {\n \"$ref\": \"#/components/schemas/Identification\"\n },\n \"mailingAddress\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"maritalStatus\": {\n \"enum\": [\n \"S\",\n \"M\",\n \"W\",\n \"D\",\n \"C\"\n ],\n \"type\": \"string\"\n },\n \"motherMaidenName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"name\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"nativeName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"numDependents\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"phones\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PhoneInfo\"\n },\n \"type\": \"array\"\n },\n \"primaryTrustee\": {\n \"type\": \"boolean\"\n },\n \"prohibitedCountryQuestionnaire\": {\n \"$ref\": \"#/components/schemas/ProhibitedCountryQuestionnaireList\"\n },\n \"residenceAddress\": {\n \"$ref\": \"#/components/schemas/ResidenceAddress\"\n },\n \"sameMailAddress\": {\n \"type\": \"boolean\"\n },\n \"taxResidencies\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TaxResidency\"\n },\n \"type\": \"array\"\n },\n \"translated\": {\n \"type\": \"boolean\"\n },\n \"usTaxResident\": {\n \"type\": \"boolean\"\n },\n \"userId\": {\n \"type\": \"string\"\n },\n \"w8Ben\": {\n \"$ref\": \"#/components/schemas/FormW8BEN\"\n },\n \"w9\": {\n \"$ref\": \"#/components/schemas/FormW9\"\n }\n },\n \"type\": \"object\"\n },\n \"IndividualApplicant\": {\n \"properties\": {\n \"accountHolderDetails\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AssociatedIndividual\"\n },\n \"type\": \"array\"\n },\n \"accreditedInvestorInformation\": {\n \"$ref\": \"#/components/schemas/AccreditedInvestorInformation\"\n },\n \"associatedIndividual\": {\n \"$ref\": \"#/components/schemas/AssociatedIndividual\"\n },\n \"financialInformation\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/FinancialInformation\"\n },\n \"type\": \"array\"\n },\n \"regulatedMemberships\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RegulatedMembership\"\n },\n \"type\": \"array\"\n },\n \"regulatoryInformation\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RegulatoryInformation\"\n },\n \"type\": \"array\"\n },\n \"taxInformation\": {\n \"$ref\": \"#/components/schemas/IndividualTaxInformation\"\n },\n \"withholdingStatement\": {\n \"$ref\": \"#/components/schemas/WithholdingStatementType\"\n }\n },\n \"type\": \"object\"\n },\n \"IndividualIRABene\": {\n \"properties\": {\n \"dateOfBirth\": {\n \"type\": \"string\"\n },\n \"firstName\": {\n \"type\": \"string\"\n },\n \"identification\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"lastName\": {\n \"type\": \"string\"\n },\n \"location\": {\n \"additionalProperties\": {\n \"type\": \"string\"\n },\n \"type\": \"object\"\n },\n \"ownership\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"perStripes\": {\n \"type\": \"string\"\n },\n \"relationship\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"IndividualName\": {\n \"properties\": {\n \"first\": {\n \"type\": \"string\"\n },\n \"last\": {\n \"type\": \"string\"\n },\n \"middle\": {\n \"type\": \"string\"\n },\n \"salutation\": {\n \"enum\": [\n \"Mr.\",\n \"Mrs.\",\n \"Ms.\",\n \"Dr.\",\n \"Mx.\",\n \"Ind.\"\n ],\n \"type\": \"string\"\n },\n \"suffix\": {\n \"enum\": [\n \"Jr.\",\n \"Sr.\",\n \"I\",\n \"II\",\n \"III\",\n \"IV\",\n \"V\"\n ],\n \"type\": \"string\"\n },\n \"title\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"IndividualTaxInformation\": {\n \"properties\": {\n \"crs\": {\n \"$ref\": \"#/components/schemas/FormCRS\"\n },\n \"w8Ben\": {\n \"$ref\": \"#/components/schemas/FormW8BEN\"\n },\n \"w8BenE\": {\n \"$ref\": \"#/components/schemas/FormW8BENE\"\n },\n \"w9\": {\n \"$ref\": \"#/components/schemas/FormW9\"\n }\n },\n \"type\": \"object\"\n },\n \"InformationChange\": {\n \"properties\": {\n \"addEntities\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AddEntity\"\n },\n \"type\": \"array\"\n },\n \"deleteEntities\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/DeleteEntity\"\n },\n \"type\": \"array\"\n },\n \"ibAccountId\": {\n \"type\": \"string\"\n },\n \"updateEntities\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/UpdateEntity\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"InstructionErrorResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionResult\"\n }\n ],\n \"properties\": {\n \"error\": {\n \"properties\": {\n \"errorCode\": {\n \"type\": \"string\"\n },\n \"errorMessage\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"errorCode\",\n \"errorMessage\"\n ],\n \"type\": \"object\"\n }\n },\n \"required\": [\n \"error\"\n ],\n \"type\": \"object\"\n },\n \"InstructionPollingResponse\": {\n \"properties\": {\n \"instructionResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/PollingInstructionResult\"\n }\n ]\n },\n \"instructionSetId\": {\n \"example\": -1988905739,\n \"type\": \"number\"\n },\n \"status\": {\n \"example\": 202,\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"instructionSetId\",\n \"status\"\n ],\n \"type\": \"object\"\n },\n \"InstructionResponse\": {\n \"properties\": {\n \"instructionResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionResult\"\n }\n ]\n },\n \"instructionSetId\": {\n \"example\": -1988905739,\n \"type\": \"number\"\n },\n \"status\": {\n \"example\": 202,\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"instructionSetId\",\n \"status\"\n ],\n \"type\": \"object\"\n },\n \"InstructionResult\": {\n \"properties\": {\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"description\": {\n \"example\": \"Please poll for status after 10 minutes\",\n \"type\": \"string\"\n },\n \"ibReferenceId\": {\n \"example\": 23456745,\n \"type\": \"number\"\n },\n \"instructionId\": {\n \"example\": 45123654,\n \"type\": \"number\"\n },\n \"instructionStatus\": {\n \"enum\": [\n \"PENDING\",\n \"PROCESSED\",\n \"REJECTED\",\n \"PENDING_VERIFICATION\"\n ],\n \"example\": \"PENDING\",\n \"type\": \"string\"\n },\n \"instructionType\": {\n \"enum\": [\n \"ACH_INSTRUCTION\",\n \"CANCEL_INSTRUCTION\",\n \"COMPLEX_ASSET_TRANSFER\",\n \"DELETE_BANK_INSTRUCTION\",\n \"DEPOSIT\",\n \"DWAC\",\n \"EXTERNAL_POSITION_TRANSFER\",\n \"FOP\",\n \"QUERY_RECENT_INSTRUCTIONS\",\n \"QUERY_WITHDRAWABLE_FUNDS\",\n \"INTERNAL_POSITION_TRANSFER\",\n \"INTERNAL_CASH_TRANSFER\",\n \"MICRO_AMOUNT\",\n \"PREDEFINED_DESTINATION_INSTRUCTION\",\n \"TRADITIONAL_BANK_INSTRUCTION_VERIFICATION\",\n \"WITHDRAWAL\",\n \"QUERY_IRA_CONTRIBUTIONS\",\n \"EDDA_INSTRUCTION\",\n \"QUERY_RECENT_RECURRING_EVENTS\",\n \"QUERY_RECURRING_INSTRUCTIONS\",\n \"QUERY_ACCOUNT_BALANCES\",\n \"QUERY_BANK_INSTRUCTION\",\n \"QUERY_WITHDRAWABLE_CASH_EQUITY\"\n ],\n \"example\": \"INTERNAL_CASH_TRANSFER\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"clientInstructionId\",\n \"instructionId\",\n \"instructionStatus\",\n \"instructionType\"\n ],\n \"type\": \"object\"\n },\n \"InsufficientScopeResponse\": {\n \"properties\": {\n \"detail\": {\n \"example\": \"The access token fails to have sufficient scope\",\n \"type\": \"string\"\n },\n \"status\": {\n \"example\": 403,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"title\": {\n \"example\": \"Forbidden\",\n \"type\": \"string\"\n },\n \"type\": {\n \"example\": \"/simple\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"status\",\n \"title\",\n \"type\"\n ],\n \"type\": \"object\"\n },\n \"InterestMarkupType\": {\n \"properties\": {\n \"creditMarkdown\": {\n \"type\": \"number\"\n },\n \"currency\": {\n \"enum\": [\n \"USD\",\n \"EUR\",\n \"GBP\",\n \"CAD\",\n \"JPY\",\n \"HKD\",\n \"AUD\",\n \"CHF\",\n \"MXN\",\n \"SEK\",\n \"NZD\",\n \"HUF\",\n \"CZK\",\n \"CNH\",\n \"DKK\",\n \"RUB\",\n \"ILS\",\n \"NOK\",\n \"SGD\",\n \"PLN\",\n \"ZAR\",\n \"AED\",\n \"KRW\",\n \"SAR\",\n \"TRY\",\n \"RON\",\n \"BGN\"\n ],\n \"type\": \"string\"\n },\n \"debitMarkup\": {\n \"type\": \"number\"\n },\n \"ibDebitMarkup\": {\n \"type\": \"number\"\n },\n \"longCfdDebitMarkdown\": {\n \"type\": \"number\"\n },\n \"longFxCfdMarkdown\": {\n \"type\": \"number\"\n },\n \"longIndexCfdDebitMarkdown\": {\n \"type\": \"number\"\n },\n \"shortCfdCreditMarkdown\": {\n \"type\": \"number\"\n },\n \"shortCreditMarkdown\": {\n \"type\": \"number\"\n },\n \"shortFxCfdMarkup\": {\n \"type\": \"number\"\n },\n \"shortIndexCfdCreditMarkdown\": {\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"InternalCashTransferInstruction\": {\n \"maxProperties\": 7,\n \"minProperties\": 5,\n \"properties\": {\n \"amount\": {\n \"example\": 123,\n \"type\": \"number\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"clientNote\": {\n \"example\": \"Note\",\n \"maxLength\": 64,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"currency\": {\n \"example\": \"GBP\",\n \"maxLength\": 3,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"dateTimeToOccur\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"sourceAccountId\": {\n \"example\": \"U46377\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"targetAccountId\": {\n \"example\": \"U15667\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"amount\",\n \"clientInstructionId\",\n \"currency\",\n \"sourceAccountId\",\n \"targetAccountId\"\n ],\n \"type\": \"object\"\n },\n \"InternalPositionTransferInstruction\": {\n \"properties\": {\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"settleDate\": {\n \"description\": \"If settleDate is provided then tradeDate is also required\",\n \"example\": \"2025-02-25\",\n \"type\": \"string\"\n },\n \"sourceAccountId\": {\n \"example\": \"U46377\",\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"targetAccountId\": {\n \"example\": \"U463756\",\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"tradeDate\": {\n \"description\": \"If tradeDate is provided then settleDate is also required\",\n \"example\": \"2025-02-17\",\n \"type\": \"string\"\n },\n \"tradingInstrument\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/TradingInstrument\"\n }\n ]\n },\n \"transferPrice\": {\n \"description\": \"If transferPrice is provided then tradeDate and settleDate are also required\",\n \"example\": 123,\n \"multipleOf\": 1e-09,\n \"type\": \"number\"\n },\n \"transferQuantity\": {\n \"example\": 100,\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"clientInstructionId\",\n \"sourceAccountId\",\n \"targetAccountId\",\n \"tradingInstrument\",\n \"transferQuantity\"\n ],\n \"type\": \"object\"\n },\n \"InternalServerErrorResponse\": {\n \"properties\": {\n \"status\": {\n \"example\": 500,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"title\": {\n \"example\": \"Internal Server Error\",\n \"type\": \"string\"\n },\n \"type\": {\n \"example\": \"/simple\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"status\",\n \"title\",\n \"type\"\n ]\n },\n \"InvalidAccessTokenResponse\": {\n \"properties\": {\n \"detail\": {\n \"example\": \"The access token request is invalid\",\n \"type\": \"string\"\n },\n \"status\": {\n \"example\": 401,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"title\": {\n \"example\": \"Unauthorized\",\n \"type\": \"string\"\n },\n \"type\": {\n \"example\": \"/simple\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"status\",\n \"title\",\n \"type\"\n ],\n \"type\": \"object\"\n },\n \"InvalidArgument\": {\n \"properties\": {\n \"description\": {\n \"description\": \"Error description\",\n \"example\": \"Missing required parameter\",\n \"type\": \"string\"\n },\n \"field\": {\n \"description\": \"Field name\",\n \"example\": \"payload\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"JointApplicant\": {\n \"properties\": {\n \"accreditedInvestorInformation\": {\n \"$ref\": \"#/components/schemas/AccreditedInvestorInformation\"\n },\n \"financialInformation\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/FinancialInformation\"\n },\n \"type\": \"array\"\n },\n \"firstHolderDetails\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AssociatedIndividual\"\n },\n \"type\": \"array\"\n },\n \"regulatedMemberships\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RegulatedMembership\"\n },\n \"type\": \"array\"\n },\n \"regulatoryInformation\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RegulatoryInformation\"\n },\n \"type\": \"array\"\n },\n \"secondHolderDetails\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AssociatedIndividual\"\n },\n \"type\": \"array\"\n },\n \"taxInformation\": {\n \"$ref\": \"#/components/schemas/IndividualTaxInformation\"\n },\n \"type\": {\n \"enum\": [\n \"community\",\n \"joint_tenants\",\n \"tenants_common\",\n \"tbe\",\n \"au_joint_account\"\n ],\n \"type\": \"string\"\n },\n \"withholdingStatement\": {\n \"$ref\": \"#/components/schemas/WithholdingStatementType\"\n }\n },\n \"type\": \"object\"\n },\n \"JoseHeader\": {\n \"properties\": {\n \"empty\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"JwsPayload\": {\n \"type\": \"object\"\n },\n \"LeaveDRIP\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"LeaveSYEP\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"LegalEntity\": {\n \"properties\": {\n \"address\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"email\": {\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"legalEntityIdentification\": {\n \"$ref\": \"#/components/schemas/LegalEntityIdentification\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"phones\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PhoneInfo\"\n },\n \"type\": \"array\"\n },\n \"taxResidencies\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TaxResidency\"\n },\n \"type\": \"array\"\n },\n \"translated\": {\n \"type\": \"boolean\"\n },\n \"usTaxResident\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"LegalEntityIdentification\": {\n \"properties\": {\n \"exchangeCode\": {\n \"type\": \"string\"\n },\n \"exchangeSymbol\": {\n \"type\": \"string\"\n },\n \"formationCountry\": {\n \"type\": \"string\"\n },\n \"formationType\": {\n \"enum\": [\n \"PUBLIC\",\n \"PRIVATE\",\n \"OTHER\"\n ],\n \"type\": \"string\"\n },\n \"identification\": {\n \"type\": \"string\"\n },\n \"identificationCountry\": {\n \"type\": \"string\"\n },\n \"mailingAddress\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"placeOfBusinessAddress\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"sameMailAddress\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"LinkDuplicateAccount\": {\n \"deprecated\": true,\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"clientActiveTrading\": {\n \"type\": \"boolean\"\n },\n \"externalAccountId\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"LocalTaxForm\": {\n \"properties\": {\n \"qualified\": {\n \"type\": \"boolean\"\n },\n \"taxAuthority\": {\n \"enum\": [\n \"ISRAEL_TA\",\n \"CANADA_TA\",\n \"RUSSIA_TA\",\n \"SWEDEN_TA\",\n \"AUSTRALIA_TA\"\n ],\n \"type\": \"string\"\n },\n \"treatyCountry\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"LoginMessage\": {\n \"properties\": {\n \"contentId\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"messageType\": {\n \"type\": \"string\"\n },\n \"recordDate\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"state\": {\n \"type\": \"string\"\n },\n \"tasks\": {\n \"items\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"type\": \"array\"\n },\n \"username\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"LoginMessageRequest\": {\n \"properties\": {\n \"endDate\": {\n \"format\": \"date\",\n \"type\": \"string\"\n },\n \"limit\": {\n \"format\": \"int32\",\n \"maximum\": 1000,\n \"minimum\": 1,\n \"type\": \"integer\"\n },\n \"offset\": {\n \"format\": \"int32\",\n \"minimum\": 0,\n \"type\": \"integer\"\n },\n \"startDate\": {\n \"format\": \"date\",\n \"type\": \"string\"\n },\n \"status\": {\n \"enum\": [\n \"N\",\n \"O\",\n \"P\",\n \"C\",\n \"A\",\n \"E\",\n \"F\",\n \"I\",\n \"J\",\n \"L\",\n \"M\",\n \"R\",\n \"W\",\n \"Q\"\n ],\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"endDate\",\n \"startDate\"\n ],\n \"type\": \"object\"\n },\n \"LoginMessageResponse\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"clearingStatus\": {\n \"type\": \"string\"\n },\n \"clearingStatusDescription\": {\n \"type\": \"string\"\n },\n \"loginMessagePresent\": {\n \"type\": \"boolean\"\n },\n \"loginMessages\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/LoginMessage\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"ManageMarketDataSubscriptions\": {\n \"properties\": {\n \"referenceUserName\": {\n \"type\": \"string\"\n },\n \"service\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Service\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"ManagingOwner\": {\n \"properties\": {\n \"externalId\": {\n \"type\": \"string\"\n },\n \"is25PercentOwner\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"MarkupStaircaseType\": {\n \"properties\": {\n \"amount\": {\n \"type\": \"number\"\n },\n \"break\": {\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"MissingRequiredParameterResponse\": {\n \"properties\": {\n \"invalidArguments\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/InvalidArgument\"\n },\n \"type\": \"array\"\n },\n \"status\": {\n \"example\": 400,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"title\": {\n \"example\": \"Bad Request\",\n \"type\": \"string\"\n },\n \"type\": {\n \"example\": \"/invalid-argument\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"status\",\n \"title\",\n \"type\"\n ],\n \"type\": \"object\"\n },\n \"NAVRangeType\": {\n \"properties\": {\n \"max\": {\n \"type\": \"number\"\n },\n \"maxFee\": {\n \"type\": \"number\"\n },\n \"min\": {\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"NoSuchInstructionResponse\": {\n \"properties\": {\n \"detail\": {\n \"example\": \"No such instruction found\",\n \"type\": \"string\"\n },\n \"status\": {\n \"example\": 404,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"title\": {\n \"example\": \"Not found\",\n \"type\": \"string\"\n },\n \"type\": {\n \"example\": \"/simple\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"status\",\n \"title\",\n \"type\"\n ],\n \"type\": \"object\"\n },\n \"NoSuchInstructionSetResponse\": {\n \"properties\": {\n \"detail\": {\n \"example\": \"No such instruction set found\",\n \"type\": \"string\"\n },\n \"instructionSetId\": {\n \"example\": 8389943,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"status\": {\n \"example\": 404,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"title\": {\n \"example\": \"Not found\",\n \"type\": \"string\"\n },\n \"type\": {\n \"example\": \"/simple\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"instructionSetId\",\n \"status\",\n \"title\",\n \"type\"\n ],\n \"type\": \"object\"\n },\n \"NonDisclosedDetail\": {\n \"maxProperties\": 8,\n \"minProperties\": 2,\n \"properties\": {\n \"buyerSellBic\": {\n \"example\": \"320043\",\n \"maxLength\": 64,\n \"minLength\": 0,\n \"type\": \"string\"\n },\n \"memberAccountId\": {\n \"example\": \"123456\",\n \"maxLength\": 64,\n \"minLength\": 0,\n \"type\": \"string\"\n },\n \"psetBic\": {\n \"example\": \"DTCYUS33XXX\",\n \"maxLength\": 64,\n \"minLength\": 0,\n \"type\": \"string\"\n },\n \"reagDeagBic\": {\n \"example\": \"CH100164\",\n \"maxLength\": 64,\n \"minLength\": 0,\n \"type\": \"string\"\n },\n \"safeKeepingAccountId\": {\n \"example\": \"123456\",\n \"maxLength\": 64,\n \"minLength\": 0,\n \"type\": \"string\"\n },\n \"settleDate\": {\n \"example\": \"2023-07-18\",\n \"type\": \"string\"\n },\n \"tradeDate\": {\n \"example\": \"2023-07-08\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"settleDate\",\n \"tradeDate\"\n ],\n \"type\": \"object\"\n },\n \"ORGRegulatorType\": {\n \"properties\": {\n \"regulatedInCapacity\": {\n \"type\": \"string\"\n },\n \"regulatorCountry\": {\n \"type\": \"string\"\n },\n \"regulatorId\": {\n \"type\": \"string\"\n },\n \"regulatorName\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"ORGRegulatoryInfoType\": {\n \"properties\": {\n \"orgRegulators\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/ORGRegulatorType\"\n },\n \"type\": \"array\"\n },\n \"public\": {\n \"type\": \"boolean\"\n },\n \"publicCompanyInfo\": {\n \"$ref\": \"#/components/schemas/PublicCompanyInfoType\"\n },\n \"regulated\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"OrderQuantityLimit\": {\n \"properties\": {\n \"asset\": {\n \"enum\": [\n \"BILL\",\n \"BOND\",\n \"CASH\",\n \"CFD\",\n \"COMB\",\n \"FOP\",\n \"FUND\",\n \"FUT\",\n \"OPT\",\n \"SSF\",\n \"STK\",\n \"WAR\",\n \"MRGN\",\n \"CLP\"\n ],\n \"type\": \"string\"\n },\n \"quantity\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"OrderValueLimits\": {\n \"properties\": {\n \"maxGrossValue\": {\n \"type\": \"number\"\n },\n \"maxNetValue\": {\n \"type\": \"number\"\n },\n \"maxOrderValue\": {\n \"type\": \"number\"\n },\n \"netContractLimit\": {\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"Organization\": {\n \"properties\": {\n \"identification\": {\n \"$ref\": \"#/components/schemas/OrganizationIdentification\"\n },\n \"regulatoryInformation\": {\n \"$ref\": \"#/components/schemas/RegulatoryInformation\"\n }\n },\n \"type\": \"object\"\n },\n \"OrganizationApplicant\": {\n \"properties\": {\n \"acceptedPrimaryWithholding\": {\n \"type\": \"boolean\"\n },\n \"accountSupport\": {\n \"$ref\": \"#/components/schemas/AccountSupportType\"\n },\n \"accreditedInvestorInformation\": {\n \"$ref\": \"#/components/schemas/AccreditedInvestorInformation\"\n },\n \"associatedEntities\": {\n \"$ref\": \"#/components/schemas/AssociatedEntities\"\n },\n \"assumedPrimaryReporting\": {\n \"type\": \"boolean\"\n },\n \"financialInformation\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/FinancialInformation\"\n },\n \"type\": \"array\"\n },\n \"identifications\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/OrganizationIdentification\"\n },\n \"type\": \"array\"\n },\n \"managingOwner\": {\n \"$ref\": \"#/components/schemas/ManagingOwner\"\n },\n \"orgUsSubsidiary\": {\n \"type\": \"boolean\"\n },\n \"qualifiedIntermediary\": {\n \"type\": \"boolean\"\n },\n \"regulatedMemberships\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RegulatedMembership\"\n },\n \"type\": \"array\"\n },\n \"regulatoryInformation\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RegulatoryInformation\"\n },\n \"type\": \"array\"\n },\n \"taxResidencies\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TaxResidency\"\n },\n \"type\": \"array\"\n },\n \"type\": {\n \"enum\": [\n \"LLC\",\n \"CORPORATION\",\n \"PARTNERSHIP\",\n \"UNINCORPORATED BUSINESS\"\n ],\n \"type\": \"string\"\n },\n \"typeOfTrading\": {\n \"enum\": [\n \"FIRM\",\n \"CUSTOMER\"\n ],\n \"type\": \"string\"\n },\n \"usTaxPurposeType\": {\n \"enum\": [\n \"C\",\n \"P\",\n \"E\"\n ],\n \"type\": \"string\"\n },\n \"w8BenE\": {\n \"$ref\": \"#/components/schemas/FormW8BENE\"\n },\n \"w8IMY\": {\n \"$ref\": \"#/components/schemas/FormW8IMY\"\n },\n \"withholdingStatement\": {\n \"$ref\": \"#/components/schemas/WithholdingStatementType\"\n }\n },\n \"type\": \"object\"\n },\n \"OrganizationIdentification\": {\n \"properties\": {\n \"businessDescription\": {\n \"type\": \"string\"\n },\n \"formationCountry\": {\n \"type\": \"string\"\n },\n \"formationState\": {\n \"type\": \"string\"\n },\n \"identification\": {\n \"type\": \"string\"\n },\n \"identificationCountry\": {\n \"type\": \"string\"\n },\n \"mailingAddress\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"phones\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PhoneInfo\"\n },\n \"type\": \"array\"\n },\n \"placeOfBusinessAddress\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"sameMailAddress\": {\n \"type\": \"boolean\"\n },\n \"translated\": {\n \"type\": \"boolean\"\n },\n \"websiteAddress\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"PartialBondPosition\": {\n \"properties\": {\n \"all\": {\n \"type\": \"boolean\"\n },\n \"cusipNumber\": {\n \"type\": \"string\"\n },\n \"numberOfBonds\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"PartialCashPosition\": {\n \"properties\": {\n \"amount\": {\n \"format\": \"float\",\n \"type\": \"number\"\n },\n \"fullCash\": {\n \"type\": \"boolean\"\n },\n \"marginLoan\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"PartialFundPosition\": {\n \"properties\": {\n \"all\": {\n \"type\": \"boolean\"\n },\n \"numberOfShares\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"symbol\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"PartialOptionPosition\": {\n \"properties\": {\n \"all\": {\n \"type\": \"boolean\"\n },\n \"expirationDate\": {\n \"type\": \"string\"\n },\n \"numberOfContracts\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"optionType\": {\n \"enum\": [\n \"CALL\",\n \"PUT\"\n ],\n \"type\": \"string\"\n },\n \"position\": {\n \"enum\": [\n \"LONG\",\n \"SHORT\"\n ],\n \"type\": \"string\"\n },\n \"strikePrice\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"symbol\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"PartialStockPosition\": {\n \"properties\": {\n \"all\": {\n \"type\": \"boolean\"\n },\n \"exchange\": {\n \"type\": \"string\"\n },\n \"numberOfShares\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"position\": {\n \"enum\": [\n \"LONG\",\n \"SHORT\"\n ],\n \"type\": \"string\"\n },\n \"symbol\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"PartialWarrantPosition\": {\n \"properties\": {\n \"all\": {\n \"type\": \"boolean\"\n },\n \"expirationDate\": {\n \"type\": \"string\"\n },\n \"numberOfShares\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"optionType\": {\n \"enum\": [\n \"CALL\",\n \"PUT\"\n ],\n \"type\": \"string\"\n },\n \"position\": {\n \"enum\": [\n \"LONG\",\n \"SHORT\"\n ],\n \"type\": \"string\"\n },\n \"strikePrice\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"symbol\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"PendingTask\": {\n \"properties\": {\n \"action\": {\n \"type\": \"string\"\n },\n \"au10tixCreatedDate\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"au10tixExpiryDate\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"documentRejectReason\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"entityId\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"formName\": {\n \"type\": \"string\"\n },\n \"formNumber\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"onlineTask\": {\n \"type\": \"boolean\"\n },\n \"questionIds\": {\n \"items\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"type\": \"array\"\n },\n \"requiredForApproval\": {\n \"type\": \"boolean\"\n },\n \"requiredForTrading\": {\n \"type\": \"boolean\"\n },\n \"startDate\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"state\": {\n \"type\": \"string\"\n },\n \"taskNumber\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"url\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"PendingTasksResponse\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"$ref\": \"#/components/schemas/ErrorResponse\"\n },\n \"errorDescription\": {\n \"type\": \"string\"\n },\n \"hasError\": {\n \"type\": \"boolean\"\n },\n \"pendingTaskPresent\": {\n \"type\": \"boolean\"\n },\n \"pendingTasks\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PendingTask\"\n },\n \"type\": \"array\"\n },\n \"state\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"PhoneInfo\": {\n \"properties\": {\n \"country\": {\n \"type\": \"string\"\n },\n \"number\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"enum\": [\n \"Work\",\n \"Home\",\n \"Fax\",\n \"Mobile\",\n \"Mobile (work)\",\n \"Mobile (other)\",\n \"Business\",\n \"Other (voice)\"\n ],\n \"type\": \"string\"\n },\n \"verified\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"PoliticalMilitaryDiplomaticDetailsType\": {\n \"properties\": {\n \"country\": {\n \"type\": \"string\"\n },\n \"organization\": {\n \"type\": \"string\"\n },\n \"personName\": {\n \"type\": \"string\"\n },\n \"title\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"PollingInstructionResult\": {\n \"properties\": {\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"description\": {\n \"example\": \"Please poll for status after 10 minutes\",\n \"type\": \"string\"\n },\n \"error\": {\n \"properties\": {\n \"errorCode\": {\n \"type\": \"string\"\n },\n \"errorMessage\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"errorCode\",\n \"errorMessage\"\n ],\n \"type\": \"object\"\n },\n \"ibReferenceId\": {\n \"example\": 23456745,\n \"type\": \"number\"\n },\n \"instructionId\": {\n \"example\": 45123654,\n \"type\": \"number\"\n },\n \"instructionStatus\": {\n \"enum\": [\n \"PENDING\",\n \"REJECTED\",\n \"PROCESSED\"\n ],\n \"example\": \"PENDING\",\n \"type\": \"string\"\n },\n \"instructionType\": {\n \"enum\": [\n \"ACH_INSTRUCTION\",\n \"CANCEL_INSTRUCTION\",\n \"COMPLEX_ASSET_TRANSFER\",\n \"DELETE_BANK_INSTRUCTION\",\n \"DEPOSIT\",\n \"DWAC\",\n \"EXTERNAL_POSITION_TRANSFER\",\n \"FOP\",\n \"QUERY_RECENT_INSTRUCTIONS\",\n \"QUERY_WITHDRAWABLE_FUNDS\",\n \"INTERNAL_POSITION_TRANSFER\",\n \"INTERNAL_CASH_TRANSFER\",\n \"MICRO_AMOUNT\",\n \"PREDEFINED_DESTINATION_INSTRUCTION\",\n \"TRADITIONAL_BANK_INSTRUCTION_VERIFICATION\",\n \"WITHDRAWAL\",\n \"QUERY_IRA_CONTRIBUTIONS\",\n \"EDDA_INSTRUCTION\",\n \"QUERY_RECENT_RECURRING_EVENTS\",\n \"QUERY_RECURRING_INSTRUCTIONS\",\n \"QUERY_ACCOUNT_BALANCES\",\n \"QUERY_BANK_INSTRUCTION\",\n \"QUERY_WITHDRAWABLE_CASH_EQUITY\"\n ],\n \"example\": \"INTERNAL_CASH_TRANSFER\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"clientInstructionId\",\n \"instructionId\",\n \"instructionStatus\",\n \"instructionType\"\n ],\n \"type\": \"object\"\n },\n \"PredefinedDestinationInstruction\": {\n \"maxProperties\": 6,\n \"properties\": {\n \"accountId\": {\n \"example\": \"U2323232\",\n \"maxLength\": 10,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"bankInstructionMethod\": {\n \"enum\": [\n \"LVP\",\n \"SEPA\",\n \"WIRE\",\n \"ACH\",\n \"CPA\"\n ],\n \"example\": \"ACH\",\n \"type\": \"string\"\n },\n \"bankInstructionName\": {\n \"example\": \"Instruction\",\n \"maxLength\": 100,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"currency\": {\n \"example\": \"USD\",\n \"maxLength\": 3,\n \"minLength\": 3,\n \"type\": \"string\"\n },\n \"financialInstitution\": {\n \"maxProperties\": 6,\n \"minProperties\": 4,\n \"properties\": {\n \"branchCode\": {\n \"maxLength\": 32,\n \"minLength\": 0,\n \"type\": \"string\"\n },\n \"branchCodeType\": {\n \"enum\": [\n \"BSB_AUD\",\n \"BANK_CODE_CAD\",\n \"NONE\"\n ],\n \"example\": \"BSB_AUD\",\n \"type\": \"string\"\n },\n \"clientAccountId\": {\n \"example\": \"132456789\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"identifier\": {\n \"example\": \"SBIN001000\",\n \"maxLength\": 24,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"identifierType\": {\n \"enum\": [\n \"BIC\",\n \"IFSC\"\n ],\n \"example\": \"BIC\",\n \"type\": \"string\"\n },\n \"name\": {\n \"example\": \"SBI BANK\",\n \"maxLength\": 100,\n \"minLength\": 1,\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"clientAccountId\",\n \"identifier\",\n \"identifierType\",\n \"name\"\n ],\n \"type\": \"object\"\n }\n },\n \"required\": [\n \"accountId\",\n \"bankInstructionMethod\",\n \"bankInstructionName\",\n \"clientInstructionId\",\n \"currency\",\n \"financialInstitution\"\n ],\n \"type\": \"object\"\n },\n \"PreviousLossesType\": {\n \"properties\": {\n \"currency\": {\n \"type\": \"string\"\n },\n \"loss\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"quarter\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"year\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"PrimaryContributorType\": {\n \"properties\": {\n \"address\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"employer\": {\n \"type\": \"string\"\n },\n \"firstName\": {\n \"type\": \"string\"\n },\n \"lastName\": {\n \"type\": \"string\"\n },\n \"middleInitial\": {\n \"type\": \"string\"\n },\n \"occupation\": {\n \"type\": \"string\"\n },\n \"sourceOfFunds\": {\n \"type\": \"string\"\n },\n \"suffix\": {\n \"enum\": [\n \"Jr.\",\n \"Sr.\",\n \"I\",\n \"II\",\n \"III\",\n \"IV\",\n \"V\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"ProblemDetail\": {\n \"properties\": {\n \"detail\": {\n \"description\": \"Detailed explanation\",\n \"example\": \"Missing required parameter: userName\",\n \"type\": \"string\"\n },\n \"invalidArguments\": {\n \"description\": \"Invalid fields (for 400 errors)\",\n \"items\": {\n \"$ref\": \"#/components/schemas/InvalidArgument\"\n },\n \"type\": \"array\"\n },\n \"status\": {\n \"description\": \"HTTP status code\",\n \"example\": 400,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"title\": {\n \"description\": \"Short summary\",\n \"example\": \"Bad Request\",\n \"type\": \"string\"\n },\n \"type\": {\n \"description\": \"Problem type URI\",\n \"example\": \"/invalid-argument\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"status\",\n \"title\",\n \"type\"\n ],\n \"type\": \"object\"\n },\n \"ProblemDetailResponse\": {\n \"properties\": {\n \"detail\": {\n \"type\": \"string\"\n },\n \"instance\": {\n \"format\": \"uri\",\n \"type\": \"string\"\n },\n \"status\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"title\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"format\": \"uri\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"ProcessDocuments\": {\n \"properties\": {\n \"documents\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Document\"\n },\n \"type\": \"array\"\n },\n \"inputLanguage\": {\n \"enum\": [\n \"en\",\n \"zh-Hans\",\n \"ja\",\n \"ru\",\n \"fr\",\n \"pt\",\n \"es\",\n \"it\",\n \"ar-AE\",\n \"de\",\n \"he-IL\",\n \"hu\"\n ],\n \"type\": \"string\"\n },\n \"translation\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"ProcessDocumentsPayload\": {\n \"properties\": {\n \"processDocuments\": {\n \"$ref\": \"#/components/schemas/ProcessDocuments\"\n }\n },\n \"type\": \"object\"\n },\n \"ProhibitedCountryQuestionnaire\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"entityId\": {\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"prohibitedQuestionnaireDetails\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/ProhibitedQuestionnaireDetail\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"ProhibitedCountryQuestionnaireList\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"entityId\": {\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"prohibitedQuestionnaireDetail\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/ProhibitedQuestionnaireDetail\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"ProhibitedQuestionnaireDetail\": {\n \"properties\": {\n \"code\": {\n \"enum\": [\n \"PASSPORT\",\n \"CITIZENSHIP\",\n \"BUSINESSDEALINGS\",\n \"FINANCIALACCOUNTS\",\n \"RESIDENT\",\n \"MULTI\",\n \"BIRTH\"\n ],\n \"type\": \"string\"\n },\n \"details\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"PublicCompanyInfoType\": {\n \"properties\": {\n \"exchangeTradedOn\": {\n \"type\": \"string\"\n },\n \"quotedSymbol\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"QualifiedPurchaser\": {\n \"properties\": {\n \"qualifiedPurchaserDetails\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/QualifiedPurchaserDetails\"\n },\n \"type\": \"array\"\n },\n \"status\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"QualifiedPurchaserDetails\": {\n \"properties\": {\n \"code\": {\n \"enum\": [\n \"InvestmentCompanyAct\",\n \"DiscretionaryBasis\"\n ],\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"QueryAccountBalancesResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionResult\"\n }\n ],\n \"properties\": {\n \"accountId\": {\n \"example\": \"U4567\",\n \"type\": \"string\"\n },\n \"clientBankAccountWithdrawableBalance\": {\n \"properties\": {\n \"bankAccountNumber\": {\n \"example\": \"625******4\",\n \"type\": \"string\"\n },\n \"bankRoutingNumber\": {\n \"example\": \"021302567\",\n \"type\": \"string\"\n },\n \"withdrawableBalanceWithoutOriginHold\": {\n \"example\": 132,\n \"type\": \"number\"\n }\n },\n \"type\": \"array\"\n },\n \"currency\": {\n \"example\": \"USD\",\n \"type\": \"string\"\n },\n \"transferableAmount\": {\n \"example\": 1234,\n \"type\": \"number\"\n },\n \"withdrawableAmount\": {\n \"example\": 1234,\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"accountId\",\n \"clientBankAccountWithdrawableBalance\",\n \"currency\",\n \"transferableAmount\",\n \"withdrawableAmount\"\n ],\n \"type\": \"object\"\n },\n \"QueryBankInstruction\": {\n \"maxProperties\": 3,\n \"properties\": {\n \"accountId\": {\n \"example\": \"U399192\",\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"bankInstructionMethod\": {\n \"enum\": [\n \"ACH\",\n \"WIRE\",\n \"USACH\",\n \"CAACH\",\n \"SEPA\",\n \"eDDA\",\n \"eGIRO\",\n \"OPEN_BANKING\"\n ],\n \"example\": \"WIRE\",\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"accountId\",\n \"bankInstructionMethod\",\n \"clientInstructionId\"\n ],\n \"type\": \"object\"\n },\n \"QueryBankInstructionResponse\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionPollingResponse\"\n },\n {\n \"properties\": {\n \"instructionResult\": {\n \"$ref\": \"#/components/schemas/QueryBankInstructionResult\"\n }\n },\n \"type\": \"object\"\n }\n ]\n },\n \"QueryBankInstructionResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionResult\"\n }\n ],\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"bankInstructionDetails\": {\n \"items\": {\n \"properties\": {\n \"bankAccountNumber\": {\n \"example\": \"*****0000\",\n \"type\": \"string\"\n },\n \"bankRoutingNumber\": {\n \"example\": \"000000000\",\n \"type\": \"string\"\n },\n \"currency\": {\n \"example\": \"USD\",\n \"type\": \"string\"\n },\n \"instructionName\": {\n \"example\": \"testinstr\",\n \"type\": \"string\"\n },\n \"instructionStatus\": {\n \"example\": \"PROCESSED\",\n \"type\": \"string\"\n },\n \"type\": {\n \"example\": \"CREDIT\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"bankAccountNumber\",\n \"bankRoutingNumber\",\n \"currency\",\n \"instructionName\",\n \"instructionStatus\",\n \"type\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"bankInstructionMethod\": {\n \"enum\": [\n \"WIRE\",\n \"ACH\",\n \"USACH\",\n \"CAACH\",\n \"SEPA\",\n \"eDDA\",\n \"eGIRO\",\n \"OPEN_BANKING\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accountId\",\n \"bankInstructionDetails\",\n \"bankInstructionMethod\"\n ],\n \"type\": \"object\"\n },\n \"QueryIRAContributions\": {\n \"properties\": {\n \"accountId\": {\n \"example\": \"U399192\",\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"year\": {\n \"example\": \"2003\",\n \"maxLength\": 4,\n \"minLength\": 4,\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accountId\",\n \"clientInstructionId\",\n \"year\"\n ],\n \"type\": \"object\"\n },\n \"QueryIRAContributionsResponse\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionPollingResponse\"\n },\n {\n \"properties\": {\n \"instructionResult\": {\n \"$ref\": \"#/components/schemas/QueryIRAContributionsResult\"\n }\n },\n \"type\": \"object\"\n }\n ]\n },\n \"QueryIRAContributionsResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/PollingInstructionResult\"\n },\n {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"contributions\": {\n \"items\": {\n \"properties\": {\n \"allowedContributionLimit\": {\n \"type\": \"number\"\n },\n \"maximumContributionLimit\": {\n \"type\": \"number\"\n },\n \"yearToDateContribution\": {\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"allowedContributionLimit\",\n \"maximumContributionLimit\",\n \"yearToDateContribution\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"iraType\": {\n \"type\": \"string\"\n },\n \"year\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accountId\",\n \"contributions\",\n \"iraType\",\n \"year\"\n ],\n \"type\": \"object\"\n }\n ]\n },\n \"QueryRecentInstructionResponse\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionPollingResponse\"\n },\n {\n \"properties\": {\n \"instructionResult\": {\n \"$ref\": \"#/components/schemas/QueryRecentInstructionResult\"\n }\n },\n \"type\": \"object\"\n }\n ]\n },\n \"QueryRecentInstructionResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/PollingInstructionResult\"\n },\n {\n \"properties\": {\n \"instructionHistory\": {\n \"properties\": {\n \"historyMaxDepthNumberOfDays\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"historyMaxDepthNumberOfInstruction\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"result\": {\n \"properties\": {\n \"clientInstructionId\": {\n \"type\": \"number\"\n },\n \"ibInstructionId\": {\n \"type\": \"number\"\n },\n \"instructionSetId\": {\n \"type\": \"number\"\n },\n \"instructionType\": {\n \"type\": \"string\"\n },\n \"requestDate\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"clientInstructionId\",\n \"ibInstructionId\",\n \"instructionSetId\",\n \"instructionType\",\n \"requestDate\",\n \"status\"\n ],\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"historyMaxDepthNumberOfDays\",\n \"historyMaxDepthNumberOfInstruction\",\n \"result\"\n ],\n \"type\": \"object\"\n }\n },\n \"required\": [\n \"instructionHistory\"\n ],\n \"type\": \"object\"\n }\n ]\n },\n \"QueryRecentInstructions\": {\n \"properties\": {\n \"accountId\": {\n \"example\": \"U399192\",\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"transactionHistory\": {\n \"properties\": {\n \"daysToGoBack\": {\n \"example\": 5,\n \"minimum\": 1,\n \"type\": \"number\"\n },\n \"transactionType\": {\n \"enum\": [\n \"ALL\",\n \"ACH_INSTRUCTION\",\n \"PREDEFINED_DESTINATION_INSTRUCTION\",\n \"WITHDRAWAL\",\n \"DEPOSIT\",\n \"DWAC\",\n \"FOP\",\n \"EDDA_INSTRUCTION\",\n \"TRADITIONAL_BANK_INSTRUCTION_VERIFICATION\",\n \"CANCEL_INSTRUCTION\",\n \"DELETE_BANK_INSTRUCTION\",\n \"EXTERNAL_POSITION_TRANSFER\",\n \"INTERNAL_CASH_TRANSFER\",\n \"INTERNAL_POSITION_TRANSFER\",\n \"COMPLEX_ASSET_TRANSFER\"\n ],\n \"example\": \"INTERNAL_CASH_TRANSFER\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"daysToGoBack\"\n ],\n \"type\": \"object\"\n }\n },\n \"required\": [\n \"accountId\",\n \"clientInstructionId\",\n \"transactionHistory\"\n ],\n \"type\": \"object\"\n },\n \"QueryRecentRecurringEventResponse\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionPollingResponse\"\n },\n {\n \"properties\": {\n \"instructionResult\": {\n \"$ref\": \"#/components/schemas/QueryRecentRecurringEventResult\"\n }\n },\n \"type\": \"object\"\n }\n ]\n },\n \"QueryRecentRecurringEventResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionResult\"\n }\n ],\n \"properties\": {\n \"amount\": {\n \"type\": \"number\"\n },\n \"currency\": {\n \"type\": \"string\"\n },\n \"method\": {\n \"type\": \"string\"\n },\n \"recurringInstructionName\": {\n \"type\": \"string\"\n },\n \"recurringTransactionStatus\": {\n \"type\": \"string\"\n },\n \"recurringTransactionType\": {\n \"type\": \"string\"\n },\n \"transactionHistory\": {\n \"properties\": {\n \"maxNumberOfTransactions\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"result\": {\n \"items\": {\n \"properties\": {\n \"ibRequestId\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"status\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"required\": [\n \"amount\",\n \"currency\",\n \"method\",\n \"recurringInstructionName\",\n \"recurringTransactionStatus\",\n \"recurringTransactionType\",\n \"transactionHistory\"\n ],\n \"type\": \"object\"\n },\n \"QueryRecentRecurringEvents\": {\n \"maxProperties\": 3,\n \"properties\": {\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"ibReferenceId\": {\n \"example\": -343872793,\n \"minimum\": 0,\n \"type\": \"number\"\n },\n \"numberOfTransactions\": {\n \"example\": 15,\n \"minimum\": 1,\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"clientInstructionId\",\n \"ibReferenceId\"\n ],\n \"type\": \"object\"\n },\n \"QueryRecurringInstructions\": {\n \"properties\": {\n \"accountId\": {\n \"example\": \"U399192\",\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"accountId\",\n \"clientInstructionId\"\n ],\n \"type\": \"object\"\n },\n \"QueryRecurringInstructionsResponse\": {\n \"allOf\": [\n {\n \"properties\": {\n \"instructionResult\": {\n \"$ref\": \"#/components/schemas/QueryRecurringInstructionsResult\"\n }\n },\n \"type\": \"object\"\n }\n ]\n },\n \"QueryRecurringInstructionsResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionResult\"\n }\n ],\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"recurringInstructions\": {\n \"items\": {\n \"properties\": {\n \"amount\": {\n \"type\": \"number\"\n },\n \"bankInstructionMethod\": {\n \"type\": \"string\"\n },\n \"bankInstructionName\": {\n \"type\": \"string\"\n },\n \"currency\": {\n \"type\": \"string\"\n },\n \"endDate\": {\n \"type\": \"string\"\n },\n \"frequency\": {\n \"type\": \"string\"\n },\n \"requestId\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"startDate\": {\n \"type\": \"string\"\n },\n \"transactionType\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"accountId\",\n \"recurringInstructions\"\n ],\n \"type\": \"object\"\n },\n \"QueryWithdrawableAmountsInstructionResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/PollingInstructionResult\"\n },\n {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"allowedTransferAmountToMaster\": {\n \"type\": \"number\"\n },\n \"allowedTransferAmountToMasterNoBorrow\": {\n \"type\": \"number\"\n },\n \"currency\": {\n \"type\": \"string\"\n },\n \"withdrawableAmount\": {\n \"type\": \"number\"\n },\n \"withdrawableAmountNoBorrow\": {\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"accountId\",\n \"allowedTransferAmountToMaster\",\n \"allowedTransferAmountToMasterNoBorrow\",\n \"currency\",\n \"withdrawableAmount\",\n \"withdrawableAmountNoBorrow\"\n ],\n \"type\": \"object\"\n }\n ]\n },\n \"QueryWithdrawableAmountsResponse\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionPollingResponse\"\n },\n {\n \"properties\": {\n \"instructionResult\": {\n \"$ref\": \"#/components/schemas/QueryWithdrawableAmountsInstructionResult\"\n }\n },\n \"type\": \"object\"\n }\n ]\n },\n \"QueryWithdrawableAmountsWithoutOriginHoldResponse\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionPollingResponse\"\n },\n {\n \"properties\": {\n \"instructionResult\": {\n \"$ref\": \"#/components/schemas/QueryWithdrawableAmountsWithoutOriginHoldResult\"\n }\n },\n \"type\": \"object\"\n }\n ]\n },\n \"QueryWithdrawableAmountsWithoutOriginHoldResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/PollingInstructionResult\"\n },\n {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"currency\": {\n \"type\": \"string\"\n },\n \"withdrawableAmountWithoutOriginationHold\": {\n \"type\": \"number\"\n },\n \"withdrawableAmountWithoutOriginationHoldNoBorrow\": {\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"accountId\",\n \"currency\",\n \"withdrawableAmountWithoutOriginationHold\",\n \"withdrawableAmountWithoutOriginationHoldNoBorrow\"\n ],\n \"type\": \"object\"\n }\n ]\n },\n \"QueryWithdrawableCashEquity\": {\n \"properties\": {\n \"accountId\": {\n \"example\": \"U399192\",\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"currency\": {\n \"example\": \"USD\",\n \"maxLength\": 3,\n \"minLength\": 3,\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accountId\",\n \"clientInstructionId\",\n \"currency\"\n ],\n \"type\": \"object\"\n },\n \"QueryWithdrawableCashEquityResponse\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionPollingResponse\"\n },\n {\n \"properties\": {\n \"instructionResult\": {\n \"$ref\": \"#/components/schemas/QueryWithdrawableCashEquityResult\"\n }\n },\n \"type\": \"object\"\n }\n ]\n },\n \"QueryWithdrawableCashEquityResult\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/PollingInstructionResult\"\n },\n {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"availableEquityValue\": {\n \"type\": \"number\"\n },\n \"currency\": {\n \"type\": \"string\"\n },\n \"withdrawableCashAmount\": {\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"accountId\",\n \"availableEquityValue\",\n \"currency\",\n \"withdrawableCashAmount\"\n ],\n \"type\": \"object\"\n }\n ]\n },\n \"QueryWithdrawableFunds\": {\n \"allOf\": [\n {}\n ],\n \"properties\": {\n \"accountId\": {\n \"example\": \"U399192\",\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"bankAccountNumber\": {\n \"description\": \"If bankAccountNumber is provided then bankRoutingNumber is also required, cannot be passed with bankInstructionName\",\n \"example\": \"9876543210\",\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"bankInstructionName\": {\n \"description\": \"bankInstructionName cannot be passed with (bankAccountNumber or bankRoutingNumber)\",\n \"example\": \"test\",\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"bankRoutingNumber\": {\n \"description\": \"If bankRoutingNumber is provided then bankAccountNumber is also required, cannot be passed with bankInstructionName\",\n \"example\": \"122199983\",\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"currency\": {\n \"example\": \"USD\",\n \"minLength\": 1,\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accountId\",\n \"clientInstructionId\",\n \"currency\"\n ],\n \"type\": \"object\"\n },\n \"Questionnaire\": {\n \"properties\": {\n \"answers\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Answer\"\n },\n \"type\": \"array\"\n },\n \"formNumber\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"QuestionnaireResponse\": {\n \"properties\": {\n \"answers\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AnswerResponse\"\n },\n \"type\": \"array\"\n },\n \"isMandatoryToAnswer\": {\n \"type\": \"boolean\"\n },\n \"question\": {\n \"type\": \"string\"\n },\n \"questionId\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"questionType\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"QuestionnaireType\": {\n \"properties\": {\n \"detail\": {\n \"type\": \"string\"\n },\n \"formNumber\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"Questionnaires\": {\n \"properties\": {\n \"questionnaire\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Questionnaire\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"QuestionnairesWithAccount\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"questionnaire\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Questionnaire\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"QuizQuestionnaires\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"questionnaire\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Questionnaire\"\n },\n \"type\": \"array\"\n },\n \"task\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Task\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"RateLimitConfig\": {\n \"properties\": {\n \"capacity\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"period\": {\n \"properties\": {\n \"nano\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"negative\": {\n \"type\": \"boolean\"\n },\n \"seconds\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"units\": {\n \"items\": {\n \"properties\": {\n \"dateBased\": {\n \"type\": \"boolean\"\n },\n \"duration\": {\n \"properties\": {\n \"nano\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"negative\": {\n \"type\": \"boolean\"\n },\n \"seconds\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"zero\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"durationEstimated\": {\n \"type\": \"boolean\"\n },\n \"timeBased\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"zero\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"refillAmount\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"subject\": {\n \"enum\": [\n \"CLIENT_ID\",\n \"REQUEST_IP\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"period\",\n \"subject\"\n ],\n \"type\": \"object\"\n },\n \"RecurringInstructionDetail\": {\n \"maxProperties\": 4,\n \"minProperties\": 3,\n \"properties\": {\n \"endDate\": {\n \"example\": \"2023-10-16\",\n \"type\": \"string\"\n },\n \"frequency\": {\n \"enum\": [\n \"MONTHLY\",\n \"QUARTERLY\",\n \"YEARLY\"\n ],\n \"example\": \"MONTHLY\",\n \"type\": \"string\"\n },\n \"instructionName\": {\n \"example\": \"Arkansas-Test\",\n \"maxLength\": 64,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"startDate\": {\n \"example\": \"2023-10-16\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"frequency\",\n \"instructionName\",\n \"startDate\"\n ],\n \"type\": \"object\"\n },\n \"RegisteredClient\": {\n \"properties\": {\n \"account_id\": {\n \"type\": \"string\"\n },\n \"allowed_client_auth_methods\": {\n \"items\": {\n \"enum\": [\n \"private_key_jwt\",\n \"client_secret_basic\",\n \"client_secret_post\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\",\n \"uniqueItems\": true\n },\n \"allowed_grant_types\": {\n \"items\": {\n \"enum\": [\n \"client_credentials\",\n \"authorization_code\",\n \"refresh_token\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\",\n \"uniqueItems\": true\n },\n \"client_category\": {\n \"enum\": [\n \"DIRECT\",\n \"THIRD_PARTY\",\n \"AI_AGENT\"\n ],\n \"type\": \"string\"\n },\n \"client_id\": {\n \"type\": \"string\"\n },\n \"client_name\": {\n \"type\": \"string\"\n },\n \"client_secret_expires_at\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"client_secret_issued_at\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"client_secret_previous_expires_at\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"client_status\": {\n \"enum\": [\n \"REQUESTED\",\n \"ACTIVE\",\n \"REVOKED\",\n \"UNKNOWN\"\n ],\n \"type\": \"string\"\n },\n \"client_type\": {\n \"enum\": [\n \"CONFIDENTIAL\",\n \"PUBLIC\",\n \"TEST\"\n ],\n \"type\": \"string\"\n },\n \"client_uri\": {\n \"type\": \"string\"\n },\n \"configuration\": {\n \"$ref\": \"#/components/schemas/ClientConfiguration\"\n },\n \"created_at\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"csid\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"jwks\": {\n \"$ref\": \"#/components/schemas/ClientPublicKeySet\"\n },\n \"logo_uri\": {\n \"type\": \"string\"\n },\n \"policy_uri\": {\n \"type\": \"string\"\n },\n \"redirect_uris\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"RegisteredScope\": {\n \"properties\": {\n \"defaultTokenDurationSeconds\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"friendly_name\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"name\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"RegisteredScopeSet\": {\n \"properties\": {\n \"scopes\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RegisteredScope\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"RegistrationTask\": {\n \"properties\": {\n \"action\": {\n \"type\": \"string\"\n },\n \"dateCompleted\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"formName\": {\n \"type\": \"string\"\n },\n \"formNumber\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"isCompleted\": {\n \"type\": \"boolean\"\n },\n \"isDeclined\": {\n \"type\": \"boolean\"\n },\n \"isRequiredForApproval\": {\n \"type\": \"boolean\"\n },\n \"questionIds\": {\n \"items\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"type\": \"array\"\n },\n \"state\": {\n \"type\": \"string\"\n },\n \"warning\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"RegistrationTasksResponse\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"error\": {\n \"$ref\": \"#/components/schemas/ErrorResponse\"\n },\n \"errorDescription\": {\n \"type\": \"string\"\n },\n \"hasError\": {\n \"type\": \"boolean\"\n },\n \"registrationTaskPresent\": {\n \"type\": \"boolean\"\n },\n \"registrationTasks\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RegistrationTask\"\n },\n \"type\": \"array\"\n },\n \"state\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"RegulatedMembership\": {\n \"properties\": {\n \"membershipId\": {\n \"type\": \"string\"\n },\n \"organizationCode\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"RegulatoryDetail\": {\n \"properties\": {\n \"code\": {\n \"description\": \"(one of: CRIMINAL, AFFILIATION, CFTCREGISTERED, IBACCOUNTS, REGULATORYCONTROL, EmployeePubTrade, ControlPubTraded, BROKERDEALER, EXCHANGEMEMBERSHIP, STOCKCONTROL, DISPUTE, INVESTIGATION, MEMBERSHIP, AUSEXPOSURE, CONTROLLER, POLITICALMILITARYDIPLOMATIC, FOREIGN_BANK, BROKER_DEALER, FUTURES_COMMISSION_MERCHANT, MUTUAL_FUND, FOREIGN_EXCHANGE, MONEY_TRANSMITTER, EMPLOYEE_BENEFIT_PLAN, US_BANK, US_SWAP_DEALER, US_SWAP_PARTICIPANT, US_INSURANCE_COMPANY, NON_US_INSURANCE_COMPANY, US_DEPT, FINANCIAL_ADVISOR, HIGH_RISK_CONTRIBUTION)\",\n \"type\": \"string\"\n },\n \"detail\": {\n \"type\": \"string\"\n },\n \"details\": {\n \"type\": \"string\"\n },\n \"externalIndividualId\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"RegulatoryInformation\": {\n \"properties\": {\n \"affiliationDetails\": {\n \"$ref\": \"#/components/schemas/AffiliationDetailsType\"\n },\n \"ausExposureDetails\": {\n \"$ref\": \"#/components/schemas/AUSExposureDetailsType\"\n },\n \"controllerExchangeCode\": {\n \"type\": \"string\"\n },\n \"financialOrgTypes\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"orgRegulatoryInfo\": {\n \"$ref\": \"#/components/schemas/ORGRegulatoryInfoType\"\n },\n \"politicalMilitaryDiplomaticDetails\": {\n \"$ref\": \"#/components/schemas/PoliticalMilitaryDiplomaticDetailsType\"\n },\n \"regulatoryDetail\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RegulatoryDetail\"\n },\n \"type\": \"array\"\n },\n \"regulatoryDetails\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RegulatoryDetail\"\n },\n \"type\": \"array\"\n },\n \"selfRegulatedMembership\": {\n \"$ref\": \"#/components/schemas/SelfRegulatedMembershipType\"\n },\n \"translated\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"RemoveTradingPermissions\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"tradingPermissions\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TradingPermission\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"ReopenAccount\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"RepDetail\": {\n \"properties\": {\n \"percentage\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"repId\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"RepresentativeDetail\": {\n \"properties\": {\n \"percentage\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"representativeId\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"RequestDetail\": {\n \"properties\": {\n \"accountID\": {\n \"type\": \"string\"\n },\n \"dateSubmitted\": {\n \"type\": \"string\"\n },\n \"requestId\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"requestType\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"RequestDetailsRequest\": {\n \"properties\": {\n \"endDate\": {\n \"format\": \"date\",\n \"type\": \"string\"\n },\n \"limit\": {\n \"format\": \"int32\",\n \"maximum\": 1000,\n \"minimum\": 1,\n \"type\": \"integer\"\n },\n \"offset\": {\n \"format\": \"int32\",\n \"minimum\": 0,\n \"type\": \"integer\"\n },\n \"startDate\": {\n \"format\": \"date\",\n \"type\": \"string\"\n },\n \"status\": {\n \"enum\": [\n \"N\",\n \"O\",\n \"P\",\n \"C\",\n \"A\",\n \"E\",\n \"F\",\n \"I\",\n \"J\",\n \"L\",\n \"M\",\n \"R\",\n \"W\",\n \"Q\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"endDate\",\n \"startDate\"\n ],\n \"type\": \"object\"\n },\n \"RequestDetailsResponse\": {\n \"properties\": {\n \"limit\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"offset\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"requestDetails\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RequestDetail\"\n },\n \"type\": \"array\"\n },\n \"total\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"RequestInfoResponse\": {\n \"properties\": {\n \"executedAt\": {\n \"type\": \"string\"\n },\n \"requestId\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"RequiredFormsRequest\": {\n \"properties\": {\n \"accountType\": {\n \"type\": \"string\"\n },\n \"additionalAccount\": {\n \"type\": \"boolean\"\n },\n \"additionalApplicant\": {\n \"type\": \"boolean\"\n },\n \"applicantType\": {\n \"type\": \"string\"\n },\n \"capability\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"faTradingAccount\": {\n \"type\": \"boolean\"\n },\n \"ira\": {\n \"type\": \"boolean\"\n },\n \"iraType\": {\n \"type\": \"string\"\n },\n \"mifidCategory\": {\n \"type\": \"string\"\n },\n \"processType\": {\n \"type\": \"string\"\n },\n \"requestedFCBP\": {\n \"type\": \"boolean\"\n },\n \"requestedSYEP\": {\n \"type\": \"boolean\"\n },\n \"residenceCountry\": {\n \"type\": \"string\"\n },\n \"tradingPermissions\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"RequiredFormsResponse\": {\n \"properties\": {\n \"error\": {\n \"$ref\": \"#/components/schemas/ErrorResponse\"\n },\n \"errorDescription\": {\n \"type\": \"string\"\n },\n \"forms\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"hasError\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"ResetAbandonedAccount\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"ResidenceAddress\": {\n \"description\": \"Provide the residential address where the applicant physically resides. <br><ul><li>If the mailing address is different from the address provided in Residence element, THEN you will also include MailingAddress element.</li><li>Post Office Box is not accepted for Residential Address.</li><li>Our system validates street_1 and street_2 included within Residence attribute to ensure Post Office Box address is not provided.</li><li>An error will be thrown if the below combinations are included within street_1 OR street_2:</li><ul><li>PB</li><li>PO Box</li><li>Post Office Box</li><li>P.O. Box</li><li>In care of</li><li>General Delivery</li><li>Regular Expression to validate street_1 and street_2:</li></ul></ul>English: (?:P(?:ost(?:al)?)?[\\\\.\\\\-\\\\s]*(?:(?:O(?:ffice)?[\\\\.\\\\s]*)?B(?:ox|in|\\\\b|\\\\d)|o(?:ffice|\\\\b)(?:[-\\\\s]*\\\\d)|code)|box[-\\\\s]*\\\\d)<br>Chinese Simplified: PO Box (?i)\\\\b((\\u90ae\\u653f\\u4fe1\\u7bb1) [0-9]*)\\\\bChinese Traditional: PO Box (?i)\\\\b((\\u90f5\\u653f\\u4fe1\\u7bb1) [0-9]*)\\\\b\",\n \"properties\": {\n \"city\": {\n \"description\": \"City which the applicant resides.\",\n \"example\": \"London\",\n \"type\": \"string\"\n },\n \"country\": {\n \"description\": \"Country which the applicant resides.\",\n \"example\": \"GBR\",\n \"type\": \"string\"\n },\n \"postalCode\": {\n \"description\": \"Postal / Zip code.For countries that do not provide postal code, please enter 00000\",\n \"example\": \"SW10 9QL\",\n \"type\": \"string\"\n },\n \"state\": {\n \"description\": \"State/Province which the applicant resides.\",\n \"example\": \"GB-ENG\",\n \"type\": \"string\"\n },\n \"street1\": {\n \"description\": \"Street which applicant resides\",\n \"example\": \"1 Tester Street\",\n \"type\": \"string\"\n },\n \"street2\": {\n \"description\": \"Street which applicant resides\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"ResponseFileResponse\": {\n \"properties\": {\n \"data\": {\n \"type\": \"object\"\n },\n \"error\": {\n \"$ref\": \"#/components/schemas/ErrorResponse\"\n },\n \"errorDescription\": {\n \"type\": \"string\"\n },\n \"hasError\": {\n \"type\": \"boolean\"\n },\n \"isProcessed\": {\n \"type\": \"boolean\"\n },\n \"name\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"RestrictionInfo\": {\n \"properties\": {\n \"byIB\": {\n \"type\": \"boolean\"\n },\n \"id\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"name\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"SOIQuestionnaire\": {\n \"properties\": {\n \"details\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"SecurityQuestions\": {\n \"properties\": {\n \"details\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Details\"\n },\n \"type\": \"array\"\n },\n \"inputLanguage\": {\n \"enum\": [\n \"en\",\n \"zh-Hans\",\n \"ja\",\n \"ru\",\n \"fr\",\n \"pt\",\n \"es\",\n \"it\",\n \"ar-AE\",\n \"de\",\n \"he-IL\",\n \"hu\"\n ],\n \"type\": \"string\"\n },\n \"referenceUserName\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"SelfRegulatedMembershipType\": {\n \"properties\": {\n \"exchanges\": {\n \"type\": \"string\"\n },\n \"organizations\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"ServerPublicKey\": {\n \"properties\": {\n \"asymmetric\": {\n \"type\": \"boolean\"\n },\n \"empty\": {\n \"type\": \"boolean\"\n },\n \"keyBitSize\": {\n \"format\": \"int32\",\n \"minimum\": 3072,\n \"type\": \"integer\"\n },\n \"keyId\": {\n \"type\": \"string\"\n },\n \"private\": {\n \"type\": \"boolean\"\n },\n \"public\": {\n \"type\": \"boolean\"\n },\n \"symmetric\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"Service\": {\n \"properties\": {\n \"action\": {\n \"enum\": [\n \"ADD\",\n \"REMOVE\"\n ],\n \"type\": \"string\"\n },\n \"value\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"SignedJwtEchoRequest\": {\n \"properties\": {\n \"iss\": {\n \"example\": \"prodtester\",\n \"type\": \"string\"\n }\n }\n },\n \"SourceOfIncomeType\": {\n \"properties\": {\n \"description\": {\n \"type\": \"string\"\n },\n \"percentage\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"sourceType\": {\n \"enum\": [\n \"CONSULTING\",\n \"DISABILITY\",\n \"INHERITANCE\",\n \"INTEREST\",\n \"REALESTATE\",\n \"RENTAL\",\n \"SEVERANCE\",\n \"SPOUSE\",\n \"TRADINGANDINVESTMENTS\",\n \"PENSIONANDSOCIALSECURITY\",\n \"UNEMPLOYMENT\",\n \"OTHER\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"SourceOfWealthType\": {\n \"properties\": {\n \"description\": {\n \"type\": \"string\"\n },\n \"percentage\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"sourceType\": {\n \"enum\": [\n \"SOW-IND-Allowance\",\n \"SOW-IND-Disability\",\n \"SOW-IND-Income\",\n \"SOW-IND-Inheritance\",\n \"SOW-IND-Interest\",\n \"SOW-IND-MarketProfit\",\n \"SOW-IND-Other\",\n \"SOW-IND-Pension\",\n \"SOW-IND-Property\",\n \"SOW-ORG-Business\",\n \"SOW-ORG-MarketTradingProfits\",\n \"SOW-ORG-Other\",\n \"SOW-ORG-OwnerEquity\",\n \"SOW-ORG-Property\",\n \"SOW-ORG-RetainedEarnings\"\n ],\n \"type\": \"string\"\n },\n \"usedForFunds\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"StatusResponse\": {\n \"properties\": {\n \"dateSubmitted\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"fileData\": {\n \"$ref\": \"#/components/schemas/FileData\"\n },\n \"requestId\": {\n \"format\": \"int64\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"StmtRequest\": {\n \"properties\": {\n \"accountId\": {\n \"description\": \"account id\",\n \"type\": \"string\"\n },\n \"accountIds\": {\n \"description\": \"array of account id\'s\",\n \"example\": [\n \"U123\",\n \"U456\"\n ],\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"cryptoConsolIfAvailable\": {\n \"default\": false,\n \"description\": \"crypto consolidate flag, If request contains any accounts with crypto segment, will turn request into Crypto Consolidated\",\n \"type\": \"boolean\"\n },\n \"endDate\": {\n \"description\": \"to date\",\n \"type\": \"string\"\n },\n \"gzip\": {\n \"default\": false,\n \"description\": \"to gzip the whole response pass true\",\n \"type\": \"boolean\"\n },\n \"language\": {\n \"default\": \"en\",\n \"description\": \"two character ISO language code\",\n \"example\": \"en, fr defaults to en (english)\",\n \"type\": \"string\"\n },\n \"mimeType\": {\n \"description\": \"output format\",\n \"example\": \"application/pdf, text/html, or text/csv\",\n \"type\": \"string\"\n },\n \"multiAccountFormat\": {\n \"description\": \"possible values are consolidate, concatenate, or customConsolidate\",\n \"type\": \"string\"\n },\n \"startDate\": {\n \"description\": \"from date\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accountId\",\n \"endDate\",\n \"startDate\"\n ],\n \"type\": \"object\"\n },\n \"SynchronousInstructionResponse\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionResponse\"\n }\n ]\n },\n \"Task\": {\n \"properties\": {\n \"formNumber\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"status\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"TaskActionResponse\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"formNumber\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"message\": {\n \"type\": \"string\"\n },\n \"status\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"TaxFormRequest\": {\n \"properties\": {\n \"accountId\": {\n \"description\": \"Account id\",\n \"example\": \"UXXXX\",\n \"type\": \"string\"\n },\n \"format\": {\n \"description\": \"format\",\n \"example\": \"HTML,CSV,PDF\",\n \"type\": \"string\"\n },\n \"gzip\": {\n \"default\": false,\n \"description\": \"to gzip the whole response pass true\",\n \"type\": \"boolean\"\n },\n \"type\": {\n \"description\": \"Tax Form Type (can retrieve available tax documents via /api/v1/tax-documents/available)\",\n \"example\": \"ALL,1099,1099R,1042S,8949\",\n \"type\": \"string\"\n },\n \"year\": {\n \"description\": \"Tax Year\",\n \"example\": 2023,\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"accountId\",\n \"format\",\n \"type\",\n \"year\"\n ],\n \"type\": \"object\"\n },\n \"TaxFormResponse\": {\n \"properties\": {\n \"data\": {\n \"properties\": {\n \"accept\": {\n \"description\": \"specify response media types that are acceptable\",\n \"type\": \"string\"\n },\n \"dataType\": {\n \"description\": \"the data type of the value after decoding\",\n \"type\": \"string\"\n },\n \"encoding\": {\n \"description\": \"encoding used for the value\",\n \"type\": \"string\"\n },\n \"gzip\": {\n \"description\": \"content encoding flag. Represents whether the response is compressed\",\n \"type\": \"boolean\"\n },\n \"mimeType\": {\n \"description\": \"mimeType of document after decoding and serializing the value\",\n \"type\": \"string\"\n },\n \"value\": {\n \"description\": \"Base 64 encoded String of byte[]. Byte[] represents compressed data when gzip is true\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"TaxFormType\": {\n \"properties\": {\n \"formats\": {\n \"description\": \"available tax form formats\",\n \"items\": {\n \"example\": \"PDF\",\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"isForm\": {\n \"type\": \"boolean\"\n },\n \"taxFormName\": {\n \"example\": \"1099\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"TaxPayerDetails\": {\n \"properties\": {\n \"userName\": {\n \"type\": \"string\"\n },\n \"w8Ben\": {\n \"$ref\": \"#/components/schemas/FormW8BEN\"\n }\n },\n \"type\": \"object\"\n },\n \"TaxResidency\": {\n \"properties\": {\n \"country\": {\n \"type\": \"string\"\n },\n \"tin\": {\n \"type\": \"string\"\n },\n \"tinType\": {\n \"enum\": [\n \"SSN\",\n \"EIN\",\n \"NonUS_NationalId\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"Title\": {\n \"properties\": {\n \"code\": {\n \"enum\": [\n \"Account Holder\",\n \"FIRST HOLDER\",\n \"SECOND HOLDER\",\n \"TRADER\",\n \"CEO\",\n \"SECRETARY\",\n \"TREASURER\",\n \"OWNER\",\n \"PRINCIPAL\",\n \"SHAREHOLDER\",\n \"TRUSTEE\",\n \"BENEFICIARY\",\n \"GRANTOR\",\n \"Employee\",\n \"CONTINGENT\",\n \"IRA_BENEFICIARY\",\n \"IRA DECEDENT\",\n \"COMP_OFFICER\",\n \"Other Officer\",\n \"Controlling Officer\",\n \"SIGNATORY\",\n \"NON-EMPLOYEE\",\n \"CUSTODIAN\",\n \"SUCCESSOR_CUSTODIAN\",\n \"DIRECTOR\",\n \"PARTNER\",\n \"CUSTODIAN EMPLOYEE\",\n \"SUCCESSOR CUSTODIAN EMPLOYEE\",\n \"SPOUSE\",\n \"Successor Holder\",\n \"Registered Contact\"\n ],\n \"type\": \"string\"\n },\n \"value\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"TokenRequest\": {\n \"properties\": {\n \"clientAssertion\": {\n \"type\": \"string\"\n },\n \"clientAssertionType\": {\n \"type\": \"string\"\n },\n \"clientAuthenticationMethod\": {\n \"enum\": [\n \"private_key_jwt\",\n \"client_secret_basic\",\n \"client_secret_post\"\n ],\n \"type\": \"string\"\n },\n \"clientId\": {\n \"type\": \"string\"\n },\n \"clientSecret\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"TokenResponse\": {\n \"properties\": {\n \"access_token\": {\n \"description\": \"The serialized access token\",\n \"type\": \"string\"\n },\n \"expires_in\": {\n \"description\": \"The number of seconds from now until the access token expires\",\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"id_token\": {\n \"description\": \"The serialized ID token if applicable\",\n \"type\": \"string\"\n },\n \"refresh_token\": {\n \"description\": \"The serialized refresh token if applicable\",\n \"type\": \"string\"\n },\n \"scope\": {\n \"description\": \"The space-delimited list of granted scopes\",\n \"type\": \"string\"\n },\n \"token_type\": {\n \"description\": \"The token type (e.g., Bearer)\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"TradeConfirmationRequest\": {\n \"properties\": {\n \"accountId\": {\n \"description\": \"accound id\",\n \"example\": \"UXXXX\",\n \"type\": \"string\"\n },\n \"endDate\": {\n \"description\": \"to date\",\n \"example\": \"20230115\",\n \"type\": \"string\"\n },\n \"mimeType\": {\n \"description\": \"output format\",\n \"example\": \"application/pdf\",\n \"type\": \"string\"\n },\n \"startDate\": {\n \"description\": \"from date\",\n \"example\": \"20230102\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accountId\",\n \"endDate\",\n \"startDate\"\n ],\n \"type\": \"object\"\n },\n \"TradeConfirmationResponse\": {\n \"properties\": {\n \"data\": {\n \"properties\": {\n \"accept\": {\n \"description\": \"specify response media types that are acceptable\",\n \"type\": \"string\"\n },\n \"dataType\": {\n \"description\": \"the data type of the value after decoding\",\n \"type\": \"string\"\n },\n \"encoding\": {\n \"description\": \"encoding used for the value\",\n \"type\": \"string\"\n },\n \"gzip\": {\n \"description\": \"content encoding flag. Represents whether the response is compressed\",\n \"type\": \"boolean\"\n },\n \"mimeType\": {\n \"description\": \"mimeType of document after decoding and serializing the value\",\n \"type\": \"string\"\n },\n \"value\": {\n \"description\": \"Base 64 encoded String of byte[]. Byte[] represents compressed data when gzip is true\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"TradingInstrument\": {\n \"maxProperties\": 3,\n \"minProperties\": 1,\n \"oneOf\": [\n {\n \"properties\": {\n \"conid\": {\n \"example\": 459200101,\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"conid\"\n ]\n },\n {\n \"properties\": {\n \"tradingInstrumentDescription\": {\n \"maxProperties\": 3,\n \"properties\": {\n \"assetType\": {\n \"enum\": [\n \"STK\",\n \"CASH\",\n \"UNKNOWN\",\n \"BILL\",\n \"BOND\",\n \"FUND\",\n \"OPT\",\n \"WAR\"\n ],\n \"example\": \"STK\",\n \"type\": \"string\"\n },\n \"securityId\": {\n \"example\": \"459200101\",\n \"type\": \"string\"\n },\n \"securityIdType\": {\n \"enum\": [\n \"CUSIP\",\n \"ISIN\",\n \"CASH\"\n ],\n \"example\": \"ISIN\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"assetType\",\n \"securityId\",\n \"securityIdType\"\n ],\n \"type\": \"object\"\n }\n },\n \"required\": [\n \"tradingInstrumentDescription\"\n ],\n \"type\": \"object\"\n }\n ],\n \"properties\": {\n \"currency\": {\n \"example\": \"USD\",\n \"maxLength\": 3,\n \"minLength\": 1,\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"currency\"\n ],\n \"type\": \"object\"\n },\n \"TradingLimits\": {\n \"properties\": {\n \"dayQuantityLimits\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/DayQuantityLimit\"\n },\n \"type\": \"array\"\n },\n \"efpQuantityLimits\": {\n \"$ref\": \"#/components/schemas/EFPQuantityLimits\"\n },\n \"orderQuantityLimits\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/OrderQuantityLimit\"\n },\n \"type\": \"array\"\n },\n \"orderValueLimits\": {\n \"$ref\": \"#/components/schemas/OrderValueLimits\"\n }\n },\n \"type\": \"object\"\n },\n \"TradingPermission\": {\n \"properties\": {\n \"assetClass\": {\n \"enum\": [\n \"BILL\",\n \"BOND\",\n \"CASH\",\n \"CFD\",\n \"COMB\",\n \"FOP\",\n \"FUND\",\n \"FUT\",\n \"OPT\",\n \"SSF\",\n \"STK\",\n \"WAR\",\n \"MRGN\",\n \"CLP\"\n ],\n \"type\": \"string\"\n },\n \"country\": {\n \"enum\": [\n \"ALL\",\n \"AUSTRALIA\",\n \"AUSTRIA\",\n \"BELGIUM\",\n \"CANADA\",\n \"FRANCE\",\n \"GERMANY\",\n \"HONG KONG\",\n \"ITALY\",\n \"JAPAN\",\n \"KOREA\",\n \"MEXICO\",\n \"NORWAY\",\n \"SINGAPORE\",\n \"SPAIN\",\n \"SWEDEN\",\n \"SWITZERLAND\",\n \"THE NETHERLANDS\",\n \"UNITED KINGDOM\",\n \"UNITED STATES\",\n \"HK-CHINA\"\n ],\n \"type\": \"string\"\n },\n \"exchangeGroup\": {\n \"type\": \"string\"\n },\n \"product\": {\n \"enum\": [\n \"BONDS\",\n \"FUTURES\",\n \"FOREX\",\n \"FUTURES OPTIONS\",\n \"MUTUAL FUNDS\",\n \"STOCKS\",\n \"SINGLE STOCK FUTURES\",\n \"OPTIONS\",\n \"STOCK OPTIONS\",\n \"WARRANTS\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"TraditionalBankInstructionVerification\": {\n \"maxProperties\": 7,\n \"minProperties\": 7,\n \"properties\": {\n \"accountId\": {\n \"example\": \"U453454\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"bankInstructionCode\": {\n \"enum\": [\n \"USACH\",\n \"CAACH\",\n \"ACHUS\",\n \"WIRE\"\n ],\n \"example\": \"ACHUS\",\n \"type\": \"string\"\n },\n \"bankInstructionName\": {\n \"example\": \"TestInstr\",\n \"maxLength\": 100,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"creditAmount1\": {\n \"example\": 1,\n \"type\": \"number\"\n },\n \"creditAmount2\": {\n \"example\": 2,\n \"type\": \"number\"\n },\n \"pendingInstructionId\": {\n \"example\": 35354345,\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"accountId\",\n \"bankInstructionCode\",\n \"bankInstructionName\",\n \"clientInstructionId\",\n \"creditAmount1\",\n \"creditAmount2\",\n \"pendingInstructionId\"\n ],\n \"type\": \"object\"\n },\n \"Trust\": {\n \"properties\": {\n \"identification\": {\n \"$ref\": \"#/components/schemas/TrustIdentification\"\n },\n \"regulatoryInformation\": {\n \"$ref\": \"#/components/schemas/RegulatoryInformation\"\n }\n },\n \"type\": \"object\"\n },\n \"TrustApplicant\": {\n \"properties\": {\n \"accreditedInvestorInformation\": {\n \"$ref\": \"#/components/schemas/AccreditedInvestorInformation\"\n },\n \"beneficiaries\": {\n \"$ref\": \"#/components/schemas/AssociationTypeEntities\"\n },\n \"financialInformation\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/FinancialInformation\"\n },\n \"type\": \"array\"\n },\n \"grantors\": {\n \"$ref\": \"#/components/schemas/AssociationTypeEntities\"\n },\n \"identification\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TrustIdentification\"\n },\n \"type\": \"array\"\n },\n \"regulatedMemberships\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RegulatedMembership\"\n },\n \"type\": \"array\"\n },\n \"regulatoryInformation\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RegulatoryInformation\"\n },\n \"type\": \"array\"\n },\n \"taxResidencies\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TaxResidency\"\n },\n \"type\": \"array\"\n },\n \"thirdPartyManagement\": {\n \"type\": \"boolean\"\n },\n \"trustType\": {\n \"enum\": [\n \"COMPLEX_TRUST\",\n \"SINGLE_TRUST\",\n \"GRANTOR_TRUST\",\n \"US_TAXABLE_TRUST\"\n ],\n \"type\": \"string\"\n },\n \"trustees\": {\n \"$ref\": \"#/components/schemas/TrusteesType\"\n },\n \"w8BenE\": {\n \"$ref\": \"#/components/schemas/FormW8BENE\"\n },\n \"w8IMY\": {\n \"$ref\": \"#/components/schemas/FormW8IMY\"\n },\n \"withholdingStatement\": {\n \"$ref\": \"#/components/schemas/WithholdingStatementType\"\n }\n },\n \"type\": \"object\"\n },\n \"TrustIdentification\": {\n \"properties\": {\n \"address\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"dateFormed\": {\n \"format\": \"date\",\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"formationCountry\": {\n \"type\": \"string\"\n },\n \"formationState\": {\n \"type\": \"string\"\n },\n \"mailingAddress\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"phones\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PhoneInfo\"\n },\n \"type\": \"array\"\n },\n \"purposeOfTrust\": {\n \"type\": \"string\"\n },\n \"registrationCountry\": {\n \"type\": \"string\"\n },\n \"registrationNumber\": {\n \"type\": \"string\"\n },\n \"registrationType\": {\n \"enum\": [\n \"SSN\",\n \"EIN\",\n \"NonUS_NationalId\"\n ],\n \"type\": \"string\"\n },\n \"sameMailAddress\": {\n \"type\": \"boolean\"\n },\n \"translated\": {\n \"type\": \"boolean\"\n },\n \"typeOfTrust\": {\n \"enum\": [\n \"IRREVOC\",\n \"SMSF\",\n \"REVOCABLE\",\n \"TESTAMENTARY\",\n \"RETIREMENT\",\n \"ERISA\",\n \"OTHER\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"TrusteeEntityType\": {\n \"properties\": {\n \"employees\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Individual\"\n },\n \"type\": \"array\"\n },\n \"legalEntity\": {\n \"$ref\": \"#/components/schemas/LegalEntity\"\n }\n },\n \"type\": \"object\"\n },\n \"TrusteeIndividual\": {\n \"properties\": {\n \"authorizedToSignOnBehalfOfOwner\": {\n \"type\": \"boolean\"\n },\n \"authorizedTrader\": {\n \"type\": \"boolean\"\n },\n \"birthName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"cityOfBirth\": {\n \"type\": \"string\"\n },\n \"countryOfBirth\": {\n \"type\": \"string\"\n },\n \"crs\": {\n \"$ref\": \"#/components/schemas/FormCRS\"\n },\n \"dateOfBirth\": {\n \"description\": \"Date of birth of the applicant. The applicant must be 18 years or older to open an account. <br><ul><li>If the YYY-MM-DD < 18 years error will be triggered and the account will not be created.</li><li>If YYYY-MM-DD < 21 the applicant is restricted to opening a CASH account only.</li><li>UGMA and UTMA accounts are available for minors 18 years of age or younger. An individual or entity who manages an account for a minor until that minor reaches a specific age. Available to US residents only.</li><li>This application must be opened using the front-end application which is available within the IBKR Portal.</li><li>Assets held in a single account managed by a single Custodian user.</li><li>Error will be thrown if dateOfBirth is any value other than YYYY-MM-DD.</li></ul>\",\n \"example\": \"1990-08-14\",\n \"type\": \"string\"\n },\n \"email\": {\n \"type\": \"string\"\n },\n \"employeeTitle\": {\n \"type\": \"string\"\n },\n \"employmentDetails\": {\n \"$ref\": \"#/components/schemas/EmploymentDetails\"\n },\n \"employmentType\": {\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"gender\": {\n \"enum\": [\n \"M\",\n \"F\",\n \"Male\",\n \"Female\"\n ],\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"identification\": {\n \"$ref\": \"#/components/schemas/Identification\"\n },\n \"mailingAddress\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"maritalStatus\": {\n \"enum\": [\n \"S\",\n \"M\",\n \"W\",\n \"D\",\n \"C\"\n ],\n \"type\": \"string\"\n },\n \"motherMaidenName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"name\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"nativeName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"nfaRegistered\": {\n \"type\": \"boolean\"\n },\n \"nfaRegistrationNumber\": {\n \"type\": \"string\"\n },\n \"numDependents\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"phones\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PhoneInfo\"\n },\n \"type\": \"array\"\n },\n \"primaryTrustee\": {\n \"type\": \"boolean\"\n },\n \"prohibitedCountryQuestionnaire\": {\n \"$ref\": \"#/components/schemas/ProhibitedCountryQuestionnaireList\"\n },\n \"residenceAddress\": {\n \"$ref\": \"#/components/schemas/ResidenceAddress\"\n },\n \"sameMailAddress\": {\n \"type\": \"boolean\"\n },\n \"taxResidencies\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TaxResidency\"\n },\n \"type\": \"array\"\n },\n \"translated\": {\n \"type\": \"boolean\"\n },\n \"usTaxResident\": {\n \"type\": \"boolean\"\n },\n \"userId\": {\n \"type\": \"string\"\n },\n \"w8Ben\": {\n \"$ref\": \"#/components/schemas/FormW8BEN\"\n },\n \"w9\": {\n \"$ref\": \"#/components/schemas/FormW9\"\n }\n },\n \"type\": \"object\"\n },\n \"TrusteesType\": {\n \"properties\": {\n \"entities\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TrusteeEntityType\"\n },\n \"type\": \"array\"\n },\n \"individuals\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TrusteeIndividual\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"UnauthorizedAccessResponse\": {\n \"properties\": {\n \"detail\": {\n \"example\": \"The request cannot be fulfilled for the account\",\n \"type\": \"string\"\n },\n \"status\": {\n \"example\": 402,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"title\": {\n \"example\": \"Unauthorized\",\n \"type\": \"string\"\n },\n \"type\": {\n \"example\": \"/simple\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"status\",\n \"title\",\n \"type\"\n ],\n \"type\": \"object\"\n },\n \"UpdateAccountAlias\": {\n \"properties\": {\n \"accountAlias\": {\n \"type\": \"string\"\n },\n \"accountId\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"UpdateAccountRepresentatives\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"representativeDetails\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/RepresentativeDetail\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"UpdateBCAN\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"bcan\": {\n \"type\": \"string\"\n },\n \"ceNumber\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"UpdateCredentials\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"referenceUserName\": {\n \"type\": \"string\"\n },\n \"updateEmail\": {\n \"$ref\": \"#/components/schemas/UpdateEmail\"\n },\n \"updatePassword\": {\n \"$ref\": \"#/components/schemas/UpdatePassword\"\n }\n },\n \"type\": \"object\"\n },\n \"UpdateEmail\": {\n \"properties\": {\n \"access\": {\n \"type\": \"boolean\"\n },\n \"email\": {\n \"type\": \"string\"\n },\n \"entityId\": {\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"token\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"UpdateEntity\": {\n \"properties\": {\n \"addRelationships\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/AddRelationship\"\n },\n \"type\": \"array\"\n },\n \"deleteRelationships\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/DeleteRelationship\"\n },\n \"type\": \"array\"\n },\n \"documents\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Document\"\n },\n \"type\": \"array\"\n },\n \"ibEntityId\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"individual\": {\n \"$ref\": \"#/components/schemas/Individual\"\n },\n \"legalEntity\": {\n \"$ref\": \"#/components/schemas/LegalEntity\"\n },\n \"organization\": {\n \"$ref\": \"#/components/schemas/Organization\"\n },\n \"trust\": {\n \"$ref\": \"#/components/schemas/Trust\"\n }\n },\n \"type\": \"object\"\n },\n \"UpdateExternalId\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"newExternalId\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"UpdatePassword\": {\n \"properties\": {\n \"encryptedKeyName\": {\n \"type\": \"string\"\n },\n \"encryptedPassword\": {\n \"type\": \"string\"\n },\n \"token\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"UpdatePropertyProfile\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"propertyProfile\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"UpdateTaxForm\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"documents\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Document\"\n },\n \"type\": \"array\"\n },\n \"entityId\": {\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"inputLanguage\": {\n \"enum\": [\n \"en\",\n \"zh-Hans\",\n \"ja\",\n \"ru\",\n \"fr\",\n \"pt\",\n \"es\",\n \"it\",\n \"ar-AE\",\n \"de\",\n \"he-IL\",\n \"hu\"\n ],\n \"type\": \"string\"\n },\n \"localTaxForms\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/LocalTaxForm\"\n },\n \"type\": \"array\"\n },\n \"translation\": {\n \"type\": \"boolean\"\n },\n \"w8Ben\": {\n \"$ref\": \"#/components/schemas/FormW8BEN\"\n },\n \"w8BenE\": {\n \"$ref\": \"#/components/schemas/FormW8BENE\"\n },\n \"w9\": {\n \"$ref\": \"#/components/schemas/FormW9\"\n }\n },\n \"type\": \"object\"\n },\n \"UpdateUserAccessRights\": {\n \"properties\": {\n \"action\": {\n \"type\": \"string\"\n },\n \"repId\": {\n \"type\": \"string\"\n },\n \"subAccounts\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"UpdateW8BEN\": {\n \"deprecated\": true,\n \"description\": \"Use UpdateTaxForm instead.\",\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"documents\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Document\"\n },\n \"type\": \"array\"\n },\n \"inputLanguage\": {\n \"enum\": [\n \"en\",\n \"zh-Hans\",\n \"ja\",\n \"ru\",\n \"fr\",\n \"pt\",\n \"es\",\n \"it\",\n \"ar-AE\",\n \"de\",\n \"he-IL\",\n \"hu\"\n ],\n \"type\": \"string\"\n },\n \"taxPayerDetails\": {\n \"$ref\": \"#/components/schemas/TaxPayerDetails\"\n },\n \"translation\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"UpdateWithholdingStatement\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"certW8Imy\": {\n \"type\": \"boolean\"\n },\n \"effectiveDate\": {\n \"format\": \"date\",\n \"type\": \"string\"\n },\n \"fatcaCompliantType\": {\n \"enum\": [\n \"FATCA_COMPLIANT\",\n \"NON_CONSENTING_US_ACCOUNT\",\n \"NON_COOPERATIVE_ACCOUNT\"\n ],\n \"type\": \"string\"\n },\n \"treatyCountry\": {\n \"type\": \"string\"\n },\n \"usIncomeTax\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"User\": {\n \"properties\": {\n \"encryptedKeyName\": {\n \"type\": \"string\"\n },\n \"encryptedPassword\": {\n \"type\": \"string\"\n },\n \"externalIndividualId\": {\n \"type\": \"string\"\n },\n \"externalUserId\": {\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"mdServices\": {\n \"items\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"type\": \"array\"\n },\n \"prefix\": {\n \"type\": \"string\"\n },\n \"userPrivileges\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/UserPrivilege\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"UserDetails\": {\n \"properties\": {\n \"authorizedPerson\": {\n \"type\": \"boolean\"\n },\n \"authorizedToSignOnBehalfOfOwner\": {\n \"type\": \"boolean\"\n },\n \"authorizedTrader\": {\n \"type\": \"boolean\"\n },\n \"birthName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"cityOfBirth\": {\n \"type\": \"string\"\n },\n \"countryOfBirth\": {\n \"type\": \"string\"\n },\n \"crs\": {\n \"$ref\": \"#/components/schemas/FormCRS\"\n },\n \"dateOfBirth\": {\n \"description\": \"Date of birth of the applicant. The applicant must be 18 years or older to open an account. <br><ul><li>If the YYY-MM-DD < 18 years error will be triggered and the account will not be created.</li><li>If YYYY-MM-DD < 21 the applicant is restricted to opening a CASH account only.</li><li>UGMA and UTMA accounts are available for minors 18 years of age or younger. An individual or entity who manages an account for a minor until that minor reaches a specific age. Available to US residents only.</li><li>This application must be opened using the front-end application which is available within the IBKR Portal.</li><li>Assets held in a single account managed by a single Custodian user.</li><li>Error will be thrown if dateOfBirth is any value other than YYYY-MM-DD.</li></ul>\",\n \"example\": \"1990-08-14\",\n \"type\": \"string\"\n },\n \"email\": {\n \"type\": \"string\"\n },\n \"employeeTitle\": {\n \"type\": \"string\"\n },\n \"employmentDetails\": {\n \"$ref\": \"#/components/schemas/EmploymentDetails\"\n },\n \"employmentType\": {\n \"type\": \"string\"\n },\n \"externalId\": {\n \"type\": \"string\"\n },\n \"gender\": {\n \"enum\": [\n \"M\",\n \"F\",\n \"Male\",\n \"Female\"\n ],\n \"type\": \"string\"\n },\n \"id\": {\n \"type\": \"string\"\n },\n \"identification\": {\n \"$ref\": \"#/components/schemas/Identification\"\n },\n \"mailingAddress\": {\n \"$ref\": \"#/components/schemas/Address\"\n },\n \"maritalStatus\": {\n \"enum\": [\n \"S\",\n \"M\",\n \"W\",\n \"D\",\n \"C\"\n ],\n \"type\": \"string\"\n },\n \"motherMaidenName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"name\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"nativeName\": {\n \"$ref\": \"#/components/schemas/IndividualName\"\n },\n \"numDependents\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"ownershipPercentage\": {\n \"type\": \"number\"\n },\n \"phones\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/PhoneInfo\"\n },\n \"type\": \"array\"\n },\n \"primaryTrustee\": {\n \"type\": \"boolean\"\n },\n \"prohibitedCountryQuestionnaire\": {\n \"$ref\": \"#/components/schemas/ProhibitedCountryQuestionnaireList\"\n },\n \"referenceUsername\": {\n \"type\": \"string\"\n },\n \"residenceAddress\": {\n \"$ref\": \"#/components/schemas/ResidenceAddress\"\n },\n \"sameMailAddress\": {\n \"type\": \"boolean\"\n },\n \"taxResidencies\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TaxResidency\"\n },\n \"type\": \"array\"\n },\n \"title\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/Title\"\n },\n \"type\": \"array\"\n },\n \"translated\": {\n \"type\": \"boolean\"\n },\n \"usTaxResident\": {\n \"type\": \"boolean\"\n },\n \"userId\": {\n \"type\": \"string\"\n },\n \"w8Ben\": {\n \"$ref\": \"#/components/schemas/FormW8BEN\"\n },\n \"w9\": {\n \"$ref\": \"#/components/schemas/FormW9\"\n }\n },\n \"type\": \"object\"\n },\n \"UserNameAvailableResponse\": {\n \"properties\": {\n \"error\": {\n \"$ref\": \"#/components/schemas/ErrorResponse\"\n },\n \"errorDescription\": {\n \"type\": \"string\"\n },\n \"hasError\": {\n \"type\": \"boolean\"\n },\n \"isAvailable\": {\n \"type\": \"boolean\"\n },\n \"isValid\": {\n \"type\": \"boolean\"\n },\n \"suggestedUserName\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\",\n \"uniqueItems\": true\n }\n },\n \"type\": \"object\"\n },\n \"UserPrivilege\": {\n \"properties\": {\n \"externalAccountId\": {\n \"type\": \"string\"\n },\n \"privilege\": {\n \"enum\": [\n \"OWNER\",\n \"TRADER\",\n \"CUSTOM\",\n \"NONE\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"VerifyRequest\": {\n \"properties\": {\n \"payload\": {\n \"description\": \"Base64-encoded CSV content. Supported operations: RESTR_ADD, RESTR_DELETE, RESTR_ASSOC_ADD, RESTR_ASSOC_DELETE. Account ID extracted from OAuth token - do NOT include masterAcctId.\",\n \"format\": \"byte\",\n \"type\": \"string\"\n },\n \"requestId\": {\n \"description\": \"Unique request identifier\",\n \"example\": 127,\n \"format\": \"int32\",\n \"minimum\": 1,\n \"type\": \"integer\"\n },\n \"userName\": {\n \"description\": \"IBKR username\",\n \"example\": \"hatty597\",\n \"maxLength\": 64,\n \"minLength\": 1,\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"payload\",\n \"requestId\",\n \"userName\"\n ],\n \"type\": \"object\"\n },\n \"VirtualAccountConfiguration\": {\n \"properties\": {\n \"account_id_mappings\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/VirtualAccountIdMapping\"\n },\n \"type\": \"array\",\n \"uniqueItems\": true\n },\n \"client_id\": {\n \"type\": \"string\"\n },\n \"client_supports_virtual_accounts\": {\n \"type\": \"boolean\"\n },\n \"user_id\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"VirtualAccountIdMapping\": {\n \"properties\": {\n \"account_id\": {\n \"type\": \"string\"\n },\n \"virtual_account_id\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"WireDetails\": {\n \"properties\": {\n \"bankAccountNumber\": {\n \"type\": \"string\"\n },\n \"bankCode\": {\n \"type\": \"string\"\n },\n \"bankName\": {\n \"type\": \"string\"\n },\n \"countryCode\": {\n \"type\": \"string\"\n },\n \"instruction\": {\n \"type\": \"string\"\n },\n \"referenceNumber\": {\n \"type\": \"string\"\n },\n \"routingNumber\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"WithdrawFundsInstruction\": {\n \"maxProperties\": 9,\n \"minProperties\": 6,\n \"properties\": {\n \"accountId\": {\n \"example\": \"U46377\",\n \"maxLength\": 32,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"amount\": {\n \"example\": 100,\n \"type\": \"number\"\n },\n \"bankInstructionMethod\": {\n \"enum\": [\n \"ACH\",\n \"WIRE\",\n \"SEPA\"\n ],\n \"example\": \"WIRE\",\n \"type\": \"string\"\n },\n \"bankInstructionName\": {\n \"example\": \"Instruction\",\n \"maxLength\": 150,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"clientInstructionId\": {\n \"example\": 1012983,\n \"type\": \"number\"\n },\n \"currency\": {\n \"example\": \"USD\",\n \"maxLength\": 3,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"dateTimeToOccur\": {\n \"format\": \"date-time\",\n \"type\": \"string\"\n },\n \"iraWithdrawalDetail\": {\n \"maxProperties\": 4,\n \"minProperties\": 4,\n \"properties\": {\n \"fedIncomeTaxPercentage\": {\n \"example\": 12,\n \"type\": \"number\"\n },\n \"iraWithholdType\": {\n \"enum\": [\n \"DIRECT_ROLLOVER\",\n \"ROTH_DISTRIBUTION\",\n \"NORMAL\",\n \"EARLY\",\n \"DEATH\",\n \"EXCESS_CY\",\n \"EXCESS_PY\",\n \"EXCESS_SC\"\n ],\n \"example\": \"NORMAL\",\n \"type\": \"string\"\n },\n \"stateCd\": {\n \"example\": \"TE\",\n \"maxLength\": 2,\n \"minLength\": 1,\n \"type\": \"string\"\n },\n \"stateIncomeTaxPercentage\": {\n \"example\": 10,\n \"type\": \"number\"\n }\n },\n \"required\": [\n \"fedIncomeTaxPercentage\",\n \"iraWithholdType\",\n \"stateCd\",\n \"stateIncomeTaxPercentage\"\n ],\n \"type\": \"object\"\n },\n \"recurringInstructionDetail\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/RecurringInstructionDetail\"\n }\n ]\n }\n },\n \"required\": [\n \"accountId\",\n \"amount\",\n \"bankInstructionMethod\",\n \"bankInstructionName\",\n \"clientInstructionId\",\n \"currency\"\n ],\n \"type\": \"object\"\n },\n \"WithholdingStatementType\": {\n \"properties\": {\n \"accountId\": {\n \"type\": \"string\"\n },\n \"corporation\": {\n \"type\": \"boolean\"\n },\n \"dividendRate\": {\n \"format\": \"float\",\n \"type\": \"number\"\n },\n \"eciRate\": {\n \"format\": \"float\",\n \"type\": \"number\"\n },\n \"effectiveDate\": {\n \"format\": \"date\",\n \"type\": \"string\"\n },\n \"fatcaCompliantType\": {\n \"enum\": [\n \"FATCA_COMPLIANT\",\n \"NON_CONSENTING_US_ACCOUNT\",\n \"NON_COOPERATIVE_ACCOUNT\"\n ],\n \"type\": \"string\"\n },\n \"flowThrough\": {\n \"type\": \"boolean\"\n },\n \"interestRate\": {\n \"format\": \"float\",\n \"type\": \"number\"\n },\n \"treatyCountry\": {\n \"type\": \"string\"\n },\n \"usBackupWithholding\": {\n \"type\": \"boolean\"\n },\n \"usOtherRate\": {\n \"format\": \"float\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"accountAttributes\": {\n \"properties\": {\n \"PrepaidCrypto-P\": {\n \"description\": \"Indicates whether account has a prepaid crypto segment (Crypto Plus) with PAXOS.\",\n \"type\": \"boolean\"\n },\n \"PrepaidCrypto-Z\": {\n \"description\": \"Indicates whether account has a prepaid crypto segment (Crypto Plus) with ZEROHASH.\",\n \"type\": \"boolean\"\n },\n \"accountAlias\": {\n \"description\": \"User-defined alias assigned to the account for easy identification.\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"accountId\": {\n \"description\": \"Indicates the identifying number for the account.\",\n \"type\": \"string\"\n },\n \"accountStatus\": {\n \"description\": \"Unix epoch timestamp of account opening.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"accountTitle\": {\n \"description\": \"A name assigned to the account, typically the account holder name or business entity.\",\n \"type\": \"string\"\n },\n \"accountVan\": {\n \"description\": \"The account\'s virtual account number, or otherwise its IB accountId if no VAN is set.\",\n \"type\": \"string\"\n },\n \"acctCustType\": {\n \"description\": \"Identifies the type of client with which the account is associated, such as an individual or LLC.\",\n \"type\": \"string\"\n },\n \"brokerageAccess\": {\n \"description\": \"Indicates whether account can receive live orders (do not mix with paper trading).\",\n \"type\": \"boolean\"\n },\n \"businessType\": {\n \"description\": \"A descriptor of the nature of the account, reflecting the responsible group within IB.\",\n \"enum\": [\n \"IB_SALES\",\n \"IB_PROSERVE\"\n ],\n \"type\": \"string\"\n },\n \"category\": {\n \"description\": \"Designated account category. Only used in non-standard account structures.\",\n \"type\": \"string\"\n },\n \"clearingStatus\": {\n \"description\": \"Status of the account with respect to clearing at IB. O is open, P pending, N new, A abandoned, C closed, R rejected.\",\n \"enum\": [\n \"O\",\n \"P\",\n \"N\",\n \"A\",\n \"R\",\n \"C\"\n ],\n \"type\": \"string\"\n },\n \"covestor\": {\n \"description\": \"Indicates a Covestor account.\",\n \"type\": \"boolean\"\n },\n \"currency\": {\n \"description\": \"Base currency of the account.\",\n \"enum\": [\n \"USD\"\n ],\n \"type\": \"string\"\n },\n \"desc\": {\n \"description\": \"Internal human-readable description of the account.\",\n \"type\": \"string\"\n },\n \"displayName\": {\n \"description\": \"Displayed name of the account in UI. Will reflect either the accountId or accountAlias, if set.\",\n \"type\": \"string\"\n },\n \"faClient\": {\n \"description\": \"Indicates that the account is managed by a financial advisor.\",\n \"type\": \"boolean\"\n },\n \"ibEntity\": {\n \"description\": \"IB business entity under which the account resides.\",\n \"enum\": [\n \"IBLLC-US\",\n \"IB-CAN\",\n \"IB-UK\",\n \"IB-IE\"\n ],\n \"type\": \"string\"\n },\n \"id\": {\n \"description\": \"The account\'s IB accountId.\",\n \"type\": \"string\"\n },\n \"noClientTrading\": {\n \"description\": \"Indicates that trading by the client is disabled in the account.\",\n \"type\": \"boolean\"\n },\n \"parent\": {\n \"description\": \"Describes account relations in partitioned or multiplexed (segemented) account structures.\",\n \"properties\": {\n \"accountId\": {\n \"description\": \"Account ID of the parent account in a multiplex account structure.\",\n \"type\": \"string\"\n },\n \"isMChild\": {\n \"description\": \"Indicates that the given account is a multiplex child account.\",\n \"type\": \"boolean\"\n },\n \"isMParent\": {\n \"description\": \"Indicates that the given account is itself a multiplex parent account.\",\n \"type\": \"boolean\"\n },\n \"isMultiplex\": {\n \"description\": \"Indicates that the account is a multiplex account.\",\n \"type\": \"boolean\"\n },\n \"mmc\": {\n \"description\": \"Money manager client.\",\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"trackVirtualFXPortfolio\": {\n \"description\": \"Indicates that virtual forex positions are tracked in the account.\",\n \"type\": \"boolean\"\n },\n \"tradingType\": {\n \"description\": \"Internal identifier used by IB to reflect the trading permissions of the account.\",\n \"enum\": [\n \"STKNOPT\"\n ],\n \"type\": \"string\"\n },\n \"type\": {\n \"description\": \"Indicates whether the account exists in production, paper, or demo environments.\",\n \"enum\": [\n \"DEMO\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"accountSummaryResponse\": {\n \"description\": \"Successful return contianing an array of at-a-glance account details.\",\n \"properties\": {\n \"SMA\": {\n \"description\": \"Simple Moving Average of the account.\",\n \"type\": \"number\"\n },\n \"accountType\": {\n \"description\": \"Describes the unique account type. For standard individual accounts, an empty string is returned.\",\n \"type\": \"string\"\n },\n \"accruedInterest\": {\n \"description\": \"Accrued interest is the interest accruing on a security since the previous coupon date. If a security is sold between two payment dates, the buyer usually compensates the seller for the interest accrued, either within the price or as a separate payment.\",\n \"type\": \"number\"\n },\n \"availableFunds\": {\n \"description\": \"The amount of equity you have available for trading. For both the Securities and Commodities segments, this is calculated as: Equity with Loan Value \\u2013 Initial Margin.\",\n \"type\": \"number\"\n },\n \"balance\": {\n \"description\": \"Returns the total account balance.\",\n \"type\": \"number\"\n },\n \"buyingPower\": {\n \"description\": \"Total buying power available for the account.\",\n \"type\": \"number\"\n },\n \"cashBalances\": {\n \"description\": \"An array containing balance information for all currencies held by the account.\",\n \"items\": {\n \"properties\": {\n \"balance\": {\n \"description\": \"The total available currency held in the account.\",\n \"type\": \"number\"\n },\n \"currency\": {\n \"description\": \"The currency the values represent. Base currency represented as \\\"Total (in {BaseCurrency})\\\"\\n\",\n \"type\": \"string\"\n },\n \"settledCash\": {\n \"description\": \"The available settled cash that can be withdrawn from the account.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"equityWithLoanValue\": {\n \"description\": \"The basis for determining whether you have the necessary assets to either initiate or maintain security assets.\",\n \"type\": \"number\"\n },\n \"excessLiquidity\": {\n \"description\": \"The amount of cash in excess of the usual requirement in your account.\",\n \"type\": \"number\"\n },\n \"initialMargin\": {\n \"description\": \"The available initial margin for the account.\",\n \"type\": \"number\"\n },\n \"maintenanceMargin\": {\n \"description\": \"The available maintenance margin for the account.\",\n \"type\": \"number\"\n },\n \"netLiquidationValue\": {\n \"description\": \"The basis for determining the price of the assets in your account.\",\n \"type\": \"number\"\n },\n \"regTLoan\": {\n \"description\": \"The Federal Reserve Board regulation governing the amount of credit that broker dealers may extend to clients who borrow money to buy securities on margin.\",\n \"type\": \"number\"\n },\n \"regTMargin\": {\n \"description\": \"The initial margin requirements calculated under US Regulation T rules for both the securities and commodities segment of your account.\",\n \"type\": \"number\"\n },\n \"securitiesGVP\": {\n \"description\": \"Absolute value of the Long Stock Value + Short Stock Value + Long Option Value + Short Option Value + Fund Value.\",\n \"type\": \"number\"\n },\n \"status\": {\n \"description\": \"If the account is currently non-tradeable, a status message will be dispalyed.\",\n \"type\": \"string\"\n },\n \"totalCashValue\": {\n \"description\": \"Cash recognized at the time of trade + futures P&L. This value reflects real-time currency positions, including:\\n * Trades executed directly through the FX market.\\n * Trades executed as a result of automatic IB conversions, which occur when you trade a product in a non-base currency.\\n * Trades deliberately executed to close non-base currency positions using the FXCONV destination.\\n\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"advancedOrderReject\": {\n \"description\": \"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.\",\n \"properties\": {\n \"dismissable\": {\n \"description\": \"Indicates whether this prompt is dismissable.\",\n \"type\": \"array\"\n },\n \"messageId\": {\n \"description\": \"IB internal identifier for the nature or category of the returned message.\",\n \"type\": \"string\"\n },\n \"options\": {\n \"description\": \"Choices available to the client in response to the rejection message.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"orderId\": {\n \"description\": \"The order ID assigned by IB to the rejected order ticket.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"prompt\": {\n \"description\": \"Indicates that the message is a prompt offering a set of decisions, one or more of which may permit the rejected order to be resubmitted.\",\n \"type\": \"boolean\"\n },\n \"reqId\": {\n \"description\": \"IB\'s internal identifier assigned to the returned message.\",\n \"type\": \"string\"\n },\n \"text\": {\n \"description\": \"Human-readable text of the messages emitted by IB in response to order submission.\",\n \"type\": \"string\"\n },\n \"type\": {\n \"description\": \"The specific type of message returned.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"alert\": {\n \"description\": \"An array containing all alerts as separate objects.\",\n \"properties\": {\n \"account\": {\n \"description\": \"The account the alert was attributed to.\",\n \"type\": \"string\"\n },\n \"alert_active\": {\n \"description\": \"Determines if the alert is active [1] or not [0]\",\n \"enum\": [\n 1,\n 0\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"alert_name\": {\n \"description\": \"The requested name for the alert.\",\n \"type\": \"string\"\n },\n \"alert_repeatable\": {\n \"description\": \"Confirms if the alert is enabled to occur more than once.\",\n \"enum\": [\n 1,\n 0\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"alert_triggered\": {\n \"description\": \"Confirms if the order is triggered or not.\",\n \"type\": \"boolean\"\n },\n \"order_id\": {\n \"description\": \"The order id (alert id)\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"order_time\": {\n \"description\": \"UTC-formatted time of the alert\'s creation.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"alertActivationRequest\": {\n \"properties\": {\n \"alertActive\": {\n \"description\": \"Set whether or not the alert should be active (1) or inactive (0).\",\n \"enum\": [\n 1,\n 0\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"alertId\": {\n \"description\": \"The alert Identifier\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"alertActive\",\n \"alertId\"\n ],\n \"type\": \"object\"\n },\n \"alertActivationResponse\": {\n \"properties\": {\n \"failure_list\": {\n \"description\": \"If \\\"success\\\" returns false, will list failed order Ids\",\n \"type\": \"string\"\n },\n \"order_id\": {\n \"description\": \"The tracking number of the alert. Occasssionally referenced as the alertId or alert_id.\\n\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"request_id\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"success\": {\n \"description\": \"Displays result status of alert request\",\n \"type\": \"boolean\"\n },\n \"text\": {\n \"description\": \"Response message to clarify success status reason.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"alertCondition\": {\n \"properties\": {\n \"condition_logic_bind\": {\n \"description\": \"Condition logic_bind value set.\",\n \"type\": \"boolean\"\n },\n \"condition_operator\": {\n \"description\": \"Condition operator set for alert.\",\n \"type\": \"string\"\n },\n \"condition_time_zone\": {\n \"description\": \"Condition timeZone value set.\",\n \"type\": \"string\"\n },\n \"condition_trigger_method\": {\n \"description\": \"TriggerMethod value set.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"condition_type\": {\n \"description\": \"The type of condition set.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"condition_value\": {\n \"description\": \"Condition value set.\",\n \"type\": \"string\"\n },\n \"conidex\": {\n \"description\": \"Returns conid and exchange in the format \\\"conid@exchange\\\"\",\n \"type\": \"string\"\n },\n \"contract_description_1\": {\n \"description\": \"Includes relevant descriptions (if applicable).\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"alertCreationRequest\": {\n \"properties\": {\n \"alertMessage\": {\n \"description\": \"Alert message which will be sent\",\n \"type\": \"string\"\n },\n \"alertName\": {\n \"description\": \"Alert name.\",\n \"type\": \"string\"\n },\n \"alertRepeatable\": {\n \"description\": \"Boolean number (0, 1) signifies if an alert can be triggered more than once. A value of \'1\' is required for MTA alerts\",\n \"enum\": [\n 0,\n 1\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"conditions\": {\n \"description\": \"Container for all conditions applied for an alert to trigger.\",\n \"items\": {\n \"properties\": {\n \"conidex\": {\n \"description\": \"Concatenation of conid and exchange. Formatted as \\\"conid@exchange\\\"\",\n \"example\": \"265598@SMART\",\n \"type\": \"string\"\n },\n \"logicBind\": {\n \"default\": \"a\",\n \"description\": \"Describes how multiple conditions should behave together. Available logic types:\\n * `a` - AND\\n * `o` - OR\\n * `n` - END\\n\",\n \"enum\": [\n \"a\",\n \"o\",\n \"n\"\n ],\n \"type\": \"string\"\n },\n \"operator\": {\n \"description\": \"Indicates whether the trigger should be above or below the given value. (one of: >=, <=, >, <, ==)\",\n \"type\": \"string\"\n },\n \"timeZone\": {\n \"description\": \"Only needed for some MTA alert condition.\",\n \"type\": \"string\"\n },\n \"triggerMethod\": {\n \"description\": \"Pass the string representation of zero, \\\"0\\\"\",\n \"type\": \"string\"\n },\n \"type\": {\n \"description\": \"Designate what condition type to use. Note the \\\"MTA\\\" types listed are only supported if iTWSOrdersOnly=1 Available condition types:\\n * `1` - Price\\n * `3` - Time\\n * `4` - Margin\\n * `5` - Trade\\n * `6` - Volume\\n * `7` - MTA Market\\n * `8` - MTA Postion\\n * `9` - MTA Account Daily PnL\\n\",\n \"enum\": [\n 1,\n 3,\n 4,\n 5,\n 6,\n 7,\n 8,\n 9\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"value\": {\n \"default\": \"*\",\n \"description\": \"Trigger value based on Type.\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"conidex\",\n \"logicBind\",\n \"operator\",\n \"triggerMethod\",\n \"type\",\n \"value\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"email\": {\n \"description\": \"Email address you want to send email alerts to\",\n \"type\": \"string\"\n },\n \"expireTime\": {\n \"description\": \"Used with a tif of \\\"GTD\\\" only. Signifies time when the alert should terminate if no alert is triggered.\",\n \"type\": \"string\"\n },\n \"iTWSOrdersOnly\": {\n \"description\": \"allow (0) or disallow (1) alerts to trigger alerts through the mobile app\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"orderId\": {\n \"description\": \"optional; used in case of modification and represent Alert Id\",\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"outsideRth\": {\n \"description\": \"Allow (1) or disallow (0) the alert to be triggered outside of regular trading hours\",\n \"enum\": [\n 0,\n 1\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"sendMessage\": {\n \"description\": \"allow (1) or disallow (0) alerts to trigger email messages\",\n \"enum\": [\n 0,\n 1\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"showPopup\": {\n \"description\": \"allow (1) or disallow (0) alerts to trigger TWS Pop-up messages\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"tif\": {\n \"description\": \"Time in Force duration of alert.\",\n \"enum\": [\n \"GTC\",\n \"GTD\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"alertMessage\",\n \"alertName\",\n \"alertRepeatable\",\n \"conditions\",\n \"outsideRth\",\n \"tif\"\n ],\n \"type\": \"object\"\n },\n \"alertCreationResponse\": {\n \"properties\": {\n \"order_id\": {\n \"description\": \"The tracking number of the alert. Alert identifier internally referenced as order id.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"order_status\": {\n \"description\": \"Not applicable\",\n \"type\": \"string\"\n },\n \"request_id\": {\n \"description\": \"Not applicable\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"success\": {\n \"description\": \"Displays result status of alert request\",\n \"type\": \"boolean\"\n },\n \"text\": {\n \"description\": \"Response message to clarify submission status.\",\n \"type\": \"string\"\n },\n \"warning_message\": {\n \"description\": \"Returns \'null\'\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"alertDeletionResponse\": {\n \"properties\": {\n \"failure_list\": {\n \"description\": \"If \\\"success\\\" returns false, will list failed order Ids\",\n \"type\": \"string\"\n },\n \"order_id\": {\n \"description\": \"The tracking number of the alert. Occasssionally referenced as the alertId or alert_id.\\n\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"request_id\": {\n \"description\": \"Not applicable\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"success\": {\n \"description\": \"Displays result status of alert request\",\n \"type\": \"boolean\"\n },\n \"text\": {\n \"description\": \"Response message to clarify success status reason.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"alertDetails\": {\n \"description\": \"details of the specified alert\",\n \"properties\": {\n \"account\": {\n \"description\": \"Requestor\'s account ID\",\n \"type\": \"string\"\n },\n \"alertName\": {\n \"description\": \"Human readable name of the alert.\",\n \"type\": \"string\"\n },\n \"alert_active\": {\n \"description\": \"Returns if the alert is active [1] or disabled [0].\",\n \"enum\": [\n 1,\n 0\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"alert_default_type\": {\n \"description\": \"Returns default type set for alerts. Configured in Client Portal.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"alert_email\": {\n \"description\": \"Returns the designated email address for sendMessage functionality.\",\n \"type\": \"string\"\n },\n \"alert_message\": {\n \"description\": \"Returns the body content of what your alert will report once triggered\",\n \"type\": \"string\"\n },\n \"alert_mta_currency\": {\n \"description\": \"Returns currency set for MTA alerts. Only valid for alert type 8 & 9.\",\n \"type\": \"string\"\n },\n \"alert_mta_defaults\": {\n \"description\": \"Returns current MTA default values.\",\n \"type\": \"string\"\n },\n \"alert_play_audio\": {\n \"description\": \"Returns whether or not the alert will play audio\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"alert_repeatable\": {\n \"description\": \"Returns if the alert can be sent more than once.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"alert_send_message\": {\n \"description\": \"Returns whether or not the alert will send an email.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"alert_show_popup\": {\n \"description\": \"Returns whether or not the alert will trigger TWS Pop-up messages\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"alert_triggered\": {\n \"description\": \"Returns whether or not the alert was triggered yet.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"bg_color\": {\n \"description\": \"Background color. Not applicable to API.\",\n \"type\": \"string\"\n },\n \"condition_outside_rth\": {\n \"description\": \"Returns whether or not the alert will trigger outside of regular trading hours.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"condition_size\": {\n \"description\": \"Returns the total number of conditions in the alert.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"conditions\": {\n \"description\": \"Returns all conditions\",\n \"items\": {\n \"$ref\": \"#/components/schemas/alertCondition\"\n },\n \"type\": \"array\"\n },\n \"expire_time\": {\n \"description\": \"Returns the UTC formatted date used in GTD orders.\",\n \"type\": \"string\"\n },\n \"fg_color\": {\n \"description\": \"Foreground color. Not applicable to API.\",\n \"type\": \"string\"\n },\n \"itws_orders_only\": {\n \"description\": \"Returns whether or not the alert will trigger mobile notifications.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"order_id\": {\n \"description\": \"Alert\'s tracking ID. Can be used for modifying or deleting alerts.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"order_not_editable\": {\n \"description\": \"Returns if the order can be edited.\",\n \"type\": \"boolean\"\n },\n \"order_status\": {\n \"description\": \"represent order statusAlways returns \\\"Presubmitted\\\".\",\n \"enum\": [\n \"Presubmitted\",\n \"Submitted\"\n ],\n \"type\": \"string\"\n },\n \"tif\": {\n \"description\": \"Time in Force effective for the Alert\",\n \"type\": \"string\"\n },\n \"time_zone\": {\n \"description\": \"Returned for time-specific conditions.\",\n \"type\": \"string\"\n },\n \"tool_id\": {\n \"description\": \"Tracking ID for MTA alerts only. Returns \'null\' for standard alerts.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"alerts\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/alert\"\n },\n \"type\": \"array\",\n \"uniqueItems\": true\n },\n \"algoParam\": {\n \"properties\": {\n \"defaultValue\": {\n \"description\": \"Default parameter value. Type defined in valueClassName field\",\n \"oneOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n {\n \"type\": \"boolean\"\n },\n {\n \"type\": \"number\"\n }\n ]\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"guiRank\": {\n \"description\": \"Positional ranking for the algo. Used for Client Portal.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"id\": {\n \"description\": \"Parameter identifier for the algo.\",\n \"type\": \"string\"\n },\n \"legalStrings\": {\n \"description\": \"Allowed values for the parameter.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"maxValue\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"minValue\": {\n \"type\": \"number\"\n },\n \"name\": {\n \"description\": \"Parameter name.\",\n \"type\": \"string\"\n },\n \"required\": {\n \"description\": \"States whether the parameter is required for the given algo order to place.\",\n \"type\": \"boolean\"\n },\n \"valueClassName\": {\n \"description\": \"Returns the variable type of the parameter.\",\n \"enum\": [\n \"String\",\n \"Boolean\",\n \"Time\",\n \"Double\",\n \"Integer\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"algosResponse\": {\n \"description\": \"available algos\",\n \"properties\": {\n \"algos\": {\n \"description\": \"Contains all relevant algos for the contract.\",\n \"items\": {\n \"properties\": {\n \"id\": {\n \"description\": \"Algo identifier used for requests.\",\n \"type\": \"string\"\n },\n \"name\": {\n \"description\": \"Common name of the algo\",\n \"type\": \"string\"\n },\n \"parameters\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/algoParam\"\n },\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"id\",\n \"name\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"allocationGroup\": {\n \"properties\": {\n \"accounts\": {\n \"description\": \"Contains a series of objects depicting which accounts are involved and, for user-defined allocation methods, the distribution value for each sub-account.\",\n \"items\": {\n \"properties\": {\n \"amount\": {\n \"description\": \"The total distribution value for each sub-account for user-defined allocation methods.\",\n \"type\": \"number\"\n },\n \"name\": {\n \"description\": \"The accountId of a given sub-account.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"default_method\": {\n \"$ref\": \"#/components/schemas/allocationMethod\"\n },\n \"name\": {\n \"description\": \"Name used to refer to your allocation group. This will be used while placing orders.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"allocationGroups\": {\n \"properties\": {\n \"data\": {\n \"description\": \"array, which contains all allocation groups under the advisor account\",\n \"items\": {\n \"properties\": {\n \"allocation_method\": {\n \"$ref\": \"#/components/schemas/allocationMethod\"\n },\n \"name\": {\n \"description\": \"The name set for the given allocation group.\",\n \"type\": \"string\"\n },\n \"size\": {\n \"description\": \"Represents the total number of sub-accounts within the group.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"allocationMethod\": {\n \"default\": \"N\",\n \"description\": \"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:\\n * `A` - Available Equity\\n * `E` - Equal\\n * `N` - Net Liquidation Value\\n\\nUser-specified allocation methods:\\n * `C` - Cash Quantity\\n * `P` - Percentage\\n * `R` - Ratios\\n * `S` - Shares\\n\",\n \"enum\": [\n \"A\",\n \"E\",\n \"N\",\n \"C\",\n \"P\",\n \"R\",\n \"S\"\n ],\n \"type\": \"string\"\n },\n \"availableFundsResponse\": {\n \"description\": \"Contains a combined overview of Commidity, Security and Crypto fund values.\",\n \"properties\": {\n \"Crypto at Paxos\": {\n \"$ref\": \"#/components/schemas/funds\"\n },\n \"commodities\": {\n \"$ref\": \"#/components/schemas/funds\"\n },\n \"securities\": {\n \"description\": \"Contains an overview of Security specific fund values.\",\n \"properties\": {\n \"Lk Ahd Avlbl Fnds\": {\n \"description\": \"This value reflects your available funds at the next margin change.\",\n \"type\": \"string\"\n },\n \"Lk Ahd Excss Lqdty\": {\n \"description\": \"* `Securities` - Equity with loan value. Look ahead maintenance margin.\\n * `Commodities` - Net Liquidation value. Look ahead maintenance margin.\\n\",\n \"type\": \"string\"\n },\n \"Prdctd Pst-xpry Excss\": {\n \"description\": \"Displays predicted post-expiration account value.\",\n \"type\": \"string\"\n },\n \"SMA\": {\n \"type\": \"string\"\n },\n \"current_available\": {\n \"description\": \"Describes currently avialable funds in your account for trading.\",\n \"type\": \"string\"\n },\n \"current_excess\": {\n \"description\": \"Describes total value of the account.\",\n \"type\": \"string\"\n },\n \"leverage\": {\n \"description\": \"Describes the total combined leverage.\",\n \"type\": \"string\"\n },\n \"overnight_available\": {\n \"description\": \"Describes available funds for overnight trading.\",\n \"type\": \"string\"\n },\n \"overnight_excess\": {\n \"description\": \"Overnight refers to the window of time after the local market trading day is closed. \\n * `Securities` - Equivalent to regular trading hours. \\n * `Commodities` - Commodities Net Liquidation value. Overnight Maintenance margin.\\n\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"total\": {\n \"description\": \"total values\",\n \"properties\": {\n \"Lk Ahd Avlbl Fnds\": {\n \"description\": \"This value reflects your available funds at the next margin change.\",\n \"type\": \"string\"\n },\n \"Lk Ahd Excss Lqdty\": {\n \"description\": \"* `Securities` - Equity with loan value. Look ahead maintenance margin.\\n * `Commodities` - Net Liquidation value. Look ahead maintenance margin.\\n\",\n \"type\": \"string\"\n },\n \"Lk Ahd Nxt Chng\": {\n \"description\": \"Describes when the next \'Look Ahead\' calculation will take place.\",\n \"type\": \"string\"\n },\n \"Prdctd Pst-xpry Excss\": {\n \"description\": \"Displays predicted post-expiration account value.\",\n \"type\": \"string\"\n },\n \"buying_power\": {\n \"description\": \"Describes the total buying power of the account including existing balance with margin.\",\n \"type\": \"string\"\n },\n \"current_available\": {\n \"description\": \"Describes currently avialable funds in your account for trading.\",\n \"type\": \"string\"\n },\n \"current_excess\": {\n \"description\": \"Describes total value of the account.\",\n \"type\": \"string\"\n },\n \"day_trades_left\": {\n \"description\": \"Describes the number of trades remaining before flagging the Pattern Day Trader status. \\\"Unlimited\\\" is used for existing Pattern Day Traders.\",\n \"type\": \"string\"\n },\n \"leverage\": {\n \"description\": \"Describes the total combined leverage.\",\n \"type\": \"string\"\n },\n \"overnight_available\": {\n \"description\": \"Describes available funds for overnight trading.\",\n \"type\": \"string\"\n },\n \"overnight_excess\": {\n \"description\": \"Overnight refers to the window of time after the local market trading day is closed. \\n * `Securities` - Equivalent to regular trading hours. \\n * `Commodities` - Commodities Net Liquidation value. Overnight Maintenance margin.\\n\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"bondFiltersResponse\": {\n \"properties\": {\n \"bondFilters\": {\n \"description\": \"Contains all filters pertaining to the given issuerId\",\n \"items\": {\n \"properties\": {\n \"columnId\": {\n \"description\": \"Used for user interfaces. Internal use only.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"displayText\": {\n \"description\": \"An identifier used to document returned options/values. This can be thought of as a key value.\",\n \"enum\": [\n \"Maturity Date\",\n \"Issue Date\",\n \"Coupon\",\n \"Currency\"\n ],\n \"type\": \"string\"\n },\n \"options\": {\n \"description\": \"Contains all objects with values corresponding to the parent displayText key.\",\n \"items\": {\n \"properties\": {\n \"text\": {\n \"description\": \"In some instances, a text value will be returned, which indicates the standardized value format such as plaintext dates, rather than solely numerical values.\",\n \"type\": \"string\"\n },\n \"value\": {\n \"description\": \"Returns value directly correlating to the displayText key. This may include exchange, maturity date, issue date, coupon, or currency.\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"value\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"brokerageSessionInitRequest\": {\n \"properties\": {\n \"compete\": {\n \"description\": \"Determines if other brokerage sessions should be disconnected to prioritize this connection.\",\n \"type\": \"boolean\"\n },\n \"publish\": {\n \"description\": \"publish brokerage session token at the same time when brokerage session initialized. If set false, then session token should be published before calling init. Setting true is preferred way.\",\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"brokerageSessionStatus\": {\n \"properties\": {\n \"MAC\": {\n \"description\": \"Device MAC information.\",\n \"type\": \"string\"\n },\n \"authenticated\": {\n \"description\": \"Returns whether your brokerage session is authenticated or not.\",\n \"type\": \"boolean\"\n },\n \"competing\": {\n \"description\": \"Returns whether you have a competing brokerage session in another connection.\",\n \"type\": \"boolean\"\n },\n \"connected\": {\n \"description\": \"Returns whether you are connected to the gateway or not.\",\n \"type\": \"boolean\"\n },\n \"established\": {\n \"description\": \"Returns whether your brokerage session is fully established and ready to handle requests. Set to true when the login message is received from underlying brokerage infrastructure, indicating authentication is complete and account information is loaded.\",\n \"type\": \"boolean\"\n },\n \"fail\": {\n \"description\": \"Returns the reason for failing to retrieve authentication status.\",\n \"type\": \"string\"\n },\n \"hardware_info\": {\n \"description\": \"Client Portal use only.\",\n \"type\": \"string\"\n },\n \"message\": {\n \"description\": \"A message about your authenticate status if any.\",\n \"type\": \"string\"\n },\n \"serverInfo\": {\n \"properties\": {\n \"serverName\": {\n \"description\": \"IBKR server information. Internal use only.\",\n \"type\": \"string\"\n },\n \"serverVersion\": {\n \"description\": \"IBKR version information. Internal use only.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"categoryTreeResponse\": {\n \"properties\": {\n \"categories\": {\n \"description\": \"A JSON object containing all category IDs and their relevant information.\",\n \"properties\": {\n \"categoryId\": {\n \"description\": \"Category identifier.\",\n \"properties\": {\n \"markets\": {\n \"description\": \"List of affiliated markets (if applicable).\",\n \"properties\": {\n \"conid\": {\n \"description\": \"Market contract identifier.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"exchange\": {\n \"description\": \"Market contract\'s listing exchange.\",\n \"type\": \"string\"\n },\n \"name\": {\n \"description\": \"Market contract\'s full name.\",\n \"type\": \"string\"\n },\n \"symbol\": {\n \"description\": \"Market contract\'s trading symbol.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"array\"\n },\n \"name\": {\n \"description\": \"Category name.\",\n \"type\": \"string\"\n },\n \"parent_id\": {\n \"description\": \"Identifier of parent category (if applicable).\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"comboPositionResponse\": {\n \"description\": \"Array of objects each containing a single combo position.\",\n \"items\": {\n \"properties\": {\n \"description\": {\n \"description\": \"The ratio and conids included in the position.\",\n \"type\": \"string\"\n },\n \"legs\": {\n \"description\": \"List of the legs that make up a position.\",\n \"items\": {\n \"properties\": {\n \"conid\": {\n \"description\": \"Contract identifier of the given leg.\",\n \"type\": \"string\"\n },\n \"ratio\": {\n \"description\": \"Ratio of the leg compared to the quantity.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"name\": {\n \"description\": \"Internal identifier of a combination position.\",\n \"type\": \"string\"\n },\n \"positions\": {\n \"description\": \"List of the positions that make up a combination.\",\n \"items\": {\n \"$ref\": \"#/components/schemas/individualComboPosition\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"contractInfo\": {\n \"properties\": {\n \"allow_sell_long\": {\n \"description\": \"Allowed to sell shares you own.\",\n \"type\": \"boolean\"\n },\n \"category\": {\n \"description\": \"Indicates the industry category of the instrument.\",\n \"type\": \"string\"\n },\n \"cfi_code\": {\n \"description\": \"Classification of Financial Instrument codes\",\n \"type\": \"string\"\n },\n \"classifier\": {\n \"type\": \"string\"\n },\n \"company_name\": {\n \"description\": \"Indicates the name of the company or index.\",\n \"type\": \"string\"\n },\n \"con_id\": {\n \"description\": \"Indicates the contract identifier of the given contract.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"contract_clarification_type\": {\n \"type\": \"string\"\n },\n \"contract_month\": {\n \"description\": \"Indicates the year and month the contract expires.\",\n \"type\": \"string\"\n },\n \"currency\": {\n \"description\": \"Base currency contract is traded in.\",\n \"type\": \"string\"\n },\n \"cusip\": {\n \"description\": \"Returns the CUSIP for the given instrument. Only used in BOND trading.\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"exchange\": {\n \"description\": \"Indicates the primary exchange for which the contract can be traded.\",\n \"type\": \"string\"\n },\n \"expiry_full\": {\n \"description\": \"Returns the expiration month of the contract.\",\n \"type\": \"string\"\n },\n \"industry\": {\n \"description\": \"Specific group of companies or businesses.\",\n \"type\": \"string\"\n },\n \"instrument_type\": {\n \"description\": \"Asset class of the instrument.\",\n \"type\": \"string\"\n },\n \"is_zero_commission_security\": {\n \"description\": \"Indicates if the contract supports zero commission trading.\",\n \"type\": \"boolean\"\n },\n \"local_symbol\": {\n \"description\": \"Contract\'s symbol from primary exchange. For options it is the OCC symbol.\",\n \"type\": \"string\"\n },\n \"maturity_date\": {\n \"description\": \"Indicates the final maturity date of the given contract.\",\n \"type\": \"string\"\n },\n \"multiplier\": {\n \"description\": \"Indicates the multiplier of the contract.\",\n \"type\": \"string\"\n },\n \"r_t_h\": {\n \"description\": \"Indicates if the contract can be traded outside regular trading hours or not.\",\n \"type\": \"boolean\"\n },\n \"smart_available\": {\n \"description\": \"Indicates if the contract can be smart routed or not.\",\n \"type\": \"boolean\"\n },\n \"symbol\": {\n \"description\": \"Underlying symbol\",\n \"type\": \"string\"\n },\n \"text\": {\n \"description\": \"Indicates the display name of the contract, as shown with Client Portal.\",\n \"type\": \"string\"\n },\n \"trading_class\": {\n \"description\": \"Designated trading class of the contract.\",\n \"type\": \"string\"\n },\n \"underlying_con_id\": {\n \"description\": \"Underlying contract identifier for the requested contract.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"underlying_issuer\": {\n \"description\": \"Indicates the issuer of the underlying.\",\n \"type\": \"string\"\n },\n \"valid_exchanges\": {\n \"description\": \"Comma separated list of support exchanges or trading venues.\",\n \"type\": \"string\"\n }\n }\n },\n \"contractRules\": {\n \"description\": \"detailed contract information\",\n \"properties\": {\n \"algoEligible\": {\n \"description\": \"Indicates if the contract can trade algos or not.\",\n \"type\": \"boolean\"\n },\n \"allOrNoneEligible\": {\n \"description\": \"indicates all or non option is eligible for given contract.\",\n \"type\": \"boolean\"\n },\n \"canTradeAcctIds\": {\n \"description\": \"Indicates permitted accountIDs that may trade the contract.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"cashCcy\": {\n \"description\": \"Indicates base currency for the instrument.\",\n \"type\": \"string\"\n },\n \"cashQtyIncr\": {\n \"description\": \"Indicates cash quantity increment rules.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"cashSize\": {\n \"description\": \"Default cash value quantity.\",\n \"type\": \"number\"\n },\n \"costReport\": {\n \"description\": \"Indicates whether or not a cost report has been requested (Client Portal only).\",\n \"type\": \"boolean\"\n },\n \"cqtTypes\": {\n \"description\": \"Indicates accepted order types for use with cash quantity.\",\n \"items\": {\n \"enum\": [\n \"limit\",\n \"market\",\n \"stop\",\n \"stop_limit\",\n \"mit\",\n \"lit\",\n \"trailing_stop\",\n \"trailing_stop_limit\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"defaultSize\": {\n \"description\": \"Default total quantity value for orders.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"displaySize\": {\n \"description\": \"Standard display increment rule for the instrument.\",\n \"format\": \"int32\",\n \"nullable\": true,\n \"type\": \"integer\"\n },\n \"error\": {\n \"description\": \"If rules information can not be received for any reason, it will be expressed here.\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"forceOrderPreview\": {\n \"description\": \"Indicates if the order preview is forced upon the user before submission.\",\n \"type\": \"boolean\"\n },\n \"fraqInt\": {\n \"description\": \"Indicates decimal places for fractional order size.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"fraqTypes\": {\n \"description\": \"Indicates permitted order types for use with fractional trading.\",\n \"items\": {\n \"enum\": [\n \"limit\",\n \"market\",\n \"stop\",\n \"stop_limit\",\n \"mit\",\n \"lit\",\n \"trailing_stop\",\n \"trailing_stop_limit\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"hasSecondary\": {\n \"type\": \"boolean\"\n },\n \"ibAlgoTypes\": {\n \"description\": \"Indicates permitted algo types for use with the given contract.\",\n \"items\": {\n \"enum\": [\n \"limit\",\n \"stop_limit\",\n \"lit\",\n \"trailing_stop_limit\",\n \"relative\",\n \"marketonclose\",\n \"limitonclose\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"increment\": {\n \"description\": \"Minimum increment values for prices\",\n \"type\": \"number\"\n },\n \"incrementDigits\": {\n \"description\": \"Number of decimal places to indicate the increment value.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"incrementRules\": {\n \"description\": \"Indicates increment rule values including lowerEdge and increment value.\",\n \"items\": {\n \"properties\": {\n \"increment\": {\n \"description\": \"The price of the instrument must be submitted as a mulitple of the increment value.\",\n \"type\": \"number\"\n },\n \"lowerEdge\": {\n \"description\": \"If the current mark price of the instrument is at or above the lower edge, the given increment value is used for order prices.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"incrementType\": {\n \"description\": \"Indicates the type of increment style.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"limitPrice\": {\n \"description\": \"Default limit price for the given contract.\",\n \"type\": \"number\"\n },\n \"modTypes\": {\n \"description\": \"Lists the available order types supported when modifying the order.\",\n \"type\": \"array\"\n },\n \"negativeCapable\": {\n \"description\": \"Indicates if the value of the contract can be negative (true) or if it is always positive (false).\",\n \"type\": \"boolean\"\n },\n \"orderDefaults\": {\n \"description\": \"Indicates default order type for the given security type.\",\n \"properties\": {\n \"LMT\": {\n \"properties\": {\n \"LP\": {\n \"description\": \"Indicates a Limit Price default value.\",\n \"type\": \"string\"\n }\n }\n }\n },\n \"type\": \"object\"\n },\n \"orderOrigination\": {\n \"description\": \"Order origin designation for US securities options and Options Clearing Corporation\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"orderTypes\": {\n \"description\": \"Indicates permitted order types for use with standard quantity trading.\",\n \"items\": {\n \"enum\": [\n \"limit\",\n \"midprice\",\n \"market\",\n \"stop\",\n \"stop_limit\",\n \"mit\",\n \"lit\",\n \"trailing_stop\",\n \"trailing_stop_limit\",\n \"relative\",\n \"marketonclose\",\n \"limitonclose\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"orderTypesOutside\": {\n \"description\": \"Indicates permitted order types for use outside of regular trading hours.\",\n \"items\": {\n \"enum\": [\n \"limit\",\n \"stop_limit\",\n \"lit\",\n \"trailing_stop_limit\",\n \"relative\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"preview\": {\n \"description\": \"Indicates if the order preview is required (for client portal only)\",\n \"type\": \"boolean\"\n },\n \"priceMagnifier\": {\n \"description\": \"Signifies the magnifier of a given contract. This is separate from the price multiplier, and will typically return \'null\'\\n\",\n \"format\": \"int32\",\n \"nullable\": true,\n \"type\": \"integer\"\n },\n \"sizeIncrement\": {\n \"description\": \"Indicates quantity increase for the contract.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"stopPrice\": {\n \"description\": \"Default stop price for the given contract.\",\n \"type\": \"number\"\n },\n \"tifDefaults\": {\n \"description\": \"Object containing details about your TIF value defaults. These defaults can be viewed and modified in TWS\'s within the Global Configuration.\\n\",\n \"properties\": {\n \"DEFAULT_ACCT\": {\n \"description\": \"default account (multi account only)\",\n \"type\": \"string\"\n },\n \"PMALGO\": {\n \"type\": \"boolean\"\n },\n \"SIZE\": {\n \"description\": \"The default size value for orders.\",\n \"type\": \"string\"\n },\n \"TIF\": {\n \"description\": \"The default TIF type for orders.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"tifTypes\": {\n \"description\": \"Indicates allowed tif types supported for the contract.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"currencyPairs\": {\n \"additionalProperties\": {\n \"items\": {\n \"properties\": {\n \"ccyPair\": {\n \"description\": \"Returns the symbol counterpart.\",\n \"type\": \"string\"\n },\n \"conid\": {\n \"description\": \"The official contract identifier of the given currency pair.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"symbol\": {\n \"description\": \"The official symbol of the given currency pair.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"type\": \"object\"\n },\n \"deliveryOptions\": {\n \"properties\": {\n \"E\": {\n \"description\": \"Returns an array of device information.\",\n \"items\": {\n \"properties\": {\n \"A\": {\n \"description\": \"Device is enabled or not.\",\n \"type\": \"string\"\n },\n \"I\": {\n \"description\": \"Returns the deice identifier.\",\n \"type\": \"string\"\n },\n \"NM\": {\n \"description\": \"Returns the human readable device name.\",\n \"type\": \"string\"\n },\n \"UI\": {\n \"description\": \"Returns the unique device ID.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"M\": {\n \"description\": \"Email option is enabled or not.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"detailedContractInformation\": {\n \"additionalProperties\": {\n \"additionalProperties\": {\n \"description\": \"Returns the performance data for the given period value.\",\n \"properties\": {\n \"cps\": {\n \"description\": \"Returns the object containing the Cumulative performance data. Correlates to the same index position of data reutnred by the \\\"nav\\\" field.\",\n \"items\": {\n \"type\": \"number\"\n },\n \"type\": \"array\"\n },\n \"dates\": {\n \"description\": \"Returns the dates corresponding to the frequency of data.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"freq\": {\n \"description\": \"Returns the determining frequency of the data range.\",\n \"type\": \"string\"\n },\n \"nav\": {\n \"description\": \"Net asset value data for the account or consolidated accounts. NAV data is not applicable to benchmarks.\",\n \"items\": {\n \"type\": \"number\"\n },\n \"type\": \"array\"\n },\n \"startNav\": {\n \"description\": \"Returns the starting data for the current NAV details.\",\n \"properties\": {\n \"date\": {\n \"description\": \"Returns the starting date for the current period\'s NAV range.\",\n \"type\": \"string\"\n },\n \"val\": {\n \"description\": \"Returns the inital NAV value of {Period Range} from the current date.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"description\": \"Contains the relevant performance data for the specified accountId.\",\n \"properties\": {\n \"baseCurrency\": {\n \"description\": \"Clarifies the base currency of the primary accountId.\",\n \"type\": \"string\"\n },\n \"end\": {\n \"description\": \"Returns the end date of the request range.\",\n \"type\": \"string\"\n },\n \"lastSuccessfulUpdate\": {\n \"description\": \"Returns the datetime in EST of the last successful call to the /pa endpoint.\",\n \"type\": \"string\"\n },\n \"periods\": {\n \"description\": \"Returns the valid period values returned by the /pa/allperiods endpoint.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"start\": {\n \"description\": \"Returns the start date of the request range.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"properties\": {\n \"currencyType\": {\n \"description\": \"Confirms if the currency type. If trading exclusively in your base currency, \\\"base\\\" will be returned.\",\n \"type\": \"string\"\n },\n \"id\": {\n \"description\": \"Returns the request identifier, getPerformanceAllPeriods.\",\n \"type\": \"string\"\n },\n \"included\": {\n \"description\": \"Returns an array containing accounts reviewed.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"nd\": {\n \"description\": \"Returns the total data points.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"pm\": {\n \"description\": \"Portfolio Measure. Used to indicate TWR or MWR values returned.\",\n \"type\": \"string\"\n },\n \"rc\": {\n \"description\": \"Returns the data identifier (Internal Use Only).\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"view\": {\n \"description\": \"Returns the accountIds being viewed and returned.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"disclaimerInfo\": {\n \"properties\": {\n \"DT\": {\n \"description\": \"Returns the Disclaimer message.\",\n \"type\": \"string\"\n },\n \"FC\": {\n \"description\": \"Returns the Typecode for the given disclaimer.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"dynAccountSearchResponse\": {\n \"properties\": {\n \"matchedAccounts\": {\n \"description\": \"Contains a series of objects that pertain to the account information requested.\",\n \"items\": {\n \"properties\": {\n \"accountId\": {\n \"description\": \"Returns a matching account ID that corresponds to the matching value.\",\n \"type\": \"string\"\n },\n \"alias\": {\n \"description\": \"Returns the corresponding alias or alternative name for the specific account ID. May be a duplicate of the accountId value in most cases.\",\n \"type\": \"string\"\n },\n \"allocationId\": {\n \"description\": \"Returns the allocation identifier used internally for the account.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"pattern\": {\n \"description\": \"Displays the searchPattern used for the request.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"errorOnlyResponse\": {\n \"properties\": {\n \"error\": {\n \"description\": \"error reason\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"errorResponse\": {\n \"properties\": {\n \"error\": {\n \"description\": \"error reason\",\n \"type\": \"string\"\n },\n \"statusCode\": {\n \"description\": \"mimic response status code\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"failedTickleResponse\": {\n \"properties\": {\n \"error\": {\n \"description\": \"reason why tickle was accepted by not processed\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"features\": {\n \"properties\": {\n \"symbol\": {\n \"description\": \"Displayed as the string of your symbol Contains a series of objects for each symbol that matches the requested.\\n\",\n \"items\": {\n \"properties\": {\n \"conid\": {\n \"description\": \"Contract identifier for the specific symbol\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"expirationDate\": {\n \"description\": \"Expiration date of the specific future contract.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"longFuturesCutOff\": {\n \"description\": \"Represents the final day for contract rollover for long futures.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"ltd\": {\n \"description\": \"Last trade date of the future contract.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"shortFuturesCutOff\": {\n \"description\": \"Represents the final day for contract rollover for shorted futures.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"symbol\": {\n \"description\": \"The requested symbol value.\",\n \"type\": \"string\"\n },\n \"underlyingConid\": {\n \"description\": \"Contract identifier for the future\'s underlying contract.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"forecastDetailsResponse\": {\n \"properties\": {\n \"category\": {\n \"description\": \"The affiliated market category declared in /forecast/category/tree.\",\n \"type\": \"string\"\n },\n \"conid_no\": {\n \"description\": \"Contract identifier of \\\"no\\\" contract\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"conid_yes\": {\n \"description\": \"Contract identifier of \\\"yes\\\" contract\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"exchange\": {\n \"description\": \"Contract exchange.\",\n \"type\": \"string\"\n },\n \"expiration\": {\n \"description\": \"Contract expiration date in YYYYMMDD format.\",\n \"type\": \"string\"\n },\n \"logo_category\": {\n \"description\": \"Logo category to use in logo service to get image.\",\n \"type\": \"string\"\n },\n \"market_name\": {\n \"description\": \"name of contract\'s market.\",\n \"type\": \"string\"\n },\n \"measured_period\": {\n \"description\": \"measured period\",\n \"type\": \"string\"\n },\n \"payout\": {\n \"description\": \"Ratio of payout scaling.\",\n \"type\": \"number\"\n },\n \"question\": {\n \"description\": \"Contract question (i.e. \\\"Will this happen on this date?\\\")\",\n \"type\": \"string\"\n },\n \"side\": {\n \"description\": \"\\\"Y\\\" or \\\"N\\\", yes or no contract.\",\n \"type\": \"string\"\n },\n \"strike\": {\n \"description\": \"Contract strike.\",\n \"type\": \"number\"\n },\n \"strike_label\": {\n \"description\": \"Strike label to display.\",\n \"type\": \"string\"\n },\n \"symbol\": {\n \"description\": \"Contract symbol.\",\n \"type\": \"string\"\n },\n \"underlying_conid\": {\n \"description\": \"Immediate underlier to contract (i.e. future conid for FOPs)\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"forecastMarketResponse\": {\n \"properties\": {\n \"contracts\": {\n \"description\": \"List of contracts matching the requested market.\",\n \"items\": {\n \"properties\": {\n \"conid\": {\n \"description\": \"Market contract identifier.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"expiration\": {\n \"description\": \"Contract expiration date in YYYYMMDD format.\",\n \"type\": \"string\"\n },\n \"expiry_label\": {\n \"description\": \"Label UI to show for the expiration tabs.\",\n \"type\": \"string\"\n },\n \"side\": {\n \"description\": \"\\\"Y\\\" or \\\"N\\\" denoting a Yes or No contract.\",\n \"type\": \"string\"\n },\n \"strike\": {\n \"description\": \"Contract strike price.\",\n \"type\": \"number\"\n },\n \"strike_label\": {\n \"description\": \"Strike label to display.\",\n \"type\": \"string\"\n },\n \"time_specifier\": {\n \"description\": \"Specified date of expiration.\",\n \"type\": \"string\"\n },\n \"underlying_conid\": {\n \"description\": \"Immediate underlier to contract (i.e. future conid for FOPs).\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"exchange\": {\n \"description\": \"Exchange that was passed in request or determined internally.\",\n \"type\": \"string\"\n },\n \"exclude_historical_data\": {\n \"description\": \"Indicates whether UI should or should not display underlying chart.\",\n \"type\": \"boolean\"\n },\n \"logo_category\": {\n \"description\": \"Logo category to use in logo service to retrieve image.\",\n \"type\": \"string\"\n },\n \"market_name\": {\n \"description\": \"Market contract identifier.\",\n \"type\": \"string\"\n },\n \"payout\": {\n \"description\": \"Ratio of payout scaling.\",\n \"type\": \"number\"\n },\n \"symbol\": {\n \"description\": \"Market symbol.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"forecastRulesResponse\": {\n \"properties\": {\n \"asset_class\": {\n \"description\": \"Product asset class.\",\n \"type\": \"string\"\n },\n \"data_and_resolution_link\": {\n \"description\": \"Link to data from source agency.\",\n \"type\": \"string\"\n },\n \"description\": {\n \"description\": \"Long product description.\",\n \"type\": \"string\"\n },\n \"exchange_timezone\": {\n \"description\": \"Exchange timezone.\",\n \"type\": \"string\"\n },\n \"last_trade_time\": {\n \"description\": \"last trade time in epoch seconds.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"market_name\": {\n \"description\": \"Name of the contract\'s market.\",\n \"type\": \"string\"\n },\n \"market_rules_link\": {\n \"description\": \"Link to market rules document.\",\n \"type\": \"string\"\n },\n \"measured_period\": {\n \"description\": \"Measured period of the contract.\",\n \"type\": \"string\"\n },\n \"payout\": {\n \"description\": \"Formatted payout amount.\",\n \"type\": \"string\"\n },\n \"payout_time\": {\n \"description\": \"Payout time in epoch seconds.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"price_increment\": {\n \"description\": \"Formatted price increment amount.\",\n \"type\": \"string\"\n },\n \"product_code\": {\n \"description\": \"Product code (symbol).\",\n \"type\": \"string\"\n },\n \"release_time\": {\n \"description\": \"Release time in epoch seconds.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"source_agency\": {\n \"description\": \"Name of the contract\'s source agency.\",\n \"type\": \"string\"\n },\n \"threshold\": {\n \"description\": \"Either strike or strike label depending on contract type.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"forecastSchedulesResponse\": {\n \"properties\": {\n \"timezone\": {\n \"description\": \"Exchange timezone of event contract.\",\n \"type\": \"string\"\n },\n \"trading_schedules\": {\n \"description\": \"List containing trading objects for each date.\",\n \"items\": {\n \"properties\": {\n \"day_of_week\": {\n \"description\": \"Provides the day of the week corresponding to the trading schedule.\",\n \"type\": \"string\"\n },\n \"trading_times\": {\n \"description\": \"List containing the opening times for the event contract. Multiple trading blocks may be returned if the contract has an intraday trading closure.\",\n \"items\": {\n \"properties\": {\n \"close\": {\n \"description\": \"The closing time for the given trading session.\",\n \"type\": \"string\"\n },\n \"open\": {\n \"description\": \"The opening time for the given trading session.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"funds\": {\n \"description\": \"Contains commodities specific fund values.\",\n \"properties\": {\n \"Lk Ahd Avlbl Fnds\": {\n \"description\": \"This value reflects your available funds at the next margin change.\",\n \"type\": \"string\"\n },\n \"Prdctd Pst-xpry Excss\": {\n \"description\": \"Displays predicted post-expiration account value.\",\n \"type\": \"string\"\n },\n \"current_available\": {\n \"description\": \"Describes currently avialable funds in your account for trading.\",\n \"type\": \"string\"\n },\n \"current_excess\": {\n \"description\": \"Describes total value of the account.\",\n \"type\": \"string\"\n },\n \"overnight_available\": {\n \"description\": \"Describes available funds for overnight trading.\",\n \"type\": \"string\"\n },\n \"overnight_excess\": {\n \"description\": \"Overnight refers to the window of time after the local market trading day is closed. \\n * `Securities` - Equivalent to regular trading hours. \\n * `Commodities` - Commodities Net Liquidation value. Overnight Maintenance margin.\\n\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"fyiEnableDeviceOption\": {\n \"properties\": {\n \"deviceId\": {\n \"type\": \"string\"\n },\n \"deviceName\": {\n \"type\": \"string\"\n },\n \"enabled\": {\n \"description\": \"enable or disable device\",\n \"type\": \"boolean\"\n },\n \"uiName\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"fyiSettings\": {\n \"items\": {\n \"properties\": {\n \"A\": {\n \"description\": \"Returns ony if the subscription can be disabled/enabled manually. See /fyi/settings/{typecode} for how to enable/disable.\\n\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"FC\": {\n \"description\": \"Fyi code for enabling or disabling the notification.\",\n \"type\": \"string\"\n },\n \"FD\": {\n \"description\": \"Returns a detailed description of the topic.\",\n \"type\": \"string\"\n },\n \"FN\": {\n \"description\": \"Returns a human readable title for the notification.\",\n \"type\": \"string\"\n },\n \"H\": {\n \"description\": \"Disclaimer if the notification was read.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"fyiVT\": {\n \"properties\": {\n \"T\": {\n \"description\": \"Returns the time in ms to complete the edit.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"V\": {\n \"description\": \"Returns 1 to state message was acknowledged.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"getInvestedAccountsSummary\": {\n \"properties\": {\n \"accountList\": {\n \"description\": \"Array of account details with net liquidation values and currency information\",\n \"items\": {\n \"properties\": {\n \"account\": {\n \"description\": \"Account identifier (account number)\",\n \"type\": \"string\"\n },\n \"accountModelNlv\": {\n \"description\": \"Net liquidation value for positions in the current model portfolio\",\n \"type\": \"string\"\n },\n \"accountOtherModelsNlv\": {\n \"description\": \"Net liquidation value for positions in other model portfolios\",\n \"type\": \"string\"\n },\n \"alias\": {\n \"description\": \"User-defined alias for the account (empty string if not set)\",\n \"type\": \"string\"\n },\n \"baseCcyAccount\": {\n \"description\": \"Base currency for this account (ISO 4217 currency code)\",\n \"type\": \"string\"\n },\n \"baseCcyAccountPrecision\": {\n \"description\": \"Precision for the account base currency (decimal places)\",\n \"type\": \"string\"\n },\n \"cashInIndependentNlv\": {\n \"description\": \"Individual cash net liquidation value in base currency\",\n \"type\": \"string\"\n },\n \"exchangeRate\": {\n \"description\": \"Exchange rate from account base currency to master base currency\",\n \"format\": \"double\",\n \"type\": \"number\"\n },\n \"nlv\": {\n \"description\": \"Total net liquidation value (cash + positions) in base currency\",\n \"type\": \"string\"\n },\n \"positionsInIndependentNlv\": {\n \"description\": \"Individual position net liquidation value in base currency\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"baseCcyMaster\": {\n \"description\": \"Base currency for the master account (ISO 4217 currency code)\",\n \"type\": \"string\"\n },\n \"baseCcyMasterPrecision\": {\n \"description\": \"Precision for the master account base currency (decimal places)\",\n \"type\": \"string\"\n },\n \"model\": {\n \"description\": \"Model portfolio identifier associated with this account list\",\n \"type\": \"string\"\n },\n \"reqID\": {\n \"description\": \"Unique request identifier for tracking API calls\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"subscriptionStatus\": {\n \"description\": \"Market data subscription status (1 = active, 0 = inactive)\",\n \"enum\": [\n 0,\n 1\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n }\n },\n \"individualComboPosition\": {\n \"properties\": {\n \"acctId\": {\n \"description\": \"IB accountId of an account with a position in the requested conid.\",\n \"type\": \"string\"\n },\n \"assetClass\": {\n \"description\": \"Asset class of the requested instrument.\",\n \"type\": \"string\"\n },\n \"avgCost\": {\n \"description\": \"The account\'s average cost for its position.\",\n \"type\": \"number\"\n },\n \"avgPrice\": {\n \"description\": \"The account\'s average price for its position.\",\n \"type\": \"number\"\n },\n \"conExchMap\": {\n \"type\": \"array\"\n },\n \"conid\": {\n \"description\": \"IB contract ID for the instrument.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"contractDesc\": {\n \"description\": \"Human-readable description of the instrument.\",\n \"type\": \"string\"\n },\n \"currency\": {\n \"description\": \"Currency in which the instrument trades.\",\n \"type\": \"string\"\n },\n \"exchs\": {\n \"nullable\": true,\n \"type\": \"object\"\n },\n \"exerciseStyle\": {\n \"description\": \"Style of exercise for options.\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"expiry\": {\n \"description\": \"Expiration of instrument, if applicable.\",\n \"type\": \"string\"\n },\n \"mktPrice\": {\n \"description\": \"Current market price of the instrument, in the instrument\'s currency.\",\n \"type\": \"number\"\n },\n \"mktValue\": {\n \"description\": \"Current market value of the account\'s position in the instrument, in the instrument\'s currency.\",\n \"type\": \"number\"\n },\n \"multiplier\": {\n \"description\": \"Instrument\'s multiplier, if applicable.\",\n \"type\": \"number\"\n },\n \"position\": {\n \"description\": \"Size of position in units of instrument.\",\n \"type\": \"number\"\n },\n \"putOrCall\": {\n \"description\": \"The right of an options contract, if applicable.\",\n \"enum\": [\n \"P\",\n \"C\",\n \"None\"\n ],\n \"type\": \"string\"\n },\n \"realizedPnl\": {\n \"description\": \"Realized PnL for the instrument in the instrument\'s currency.\",\n \"type\": \"number\"\n },\n \"strike\": {\n \"description\": \"Strike price, if applicable. Returned as string.\",\n \"type\": \"string\"\n },\n \"undConid\": {\n \"description\": \"Contract ID of underlying instrument, if applicable.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"unrealizedPnl\": {\n \"description\": \"Unrealized PnL for the instrument in the account.\",\n \"type\": \"number\"\n }\n }\n },\n \"individualPosition\": {\n \"description\": \"A specific account\'s position in the requested conid.\",\n \"properties\": {\n \"acctId\": {\n \"description\": \"IB accountId of an account with a position in the requested conid.\",\n \"type\": \"string\"\n },\n \"allExchanges\": {\n \"description\": \"Comma separated all exchanges on which the instrument trades.\",\n \"type\": \"string\"\n },\n \"assetClass\": {\n \"description\": \"Asset class of the requested instrument.\",\n \"type\": \"string\"\n },\n \"avgCost\": {\n \"description\": \"The account\'s average cost for its position.\",\n \"type\": \"number\"\n },\n \"avgPrice\": {\n \"description\": \"The account\'s average price for its position.\",\n \"type\": \"number\"\n },\n \"baseAvgCost\": {\n \"description\": \"Average cost in the account\'s base currency.\",\n \"type\": \"number\"\n },\n \"baseAvgPrice\": {\n \"description\": \"Average price in the account\'s base currency.\",\n \"type\": \"number\"\n },\n \"baseMktPrice\": {\n \"description\": \"Market price of instrument in the account\'s base currency.\",\n \"type\": \"number\"\n },\n \"baseMktValue\": {\n \"description\": \"Market value of the position in the account\'s base currency.\",\n \"type\": \"number\"\n },\n \"baseRealizedPnl\": {\n \"description\": \"Realized PnL for the instrument in the account\'s base currency.\",\n \"type\": \"number\"\n },\n \"baseUnrealizedPnl\": {\n \"description\": \"Unrealized PnL for the instrument in the account\'s base currency.\",\n \"type\": \"number\"\n },\n \"chineseName\": {\n \"description\": \"Chinese name of the instrument.\",\n \"type\": \"string\"\n },\n \"conExchMap\": {\n \"type\": \"array\"\n },\n \"conid\": {\n \"description\": \"IB contract ID for the instrument.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"contractDesc\": {\n \"description\": \"Human-readable description of the instrument.\",\n \"type\": \"string\"\n },\n \"countryCode\": {\n \"description\": \"Country in which the instrument is issued.\",\n \"type\": \"string\"\n },\n \"currency\": {\n \"description\": \"Currency in which the instrument trades.\",\n \"type\": \"string\"\n },\n \"displayRule\": {\n \"description\": \"Object defining minimum increments used in displaying market data for the instrument.\",\n \"properties\": {\n \"displayRuleStep\": {\n \"description\": \"Array containing objects corresponding to display rule increments.\",\n \"items\": {\n \"description\": \"A single display rule increment.\",\n \"properties\": {\n \"decimalDigits\": {\n \"description\": \"Number of decimal digits to display.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"lowerEdge\": {\n \"description\": \"Lower edge from which the display rule is effective.\",\n \"type\": \"number\"\n },\n \"wholeDigits\": {\n \"description\": \"Number of integer digits to display.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"magnification\": {\n \"description\": \"Magnifier applied to pricing, if applicable.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"exchs\": {\n \"nullable\": true,\n \"type\": \"object\"\n },\n \"exerciseStyle\": {\n \"description\": \"Style of exercise for options.\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"expiry\": {\n \"description\": \"Expiration of instrument, if applicable.\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"fullName\": {\n \"description\": \"Full display name of the instrument.\",\n \"type\": \"string\"\n },\n \"group\": {\n \"description\": \"Industry sub-categorization of the instrument.\",\n \"type\": \"string\"\n },\n \"hasOptions\": {\n \"description\": \"Indicates whether instrument has options contracts available for trading at IB.\",\n \"type\": \"boolean\"\n },\n \"incrementRules\": {\n \"description\": \"Array containing increment rules used when pricing orders for the instrument.\",\n \"items\": {\n \"description\": \"Objects describing a single increment rule.\",\n \"properties\": {\n \"increment\": {\n \"description\": \"The pricing increment.\",\n \"type\": \"number\"\n },\n \"lowerEdge\": {\n \"description\": \"Lower edge from which the price increment rule is effective.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"isEventContract\": {\n \"description\": \"Indicates whether the instrument is an Event Contract.\",\n \"type\": \"boolean\"\n },\n \"isUS\": {\n \"description\": \"Indicates whether the instrument is issued in the US.\",\n \"type\": \"boolean\"\n },\n \"lastTradingDay\": {\n \"description\": \"Last day of trading in the instrument, if applicable. Formatted `YYYYMMDD`.\",\n \"type\": \"string\"\n },\n \"listingExchange\": {\n \"description\": \"The exchange on which the instrument is listed, or the primary exchange recognized by IB for the instrument.\",\n \"type\": \"string\"\n },\n \"mktPrice\": {\n \"description\": \"Current market price of the instrument, in the instrument\'s currency.\",\n \"type\": \"number\"\n },\n \"mktValue\": {\n \"description\": \"Current market value of the account\'s position in the instrument, in the instrument\'s currency.\",\n \"type\": \"number\"\n },\n \"model\": {\n \"description\": \"Name of the model portfolio in which the account is invested that contributes this position.\",\n \"type\": \"string\"\n },\n \"multiplier\": {\n \"description\": \"Instrument\'s multiplier, if applicable.\",\n \"type\": \"number\"\n },\n \"name\": {\n \"description\": \"Formal name of the entity or asset to which the instrument relates.\",\n \"type\": \"string\"\n },\n \"pageSize\": {\n \"description\": \"Maximum number of accounts that can be returned in a single request.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"position\": {\n \"description\": \"Size of position in units of instrument.\",\n \"type\": \"number\"\n },\n \"putOrCall\": {\n \"description\": \"The right of an options contract, if applicable.\",\n \"enum\": [\n \"P\",\n \"C\"\n ],\n \"type\": \"string\"\n },\n \"realizedPnl\": {\n \"description\": \"Realized PnL for the instrument in the instrument\'s currency.\",\n \"type\": \"number\"\n },\n \"sector\": {\n \"description\": \"Industry sector categorization of the instrument.\",\n \"type\": \"string\"\n },\n \"sectorGroup\": {\n \"description\": \"Industry sub-categorization of the instrument.\",\n \"type\": \"string\"\n },\n \"strike\": {\n \"description\": \"Strike price, if applicable. Returned as string.\",\n \"type\": \"string\"\n },\n \"ticker\": {\n \"description\": \"Symbol associated with the instrument.\",\n \"type\": \"string\"\n },\n \"time\": {\n \"description\": \"Time taken to retrieve position data in milliseconds.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"type\": {\n \"description\": \"Description of instrument, used to differentiate classes, if applicable.\",\n \"type\": \"string\"\n },\n \"undConid\": {\n \"description\": \"Contract ID of underlying instrument, if applicable.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"unrealizedPnl\": {\n \"description\": \"Unrealized PnL for the instrument in the account.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"individualPositionArray\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/individualPosition\"\n },\n \"type\": \"array\"\n },\n \"iserverHistoryBidAskResponse\": {\n \"description\": \"Object containing the requested historical data and related metadata.\",\n \"properties\": {\n \"barLength\": {\n \"description\": \"The client-specified bar width, represented in seconds.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"chartPanStartTime\": {\n \"description\": \"Internal use. UTC datetime string used to center Client Portal charts. Format YYYYMMDD-hh:mm:ss.\",\n \"type\": \"string\"\n },\n \"data\": {\n \"description\": \"Array containing OHLC bars for the requested period.\",\n \"items\": {\n \"$ref\": \"#/components/schemas/singleHistoricalBarBidAsk\"\n },\n \"type\": \"array\"\n },\n \"direction\": {\n \"description\": \"Indicates how the period is applied in relation to the startTime. Value will always be -1, indicating that the period extends from the startTime forward into the future.\",\n \"enum\": [\n -1\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"high\": {\n \"description\": \"Internal use. Delivers highest price value in total interval. Used for chart scaling. A string constructed as \'highestPrice*priceFactor/totalVolume*volumeFactor/minutesFromStartTime\'.\",\n \"type\": \"string\"\n },\n \"low\": {\n \"description\": \"Internal use. Delivers lowest price value in total interval. Used for chart scaling. A string constructed as \'lowestPrice*priceFactor/totalVolume*volumeFactor/minutesFromStartTime\'.\",\n \"type\": \"string\"\n },\n \"mdAvailability\": {\n \"description\": \"A three-character string reflecting the nature of available data. R = Realtime, D = Delayed, Z = Frozen, Y = Frozen Delayed, N = Not Subscribed. P = Snapshot, p = Consolidated. B = Top of book.\",\n \"type\": \"string\"\n },\n \"messageVersion\": {\n \"description\": \"Internal use. Reflects the version of the response schema used.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"mktDataDelay\": {\n \"description\": \"Number of milliseconds taken to satisfy this historical data request.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"negativeCapable\": {\n \"description\": \"Indicates whether instrument is capable of negative pricing.\",\n \"type\": \"boolean\"\n },\n \"outsideRth\": {\n \"description\": \"Indicates whether data from outside regular trading hours is included in the response.\",\n \"type\": \"boolean\"\n },\n \"points\": {\n \"description\": \"Count of the number of bars returned in the data array.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"priceDisplayRule\": {\n \"description\": \"Internal use. Governs application of pricing display rule.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"priceDisplayValue\": {\n \"description\": \"Internal use. Governs rendering of displayed pricing.\",\n \"type\": \"string\"\n },\n \"priceFactor\": {\n \"description\": \"Internal use. Used to scale Client Portal chart Y-axis.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"serverId\": {\n \"description\": \"Internal use. Identifier of the request.\",\n \"type\": \"string\"\n },\n \"startTime\": {\n \"description\": \"UTC date and time of the start (chronologically earlier) of the complete period in format YYYYMMDD-hh:mm:ss.\",\n \"type\": \"string\"\n },\n \"symbol\": {\n \"description\": \"Symbol of the request instrument.\",\n \"type\": \"string\"\n },\n \"text\": {\n \"description\": \"Description or company name of the instrument.\",\n \"type\": \"string\"\n },\n \"timePeriod\": {\n \"description\": \"The client-specified period value.\",\n \"type\": \"string\"\n },\n \"tradingDayDuration\": {\n \"description\": \"Length of instrument\'s trading day in seconds.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"travelTime\": {\n \"description\": \"Internal time in flight to serve the request.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"volumeFactor\": {\n \"description\": \"Internal use. Used to scale volume histograms.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"iserverHistoryLastResponse\": {\n \"description\": \"Object containing the requested historical data and related metadata.\",\n \"properties\": {\n \"barLength\": {\n \"description\": \"The client-specified bar width, represented in seconds.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"chartPanStartTime\": {\n \"description\": \"Internal use. UTC datetime string used to center Client Portal charts. Format YYYYMMDD-hh:mm:ss.\",\n \"type\": \"string\"\n },\n \"data\": {\n \"description\": \"Array containing OHLC bars for the requested period.\",\n \"items\": {\n \"$ref\": \"#/components/schemas/singleHistoricalBarLast\"\n },\n \"type\": \"array\"\n },\n \"direction\": {\n \"description\": \"Indicates how the period is applied in relation to the startTime. Value will always be -1, indicating that the period extends from the startTime forward into the future.\",\n \"enum\": [\n -1\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"high\": {\n \"description\": \"Internal use. Delivers highest price value in total interval. Used for chart scaling. A string constructed as \'highestPrice*priceFactor/totalVolume*volumeFactor/minutesFromStartTime\'.\",\n \"type\": \"string\"\n },\n \"low\": {\n \"description\": \"Internal use. Delivers lowest price value in total interval. Used for chart scaling. A string constructed as \'lowestPrice*priceFactor/totalVolume*volumeFactor/minutesFromStartTime\'.\",\n \"type\": \"string\"\n },\n \"mdAvailability\": {\n \"description\": \"A three-character string reflecting the nature of available data. R = Realtime, D = Delayed, Z = Frozen, Y = Frozen Delayed, N = Not Subscribed. P = Snapshot, p = Consolidated. B = Top of book.\",\n \"type\": \"string\"\n },\n \"messageVersion\": {\n \"description\": \"Internal use. Reflects the version of the response schema used.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"mktDataDelay\": {\n \"description\": \"Number of milliseconds taken to satisfy this historical data request.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"negativeCapable\": {\n \"description\": \"Indicates whether instrument is capable of negative pricing.\",\n \"type\": \"boolean\"\n },\n \"outsideRth\": {\n \"description\": \"Indicates whether data from outside regular trading hours is included in the response.\",\n \"type\": \"boolean\"\n },\n \"points\": {\n \"description\": \"Count of the number of bars returned in the data array.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"priceDisplayRule\": {\n \"description\": \"Internal use. Governs application of pricing display rule.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"priceDisplayValue\": {\n \"description\": \"Internal use. Governs rendering of displayed pricing.\",\n \"type\": \"string\"\n },\n \"priceFactor\": {\n \"description\": \"Internal use. Used to scale Client Portal chart Y-axis.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"serverId\": {\n \"description\": \"Internal use. Identifier of the request.\",\n \"type\": \"string\"\n },\n \"startTime\": {\n \"description\": \"UTC date and time of the start (chronologically earlier) of the complete period in format YYYYMMDD-hh:mm:ss.\",\n \"type\": \"string\"\n },\n \"symbol\": {\n \"description\": \"Symbol of the request instrument.\",\n \"type\": \"string\"\n },\n \"text\": {\n \"description\": \"Description or company name of the instrument.\",\n \"type\": \"string\"\n },\n \"timePeriod\": {\n \"description\": \"The client-specified period value.\",\n \"type\": \"string\"\n },\n \"tradingDayDuration\": {\n \"description\": \"Length of instrument\'s trading day in seconds.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"travelTime\": {\n \"description\": \"Internal time in flight to serve the request.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"volumeFactor\": {\n \"description\": \"Internal use. Used to scale volume histograms.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"iserverHistoryMidpointResponse\": {\n \"description\": \"Object containing the requested historical data and related metadata.\",\n \"properties\": {\n \"barLength\": {\n \"description\": \"The client-specified bar width, represented in seconds.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"chartPanStartTime\": {\n \"description\": \"Internal use. UTC datetime string used to center Client Portal charts. Format YYYYMMDD-hh:mm:ss.\",\n \"type\": \"string\"\n },\n \"data\": {\n \"description\": \"Array containing OHLC bars for the requested period.\",\n \"items\": {\n \"$ref\": \"#/components/schemas/singleHistoricalBarMidpoint\"\n },\n \"type\": \"array\"\n },\n \"direction\": {\n \"description\": \"Indicates how the period is applied in relation to the startTime. Value will always be -1, indicating that the period extends from the startTime forward into the future.\",\n \"enum\": [\n -1\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"high\": {\n \"description\": \"Internal use. Delivers highest price value in total interval. Used for chart scaling. A string constructed as \'highestPrice*priceFactor/totalVolume*volumeFactor/minutesFromStartTime\'.\",\n \"type\": \"string\"\n },\n \"low\": {\n \"description\": \"Internal use. Delivers lowest price value in total interval. Used for chart scaling. A string constructed as \'lowestPrice*priceFactor/totalVolume*volumeFactor/minutesFromStartTime\'.\",\n \"type\": \"string\"\n },\n \"mdAvailability\": {\n \"description\": \"A three-character string reflecting the nature of available data. R = Realtime, D = Delayed, Z = Frozen, Y = Frozen Delayed, N = Not Subscribed. P = Snapshot, p = Consolidated. B = Top of book.\",\n \"type\": \"string\"\n },\n \"messageVersion\": {\n \"description\": \"Internal use. Reflects the version of the response schema used.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"mktDataDelay\": {\n \"description\": \"Number of milliseconds taken to satisfy this historical data request.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"negativeCapable\": {\n \"description\": \"Indicates whether instrument is capable of negative pricing.\",\n \"type\": \"boolean\"\n },\n \"outsideRth\": {\n \"description\": \"Indicates whether data from outside regular trading hours is included in the response.\",\n \"type\": \"boolean\"\n },\n \"points\": {\n \"description\": \"Count of the number of bars returned in the data array.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"priceDisplayRule\": {\n \"description\": \"Internal use. Governs application of pricing display rule.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"priceDisplayValue\": {\n \"description\": \"Internal use. Governs rendering of displayed pricing.\",\n \"type\": \"string\"\n },\n \"priceFactor\": {\n \"description\": \"Internal use. Used to scale Client Portal chart Y-axis.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"serverId\": {\n \"description\": \"Internal use. Identifier of the request.\",\n \"type\": \"string\"\n },\n \"startTime\": {\n \"description\": \"UTC date and time of the start (chronologically earlier) of the complete period in format YYYYMMDD-hh:mm:ss.\",\n \"type\": \"string\"\n },\n \"symbol\": {\n \"description\": \"Symbol of the request instrument.\",\n \"type\": \"string\"\n },\n \"text\": {\n \"description\": \"Description or company name of the instrument.\",\n \"type\": \"string\"\n },\n \"timePeriod\": {\n \"description\": \"The client-specified period value.\",\n \"type\": \"string\"\n },\n \"tradingDayDuration\": {\n \"description\": \"Length of instrument\'s trading day in seconds.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"travelTime\": {\n \"description\": \"Internal time in flight to serve the request.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"volumeFactor\": {\n \"description\": \"Internal use. Used to scale volume histograms.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"iserverScannerParams\": {\n \"properties\": {\n \"filter_list\": {\n \"items\": {\n \"properties\": {\n \"code\": {\n \"description\": \"Value used for the market scanner request.\",\n \"type\": \"string\"\n },\n \"combo_values\": {\n \"description\": \"combo values when type equals to combo\",\n \"items\": {\n \"properties\": {\n \"default\": {\n \"type\": \"boolean\"\n },\n \"vendor\": {\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"display_name\": {\n \"description\": \"Returns the human-readable identifier for the filter.\",\n \"type\": \"string\"\n },\n \"group\": {\n \"description\": \"Returns the group of filters the request is affiliated with.\",\n \"type\": \"string\"\n },\n \"type\": {\n \"description\": \"Returns the type of value to be used in the request. This can indicate a range based value, or if it should be a single value.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"instrument_list\": {\n \"description\": \"Contains all values relevant to the scanner \\\"instrument\\\" request field.\",\n \"items\": {\n \"properties\": {\n \"display_name\": {\n \"description\": \"Human readable representation of the instrument type.\",\n \"type\": \"string\"\n },\n \"filters\": {\n \"description\": \"Returns an array of all filters uniquely avaliable to that instrument type.\",\n \"type\": \"array\"\n },\n \"type\": {\n \"description\": \"Value used for the market scanner request.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"location_tree\": {\n \"description\": \"Contains all values relevant to the location field of the market scanner request.\",\n \"items\": {\n \"properties\": {\n \"display_name\": {\n \"description\": \"Returns the overarching instrument type to designate the location.\",\n \"type\": \"string\"\n },\n \"locations\": {\n \"items\": {\n \"properties\": {\n \"display_name\": {\n \"description\": \"Returns the human-readable value of the market scanner\'s location value.\",\n \"type\": \"string\"\n },\n \"locations\": {\n \"items\": {\n \"properties\": {\n \"display_name\": {\n \"type\": \"string\"\n },\n \"type\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"type\": {\n \"description\": \"Returns the code value of the market scanner location value.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"type\": {\n \"description\": \"Returns the code value of the market scanner instrument type value.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"scan_type_list\": {\n \"description\": \"Contains all values used as the scanner \\\"type\\\" in the request.\",\n \"items\": {\n \"properties\": {\n \"code\": {\n \"description\": \"Value used for the market scanner request.\",\n \"type\": \"string\"\n },\n \"display_name\": {\n \"description\": \"Human readable name for the scanner \\\"type\\\"\",\n \"type\": \"string\"\n },\n \"instruments\": {\n \"description\": \"Returns all instruments the scanner type can be used with.\",\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"iserverScannerRunRequest\": {\n \"properties\": {\n \"filter\": {\n \"description\": \"Contains any additional filters that should apply to response.\",\n \"items\": {\n \"properties\": {\n \"code\": {\n \"description\": \"Code value of the filter. Based on the \\\"code\\\" value within the \\\"filter_list\\\" section of the /iserver/scanner/params response.\",\n \"type\": \"string\"\n },\n \"value\": {\n \"description\": \"Value corresponding to the input for \\\"code\\\".\",\n \"oneOf\": [\n {\n \"type\": \"string\"\n },\n {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n {\n \"type\": \"boolean\"\n },\n {\n \"type\": \"number\"\n }\n ]\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"instrument\": {\n \"description\": \"Instrument type as the target of the market scanner request. Found in the \\\"instrument_list\\\" section of the /iserver/scanner/params response.\",\n \"type\": \"string\"\n },\n \"location\": {\n \"description\": \"Location value the market scanner is searching through. Based on the \\\"location_tree\\\" section of the /iserver/scanner/params response.\",\n \"type\": \"string\"\n },\n \"type\": {\n \"description\": \"Scanner value the market scanner is sorted by. Based on the \\\"scan_type_list\\\" section of the /iserver/scanner/params response.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"iserverScannerRunResponse\": {\n \"properties\": {\n \"contracts\": {\n \"description\": \"Contains contracts related to the market scanner request.\",\n \"items\": {\n \"properties\": {\n \"available_chart_periods\": {\n \"description\": \"Internal Use Only\",\n \"type\": \"string\"\n },\n \"column_name\": {\n \"description\": \"Always returned for the first contract.\",\n \"type\": \"string\"\n },\n \"company_name\": {\n \"description\": \"Returns the company long name.\",\n \"type\": \"string\"\n },\n \"con_id\": {\n \"description\": \"Returns the contract ID of the contract.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"conidex\": {\n \"description\": \"Returns the contract ID of the contract.\",\n \"type\": \"string\"\n },\n \"contract_description_1\": {\n \"description\": \"For derivatives like Futures, the local symbol of the contract will be returned.\",\n \"type\": \"string\"\n },\n \"listing_exchange\": {\n \"description\": \"Returns the primary listing exchange of the contract.\",\n \"type\": \"string\"\n },\n \"sec_type\": {\n \"description\": \"Returns the security type of the contract.\",\n \"type\": \"string\"\n },\n \"server_id\": {\n \"description\": \"Contract\'s index in relation to the market scanner type\'s sorting priority.\",\n \"type\": \"string\"\n },\n \"symbol\": {\n \"description\": \"Returns the contract\'s ticker symbol.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"scan_data_column_name\": {\n \"description\": \"Internal Use Only\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"iserverSnapshot\": {\n \"description\": \"Returns an object for each conId requested.\",\n \"items\": {\n \"anyOf\": [\n {\n \"required\": [\n \"conid\",\n \"conidEx\"\n ]\n }\n ],\n \"properties\": {\n \"6119\": {\n \"description\": \"Returns the server identifier for the market data request.\",\n \"example\": \"q0\",\n \"type\": \"string\"\n },\n \"6509\": {\n \"description\": \"Market Data Availability. The field may contain three chars. First char defines: R = RealTime, D = Delayed, Z = Frozen, Y = Frozen Delayed, N = Not Subscribed, i - incomplete, v - VDR Exempt (Vendor Display Rule 603c). Second char defines: P = Snapshot, p = Consolidated. Third char defines: B = Book. RealTime Data is relayed back in real time without delay, market data subscription(s) are required. Delayed - Data is relayed back 15-20 min delayed. Frozen - Last recorded data at market close. relayed back in real time. Frozen Delayed - Last recorded data at market close, relayed back delayed. Not Subscribed - User does not have the required market data subscription(s) to relay back either real time or delayed data. Snapshot - Snapshot request is available for contract. Consolidated - Market data is aggregated across multiple exchanges or venues. Book - Top of the book data is available for contract.\",\n \"example\": \"RpB\",\n \"type\": \"string\"\n },\n \"MD_Field\": {\n \"description\": \"Can be any of the market data fields submitted in the request. Types may vary from string, integer, and boolean depending on the topic.\\n\"\n },\n \"_updated\": {\n \"description\": \"Returns the UTC timestamp of the data\'s return.\",\n \"example\": 1564652478,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"conid\": {\n \"description\": \"Returns the contract identifier of the request.\",\n \"example\": 265598,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"conidEx\": {\n \"description\": \"Returns the contract identifier or contract identfier@exchange depending on the request.\",\n \"example\": \"265598@SMART\",\n \"type\": \"string\"\n },\n \"server_id\": {\n \"description\": \"Returns the server identifier for the market data request.\",\n \"example\": \"q0\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"ledger\": {\n \"additionalProperties\": {\n \"description\": \"Object describing the account\'s balances in its base currency, by asset class and account segments. Will be duplicated by another object in response bearing the currency\'s name.\",\n \"properties\": {\n \"acctcode\": {\n \"description\": \"The Account ID of the requested account.\",\n \"type\": \"string\"\n },\n \"cashbalance\": {\n \"description\": \"The given account\'s cash balance in this currency.\",\n \"type\": \"number\"\n },\n \"cashbalancefxsegment\": {\n \"description\": \"The given account\'s cash balance in its dedicated forex segment in this currency, if applicable.\",\n \"type\": \"number\"\n },\n \"commoditymarketvalue\": {\n \"description\": \"Market value of the given account\'s commodity positions in this currency.\",\n \"type\": \"number\"\n },\n \"corporatebondsmarketvalue\": {\n \"description\": \"Market value of the given account\'s corporate bond positions in this currency.\",\n \"type\": \"number\"\n },\n \"currency\": {\n \"description\": \"Three-letter name of the currency reflected by this object, or \'BASE\' for the account\'s base currency.\",\n \"type\": \"string\"\n },\n \"dividends\": {\n \"description\": \"The given account\'s receivable (not yet disbursed) dividend balance in this currency.\",\n \"type\": \"number\"\n },\n \"exchangerate\": {\n \"description\": \"Exchange rate of this currency relative to the account\'s base currency.\",\n \"type\": \"number\"\n },\n \"funds\": {\n \"description\": \"The value of the given account\'s mutual fund holdings in this currency.\",\n \"type\": \"number\"\n },\n \"futuremarketvalue\": {\n \"description\": \"Market value of the given account\'s futures positions in this currency.\",\n \"type\": \"number\"\n },\n \"futureoptionmarketvalue\": {\n \"description\": \"Market value of the given account\'s futures options positions in this currency.\",\n \"type\": \"number\"\n },\n \"futuresonlypnl\": {\n \"description\": \"PnL of the given account\'s futures positions in this currency.\",\n \"type\": \"number\"\n },\n \"interest\": {\n \"description\": \"The given account\'s receivable interest balance in this currency.\",\n \"type\": \"number\"\n },\n \"issueroptionsmarketvalue\": {\n \"description\": \"Market value of the given account\'s issuer options positions in this currency.\",\n \"type\": \"number\"\n },\n \"key\": {\n \"description\": \"Identifies the nature of data. Always takes values \'LedgerList\'.\",\n \"enum\": [\n \"LedgerList\"\n ],\n \"type\": \"string\"\n },\n \"moneyfunds\": {\n \"description\": \"The value of the given account\'s money market fund holdings in this currency.\",\n \"type\": \"number\"\n },\n \"netliquidationvalue\": {\n \"description\": \"The given account\'s net liquidation value of positions in this currency.\",\n \"type\": \"number\"\n },\n \"realizedpnl\": {\n \"description\": \"The given account\'s realized PnL for positions in this currency.\",\n \"type\": \"number\"\n },\n \"secondkey\": {\n \"description\": \"Additional identifier of the currency reflected in this object. Always matches \'currency\' field.\",\n \"type\": \"string\"\n },\n \"sessionid\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"settledcash\": {\n \"description\": \"The given account\'s settled cash balance in this currency.\",\n \"type\": \"number\"\n },\n \"severity\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"stockmarketvalue\": {\n \"description\": \"Market value of the given account\'s stock positions in this currency.\",\n \"type\": \"number\"\n },\n \"stockoptionmarketvalue\": {\n \"description\": \"Market value of the given account\'s stock options positions in this currency.\",\n \"type\": \"number\"\n },\n \"tbillsmarketvalue\": {\n \"description\": \"Market value of the given account\'s treasury bill positions in this currency.\",\n \"type\": \"number\"\n },\n \"tbondsmarketvalue\": {\n \"description\": \"Market value of the given account\'s treasury bond positions in this currency.\",\n \"type\": \"number\"\n },\n \"timestamp\": {\n \"description\": \"Timestamp of retrievable of this account ledger data.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"unrealizedpnl\": {\n \"description\": \"The given account\'s unrealied PnL for positions in this currency.\",\n \"type\": \"number\"\n },\n \"warrantsmarketvalue\": {\n \"description\": \"Market value of the given account\'s warrant positions in this currency.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"description\": \"Contains objects reflecting all currencies in which the account\'s positions trade.\",\n \"type\": \"object\"\n },\n \"liveOrdersResponse\": {\n \"properties\": {\n \"orders\": {\n \"description\": \"Array of orders that are currently working, or were filled/cancelled in the current brokerage session.\",\n \"items\": {\n \"description\": \"Object representing one order.\",\n \"properties\": {\n \"account\": {\n \"description\": \"IB account ID to which the order was placed.\",\n \"type\": \"string\"\n },\n \"acct\": {\n \"description\": \"IB account ID to which the order was placed.\",\n \"type\": \"string\"\n },\n \"avgPrice\": {\n \"description\": \"Average price of fills against the order, if any.\",\n \"type\": \"string\"\n },\n \"bgColor\": {\n \"description\": \"Internal use. IB\'s UI background color in hex.\",\n \"type\": \"string\"\n },\n \"cashCcy\": {\n \"description\": \"Currency of the order ticket\'s Cash Quantity, if applicable.\",\n \"type\": \"string\"\n },\n \"companyName\": {\n \"description\": \"Name of business associated with instrument, or otherwise description of instrument.\",\n \"type\": \"string\"\n },\n \"conid\": {\n \"description\": \"Contract ID of the order\'s instrument.\",\n \"type\": \"string\"\n },\n \"conidex\": {\n \"description\": \"Contract ID and routing destination in format 123456@EXCHANGE.\",\n \"type\": \"string\"\n },\n \"description1\": {\n \"description\": \"Descriptive text, or additional details that specific the instrument.\",\n \"type\": \"string\"\n },\n \"description2\": {\n \"description\": \"Only present for derivatives. Shows Expiry, Strike, Right, And Exchange information.\",\n \"type\": \"string\"\n },\n \"exchange\": {\n \"description\": \"Routing destination of the order ticket.\",\n \"type\": \"string\"\n },\n \"fgColor\": {\n \"description\": \"Internal use. IB\'s UI foreground color in hex.\",\n \"type\": \"string\"\n },\n \"filledQuantity\": {\n \"description\": \"Quantity filled in units of the instrument.\",\n \"type\": \"string\"\n },\n \"isEventTrading\": {\n \"description\": \"Indicates whether the order ticket is an Event Trading order.\",\n \"enum\": [\n \"0\",\n \"1\"\n ],\n \"type\": \"string\"\n },\n \"lastExecutionTime\": {\n \"description\": \"Time of last execution against the order in format YYMMDDhhmmss.\",\n \"type\": \"string\"\n },\n \"lastExecutionTime_r\": {\n \"description\": \"Unix timestamp of the last execution against the order.\",\n \"type\": \"string\"\n },\n \"listingExchange\": {\n \"description\": \"Exchange on which the instrument is listed.\",\n \"type\": \"string\"\n },\n \"orderDesc\": {\n \"description\": \"Human-readable shorthand rendering of the order ticket.\",\n \"type\": \"string\"\n },\n \"orderId\": {\n \"description\": \"IB-assigned order identifier.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"orderType\": {\n \"description\": \"Order type of a working order ticket.\",\n \"type\": \"string\"\n },\n \"order_cancellation_by_system_reason\": {\n \"description\": \"Only present for Cancelled orders. Provides the reason for order to have been cancelled or rejected by the system.\\n\",\n \"type\": \"string\"\n },\n \"order_ccp_status\": {\n \"description\": \"IB internal order status.\",\n \"type\": \"string\"\n },\n \"origOrderType\": {\n \"description\": \"Order type of a filled order.\",\n \"type\": \"string\"\n },\n \"price\": {\n \"description\": \"Price of the order, if applicable to the order type.\",\n \"type\": \"string\"\n },\n \"remainingQuantity\": {\n \"description\": \"Quantity remaining to be filled in units of the instrument.\",\n \"type\": \"string\"\n },\n \"secType\": {\n \"description\": \"Asset class of the instrument.\",\n \"type\": \"string\"\n },\n \"side\": {\n \"description\": \"Side of the order.\",\n \"type\": \"string\"\n },\n \"sizeAndFills\": {\n \"description\": \"Human-readable shorthand rendering of the filled and total quantities of the order.\",\n \"type\": \"string\"\n },\n \"status\": {\n \"description\": \"Status of the order ticket.\",\n \"enum\": [\n \"Inactive\",\n \"PendingSubmit\",\n \"PreSubmitted\",\n \"Submitted\",\n \"Filled\",\n \"PendingCancel\",\n \"Cancelled\",\n \"WarnState\"\n ],\n \"type\": \"string\"\n },\n \"supportsTaxOpt\": {\n \"description\": \"Indicates whether the order is supported by IB\'s Tax Optimization tool.\",\n \"enum\": [\n \"0\",\n \"1\"\n ],\n \"type\": \"string\"\n },\n \"taxOptimizerId\": {\n \"description\": \"Tax Optimizer id, identifies set of tax lots selected, for gains and losses management.\",\n \"type\": \"string\"\n },\n \"ticker\": {\n \"description\": \"Symbol or base product code of the instrument.\",\n \"type\": \"string\"\n },\n \"timeInForce\": {\n \"description\": \"Time of force of the order.\",\n \"type\": \"string\"\n },\n \"totalCashSize\": {\n \"description\": \"Total size of a cash quantity order.\",\n \"type\": \"string\"\n },\n \"totalSize\": {\n \"description\": \"Total size of an order in the instrument\'s units.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"snapshot\": {\n \"description\": \"Whether the response is a snapshot.\",\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"mdFields\": {\n \"description\": \"Many FYI endpoints reference a \\\"typecode\\\" value. The table below lists the available codes and what they correspond to.\\n * `31` - Last Price. The last price at which the contract traded. May contain one of the following prefixes: C - Previous day\'s closing price. H - Trading has halted.\\n * `55` - Symbol. \\n * `58` - Text. \\n * `70` - High. Current day high price\\n * `71` - Low. Current day low price\\n * `73` - Market Value. The current market value of your position in the security. Market Value is calculated with real time market data (even when not subscribed to market data).\\n * `74` - Avg Price. The average price of the position.\\n * `75` - Unrealized PnL. Unrealized profit or loss. Unrealized PnL is calculated with real time market data (even when not subscribed to market data).\\n * `76` - Formatted position. \\n * `77` - Formatted Unrealized PnL. \\n * `78` - Daily PnL. Your profit or loss of the day since prior close. Daily PnL is calculated with real time market data (even when not subscribed to market data).\\n * `79` - Realized PnL. Realized profit or loss. Realized PnL is calculated with real time market data (even when not subscribed to market data).\\n * `80` - Unrealized PnL %. Unrealized profit or loss expressed in percentage.\\n * `82` - Change. The difference between the last price and the close on the previous trading day\\n * `83` - Change %. The difference between the last price and the close on the previous trading day in percentage.\\n * `84` - Bid Price. The highest-priced bid on the contract.\\n * `85` - Ask Size. The number of contracts or shares offered at the ask price. For US stocks\\n * `86` - Ask Price. The lowest-priced offer on the contract.\\n * `87` - Volume. Volume for the day\\n * `88` - Bid Size. The number of contracts or shares bid for at the bid price. For US stocks\\n * `201` - Right. Declares the Right of the Option, Call or Put.\\n * `6004` - Exchange. \\n * `6008` - Conid. Contract identifier from IBKR\'s database.\\n * `6070` - SecType. The asset class of the instrument.\\n * `6072` - Months. \\n * `6073` - Regular Expiry. \\n * `6119` - Marker for market data delivery method (similar to request id). \\n * `6457` - Underlying Conid. Use /trsrv/secdef to get more information about the security. \\n * `6508` - Service Params.. \\n * `6509` - Market Data Availability. The field may contain three chars. First char defines: R = RealTime, D = Delayed, Z = Frozen, Y = Frozen Delayed, N = Not Subscribed, i - incomplete, v - VDR Exempt (Vendor Display Rule 603c). Second char defines: P = Snapshot, p = Consolidated. Third char defines: B = Book. RealTime Data is relayed back in real time without delay, market data subscription(s) are required. Delayed - Data is relayed back 15-20 min delayed. Frozen - Last recorded data at market close. relayed back in real time. Frozen Delayed - Last recorded data at market close, relayed back delayed. Not Subscribed - User does not have the required market data subscription(s) to relay back either real time or delayed data. Snapshot - Snapshot request is available for contract. Consolidated - Market data is aggregated across multiple exchanges or venues. Book - Top of the book data is available for contract.\\n * `7051` - Company name. \\n * `7057` - Ask Exch. Displays the exchange(s) offering the SMART price. A=AMEX, C=CBOE, I=ISE, X=PHLX, N=PSE, B=BOX, Q=NASDAQOM, Z=BATS, W=CBOE2, T=NASDAQBX, M=MIAX, H=GEMINI, E=EDGX, J=MERCURY\\n * `7058` - Last Exch. Displays the exchange(s) offering the SMART price. A=AMEX, C=CBOE, I=ISE, X=PHLX, N=PSE, B=BOX, Q=NASDAQOM, Z=BATS, W=CBOE2, T=NASDAQBX, M=MIAX, H=GEMINI, E=EDGX, J=MERCURY\\n * `7059` - Last Size. The number of unites traded at the last price\\n * `7068` - Bid Exch. Displays the exchange(s) offering the SMART price. A=AMEX, C=CBOE, I=ISE, X=PHLX, N=PSE, B=BOX, Q=NASDAQOM, Z=BATS, W=CBOE2, T=NASDAQBX, M=MIAX, H=GEMINI, E=EDGX, J=MERCURY\\n * `7084` - Implied Vol./Hist. Vol %. The ratio of the implied volatility over the historical volatility, expressed as a percentage.\\n * `7085` - Put/Call Interest. Put option open interest/call option open interest for the trading day.\\n * `7086` - Put/Call Volume. Put option volume/call option volume for the trading day.\\n * `7087` - Hist. Vol. %. 30-day real-time historical volatility.\\n * `7088` - Hist. Vol. Close %. Shows the historical volatility based on previous close price.\\n * `7089` - Opt. Volume. Option Volume\\n * `7094` - Conid + Exchange.\\n * `7184` - canBeTraded. If contract is a trade-able instrument. Returns 1(true) or 0(false).\\n * `7219` - Contract Description.\\n * `7220` - Contract Description.\\n * `7221` - Listing Exchange.\\n * `7280` - Industry. Displays the type of industry under which the underlying company can be categorized.\\n * `7281` - Category. Displays a more detailed level of description within the industry under which the underlying company can be categorized.\\n * `7282` - Average Volume. The average daily trading volume over 90 days.\\n * `7283` - Option Implied Vol. %. A prediction of how volatile an underlying will be in the future.At the market volatility estimated for a maturity thirty calendar days forward of the current trading day, and based on option prices from two consecutive expiration months. To query the Implied Vol. % of a specific strike refer to field 7633.\\n * `7284` - Historical volatility %. Deprecated\\n * `7285` - Put/Call Ratio.\\n * `7292` - Cost Basis. Your current position in this security multiplied by the average price and multiplier. \\n * `7293` - 52 Week High. The highest price for the past 52 weeks.\\n * `7294` - 52 Week Low. The lowest price for the past 52 weeks.\\n * `7295` - Open. Today\'s opening price.\\n * `7296` - Close. Today\'s closing price.\\n * `7308` - Delta. The ratio of the change in the price of the option to the corresponding change in the price of the underlying.\\n * `7309` - Gamma. The rate of change for the delta with respect to the underlying asset\'s price.\\n * `7310` - Theta. A measure of the rate of decline the value of an option due to the passage of time.\\n * `7311` - Vega. The amount that the price of an option changes compared to a 1% change in the volatility.\\n * `7607` - Opt. Volume Change %. Today\'s option volume as a percentage of the average option volume.\\n * `7633` - Implied Vol. %. The implied volatility for the specific strike of the option in percentage. To query the Option Implied Vol. % from the underlying refer to field 7283.\\n * `7635` - Mark. The mark price is\\n * `7636` - Shortable Shares. Number of shares available for shorting.\\n * `7637` - Fee Rate. Interest rate charged on borrowed shares.\\n * `7638` - Option Open Interest.\\n * `7639` - % of Mark Value. Displays the market value of the contract as a percentage of the total market value of the account. Mark Value is calculated with real time market data (even when not subscribed to market data).\\n * `7644` - Shortable. Describes the level of difficulty with which the security can be sold short. \\n * `7671` - Dividends. This value is the total of the expected dividend payments over the next twelve months per share.\\n * `7672` - Dividends TTM. This value is the total of the expected dividend payments over the last twelve months per share.\\n * `7674` - EMA(200). Exponential moving average (N=200).\\n * `7675` - EMA(100). Exponential moving average (N=100).\\n * `7676` - EMA(50). Exponential moving average (N=50).\\n * `7677` - EMA(20). Exponential moving average (N=20).\\n * `7678` - Price/EMA(200). Price to Exponential moving average (N=200) ratio -1\\n * `7679` - Price/EMA(100). Price to Exponential moving average (N=100) ratio -1\\n * `7724` - Price/EMA(50). Price to Exponential moving average (N=50) ratio -1\\n * `7681` - Price/EMA(20). Price to Exponential moving average (N=20) ratio -1\\n * `7682` - Change Since Open. The difference between the last price and the open price.\\n * `7683` - Upcoming Event. Shows the next major company event. Requires Wall Street Horizon subscription.\\n * `7684` - Upcoming Event Date. The date of the next major company event. Requires Wall Street Horizon subscription. \\n * `7685` - Upcoming Analyst Meeting. The date and time of the next scheduled analyst meeting. Requires Wall Street Horizon subscription.\\n * `7686` - Upcoming Earnings. The date and time of the next scheduled earnings/earnings call event. Requires Wall Street Horizon subscription.\\n * `7687` - Upcoming Misc Event. The date and time of the next shareholder meeting\\n * `7688` - Recent Analyst Meeting. The date and time of the most recent analyst meeting. Requires Wall Street Horizon subscription.\\n * `7689` - Recent Earnings. The date and time of the most recent earnings/earning call event. Requires Wall Street Horizon subscription.\\n * `7690` - Recent Misc Event. The date and time of the most recent shareholder meeting\\n * `7694` - Probability of Max Return. Customer implied probability of maximum potential gain.\\n * `7695` - Break Even. Break even points\\n * `7696` - SPX Delta. Beta Weighted Delta is calculated using the formula; Delta x dollar adjusted beta\\n * `7697` - Futures Open Interest. Total number of outstanding futures contracts\\n * `7698` - Last Yield. Implied yield of the bond if it is purchased at the current last price. Last yield is calculated using the Last price on all possible call dates. It is assumed that prepayment occurs if the bond has call or put provisions and the issuer can offer a lower coupon rate based on current market rates. The yield to worst will be the lowest of the yield to maturity or yield to call (if the bond has prepayment provisions). Yield to worse may be the same as yield to maturity but never higher.\\n * `7699` - Bid Yield. Implied yield of the bond if it is purchased at the current bid price. Bid yield is calculated using the Ask on all possible call dates. It is assumed that prepayment occurs if the bond has call or put provisions and the issuer can offer a lower coupon rate based on current market rates. The yield to worst will be the lowest of the yield to maturity or yield to call (if the bond has prepayment provisions). Yield to worse may be the same as yield to maturity but never higher.\\n * `7700` - Probability of Max Return. Customer implied probability of maximum potential gain.\\n * `7702` - Probability of Max Loss. Customer implied probability of maximum potential loss.\\n * `7703` - Profit Probability. Customer implied probability of any gain.\\n * `7704` - Organization Type.\\n * `7705` - Debt Class.\\n * `7706` - Ratings. Ratings issued for bond contract.\\n * `7707` - Bond State Code.\\n * `7708` - Bond Type.\\n * `7714` - Last Trading Date.\\n * `7715` - Issue Date.\\n * `7720` - Ask Yield. Implied yield of the bond if it is purchased at the current offer. Ask yield is calculated using the Bid on all possible call dates. It is assumed that prepayment occurs if the bond has call or put provisions and the issuer can offer a lower coupon rate based on current market rates. The yield to worst will be the lowest of the yield to maturity or yield to call (if the bond has prepayment provisions). Yield to worse may be the same as yield to maturity but never higher.\\n * `7741` - Prior Close. Yesterday\'s closing price\\n * `7762` - Volume Long. High precision volume for the day. For formatted volume refer to field 87.\\n * `7768` - hasTradingPermissions. if user has trading permissions for specified contract. Returns 1(true) or 0(false).\\n * `7899` - Stock Type. Determines the stock type. Includes: Common, CORP, ADR, ETF, ETN, EFN, REIT, CEF, ETMF.\\n * `7920` - Daily PnL Raw. Your profit or loss of the day since prior close. Daily PnL is calculated with real-time market data (even when not subscribed to market data).\\n * `7921` - Cost Basis Raw. Your current position in this security multiplied by the average price and and multiplier.\\n * `7943` - Rebate Rate. Fed funds or other currency-relevant Benchmark rate minus the interest rate charged on borrowed shares.\\n\",\n \"enum\": [\n \"31\",\n \"55\",\n \"58\",\n \"70\",\n \"71\",\n \"73\",\n \"74\",\n \"75\",\n \"76\",\n \"77\",\n \"78\",\n \"79\",\n \"80\",\n \"82\",\n \"83\",\n \"84\",\n \"85\",\n \"86\",\n \"87\",\n \"88\",\n \"6004\",\n \"6008\",\n \"6070\",\n \"6072\",\n \"6073\",\n \"6119\",\n \"6457\",\n \"6508\",\n \"6509\",\n \"7051\",\n \"7057\",\n \"7058\",\n \"7059\",\n \"7068\",\n \"7084\",\n \"7085\",\n \"7086\",\n \"7087\",\n \"7088\",\n \"7089\",\n \"7094\",\n \"7184\",\n \"7219\",\n \"7220\",\n \"7221\",\n \"7280\",\n \"7281\",\n \"7282\",\n \"7283\",\n \"7284\",\n \"7285\",\n \"7292\",\n \"7293\",\n \"7294\",\n \"7295\",\n \"7296\",\n \"7308\",\n \"7309\",\n \"7310\",\n \"7311\",\n \"7607\",\n \"7633\",\n \"7635\",\n \"7636\",\n \"7637\",\n \"7638\",\n \"7639\",\n \"7644\",\n \"7671\",\n \"7672\",\n \"7674\",\n \"7675\",\n \"7676\",\n \"7677\",\n \"7678\",\n \"7679\",\n \"7724\",\n \"7681\",\n \"7682\",\n \"7683\",\n \"7684\",\n \"7685\",\n \"7686\",\n \"7687\",\n \"7688\",\n \"7689\",\n \"7690\",\n \"7694\",\n \"7695\",\n \"7696\",\n \"7697\",\n \"7698\",\n \"7699\",\n \"7700\",\n \"7702\",\n \"7703\",\n \"7704\",\n \"7705\",\n \"7706\",\n \"7707\",\n \"7708\",\n \"7714\",\n \"7715\",\n \"7720\",\n \"7741\",\n \"7762\",\n \"7768\",\n \"7920\",\n \"7921\",\n \"7943\"\n ]\n },\n \"modelListResponse\": {\n \"properties\": {\n \"baseCcy\": {\n \"description\": \"Base currency of the established model.\",\n \"type\": \"string\"\n },\n \"masterAccount\": {\n \"description\": \"Advisor account responsible for the model.\",\n \"type\": \"string\"\n },\n \"models\": {\n \"description\": \"List of all models held under the masterAccount.\",\n \"items\": {\n \"properties\": {\n \"bootstrapped\": {\n \"description\": \"Used internally for client portal designation. Should be ignored.\",\n \"type\": \"boolean\"\n },\n \"customIndex\": {\n \"description\": \"Used internally for client portal. Should be ignored.\",\n \"type\": \"boolean\"\n },\n \"desc\": {\n \"description\": \"Personal description of model to read in IBKR GUI elements.\",\n \"type\": \"string\"\n },\n \"isStatic\": {\n \"description\": \"Determine if investing and rebalancing should be handled statically or dynamically. * `true` - Static models will always use the original targets. * `false` - Dynamic models will adjust allocation in response to market movements.\\n\",\n \"type\": \"boolean\"\n },\n \"mismatch\": {\n \"description\": \"Notes if the Actual allocation has become misalligned with the Target.\",\n \"type\": \"boolean\"\n },\n \"model\": {\n \"description\": \"Name of the model.\",\n \"type\": \"string\"\n },\n \"nlv\": {\n \"description\": \"Market value of the model.\",\n \"type\": \"number\"\n },\n \"numAccounts\": {\n \"description\": \"Lists the number of accounts held within the model.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"example\": 540607,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"subscriptionStatus\": {\n \"description\": \"Describes if the model is in polling mode.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n }\n },\n \"modelPositionResponse\": {\n \"properties\": {\n \"cash\": {\n \"description\": \"An object representing each currency held in the model.\",\n \"items\": {\n \"properties\": {\n \"actual\": {\n \"description\": \"Actual percent of the model held in the postion.\",\n \"type\": \"number\"\n },\n \"ccy\": {\n \"description\": \"Currency symbol.\",\n \"type\": \"string\"\n },\n \"exchangeRate\": {\n \"description\": \"Exchange rate of the account base currency to the model base currency.\",\n \"type\": \"number\"\n },\n \"instrumentImbalance\": {\n \"description\": \"Describes the percentage of imbalance of the actual allocation from the model.\",\n \"type\": \"number\"\n },\n \"mv\": {\n \"description\": \"Market value of the position.\",\n \"type\": \"number\"\n },\n \"target\": {\n \"description\": \"Target percentage of the model to hold in the position.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"mismatched\": {\n \"description\": \"Notes if the Actual allocation has become misalligned with the Target.\",\n \"type\": \"boolean\"\n },\n \"model\": {\n \"description\": \"Name of the model.\",\n \"type\": \"string\"\n },\n \"nlv\": {\n \"description\": \"Market value of the model.\",\n \"type\": \"number\"\n },\n \"positionList\": {\n \"description\": \"List of object containing each equity in the model.\",\n \"items\": {\n \"properties\": {\n \"actual\": {\n \"description\": \"Actual percent of the model held in the postion.\",\n \"type\": \"number\"\n },\n \"actualRangeMax\": {\n \"description\": \"Maximum accepted tolerance above the target.\",\n \"type\": \"number\"\n },\n \"actualRangeMin\": {\n \"description\": \"Minimum accepted tolerance below the target.\",\n \"type\": \"number\"\n },\n \"ccy\": {\n \"description\": \"Currency symbol.\",\n \"type\": \"string\"\n },\n \"conid\": {\n \"description\": \"Contract identifier for the instrument.\",\n \"type\": \"number\"\n },\n \"dlv\": {\n \"description\": \"Displayed liquidation value.\",\n \"type\": \"number\"\n },\n \"exchangeRate\": {\n \"description\": \"Used internally for client portal. Should be ignored.\",\n \"type\": \"number\"\n },\n \"flags\": {\n \"description\": \"Used internally for client portal. Should be ignored.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"instrument\": {\n \"description\": \"Symbol of the position.\",\n \"type\": \"string\"\n },\n \"instrumentImbalance\": {\n \"description\": \"Describes the percentage of imbalance of the actual allocation from the model.\",\n \"type\": \"number\"\n },\n \"mismatchType\": {\n \"description\": \"Used internally for client portal. Should be ignored.\",\n \"type\": \"number\"\n },\n \"mv\": {\n \"description\": \"Market Value.\",\n \"type\": \"number\"\n },\n \"position\": {\n \"description\": \"The total size of the position held in the model.\",\n \"type\": \"number\"\n },\n \"target\": {\n \"description\": \"The desired allocation percentage of the position in the model.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"positionTs\": {\n \"description\": \"Epoch timestamp when the position was retrieved.\",\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"stkOnly\": {\n \"description\": \"Describes if the model contains only stocks.\",\n \"type\": \"boolean\"\n },\n \"subscriptionStatus\": {\n \"description\": \"Describes if the model is in polling mode.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"totalDlv\": {\n \"description\": \"Diplayed total liquidation value of the model.\",\n \"type\": \"number\"\n },\n \"totalMv\": {\n \"description\": \"Market value of the entire position.\",\n \"type\": \"number\"\n }\n }\n },\n \"modelPresetsResponse\": {\n \"properties\": {\n \"avoidNegativeCashInIndependent\": {\n \"description\": \"Avoid negative offsetting cash in Independent\",\n \"type\": \"boolean\"\n },\n \"closeDivestIndependentPosition\": {\n \"description\": \"Close out the full position while divesting.\",\n \"type\": \"boolean\"\n },\n \"fullyInvestExistingLongPositions\": {\n \"description\": \"Use the maximum avialble funds to increase long positions.\",\n \"type\": \"boolean\"\n },\n \"keepModelOpen\": {\n \"description\": \"Keep model open for fully divested accounts.\",\n \"type\": \"boolean\"\n },\n \"preferCrossWithIndependent\": {\n \"description\": \"Transfer positions to Independent instead of liquidating.\",\n \"type\": \"boolean\"\n },\n \"preferTransferFromIndependent\": {\n \"description\": \"Transfer positions from Independent structure when possible.\",\n \"type\": \"boolean\"\n },\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"roundAllocationQuantityToExchangeBoardLot\": {\n \"description\": \"Determine if allocation quantities should be handled by lot size.\",\n \"type\": \"boolean\"\n },\n \"subscriptionStatus\": {\n \"description\": \"Describes if the model is in polling mode.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"useNonBaseCcy\": {\n \"description\": \"Use non-base balances when available.\",\n \"type\": \"boolean\"\n },\n \"useToleranceRange\": {\n \"description\": \"Designate of tolerance ranges should be used for rebalancing.\",\n \"type\": \"boolean\"\n }\n }\n },\n \"modelSummaryResponse\": {\n \"properties\": {\n \"bootstrapped\": {\n \"description\": \"Used internally for client portal designation. Should be ignored.\",\n \"type\": \"boolean\"\n },\n \"customIndex\": {\n \"description\": \"Used internally for client portal. Should be ignored.\",\n \"type\": \"boolean\"\n },\n \"desc\": {\n \"description\": \"Personal description of model to read in IBKR GUI elements.\",\n \"type\": \"string\"\n },\n \"isStatic\": {\n \"description\": \"Determine if investing and rebalancing should be handled statically or dynamically. * `true` - Static models will always use the original targets. * `false` - Dynamic models will adjust allocation in response to market movements.\\n\",\n \"type\": \"boolean\"\n },\n \"mismatch\": {\n \"description\": \"Notes if the Actual allocation has become misalligned with the Target.\",\n \"type\": \"boolean\"\n },\n \"model\": {\n \"description\": \"Name of the model.\",\n \"type\": \"string\"\n },\n \"nlv\": {\n \"description\": \"Net Liquidation of the model.\",\n \"type\": \"number\"\n },\n \"numAccounts\": {\n \"description\": \"Lists the number of accounts held within the model.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"example\": 540609,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"subscriptionStatus\": {\n \"description\": \"Describes if the model is in polling mode.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n }\n },\n \"notificationReadAcknowledge\": {\n \"properties\": {\n \"P\": {\n \"description\": \"Returns details about the notification read status.\",\n \"properties\": {\n \"ID\": {\n \"description\": \"Returns the ID for the notification.\",\n \"type\": \"string\"\n },\n \"R\": {\n \"description\": \"Returns if the message was read (1) or unread (0).\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"T\": {\n \"description\": \"Returns the time in ms to complete the edit.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"V\": {\n \"description\": \"Returns 1 to state message was acknowledged.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"notifications\": {\n \"items\": {\n \"properties\": {\n \"D\": {\n \"description\": \"Notification date as an epoch string.\",\n \"type\": \"string\"\n },\n \"FC\": {\n \"description\": \"FYI code, we can use it to find whether the disclaimer is accepted or not in settings\",\n \"type\": \"string\"\n },\n \"HT\": {\n \"description\": \"HT\",\n \"example\": 0,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"ID\": {\n \"description\": \"Unique way to reference the notification.\",\n \"type\": \"string\"\n },\n \"MD\": {\n \"description\": \"Content of notification.\",\n \"type\": \"string\"\n },\n \"MS\": {\n \"description\": \"Title of notification.\",\n \"type\": \"string\"\n },\n \"R\": {\n \"description\": \"Return if the notification was read or not. Value Format: 0: Disabled; 1: Enabled.\\n\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"orderCancelSuccess\": {\n \"description\": \"Acknowledges IB\'s acceptance of the request to cancel the order. Does not report whether the cancellation can or will ultimately be enacted.\",\n \"properties\": {\n \"account\": {\n \"description\": \"IB account to which the order was originally set to clear.\",\n \"type\": \"string\"\n },\n \"conid\": {\n \"description\": \"IB contract ID of the order ticket\'s instrument.\",\n \"type\": \"string\"\n },\n \"msg\": {\n \"description\": \"Indicates success with value \'Request was submitted\'\",\n \"enum\": [\n \"Request was submitted\"\n ],\n \"type\": \"string\"\n },\n \"order_id\": {\n \"description\": \"IB order ID of the order ticket requested for cancellation.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"orderPreview\": {\n \"description\": \"Projected costs and changes to margin and equity values in the account, if the order ticket were executed in full.\",\n \"properties\": {\n \"amount\": {\n \"description\": \"Describes the projected costs associated with the order ticket.\",\n \"properties\": {\n \"amount\": {\n \"description\": \"Projected cost of the order, current reference price times total quantity.\",\n \"type\": \"string\"\n },\n \"commission\": {\n \"description\": \"Projected commissions and fees associated with the order.\",\n \"type\": \"string\"\n },\n \"total\": {\n \"description\": \"Sum of projected cost and commission values for the order.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"equity\": {\n \"description\": \"Describes the projected change to the account\'s equity.\",\n \"properties\": {\n \"after\": {\n \"description\": \"Projected equity after execution of the order.\",\n \"type\": \"string\"\n },\n \"change\": {\n \"description\": \"Difference between current and projected equity values.\",\n \"type\": \"string\"\n },\n \"current\": {\n \"description\": \"Current equity.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"error\": {\n \"description\": \"Human-readable text of an error message, if applicable. Otherwise null.\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"initial\": {\n \"description\": \"Describes the projected change to initial margin.\",\n \"properties\": {\n \"after\": {\n \"description\": \"Projected initial margin after execution of the order.\",\n \"type\": \"string\"\n },\n \"change\": {\n \"description\": \"Difference between current and projected initial margin values.\",\n \"type\": \"string\"\n },\n \"current\": {\n \"description\": \"Current initial margin.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"maintenance\": {\n \"description\": \"Describes the projected change to maintenance margin.\",\n \"properties\": {\n \"after\": {\n \"description\": \"Projected maintenance margin after execution of the order.\",\n \"type\": \"string\"\n },\n \"change\": {\n \"description\": \"Difference between current and projected maintenance margin values.\",\n \"type\": \"string\"\n },\n \"current\": {\n \"description\": \"Current maintenance margin.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"position\": {\n \"description\": \"Describes the projected change to the account\'s position in the instrument.\",\n \"properties\": {\n \"after\": {\n \"description\": \"Projected position size after execution of the order.\",\n \"type\": \"string\"\n },\n \"change\": {\n \"description\": \"Difference between current and projected position sizes.\",\n \"type\": \"string\"\n },\n \"current\": {\n \"description\": \"Current position in the instrument.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"warn\": {\n \"description\": \"Human-readable text of warning message, if applicable. Otherwise null.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"orderReplyMessage\": {\n \"description\": \"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.\\n\",\n \"items\": {\n \"description\": \"An object containing order reply messages emitted against a single order ticket.\",\n \"properties\": {\n \"id\": {\n \"description\": \"The replyId UUID of the order ticket\'s emitted order reply messages, used to confirm them and proceed. Use the POST /iserver/reply/{replyId} endpoint to confirm an order reply message.\\n\",\n \"type\": \"string\"\n },\n \"isSuppressed\": {\n \"description\": \"Internal use. Always delivers value \'false\'.\",\n \"type\": \"boolean\"\n },\n \"message\": {\n \"description\": \"An array containing the human-readable text of all order reply messages emitted for the order ticket.\",\n \"items\": {\n \"description\": \"A single human-readable order reply message.\",\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"messageIds\": {\n \"description\": \"An array containing identifiers that categorize the types of order reply messages that have been emitted. Elements of this array are ordered so that indicies match the corresponding human-readable text strings in the \'message\' array. A messageId can typically be passed in the POST /iserver/questions/suppress endpoint to auto-accept a given warning message.\\n\",\n \"items\": {\n \"description\": \"A single messageId identifier.\",\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"orderReplyNotFound\": {\n \"description\": \"Indicates that the order reply ID does not exist.\",\n \"properties\": {\n \"error\": {\n \"description\": \"Message indicating that order reply id was not found.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"orderStatus\": {\n \"description\": \"Object containing information about the status of an order ticket.\",\n \"properties\": {\n \"account\": {\n \"description\": \"The account receiving executions against this order ticket.\",\n \"type\": \"string\"\n },\n \"alert_active\": {\n \"description\": \"Indicates that an alert is active for the order ticket.\",\n \"enum\": [\n 0,\n 1\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"allowed_duplicate_opposite\": {\n \"description\": \"Indicates whether an identical order on the opposite side can be placed.\",\n \"type\": \"boolean\"\n },\n \"available_chart_periods\": {\n \"description\": \"Internal use. Indicates chart periods available for the instrument.\",\n \"type\": \"string\"\n },\n \"average_price\": {\n \"description\": \"Average price of fills against the order, if any.\",\n \"type\": \"string\"\n },\n \"bgColor\": {\n \"description\": \"Internal use. IB\'s UI background color in hex.\",\n \"type\": \"string\"\n },\n \"cannot_cancel_order\": {\n \"description\": \"Indicates whether the order ticket can be cancelled.\",\n \"type\": \"boolean\"\n },\n \"child_order_type\": {\n \"description\": \"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\",\n \"enum\": [\n \"0\",\n \"A\",\n \"B\"\n ],\n \"type\": \"string\"\n },\n \"company_name\": {\n \"description\": \"Name of the company or asset associated with the instrument.\",\n \"type\": \"string\"\n },\n \"conid\": {\n \"description\": \"Contract ID of the order\'s instrument.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"conidex\": {\n \"description\": \"Contract ID and routing destination in format 123456@EXCHANGE.\",\n \"type\": \"string\"\n },\n \"contract_description_1\": {\n \"description\": \"Human-readable description of the order\'s instrument.\",\n \"type\": \"string\"\n },\n \"cum_fill\": {\n \"description\": \"Cumulative filled quantity of the instrument against the order ticket.\",\n \"type\": \"string\"\n },\n \"currency\": {\n \"description\": \"The currency in which the instrument trades and executions are conducted.\",\n \"type\": \"string\"\n },\n \"deactivate_order\": {\n \"description\": \"Indicates whether the order ticket can be deactivated.\",\n \"type\": \"boolean\"\n },\n \"editable_fields\": {\n \"description\": \"Indicates which fields of the order ticket can be modified currently.\",\n \"type\": \"string\"\n },\n \"exit_strategy_chart_description\": {\n \"description\": \"Internal use. A string describing an active Client Portal exit strategy, or the result of its execution.\",\n \"type\": \"string\"\n },\n \"exit_strategy_display_price\": {\n \"description\": \"Internal use. The UI-displayed price associated with a Client Portal exist strategy.\",\n \"type\": \"string\"\n },\n \"exit_strategy_tool_availability\": {\n \"description\": \"Internal use. Indicates the availability of Client Portal exit strategy tool for the order.\",\n \"type\": \"string\"\n },\n \"fgColor\": {\n \"description\": \"Internal use. IB\'s UI foreground color in hex.\",\n \"type\": \"string\"\n },\n \"listing_exchange\": {\n \"description\": \"Primary listing exchange of the order ticket\'s instrument.\",\n \"type\": \"string\"\n },\n \"option_acct\": {\n \"description\": \"Internal use only.\",\n \"type\": \"string\"\n },\n \"order_ccp_status\": {\n \"description\": \"IB internal order status.\",\n \"type\": \"string\"\n },\n \"order_clearing_account\": {\n \"description\": \"The IB account to which the order ticket clears.\",\n \"type\": \"string\"\n },\n \"order_description\": {\n \"description\": \"Human-readable description of the status or current result of the order ticket, meant for UI presentation.\",\n \"type\": \"string\"\n },\n \"order_description_with_contract\": {\n \"description\": \"Human-readable description of the status or current result of the order ticket, meant for UI presentation. Includes instrument name.\",\n \"type\": \"string\"\n },\n \"order_id\": {\n \"description\": \"The IB-assigned order identifier of the order, as provided in the request path.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"order_not_editable\": {\n \"description\": \"Indicates whether the order ticket can be modified.\",\n \"type\": \"boolean\"\n },\n \"order_status\": {\n \"description\": \"Status of the order ticket.\",\n \"enum\": [\n \"Inactive\",\n \"PendingSubmit\",\n \"PreSubmitted\",\n \"Submitted\",\n \"Filled\",\n \"PendingCancel\",\n \"Cancelled\",\n \"WarnState\"\n ],\n \"type\": \"string\"\n },\n \"order_status_description\": {\n \"description\": \"Human-readable rendering of the order\'s status meant for presentation in UI.\",\n \"type\": \"string\"\n },\n \"order_time\": {\n \"description\": \"Time of the order\'s submission in format YYMMDDhhmmss.\",\n \"type\": \"string\"\n },\n \"order_type\": {\n \"description\": \"The order\'s IB order type.\",\n \"type\": \"string\"\n },\n \"request_id\": {\n \"description\": \"Internal use only. IB-assigned identifier for the status request.\",\n \"type\": \"string\"\n },\n \"sec_type\": {\n \"description\": \"IB asset class identifier.\",\n \"enum\": [\n \"STK\",\n \"OPT\",\n \"FUT\",\n \"FOP\",\n \"CASH\",\n \"CRYPTO\",\n \"BOND\",\n \"WAR\",\n \"FUND\"\n ],\n \"type\": \"string\"\n },\n \"server_id\": {\n \"description\": \"IB-assigned meta-identifier used to associate rejected and resubmitted orders following Server Prompts.\",\n \"type\": \"string\"\n },\n \"side\": {\n \"description\": \"Side of the order ticket.\",\n \"enum\": [\n \"BUY\",\n \"SELL\"\n ],\n \"type\": \"string\"\n },\n \"size\": {\n \"description\": \"Remaining unfilled size of the order ticket. Will reflect 0.0 if order is filled in full, cancelled, or otherwise resolved and no longer working.\",\n \"type\": \"string\"\n },\n \"size_and_fills\": {\n \"description\": \"A string reflecting the cumulative fills and total size of the order.\",\n \"type\": \"string\"\n },\n \"sub_type\": {\n \"description\": \"Internal use only.\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"symbol\": {\n \"description\": \"Symbol of the order ticket\'s instrument.\",\n \"type\": \"string\"\n },\n \"tif\": {\n \"description\": \"Time in force of the order ticket.\",\n \"enum\": [\n \"DAY\",\n \"IOC\",\n \"GTC\",\n \"OPG\",\n \"PAX\"\n ],\n \"type\": \"string\"\n },\n \"total_size\": {\n \"description\": \"The total size of the order ticket.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"orderSubmitError\": {\n \"description\": \"Indicates that the order reply message or submission was not accepted.\",\n \"properties\": {\n \"error\": {\n \"description\": \"Message indicating that order submission was not successful.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"orderSubmitSuccess\": {\n \"description\": \"A successful submission of one or more order tickets.\",\n \"items\": {\n \"description\": \"Result of successful submission of one order ticket.\",\n \"properties\": {\n \"encrypt_message\": {\n \"description\": \"Internal use only.\",\n \"type\": \"string\"\n },\n \"order_id\": {\n \"description\": \"The order ID assigned to your order ticket by IB. Contains only numerals.\",\n \"type\": \"string\"\n },\n \"order_status\": {\n \"description\": \"Status describing where the order stands in its lifecycle.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"ordersSubmissionRequest\": {\n \"properties\": {\n \"orders\": {\n \"description\": \"Array of order tickets objects. Only one order ticket object may be submitted per request, unless constructing a bracket.\",\n \"items\": {\n \"$ref\": \"#/components/schemas/singleOrderSubmissionRequest\"\n },\n \"type\": \"array\"\n }\n }\n },\n \"performanceResponse\": {\n \"properties\": {\n \"cps\": {\n \"description\": \"Returns the object containing the Cumulative performance data.\",\n \"properties\": {\n \"data\": {\n \"description\": \"Returns the array of cps data available.\",\n \"items\": {\n \"properties\": {\n \"baseCurrency\": {\n \"description\": \"Returns the base curency for the account.\",\n \"type\": \"string\"\n },\n \"end\": {\n \"description\": \"Returns the ending value of the value range.\",\n \"type\": \"string\"\n },\n \"id\": {\n \"description\": \"Returns the account identifier.\",\n \"type\": \"string\"\n },\n \"idType\": {\n \"description\": \"Returns the key value of the request.\",\n \"type\": \"string\"\n },\n \"returns\": {\n \"description\": \"Returns all cps values in order between the start and end times.\",\n \"type\": \"array\"\n },\n \"start\": {\n \"description\": \"Returns the starting value of the value range.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"dates\": {\n \"description\": \"Returns the dates corresponding to the frequency of data.\",\n \"type\": \"array\"\n },\n \"freq\": {\n \"description\": \"Returns the determining frequency of the data range.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"currencyType\": {\n \"description\": \"Confirms if the currency type. If trading exclusively in your base currency, \\\"base\\\" will be returned.\",\n \"type\": \"string\"\n },\n \"id\": {\n \"description\": \"Returns the request identifier, getPerformanceData.\",\n \"type\": \"string\"\n },\n \"included\": {\n \"description\": \"Returns an array containing accounts reviewed.\",\n \"type\": \"array\"\n },\n \"nav\": {\n \"description\": \"Net asset value data for the account or consolidated accounts. NAV data is not applicable to benchmarks.\",\n \"properties\": {\n \"data\": {\n \"description\": \"Contains the affiliated \'nav\' data.\",\n \"items\": {\n \"properties\": {\n \"baseCurrency\": {\n \"description\": \"Returns the base currency used in the account.\",\n \"type\": \"string\"\n },\n \"end\": {\n \"description\": \"Returns the end of the available frequency.\",\n \"type\": \"string\"\n },\n \"id\": {\n \"description\": \"Returns the account identifier.\",\n \"type\": \"string\"\n },\n \"idType\": {\n \"description\": \"Returns how identifiers are determined.\",\n \"type\": \"string\"\n },\n \"navs\": {\n \"description\": \"Returns sequential data points corresponding to the net asset value between the \\\"start\\\" and \\\"end\\\" days.\",\n \"type\": \"array\"\n },\n \"start\": {\n \"description\": \"Returns the first available date for data.\",\n \"type\": \"string\"\n },\n \"startNAV\": {\n \"description\": \"Returns the intiial NAV available.\",\n \"properties\": {\n \"date\": {\n \"description\": \"Returns the starting date for the request.\",\n \"type\": \"string\"\n },\n \"val\": {\n \"description\": \"Returns the Net Asset Value of the account.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"dates\": {\n \"description\": \"Returns the array of dates formatted as strings corresponding to your frequency, the length should be same as the length of returns inside data.\",\n \"type\": \"array\"\n },\n \"freq\": {\n \"description\": \"Displays the values corresponding to a given frequency.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"nd\": {\n \"description\": \"Returns the total data points.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"pm\": {\n \"description\": \"Portfolio Measure. Used to indicate TWR or MWR values returned.\",\n \"type\": \"string\"\n },\n \"rc\": {\n \"description\": \"Returns the data identifier (Internal Use Only).\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"tpps\": {\n \"description\": \"Returns the time period performance data.\",\n \"properties\": {\n \"data\": {\n \"description\": \"Object containing all data about tpps.\",\n \"items\": {\n \"properties\": {\n \"baseCurrency\": {\n \"description\": \"Returns the base curency for the account.\",\n \"type\": \"string\"\n },\n \"end\": {\n \"description\": \"Returns the ending value of the value range.\",\n \"type\": \"string\"\n },\n \"id\": {\n \"description\": \"Returns the account identifier.\",\n \"type\": \"string\"\n },\n \"idType\": {\n \"description\": \"Returns the key value of the request.\",\n \"type\": \"string\"\n },\n \"returns\": {\n \"description\": \"Returns all cps values in order between the start and end times.\",\n \"type\": \"array\"\n },\n \"start\": {\n \"description\": \"Returns the starting value of the value range.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"dates\": {\n \"description\": \"Returns the dates corresponding to the frequency of data.\",\n \"type\": \"array\"\n },\n \"freq\": {\n \"description\": \"Returns the determining frequency of the data range.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"pnlPartitionedResponse\": {\n \"properties\": {\n \"upnl\": {\n \"description\": \"Refers to the U accounts PnL. This does reference Realized Profit and Loss.\",\n \"properties\": {\n \"U1234567.Core\": {\n \"description\": \"The account or model\'s Profit and Loss.\",\n \"properties\": {\n \"dpl\": {\n \"description\": \"Daily PnL for the specified account profile.\",\n \"type\": \"number\"\n },\n \"el\": {\n \"description\": \"Excess Liquidity for the specified account profile.\",\n \"type\": \"number\"\n },\n \"mv\": {\n \"description\": \"Margin value for the specified account profile.\",\n \"type\": \"number\"\n },\n \"nl\": {\n \"description\": \"Net Liquidity for the specified account profile.\",\n \"type\": \"number\"\n },\n \"rowType\": {\n \"description\": \"Returns the positional value of the returned account. Always returns 1 for individual accounts.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"upl\": {\n \"description\": \"Unrealized PnL for the specified account profile.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"portfolio2Positions\": {\n \"description\": \"Array of position objects, each defining a position held in the account.\",\n \"items\": {\n \"properties\": {\n \"assetClass\": {\n \"description\": \"Asset class of the requested instrument.\",\n \"type\": \"string\"\n },\n \"avgCost\": {\n \"description\": \"The account\'s average cost for its position.\"\n },\n \"avgPrice\": {\n \"description\": \"The account\'s average price for its position.\",\n \"type\": \"number\"\n },\n \"conid\": {\n \"description\": \"IB contract ID for the instrument.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"currency\": {\n \"description\": \"Currency in which the instrument trades.\",\n \"type\": \"string\"\n },\n \"description\": {\n \"description\": \"Contract\'s local symbol\",\n \"type\": \"string\"\n },\n \"group\": {\n \"description\": \"Industry sub-categorization of the instrument.\",\n \"type\": \"string\"\n },\n \"isLastToLoq\": {\n \"type\": \"boolean\"\n },\n \"marketPrice\": {\n \"description\": \"Current market price of the instrument, in the instrument\'s currency.\",\n \"type\": \"number\"\n },\n \"marketValue\": {\n \"description\": \"Current market value of the account\'s position in the instrument, in the instrument\'s currency.\",\n \"type\": \"number\"\n },\n \"model\": {\n \"description\": \"Name of the model portfolio in which the account is invested that contributes this position.\",\n \"type\": \"string\"\n },\n \"position\": {\n \"description\": \"Size of position in units of instrument.\",\n \"type\": \"number\"\n },\n \"realizedPnl\": {\n \"description\": \"Realized PnL for the instrument in the instrument\'s currency.\",\n \"type\": \"number\"\n },\n \"secType\": {\n \"description\": \"The security type of the instrument.\",\n \"type\": \"string\"\n },\n \"sector\": {\n \"description\": \"Industry sector categorization of the instrument.\",\n \"type\": \"string\"\n },\n \"timestamp\": {\n \"description\": \"Time taken to retrieve position data in milliseconds.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"unrealizedPnl\": {\n \"description\": \"Unrealized PnL for the instrument in the account.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"portfolioAllocations\": {\n \"properties\": {\n \"assetClass\": {\n \"description\": \"Object containing values of positions sorted by long/short and asset class.\",\n \"properties\": {\n \"long\": {\n \"additionalProperties\": {\n \"description\": \"Value of long position in account for specific asset class.\",\n \"type\": \"number\"\n },\n \"description\": \"Object containing value of long positions in the account aggregated by asset class.\",\n \"type\": \"object\"\n },\n \"short\": {\n \"additionalProperties\": {\n \"description\": \"Value of short positions in account for specfic asset class.\",\n \"type\": \"number\"\n },\n \"description\": \"Object containing value of short positions in the account aggregated by asset class.\",\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"group\": {\n \"description\": \"Object containing values of positions sorted by long/short and Sector Group.\",\n \"properties\": {\n \"long\": {\n \"additionalProperties\": {\n \"description\": \"Value of long positions in account for specfic Sector Group.\",\n \"type\": \"number\"\n },\n \"description\": \"Object containing value of long positions in the account aggregated by Sector Group.\",\n \"type\": \"object\"\n },\n \"short\": {\n \"additionalProperties\": {\n \"description\": \"Value of short positions in account for specfic Sector Group.\",\n \"type\": \"number\"\n },\n \"description\": \"Object containing value of short positions in the account aggregated by Sector Group.\",\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"sector\": {\n \"description\": \"Object containing values of positions sorted by long/short and Sector.\",\n \"properties\": {\n \"long\": {\n \"additionalProperties\": {\n \"description\": \"Value of long positions in account for specfic Sector.\",\n \"type\": \"number\"\n },\n \"description\": \"Object containing value of long positions in the account aggregated by Sector.\",\n \"type\": \"object\"\n },\n \"short\": {\n \"additionalProperties\": {\n \"description\": \"Value of short positions in account for specfic Sector.\",\n \"type\": \"number\"\n },\n \"description\": \"Object containing value of short positions in the account aggregated by Sector.\",\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"portfolioSummary\": {\n \"properties\": {\n \"accountcode\": {\n \"allOf\": [\n {\n \"description\": \"The Account ID of the requested account. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"accountready\": {\n \"allOf\": [\n {\n \"description\": \"Indicates whether the account is fully open and tradable. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"accounttype\": {\n \"allOf\": [\n {\n \"description\": \"Identifies the type of client with which the account is associated, such as an individual or LLC. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"accruedcash\": {\n \"allOf\": [\n {\n \"description\": \"Amount of cash accrued (not yet disbursed) for all segments in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"accruedcash-c\": {\n \"allOf\": [\n {\n \"description\": \"Amount of cash accrued (not yet disbursed) for the commodities segment in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"accruedcash-s\": {\n \"allOf\": [\n {\n \"description\": \"Amount of cash accrued (not yet disbursed) for the securities segment in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"accrueddividend\": {\n \"allOf\": [\n {\n \"description\": \"Amount of dividends accrued (not yet disbursed) for all segments in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"accrueddividend-c\": {\n \"allOf\": [\n {\n \"description\": \"Amount of dividends accrued (not yet disbursed) for the commodities segment in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"accrueddividend-s\": {\n \"allOf\": [\n {\n \"description\": \"Amount of dividends accrued (not yet disbursed) for the securities segment in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"availablefunds\": {\n \"allOf\": [\n {\n \"description\": \"Available funds (ELV minus Initial Margin) for all segments in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"availablefunds-c\": {\n \"allOf\": [\n {\n \"description\": \"Available funds (ELV minus Initial Margin) for the commodities segment in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"availablefunds-s\": {\n \"allOf\": [\n {\n \"description\": \"Available funds (ELV minus Initial Margin) for the securities segment in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"availabletotrade\": {\n \"allOf\": [\n {\n \"description\": \"Funds available for trading (ELV minus Initial Margin) for all segments in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"availabletotrade-c\": {\n \"allOf\": [\n {\n \"description\": \"Funds available for trading (ELV minus Initial Margin) for the commodities segment in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"availabletotrade-s\": {\n \"allOf\": [\n {\n \"description\": \"Funds available for trading (ELV minus Initial Margin) for the securities segment in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"availabletowithdraw\": {\n \"allOf\": [\n {\n \"description\": \"Funds available for withdrawal for all segments in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"availabletowithdraw-c\": {\n \"allOf\": [\n {\n \"description\": \"Funds available for withdrawal for the commodities segment in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"availabletowithdraw-s\": {\n \"allOf\": [\n {\n \"description\": \"Funds available for withdrawal for the securities segment in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"billable\": {\n \"allOf\": [\n {\n \"description\": \"Billable commissions for all segments in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"billable-c\": {\n \"allOf\": [\n {\n \"description\": \"Billable commissions for the commodities segment in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"billable-s\": {\n \"allOf\": [\n {\n \"description\": \"Billable commissions for the securities segment in the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"buyingpower\": {\n \"allOf\": [\n {\n \"description\": \"Buying power (maximum value of securities that can be bought without adding funds) for the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"columnprio-c\": {\n \"allOf\": [\n {\n \"description\": \"columnprio-c\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"columnprio-s\": {\n \"allOf\": [\n {\n \"description\": \"columnprio-s\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"cushion\": {\n \"allOf\": [\n {\n \"description\": \"Margin cushion as a decimal ratio, (ELV-Maintenance)/ELV. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"daytradesremaining\": {\n \"allOf\": [\n {\n \"description\": \"Number of day trades currently still available for 4-day pattern day trader period. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"daytradesremainingt+1\": {\n \"allOf\": [\n {\n \"description\": \"Number of day trades available tomorrow for 4-day pattern day trader period. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"daytradesremainingt+2\": {\n \"allOf\": [\n {\n \"description\": \"Number of day trades available in two days for 4-day pattern day trader period. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"daytradesremainingt+3\": {\n \"allOf\": [\n {\n \"description\": \"Number of day trades available in three days for 4-day pattern day trader period. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"daytradesremainingt+4\": {\n \"allOf\": [\n {\n \"description\": \"Number of day trades available in four days for 4-day pattern day trader period. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"daytradingstatus-s\": {\n \"allOf\": [\n {\n \"description\": \"daytradingstatus-s\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"depositoncredithold\": {\n \"allOf\": [\n {\n \"description\": \"Indicates whether a deposit is on credit hold. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"equitywithloanvalue\": {\n \"allOf\": [\n {\n \"description\": \"Equity with Loan Value for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"equitywithloanvalue-c\": {\n \"allOf\": [\n {\n \"description\": \"Equity with Loan Value for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"equitywithloanvalue-s\": {\n \"allOf\": [\n {\n \"description\": \"Equity with Loan Value for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"excessliquidity\": {\n \"allOf\": [\n {\n \"description\": \"Excess liquidity (ELV minus Maintenance Margin) for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"excessliquidity-c\": {\n \"allOf\": [\n {\n \"description\": \"Excess liquidity (ELV minus Maintenance Margin) for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"excessliquidity-s\": {\n \"allOf\": [\n {\n \"description\": \"Excess liquidity (ELV minus Maintenance Margin) for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"fullavailablefunds\": {\n \"allOf\": [\n {\n \"description\": \"Full available funds for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"fullavailablefunds-c\": {\n \"allOf\": [\n {\n \"description\": \"Full available funds (NLV minus Initial Margin) for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"fullavailablefunds-s\": {\n \"allOf\": [\n {\n \"description\": \"Full available funds (ELV minus Initial Margin) for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"fullexcessliquidity\": {\n \"allOf\": [\n {\n \"description\": \"Full excess liquidity (ELV minus Maintenance Margin) for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"fullexcessliquidity-c\": {\n \"allOf\": [\n {\n \"description\": \"Full excess liquidity (ELV minus Maintenance Margin) for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"fullexcessliquidity-s\": {\n \"allOf\": [\n {\n \"description\": \"Full excess liquidity (ELV minus Maintenance Margin) for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"fullinitmarginreq\": {\n \"allOf\": [\n {\n \"description\": \"Full Initial Margin requirement for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"fullinitmarginreq-c\": {\n \"allOf\": [\n {\n \"description\": \"Full Initial Margin requirement for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"fullinitmarginreq-s\": {\n \"allOf\": [\n {\n \"description\": \"Full Initial Margin requirement for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"fullmaintmarginreq\": {\n \"allOf\": [\n {\n \"description\": \"Full Maintenance Margin requirement for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"fullmaintmarginreq-c\": {\n \"allOf\": [\n {\n \"description\": \"Full Maintenance Margin requirement for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"fullmaintmarginreq-s\": {\n \"allOf\": [\n {\n \"description\": \"Full Maintenance Margin requirement for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"grosspositionvalue\": {\n \"allOf\": [\n {\n \"description\": \"Gross Position Value (sum of Long and Short position values for stocks and options) for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"grosspositionvalue-s\": {\n \"allOf\": [\n {\n \"description\": \"grosspositionvalue-s\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"guarantee\": {\n \"allOf\": [\n {\n \"description\": \"For accounts that clear away, value of Guarantee for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"guarantee-c\": {\n \"allOf\": [\n {\n \"description\": \"For accounts that clear away, value of Guarantee for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"guarantee-s\": {\n \"allOf\": [\n {\n \"description\": \"For accounts that clear away, value of Guarantee for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"highestseverity\": {\n \"allOf\": [\n {\n \"description\": \"highestseverity\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"indianstockhaircut\": {\n \"allOf\": [\n {\n \"description\": \"Indian Stock Haircut value for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"indianstockhaircut-c\": {\n \"allOf\": [\n {\n \"description\": \"Indian Stock Haircut value for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"indianstockhaircut-s\": {\n \"allOf\": [\n {\n \"description\": \"Indian Stock Haircut value for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"initmarginreq\": {\n \"allOf\": [\n {\n \"description\": \"Initial Margin requirement for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"initmarginreq-c\": {\n \"allOf\": [\n {\n \"description\": \"Initial Margin requirement for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"initmarginreq-s\": {\n \"allOf\": [\n {\n \"description\": \"Initial Margin requirement for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"leverage-s\": {\n \"allOf\": [\n {\n \"description\": \"Leverage ratio (GPV/NLV) of the securities segment of the account. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"lookaheadavailablefunds\": {\n \"allOf\": [\n {\n \"description\": \"Look-ahead Available Funds for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"lookaheadavailablefunds-c\": {\n \"allOf\": [\n {\n \"description\": \"Look-ahead Available Funds for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"lookaheadavailablefunds-s\": {\n \"allOf\": [\n {\n \"description\": \"Look-ahead Available Funds for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"lookaheadexcessliquidity\": {\n \"allOf\": [\n {\n \"description\": \"Look-ahead Excess Liquidity for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"lookaheadexcessliquidity-c\": {\n \"allOf\": [\n {\n \"description\": \"Look-ahead Excess Liquidity for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"lookaheadexcessliquidity-s\": {\n \"allOf\": [\n {\n \"description\": \"Look-ahead Excess Liquidity for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"lookaheadinitmarginreq\": {\n \"allOf\": [\n {\n \"description\": \"Look-ahead Intial Margin requirement (as of next margin period) for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"lookaheadinitmarginreq-c\": {\n \"allOf\": [\n {\n \"description\": \"Look-ahead Intial Margin requirement (as of next margin period) for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"lookaheadinitmarginreq-s\": {\n \"allOf\": [\n {\n \"description\": \"Look-ahead Intial Margin requirement (as of next margin period) for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"lookaheadmaintmarginreq\": {\n \"allOf\": [\n {\n \"description\": \"Look-ahead Maintenance Margin requirement (as of next margin period) for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"lookaheadmaintmarginreq-c\": {\n \"allOf\": [\n {\n \"description\": \"Look-ahead Maintenance Margin requirement (as of next margin period) for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"lookaheadmaintmarginreq-s\": {\n \"allOf\": [\n {\n \"description\": \"Look-ahead Maintenance Margin requirement (as of next margin period) for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"lookaheadnextchange\": {\n \"allOf\": [\n {\n \"description\": \"Unix epoch timestamp in seconds of start of next margin period. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"maintmarginreq\": {\n \"allOf\": [\n {\n \"description\": \"Maintenance Margin requirement for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"maintmarginreq-c\": {\n \"allOf\": [\n {\n \"description\": \"Maintenance Margin requirement for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"maintmarginreq-s\": {\n \"allOf\": [\n {\n \"description\": \"Maintenance Margin requirement for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"netliquidation\": {\n \"allOf\": [\n {\n \"description\": \"Net Liquidation Value (NLV) for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"netliquidation-c\": {\n \"allOf\": [\n {\n \"description\": \"Net Liquidation Value (sum of values of cash and commodities options) for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"netliquidation-s\": {\n \"allOf\": [\n {\n \"description\": \"Net Liquidation Value (sum of values of cash, stocks, securities options, bonds) for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"netliquidationuncertainty\": {\n \"allOf\": [\n {\n \"description\": \"Uncertainty of Net Liquidation Value associated with after-hours price changes. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"nlvandmargininreview\": {\n \"allOf\": [\n {\n \"description\": \"Indicates whether the NLV and/or margin values for the account are in review. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"pasharesvalue\": {\n \"allOf\": [\n {\n \"description\": \"Personal Account shares value for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"pasharesvalue-c\": {\n \"allOf\": [\n {\n \"description\": \"Personal Account shares value for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"pasharesvalue-s\": {\n \"allOf\": [\n {\n \"description\": \"Personal Account shares value for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"physicalcertificatevalue\": {\n \"allOf\": [\n {\n \"description\": \"Physical Certificate value for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"physicalcertificatevalue-c\": {\n \"allOf\": [\n {\n \"description\": \"Physical Certificate value for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"physicalcertificatevalue-s\": {\n \"allOf\": [\n {\n \"description\": \"Physical Certificate value for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"postexpirationexcess\": {\n \"allOf\": [\n {\n \"description\": \"Projected at-expiration Excess Liquidity for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"postexpirationexcess-c\": {\n \"allOf\": [\n {\n \"description\": \"Projected at-expiration Excess Liquidity for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"postexpirationexcess-s\": {\n \"allOf\": [\n {\n \"description\": \"Projected at-expiration Excess Liquidity for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"postexpirationmargin\": {\n \"allOf\": [\n {\n \"description\": \"Projected at-expiration margin requirement for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"postexpirationmargin-c\": {\n \"allOf\": [\n {\n \"description\": \"Projected at-expiration margin requirement for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"postexpirationmargin-s\": {\n \"allOf\": [\n {\n \"description\": \"Projected at-expiration margin requirement for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"previousdayequitywithloanvalue\": {\n \"allOf\": [\n {\n \"description\": \"Previous day\'s Equity with Loan Value (as of 16:00 US Eastern) for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"previousdayequitywithloanvalue-s\": {\n \"allOf\": [\n {\n \"description\": \"Previous day\'s Equity with Loan Value (as of 16:00 US Eastern) for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"regtequity\": {\n \"allOf\": [\n {\n \"description\": \"Value of equity computed under Reg-T rules for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"regtequity-s\": {\n \"allOf\": [\n {\n \"description\": \"Value of equity computed under Reg-T rules for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"regtmargin\": {\n \"allOf\": [\n {\n \"description\": \"Margin computed under Reg-T rules for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"regtmargin-s\": {\n \"allOf\": [\n {\n \"description\": \"Margin computed under Reg-T rules for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"segmenttitle-c\": {\n \"allOf\": [\n {\n \"description\": \"Human-readable title of the commodities account segment to which the \'-c\' postfix character refers. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"segmenttitle-s\": {\n \"allOf\": [\n {\n \"description\": \"Human-readable title of the securities account segment to which the \'-s\' postfix character refers. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"sma\": {\n \"allOf\": [\n {\n \"description\": \"Value of the Reg-T Special Memoradum Account for all account segments, reflecting credit extended when the market value of the account\'s positions increases. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"sma-s\": {\n \"allOf\": [\n {\n \"description\": \"Value of the Reg-T Special Memoradum Account for the securities account segment, reflecting credit extended when the market value of the account\'s positions increases. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"totalcashvalue\": {\n \"allOf\": [\n {\n \"description\": \"Total cash value for all segments of the account (cash balance plus Futures PnL). (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"totalcashvalue-c\": {\n \"allOf\": [\n {\n \"description\": \"Cash value of Futures PnL for the commodities account segment. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"totalcashvalue-s\": {\n \"allOf\": [\n {\n \"description\": \"Cash balance in the securities account segment. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"totaldebitcardpendingcharges\": {\n \"allOf\": [\n {\n \"description\": \"Total pending debit card charges for all segments of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"totaldebitcardpendingcharges-c\": {\n \"allOf\": [\n {\n \"description\": \"Total pending debit card charges for the commodities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"totaldebitcardpendingcharges-s\": {\n \"allOf\": [\n {\n \"description\": \"Total pending debit card charges for the securities segment of the account. (amount)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"tradingtype-s\": {\n \"allOf\": [\n {\n \"description\": \"Identifier used internally to reflect the trading capabilities of the account, with respect to asset classes. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n },\n \"whatifpmenabled\": {\n \"allOf\": [\n {\n \"description\": \"Indicates whether \'whatif\' order preview functionality is enabled for a Portfolio-Margined account. (value)\",\n \"type\": \"object\"\n },\n {\n \"$ref\": \"#/components/schemas/portfolioSummaryValue\"\n }\n ]\n }\n },\n \"type\": \"object\"\n },\n \"portfolioSummaryValue\": {\n \"properties\": {\n \"amount\": {\n \"description\": \"Numerical data for the associated key.\",\n \"type\": \"number\"\n },\n \"currency\": {\n \"description\": \"The currency in which the value of the \'amount\' field is denominated.\",\n \"type\": \"number\"\n },\n \"isNull\": {\n \"description\": \"Indicates whether the associated key\'s value does not exist, as opposed to a value of zero.\",\n \"type\": \"boolean\"\n },\n \"severity\": {\n \"description\": \"severity\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"timestamp\": {\n \"description\": \"Unix epoch timestamp of returned data in milliseconds.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"value\": {\n \"description\": \"String and boolean (non-numerical) data for the associated key.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"presets\": {\n \"properties\": {\n \"default_method_for_all\": {\n \"description\": \"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:\\n * `A` - Available Equity\\n * `E` - Equal\\n * `N` - Net Liquidation Value\\n\\nUser-specified allocation methods:\\n * `C` - Cash Quantity\\n * `P` - Percentage\\n * `R` - Ratios\\n * `S` - Shares\\n\",\n \"enum\": [\n \"AvailableEquity\",\n \"E\",\n \"N\",\n \"C\",\n \"P\",\n \"R\",\n \"S\"\n ]\n },\n \"group_auto_close_positions\": {\n \"description\": \"Determines if allocation groups should prioritize closing positions over equal distribution.\",\n \"type\": \"boolean\"\n },\n \"group_proportional_allocation\": {\n \"description\": \"Determines if the system should keep allocation groups proportional for scaling.\",\n \"type\": \"boolean\"\n },\n \"profiles_auto_close_positions\": {\n \"description\": \"Determines if allocation profiles should prioritize closing positions over equal distribution.\",\n \"type\": \"boolean\"\n },\n \"strict_credit_check\": {\n \"description\": \"Determines if the system should always check user credit before beginning the order process every time, or only at the time of order placement and execution.\",\n \"type\": \"boolean\"\n }\n }\n },\n \"scheduleResponse\": {\n \"properties\": {\n \"exchange_time_zone\": {\n \"description\": \"Returns the time zone the exchange trades in.\",\n \"type\": \"string\"\n },\n \"schedules\": {\n \"description\": \"Returns a series of date objects of the given contract.\",\n \"properties\": {\n \"date\": {\n \"description\": \"object containing the of hours objects detailing extended and liquid trading.\",\n \"properties\": {\n \"extended_hours\": {\n \"items\": {\n \"properties\": {\n \"cancel_daily_orders\": {\n \"description\": \"Determines if DAY orders are canceled after \'closing\' time.\",\n \"type\": \"boolean\"\n },\n \"closing\": {\n \"description\": \"Epoch timestamp of the exchange\'s close.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"opening\": {\n \"description\": \"Epoch timestamp of the exchange\'s open.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"liquid_hours\": {\n \"items\": {\n \"properties\": {\n \"closing\": {\n \"description\": \"Epoch timestamp of the exchange\'s close.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"opening\": {\n \"description\": \"Epoch timestamp of the exchange\'s open.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"secDefInfoResponse\": {\n \"properties\": {\n \"companyName\": {\n \"description\": \"Name of the company for the given contract.\",\n \"type\": \"string\"\n },\n \"conid\": {\n \"description\": \"Contract Identifier of the given contract.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"currency\": {\n \"description\": \"Traded currency allowed for the given contract.\",\n \"type\": \"string\"\n },\n \"exchange\": {\n \"description\": \"Exchange requesting data for.\",\n \"type\": \"string\"\n },\n \"listingExchange\": {\n \"description\": \"Primary listing exchange for the given contract.\",\n \"type\": \"string\"\n },\n \"maturityDate\": {\n \"description\": \"Date of expiration for the given contract.\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"priceRendering\": {\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"right\": {\n \"description\": \"Set the right for the given contract. * `C` - for Call options. * `P` - for Put options.\\n\",\n \"enum\": [\n \"P\",\n \"C\"\n ],\n \"type\": \"string\"\n },\n \"secType\": {\n \"description\": \"Security type for the given contract.\",\n \"type\": \"string\"\n },\n \"strike\": {\n \"description\": \"Returns the given strike value for the given contract.\",\n \"type\": \"number\"\n },\n \"ticker\": {\n \"description\": \"Ticker symbol for the given contract\",\n \"type\": \"string\"\n },\n \"validExchanges\": {\n \"description\": \"Series of all valid exchanges the contract can be traded on in a single comma-separated string.\",\n \"type\": \"string\"\n }\n }\n },\n \"secdefSearchResponse\": {\n \"items\": {\n \"properties\": {\n \"bondid\": {\n \"description\": \"applicable for bonds\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"companyHeader\": {\n \"description\": \"Company Name - Exchange\",\n \"type\": \"string\"\n },\n \"companyName\": {\n \"description\": \"Formal name of the company.\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"conid\": {\n \"description\": \"Contract identifier for the unique contract.\",\n \"type\": \"string\"\n },\n \"description\": {\n \"description\": \"Primary exchange of the contract\",\n \"type\": \"string\"\n },\n \"fop\": {\n \"description\": \"Returns a string of dates, separated by semicolons.\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"issuers\": {\n \"items\": {\n \"properties\": {\n \"id\": {\n \"type\": \"string\"\n },\n \"name\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"opt\": {\n \"description\": \"Returns a string of dates, separated by semicolons.\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"restricted\": {\n \"description\": \"Returns if the contract is available for trading.\",\n \"nullable\": true,\n \"type\": \"boolean\"\n },\n \"sections\": {\n \"items\": {\n \"properties\": {\n \"exchange\": {\n \"description\": \"semicolon separated list of exchanges\",\n \"type\": \"string\"\n },\n \"months\": {\n \"description\": \"semicolon separated list of months\",\n \"type\": \"string\"\n },\n \"secType\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"symbol\": {\n \"description\": \"Underlying ticker symbol.\",\n \"type\": \"string\"\n },\n \"war\": {\n \"description\": \"Returns a string of dates, separated by semicolons.\",\n \"nullable\": true,\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"setAccountResponse\": {\n \"properties\": {\n \"acctId\": {\n \"description\": \"Confirms the account switched to.\",\n \"type\": \"string\"\n },\n \"set\": {\n \"description\": \"Confirms that the account change was set\",\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"signatureAndOwners\": {\n \"properties\": {\n \"accountId\": {\n \"description\": \"Account identifier\",\n \"type\": \"string\"\n },\n \"applicant\": {\n \"properties\": {\n \"signatures\": {\n \"description\": \"All names attached to the account\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"users\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/user\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"singleHistoricalBarBidAsk\": {\n \"description\": \"Object containing Bid and Ask data for a single OHLC bar.\",\n \"properties\": {\n \"c\": {\n \"description\": \"Closing value of the bar. Indicates the time average ask during the bar.\",\n \"type\": \"number\"\n },\n \"h\": {\n \"description\": \"High value of the bar. Indicates the highest ask price during the bar.\",\n \"type\": \"number\"\n },\n \"l\": {\n \"description\": \"Low value of the bar. Indicates the lowest bid price during the bar.\",\n \"type\": \"number\"\n },\n \"o\": {\n \"description\": \"Opening value of the bar. Indicates the time average bid during the bar.\",\n \"type\": \"number\"\n },\n \"t\": {\n \"description\": \"Unix timestamp of the start (chronologically earlier) of the bar.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"v\": {\n \"description\": \"Volume value of the bar. Always returns 0.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"singleHistoricalBarLast\": {\n \"description\": \"Object containing Last or Trades data for a single OHLC bar.\",\n \"properties\": {\n \"c\": {\n \"description\": \"Closing value of the bar. Indicates the final traded price of the bar.\",\n \"type\": \"number\"\n },\n \"h\": {\n \"description\": \"High value of the bar. Indicates the highest traded price of the bar.\",\n \"type\": \"number\"\n },\n \"l\": {\n \"description\": \"Low value of the bar. Indicates the lowest traded price of the bar.\",\n \"type\": \"number\"\n },\n \"o\": {\n \"description\": \"Opening value of the bar. Indicates first traded price of the bar.\",\n \"type\": \"number\"\n },\n \"t\": {\n \"description\": \"Unix timestamp of the start (chronologically earlier) of the bar.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"v\": {\n \"description\": \"Volume value of the bar, returned only for \\\"Last\\\" barType.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"singleHistoricalBarMidpoint\": {\n \"description\": \"Object containing Midpoint data for a single OHLC bar.\",\n \"properties\": {\n \"c\": {\n \"description\": \"Closing value of the bar. Indicates the last midpoint price traded price during the bar.\",\n \"type\": \"number\"\n },\n \"h\": {\n \"description\": \"High value of the bar. Indicates the highest midpoint price traded price during the bar.\",\n \"type\": \"number\"\n },\n \"l\": {\n \"description\": \"Low value of the bar. Indicates the lowest midpoint price traded price during the bar.\",\n \"type\": \"number\"\n },\n \"o\": {\n \"description\": \"Opening value of the bar. Indicates the starting midpoint price traded price during the bar.\",\n \"type\": \"number\"\n },\n \"t\": {\n \"description\": \"Unix timestamp of the start (chronologically earlier) of the bar.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"v\": {\n \"description\": \"Volume value of the bar. Always returns 0.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"singleOrderSubmissionRequest\": {\n \"description\": \"A single order ticket.\",\n \"properties\": {\n \"acctId\": {\n \"description\": \"Receiving account of the order ticket.\",\n \"type\": \"string\"\n },\n \"allOrNone\": {\n \"description\": \"Instructs IB to execute the order entirely or not execute at all.\",\n \"type\": \"boolean\"\n },\n \"auxPrice\": {\n \"description\": \"Additional price value used in certain order types, such as stop orders.\",\n \"type\": \"number\"\n },\n \"cOID\": {\n \"description\": \"Client-configurable order identifier.\",\n \"type\": \"string\"\n },\n \"cashQty\": {\n \"description\": \"Quantity of currency used with cash quantity orders.\",\n \"type\": \"number\"\n },\n \"conid\": {\n \"description\": \"IB contract ID of the instrument.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"conidex\": {\n \"description\": \"Contract ID and routing destination together in format 123456@EXCHANGE.\",\n \"type\": \"string\"\n },\n \"extOperator\": {\n \"description\": \"ExtOperator is used to identify external operator\",\n \"type\": \"string\"\n },\n \"isCcyConv\": {\n \"description\": \"Indicates that a forex order is for currency conversion and should not entail a virtual forex position in the account, where applicable.\",\n \"type\": \"boolean\"\n },\n \"isSingleGroup\": {\n \"description\": \"Indicates that all orders in the containing array are to be treated as an OCA group.\",\n \"type\": \"boolean\"\n },\n \"jsonPayload\": {\n \"properties\": {\n \"allocation_profile\": {\n \"description\": \"The assigned contents for how the order should be allocated amongst subaccount(s).\",\n \"properties\": {\n \"alloc_type\": {\n \"description\": \"The allocation type to define how shares should be distributed. A warning message to be pre-approved.\\n * `SHARE` - Designate the allocation amounts as a quantity of shares.\\n * `CASH` - Designate the allocation amounts as a quantity of a cash quantity to allocate.\\n\",\n \"enum\": [\n \"SHARE\",\n \"CASH\"\n ],\n \"type\": \"string\"\n },\n \"allocations\": {\n \"description\": \"List of accounts to allocate a trade and the affiliated quantity.\",\n \"items\": {\n \"properties\": {\n \"account\": {\n \"description\": \"Account to allocate trades to.\",\n \"type\": \"string\"\n },\n \"amount\": {\n \"description\": \"Allocation to the given account based on the alloc_type.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"listingExchange\": {\n \"description\": \"The listing exchange of the instrument.\",\n \"type\": \"string\"\n },\n \"manualIndicator\": {\n \"description\": \"For all orders for US Futures products, clients must submit this flag to indicate whether the order was originated manually (by a natural person) or automatically (by an automated trading system transmitting orders without human intervention). Submit a True value to indicate a manually originated order, and submit a False value to indicate an automated order. Orders for USFUT products that do not include this field will be rejected.\",\n \"type\": \"boolean\"\n },\n \"orderType\": {\n \"description\": \"IB order type identifier.\",\n \"type\": \"string\"\n },\n \"outsideRTH\": {\n \"description\": \"Instructs IB to permit the order to execute outside of regular trading hours.\",\n \"type\": \"boolean\"\n },\n \"parentId\": {\n \"description\": \"If the order ticket is a child order in a bracket, the parentId field must be set equal to the cOID provided for the parent order.\",\n \"type\": \"string\"\n },\n \"price\": {\n \"description\": \"Price of the order ticket, where applicable.\",\n \"type\": \"number\"\n },\n \"quantity\": {\n \"description\": \"Quantity of the order ticket in units of the instrument.\",\n \"type\": \"number\"\n },\n \"referrer\": {\n \"description\": \"IB internal identifier for order entry UI element.\",\n \"type\": \"string\"\n },\n \"secType\": {\n \"description\": \"IB asset class identifier.\",\n \"type\": \"string\"\n },\n \"side\": {\n \"description\": \"Side of the order ticket.\",\n \"enum\": [\n \"BUY\",\n \"SELL\"\n ],\n \"type\": \"string\"\n },\n \"strategy\": {\n \"description\": \"The name of an execution algorithm.\",\n \"type\": \"string\"\n },\n \"strategyParameters\": {\n \"description\": \"Parameters governing the selected algorithm, if applicable.\",\n \"properties\": {\n \"PLACEHOLDER\": {\n \"description\": \"Placeholder -- these vary by algo (and not always type string, sometimes bool)\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"taxOptimizerId\": {\n \"description\": \"Identifies set of tax lots selected, for gains and losses management.\",\n \"type\": \"string\"\n },\n \"ticker\": {\n \"description\": \"Ticker symbol of the instrument.\",\n \"type\": \"string\"\n },\n \"tif\": {\n \"description\": \"Time in force of the order ticket.\",\n \"enum\": [\n \"DAY\",\n \"IOC\",\n \"GTC\",\n \"OPG\",\n \"PAX\"\n ],\n \"type\": \"string\"\n },\n \"trailingAmt\": {\n \"description\": \"Offset used with Trailing orders.\",\n \"type\": \"number\"\n },\n \"trailingType\": {\n \"description\": \"Specifies the type of trailing used with a Trailing order.\",\n \"enum\": [\n \"amt\",\n \"%\"\n ],\n \"type\": \"string\"\n },\n \"useAdaptive\": {\n \"description\": \"Instructs IB to apply the Price Management Algo.\",\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"conid\",\n \"orderType\",\n \"quantity\",\n \"side\",\n \"tif\"\n ],\n \"type\": \"object\"\n },\n \"singleWatchlist\": {\n \"description\": \"Object detailing a single watchlist.\",\n \"properties\": {\n \"hash\": {\n \"description\": \"Internal use. Unique hash of the watchlist.\",\n \"type\": \"string\"\n },\n \"id\": {\n \"description\": \"Identifier of the watchlist.\",\n \"type\": \"string\"\n },\n \"instruments\": {\n \"description\": \"Array of instruments contained in the watchlist.\",\n \"items\": {\n \"$ref\": \"#/components/schemas/singleWatchlistEntry\"\n },\n \"type\": \"array\"\n },\n \"name\": {\n \"description\": \"Human-readable display name of the watchlist.\",\n \"type\": \"string\"\n },\n \"readOnly\": {\n \"description\": \"Indicates whether the watchlist can be edited.\",\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"singleWatchlistEntry\": {\n \"description\": \"Object containing watchlist entry for a single instrument.\",\n \"properties\": {\n \"C\": {\n \"description\": \"Instrument conid as a string.\",\n \"type\": \"string\"\n },\n \"ST\": {\n \"description\": \"All-capital, shorthand security type identifier of the instrument.\",\n \"enum\": [\n \"STK\",\n \"OPT\",\n \"FUT\",\n \"BOND\",\n \"FUND\",\n \"WAR\",\n \"CASH\",\n \"CRYPTO\"\n ],\n \"type\": \"string\"\n },\n \"assetClass\": {\n \"description\": \"All-capital, shorthand security type identifier of the instrument.\",\n \"enum\": [\n \"STK\",\n \"OPT\",\n \"FUT\",\n \"BOND\",\n \"FUND\",\n \"WAR\",\n \"CASH\",\n \"CRYPTO\"\n ],\n \"type\": \"string\"\n },\n \"chineseName\": {\n \"description\": \"Rendering of the instrument name in Chinese.\",\n \"type\": \"string\"\n },\n \"conid\": {\n \"description\": \"IB contract ID of the instrument.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"fullName\": {\n \"description\": \"Full display presentation of the instrument symbol.\",\n \"type\": \"string\"\n },\n \"name\": {\n \"description\": \"Complete display name of the instrument.\",\n \"type\": \"string\"\n },\n \"ticker\": {\n \"description\": \"Symbol of the instrument.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"ssoValidateResponse\": {\n \"properties\": {\n \"AUTH_TIME\": {\n \"description\": \"Returns the time of authentication in epoch time.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"CREDENTIAL\": {\n \"description\": \"Returns the underlying username of the account.\",\n \"type\": \"string\"\n },\n \"EXPIRES\": {\n \"description\": \"Returns the time until SSO session expiration in milliseconds.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"IP\": {\n \"description\": \"Internal use only. Does not reflect the IP address of the user.\",\n \"type\": \"string\"\n },\n \"IS_FREE_TRIAL\": {\n \"description\": \"Returns if the account is a trial account or a funded account.\",\n \"type\": \"boolean\"\n },\n \"IS_MASTER\": {\n \"description\": \"Returns whether the account is a master account (true) or subaccount (false).\",\n \"type\": \"boolean\"\n },\n \"LANDING_APP\": {\n \"description\": \"Used for Client Portal (Internal use only)\",\n \"type\": \"string\"\n },\n \"PAPER_USER_NAME\": {\n \"description\": \"Returns the paper username for the account.\",\n \"type\": \"string\"\n },\n \"QUALIFIED_FOR_MOBILE_AUTH\": {\n \"description\": \"Returns if the customer requires two factor authentication.\",\n \"type\": \"boolean\"\n },\n \"RESULT\": {\n \"description\": \"Confirms if validation was successful. True if session was validated; false if not.\",\n \"type\": \"boolean\"\n },\n \"SF_ENABLED\": {\n \"description\": \"(Internal use only)\",\n \"type\": \"boolean\"\n },\n \"USER_ID\": {\n \"description\": \"Internal user identifier.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"USER_NAME\": {\n \"description\": \"current username logged in for the session.\",\n \"type\": \"string\"\n },\n \"features\": {\n \"description\": \"Returns supported features such as bonds and option trading.\",\n \"properties\": {\n \"bond\": {\n \"description\": \"Returns if bonds can be traded.\",\n \"type\": \"boolean\"\n },\n \"calendar\": {\n \"description\": \"Returns if trading calendars are enabled\",\n \"type\": \"boolean\"\n },\n \"envs\": {\n \"description\": \"Returns the connecting environment to distinguish production or paper.\",\n \"type\": \"string\"\n },\n \"newMf\": {\n \"description\": \"Internal Use Only\",\n \"type\": \"boolean\"\n },\n \"optionChains\": {\n \"description\": \"Returns if option chains can be retrieved in the account.\",\n \"type\": \"boolean\"\n },\n \"realtime\": {\n \"description\": \"Returns if realtime market data is available\",\n \"type\": \"boolean\"\n },\n \"wlms\": {\n \"description\": \"Internal Use Only\",\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"lastAccessed\": {\n \"description\": \"Returns the last time the user was accessed in epoch time.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"loginType\": {\n \"description\": \"Returns the login type. 1 for Live, 2 for Paper\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"region\": {\n \"description\": \"Returns the region connected to internally.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"stocks\": {\n \"additionalProperties\": {\n \"items\": {\n \"description\": \"Contains a series of objects for each symbol that matches the requested\",\n \"properties\": {\n \"assetClass\": {\n \"description\": \"Asset class for the given company.\",\n \"type\": \"string\"\n },\n \"chineseName\": {\n \"description\": \"Chinese name for the given company as unicode.\",\n \"type\": \"string\"\n },\n \"contracts\": {\n \"description\": \"A series of arrays pertaining to the same company listed by \\\"name\\\". Typically differentiated based on currency of the primary exchange.\\n\",\n \"items\": {\n \"properties\": {\n \"conid\": {\n \"description\": \"Contract ID for the specific contract.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"exchange\": {\n \"description\": \"Primary exchange for the given contract.\",\n \"type\": \"string\"\n },\n \"isUS\": {\n \"description\": \"States whether the contract is hosted in the United States or not.\",\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"name\": {\n \"description\": \"Full company name for the given contract.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"type\": \"object\"\n },\n \"subAccounts\": {\n \"properties\": {\n \"accounts\": {\n \"description\": \"An array containing all sub-accounts held by the advisor.\",\n \"items\": {\n \"properties\": {\n \"data\": {\n \"description\": \"Contains Net liquidation and available equity of the given account Id.\",\n \"items\": {\n \"properties\": {\n \"key\": {\n \"description\": \"Defines the value of the object\\n * `AvailableEquity` - Indicates the value relates to the Available Equity held within the account\\n * `NetLiquidation` - Indicates the value relates to the Net Liquidation held within the account\\n\",\n \"enum\": [\n \"AvailableEquity\",\n \"NetLiquidation\"\n ],\n \"type\": \"string\"\n },\n \"value\": {\n \"description\": \"Contains the price value affiliated with the key.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"name\": {\n \"description\": \"Returns the account ID affiliated with the balance data.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"subaccounts2Response\": {\n \"properties\": {\n \"metadata\": {\n \"description\": \"Metadata container describing the subaccounts.\",\n \"properties\": {\n \"pageNum\": {\n \"description\": \"The active page number.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"pageSize\": {\n \"description\": \"Items contained in the returning page.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"total\": {\n \"description\": \"The total number of accounts returned for the page.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"subaccounts\": {\n \"description\": \"List containing all subaccounts of the account structure.\",\n \"items\": {\n \"$ref\": \"#/components/schemas/accountAttributes\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"successfulTickleResponse\": {\n \"properties\": {\n \"collission\": {\n \"description\": \"(Internal Use Only)\",\n \"type\": \"boolean\"\n },\n \"hmds\": {\n \"description\": \"Returns connection details for the historical market data server.\",\n \"properties\": {\n \"authStatus\": {\n \"description\": \"Returns authentication details.\",\n \"properties\": {\n \"authenticated\": {\n \"description\": \"Returns if the brokerage session is authenticated.\",\n \"type\": \"boolean\"\n },\n \"connected\": {\n \"description\": \"Returns if the system is connected with HMDS\",\n \"type\": \"boolean\"\n }\n },\n \"type\": \"array\"\n },\n \"error\": {\n \"description\": \"Relays any internal connection errors.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"iserver\": {\n \"properties\": {\n \"authStatus\": {\n \"$ref\": \"#/components/schemas/brokerageSessionStatus\"\n }\n },\n \"type\": \"object\"\n },\n \"session\": {\n \"description\": \"Returns the session token of the contract.\",\n \"type\": \"string\"\n },\n \"ssoExpires\": {\n \"description\": \"Returns the number of milliseconds until the current sso session expires.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"userId\": {\n \"description\": \"(Internal Use Only)\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"summaryMarketValueResponse\": {\n \"properties\": {\n \"currency\": {\n \"description\": \"Returns an object containing market value details of the currency and positions held using that currency.\",\n \"properties\": {\n \"Cryptocurrency\": {\n \"description\": \"Total cash value of Cryptocurrencies held.\",\n \"type\": \"string\"\n },\n \"Exchange Rate\": {\n \"description\": \"Exchange rate of the labeled currency to the base currency.\",\n \"type\": \"string\"\n },\n \"Govt Bonds\": {\n \"description\": \"Total cash value of goverment bonds held.\",\n \"type\": \"string\"\n },\n \"MTD Interest\": {\n \"description\": \"Total Month-to-date interest.\",\n \"type\": \"string\"\n },\n \"Notional CFD\": {\n \"description\": \"Total cash value of notional CFDs held.\",\n \"type\": \"string\"\n },\n \"bonds\": {\n \"description\": \"Total cash value of bonds held.\",\n \"type\": \"string\"\n },\n \"cfd\": {\n \"description\": \"Total cash value of CFDs held.\",\n \"type\": \"string\"\n },\n \"commodity\": {\n \"description\": \"Total cash value of commodities held.\",\n \"type\": \"string\"\n },\n \"dividends_receivable\": {\n \"description\": \"Total cash value of receivable dividends.\",\n \"type\": \"string\"\n },\n \"funds\": {\n \"description\": \"Total cash value of funds held.\",\n \"type\": \"string\"\n },\n \"future_options\": {\n \"description\": \"Total cash value of future options held.\",\n \"type\": \"string\"\n },\n \"futures\": {\n \"description\": \"Total cash value of futures held.\",\n \"type\": \"string\"\n },\n \"issuer_option\": {\n \"description\": \"Total cash value of issuer options held.\",\n \"type\": \"string\"\n },\n \"money_market\": {\n \"description\": \"Total cash value of money market securities held.\",\n \"type\": \"string\"\n },\n \"mutual_funds\": {\n \"description\": \"Total cash value of mutual funds held.\",\n \"type\": \"string\"\n },\n \"net_liquidation\": {\n \"description\": \"Total cash value of your net liquidty.\",\n \"type\": \"string\"\n },\n \"options\": {\n \"description\": \"Total cash value of options held.\",\n \"type\": \"string\"\n },\n \"realized_pnl\": {\n \"description\": \"Total daily realized profit and loss.\",\n \"type\": \"string\"\n },\n \"settled_cash\": {\n \"description\": \"Cash recognized at the time of settlement minus the purchases at time of trade, commissions, taxes, and fees.\",\n \"type\": \"string\"\n },\n \"stock\": {\n \"description\": \"Total cash value of stocks held.\",\n \"type\": \"string\"\n },\n \"t_bills\": {\n \"description\": \"Total cash value of t-bill bonds held.\",\n \"type\": \"string\"\n },\n \"total_cash\": {\n \"description\": \"Lists the total cash held for the given currency.\",\n \"type\": \"string\"\n },\n \"unrealized_pnl\": {\n \"description\": \"Total daily unrealized profit and loss.\",\n \"type\": \"string\"\n },\n \"warrants\": {\n \"description\": \"Total cash value of warrants held.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"summaryOfAccountBalancesResponse\": {\n \"properties\": {\n \"commodities\": {\n \"description\": \"Contains Commodity-specific balance details.\",\n \"properties\": {\n \"MTD Interest\": {\n \"description\": \"Total Month-to-date interest.\",\n \"type\": \"string\"\n },\n \"Pndng Dbt Crd Chrgs\": {\n \"description\": \"Any pending charges for the IBKR debit account.\",\n \"type\": \"string\"\n },\n \"cash\": {\n \"description\": \"Total cash balance in the account\",\n \"type\": \"string\"\n },\n \"equity_with_loan\": {\n \"description\": \"* `Cash Accounts` Settled cash\\n * `Margin Accounts` Total cash value + stock value + bond value + fund value + European & Asian options value.\\n\",\n \"type\": \"string\"\n },\n \"net_liquidation\": {\n \"description\": \"The basis for determining the price of the assets in your account.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"securities\": {\n \"description\": \"Contains Security-specific balance details.\",\n \"properties\": {\n \"MTD Interest\": {\n \"description\": \"Total Month-to-date interest.\",\n \"type\": \"string\"\n },\n \"Pndng Dbt Crd Chrgs\": {\n \"description\": \"Any pending charges for the IBKR debit account.\",\n \"type\": \"string\"\n },\n \"Prvs Dy Eqty Wth Ln Vl\": {\n \"description\": \"The accounts equity balance including loan value.\",\n \"type\": \"string\"\n },\n \"cash\": {\n \"description\": \"Total cash balance in the account\",\n \"type\": \"string\"\n },\n \"equity_with_loan\": {\n \"description\": \"* `Cash Accounts` Settled cash\\n * `Margin Accounts` Total cash value + stock value + bond value + fund value + European & Asian options value.\\n\",\n \"type\": \"string\"\n },\n \"net_liquidation\": {\n \"description\": \"The basis for determining the price of the assets in your account.\",\n \"type\": \"string\"\n },\n \"sec_gross_pos_val\": {\n \"description\": \"Equals the sum of the absolute value of all positions except cash, index futures and US treasuries.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"total\": {\n \"description\": \"Contains total balance details for the account.\",\n \"properties\": {\n \"MTD Interest\": {\n \"description\": \"Total Month-to-date interest.\",\n \"type\": \"string\"\n },\n \"Nt Lqdtn Uncrtnty\": {\n \"description\": \"Displays the uncertainty of the Net Liquidating Value associated with after-hours price changes.\",\n \"type\": \"string\"\n },\n \"Pndng Dbt Crd Chrgs\": {\n \"description\": \"Any pending charges for the IBKR debit account.\",\n \"type\": \"string\"\n },\n \"Prvs Dy Eqty Wth Ln Vl\": {\n \"description\": \"The accounts equity balance including loan value.\",\n \"type\": \"string\"\n },\n \"cash\": {\n \"description\": \"Total cash balance in the account\",\n \"type\": \"string\"\n },\n \"equity_with_loan\": {\n \"description\": \"* `Cash Accounts` Settled cash\\n * `Margin Accounts` Total cash value + stock value + bond value + fund value + European & Asian options value.\\n\",\n \"type\": \"string\"\n },\n \"net_liquidation\": {\n \"description\": \"The basis for determining the price of the assets in your account.\",\n \"type\": \"string\"\n },\n \"sec_gross_pos_val\": {\n \"description\": \"Equals the sum of the absolute value of all positions except cash, index futures and US treasuries.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"summaryOfAccountMarginResponse\": {\n \"properties\": {\n \"Crypto at Paxos\": {\n \"properties\": {\n \"Prdctd Pst-xpry Mrgn @ Opn\": {\n \"description\": \"Provides a projected \\\"at expiration\\\" margin value based on the soon-to-expire contracts in your portfolio.\",\n \"type\": \"string\"\n },\n \"Prjctd Lk Ahd Mntnnc Mrgn\": {\n \"description\": \"If it is 3:00 pm ET, the next calculation you\'re looking ahead to is after the close, or the Overnight Initial Margin. If it\'s 3:00 am ET, the next calculation will be at the market\'s open.\\n * `Securities` \\u2013 Projected maintenance margin requirement as of next period\'s margin change, in the base currency of the account. \\n * `Commodities` \\u2013 Maintenance margin requirement as of next period\'s margin change in the base currency of the account based on current margin requirements, which are subject to change. This value depends on when you are viewing your margin requirements.\\n\",\n \"type\": \"string\"\n },\n \"Prjctd Ovrnght Mntnnc Mrgn\": {\n \"description\": \"Overnight refers to the window of time after the local market trading day is closed. \\n * `Securities` \\u2013 Projected overnight maintenance margin requirement in the base currency of the account. \\n * `Commodities` \\u2013 Overnight maintenance margin requirement in the base currency of the account based on current margin requirements, which are subject to change.\\n\",\n \"type\": \"string\"\n },\n \"current_initial\": {\n \"description\": \"The minimum amount required to open a new position.\",\n \"type\": \"string\"\n },\n \"current_maint\": {\n \"description\": \"The amount of equity required to maintain your positions.\",\n \"type\": \"string\"\n },\n \"projected_liquidity_inital_margin\": {\n \"description\": \"Provides a projected \\\"liquid\\\" initial margin value based on account liquidation value.\",\n \"type\": \"string\"\n },\n \"projected_overnight_initial_margin\": {\n \"description\": \"Overnight refers to the window of time after the local market trading day is closed. \\n * Securities \\u2013 Projected overnight initial margin requirement in the base currency of the account. \\n * Commodities \\u2013 Overnight initial margin requirement in the base currency of the account based on current margin requirements, which are subject to change.\\n\",\n \"type\": \"string\"\n }\n }\n },\n \"commodities\": {\n \"properties\": {\n \"Prdctd Pst-xpry Mrgn @ Opn\": {\n \"description\": \"Provides a projected \\\"at expiration\\\" margin value based on the soon-to-expire contracts in your portfolio.\",\n \"type\": \"string\"\n },\n \"Prjctd Lk Ahd Mntnnc Mrgn\": {\n \"description\": \"If it is 3:00 pm ET, the next calculation you\'re looking ahead to is after the close, or the Overnight Initial Margin. If it\'s 3:00 am ET, the next calculation will be at the market\'s open.\\n * `Securities` \\u2013 Projected maintenance margin requirement as of next period\'s margin change, in the base currency of the account. \\n * `Commodities` \\u2013 Maintenance margin requirement as of next period\'s margin change in the base currency of the account based on current margin requirements, which are subject to change. This value depends on when you are viewing your margin requirements.\\n\",\n \"type\": \"string\"\n },\n \"Prjctd Ovrnght Mntnnc Mrgn\": {\n \"description\": \"Overnight refers to the window of time after the local market trading day is closed. \\n * `Securities` \\u2013 Projected overnight maintenance margin requirement in the base currency of the account. \\n * `Commodities` \\u2013 Overnight maintenance margin requirement in the base currency of the account based on current margin requirements, which are subject to change.\\n\",\n \"type\": \"string\"\n },\n \"RegT Margin\": {\n \"description\": \"The current RegT margin in use.\",\n \"type\": \"string\"\n },\n \"current_initial\": {\n \"description\": \"The minimum amount required to open a new position.\",\n \"type\": \"string\"\n },\n \"current_maint\": {\n \"description\": \"The amount of equity required to maintain your positions.\",\n \"type\": \"string\"\n },\n \"projected_liquidity_inital_margin\": {\n \"description\": \"Provides a projected \\\"liquid\\\" initial margin value based on account liquidation value.\",\n \"type\": \"string\"\n },\n \"projected_overnight_initial_margin\": {\n \"description\": \"Overnight refers to the window of time after the local market trading day is closed. \\n * Securities \\u2013 Projected overnight initial margin requirement in the base currency of the account. \\n * Commodities \\u2013 Overnight initial margin requirement in the base currency of the account based on current margin requirements, which are subject to change.\\n\",\n \"type\": \"string\"\n }\n }\n },\n \"securities\": {\n \"properties\": {\n \"Prdctd Pst-xpry Mrgn @ Opn\": {\n \"description\": \"Provides a projected \\\"at expiration\\\" margin value based on the soon-to-expire contracts in your portfolio.\",\n \"type\": \"string\"\n },\n \"Prjctd Lk Ahd Mntnnc Mrgn\": {\n \"description\": \"If it is 3:00 pm ET, the next calculation you\'re looking ahead to is after the close, or the Overnight Initial Margin. If it\'s 3:00 am ET, the next calculation will be at the market\'s open.\\n * `Securities` \\u2013 Projected maintenance margin requirement as of next period\'s margin change, in the base currency of the account. \\n * `Commodities` \\u2013 Maintenance margin requirement as of next period\'s margin change in the base currency of the account based on current margin requirements, which are subject to change. This value depends on when you are viewing your margin requirements.\\n\",\n \"type\": \"string\"\n },\n \"Prjctd Ovrnght Mntnnc Mrgn\": {\n \"description\": \"Overnight refers to the window of time after the local market trading day is closed. \\n * `Securities` \\u2013 Projected overnight maintenance margin requirement in the base currency of the account. \\n * `Commodities` \\u2013 Overnight maintenance margin requirement in the base currency of the account based on current margin requirements, which are subject to change. \\n\",\n \"type\": \"string\"\n },\n \"current_initial\": {\n \"description\": \"The minimum amount required to open a new position.\",\n \"type\": \"string\"\n },\n \"current_maint\": {\n \"description\": \"The amount of equity required to maintain your positions.\",\n \"type\": \"string\"\n },\n \"projected_liquidity_inital_margin\": {\n \"description\": \"Provides a projected \\\"liquid\\\" initial margin value based on account liquidation value.\",\n \"type\": \"string\"\n },\n \"projected_overnight_initial_margin\": {\n \"description\": \"Overnight refers to the window of time after the local market trading day is closed. \\n * Securities \\u2013 Projected overnight initial margin requirement in the base currency of the account. \\n * Commodities \\u2013 Overnight initial margin requirement in the base currency of the account based on current margin requirements, which are subject to change.\\n\",\n \"type\": \"string\"\n }\n }\n },\n \"total\": {\n \"properties\": {\n \"Prdctd Pst-xpry Mrgn @ Opn\": {\n \"description\": \"Provides a projected \\\"at expiration\\\" margin value based on the soon-to-expire contracts in your portfolio.\",\n \"type\": \"string\"\n },\n \"Prjctd Lk Ahd Mntnnc Mrgn\": {\n \"description\": \"If it is 3:00 pm ET, the next calculation you\'re looking ahead to is after the close, or the Overnight Initial Margin. If it\'s 3:00 am ET, the next calculation will be at the market\'s open.\\n * `Securities` \\u2013 Projected maintenance margin requirement as of next period\'s margin change, in the base currency of the account. \\n * `Commodities` \\u2013 Maintenance margin requirement as of next period\'s margin change in the base currency of the account based on current margin requirements, which are subject to change. This value depends on when you are viewing your margin requirements.\\n\",\n \"type\": \"string\"\n },\n \"Prjctd Ovrnght Mntnnc Mrgn\": {\n \"description\": \"Overnight refers to the window of time after the local market trading day is closed. \\n * `Securities` \\u2013 Projected overnight maintenance margin requirement in the base currency of the account. \\n * `Commodities` \\u2013 Overnight maintenance margin requirement in the base currency of the account based on current margin requirements, which are subject to change.\\n\",\n \"type\": \"string\"\n },\n \"current_initial\": {\n \"description\": \"The minimum amount required to open a new position.\",\n \"type\": \"string\"\n },\n \"current_maint\": {\n \"description\": \"The amount of equity required to maintain your positions.\",\n \"type\": \"string\"\n },\n \"projected_liquidity_inital_margin\": {\n \"description\": \"Provides a projected \\\"liquid\\\" initial margin value based on account liquidation value.\",\n \"type\": \"string\"\n },\n \"projected_overnight_initial_margin\": {\n \"description\": \"Overnight refers to the window of time after the local market trading day is closed. \\n * Securities \\u2013 Projected overnight initial margin requirement in the base currency of the account. \\n * Commodities \\u2013 Overnight initial margin requirement in the base currency of the account based on current margin requirements, which are subject to change.\\n\",\n \"type\": \"string\"\n }\n }\n }\n },\n \"type\": \"object\"\n },\n \"tickleResponse\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/successfulTickleResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/failedTickleResponse\"\n }\n ]\n },\n \"tradesResponse\": {\n \"description\": \"Array of objects representing executions.\",\n \"items\": {\n \"description\": \"Object containing details of a single execution.\",\n \"properties\": {\n \"account\": {\n \"description\": \"The IB account ID of the account that received the execution.\",\n \"type\": \"string\"\n },\n \"accountCode\": {\n \"description\": \"The IB account ID of the account that received the execution.\",\n \"type\": \"string\"\n },\n \"account_allocation_name\": {\n \"description\": \"The IB account ID of the account that received the execution.\",\n \"type\": \"string\"\n },\n \"clearing_id\": {\n \"description\": \"Identifier of the firm clearing the trade. Value is \\\"IB\\\" if account is cleared by Interactive Brokers.\",\n \"type\": \"string\"\n },\n \"clearing_name\": {\n \"description\": \"Name of the firm clearing the trade. Value is \\\"IB\\\" if account is cleared by Interactive Brokers.\",\n \"type\": \"string\"\n },\n \"commission\": {\n \"description\": \"Commissions incurred by the execution. May also include\",\n \"type\": \"string\"\n },\n \"company_name\": {\n \"description\": \"Name of business associated with instrument, or otherwise description of instrument.\",\n \"type\": \"string\"\n },\n \"conid\": {\n \"description\": \"Contract ID of the order\'s instrument.\",\n \"type\": \"string\"\n },\n \"conidEx\": {\n \"description\": \"Contract ID and routing destination in format 123456@EXCHANGE.\",\n \"type\": \"string\"\n },\n \"contract_description_1\": {\n \"description\": \"Human-readable description of the order\'s instrument.\",\n \"type\": \"string\"\n },\n \"exchange\": {\n \"description\": \"The exchange or other venue on which the execution occurred.\",\n \"type\": \"string\"\n },\n \"execution_id\": {\n \"description\": \"IB-assigned execution identifier.\",\n \"type\": \"string\"\n },\n \"is_event_trading\": {\n \"description\": \"Indicates whether the order ticket is an Event Trading order.\",\n \"enum\": [\n \"0\",\n \"1\"\n ],\n \"type\": \"string\"\n },\n \"liquidation_trade\": {\n \"description\": \"Indicates whether the trade is the result of a liquidiation by IB.\",\n \"enum\": [\n \"0\",\n \"1\"\n ],\n \"type\": \"string\"\n },\n \"listing_exchange\": {\n \"description\": \"The primary exchange on which the instrument is listed.\",\n \"type\": \"string\"\n },\n \"net_amount\": {\n \"description\": \"net_amount\",\n \"type\": \"number\"\n },\n \"order_description\": {\n \"description\": \"Human-readable description of the outcome of the execution.\",\n \"type\": \"string\"\n },\n \"order_id\": {\n \"description\": \"Order ID\",\n \"type\": \"number\"\n },\n \"order_ref\": {\n \"description\": \"The client-provided customer order identifier. Specified via cOID during order submission in the Web API.\",\n \"type\": \"string\"\n },\n \"price\": {\n \"description\": \"The price at which the execution occurred.\",\n \"type\": \"string\"\n },\n \"sec_type\": {\n \"description\": \"IB asset class identifier.\",\n \"enum\": [\n \"STK\",\n \"OPT\",\n \"FUT\",\n \"FOP\",\n \"CASH\",\n \"CRYPTO\",\n \"BOND\",\n \"WAR\",\n \"FUND\"\n ],\n \"type\": \"string\"\n },\n \"side\": {\n \"description\": \"Side of the execution.\",\n \"enum\": [\n \"B\",\n \"S\"\n ],\n \"type\": \"string\"\n },\n \"size\": {\n \"description\": \"The size of the execution in units of the instrument.\",\n \"type\": \"number\"\n },\n \"submitter\": {\n \"description\": \"The IB username that originated the order ticket against which the execution occurred.\",\n \"type\": \"string\"\n },\n \"supports_tax_opt\": {\n \"description\": \"Indicates whether the order is supported by IB\'s Tax Optimization tool.\",\n \"enum\": [\n \"0\",\n \"1\"\n ],\n \"type\": \"string\"\n },\n \"symbol\": {\n \"description\": \"Symbol of the instrument involved in the execution.\",\n \"type\": \"string\"\n },\n \"trade_time\": {\n \"description\": \"UTC date and time of the execution in format YYYYMMDD-hh:mm:ss.\",\n \"type\": \"string\"\n },\n \"trade_time_r\": {\n \"description\": \"Unix timestamp of the execution time in milliseconds.\",\n \"format\": \"int64\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"tradingSchedule\": {\n \"description\": \"trading\'s schedules\",\n \"items\": {\n \"properties\": {\n \"description\": {\n \"description\": \"exchange description\",\n \"type\": \"string\"\n },\n \"exchange\": {\n \"description\": \"short exchange name\",\n \"type\": \"string\"\n },\n \"id\": {\n \"description\": \"Exchange parameter id\",\n \"type\": \"string\"\n },\n \"schedules\": {\n \"description\": \"Always contains at least one \'tradingTime\' and zero or more \'sessionTime\' tags\",\n \"items\": {\n \"properties\": {\n \"clearingCycleEndTime\": {\n \"description\": \"End time of clearing cycle.\",\n \"type\": \"string\"\n },\n \"sessions\": {\n \"description\": \"Lists the avialble trading sessions. This displays the regular trading hours. If the LIQUID hours differs from the total trading day then a separate \'session\' tag is returned.\",\n \"items\": {\n \"properties\": {\n \"closingTime\": {\n \"description\": \"Closing date time of the sesion.\",\n \"type\": \"string\"\n },\n \"openingTime\": {\n \"description\": \"Opening date time of the session.\",\n \"type\": \"string\"\n },\n \"prop\": {\n \"description\": \"If the whole trading day is considered LIQUID then the value \'LIQUID\' is returned.\",\n \"example\": \"LIQUID\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"tradingScheduleDate\": {\n \"description\": \"Date of the clearing schedule. 20000101 stands for any Sat, 20000102 stands for any Sun, \\u2026 20000107 stands for any Fri. Any other date stands for itself.\\n\",\n \"type\": \"string\"\n },\n \"tradingTimes\": {\n \"description\": \"Object containing trading times.\",\n \"items\": {\n \"properties\": {\n \"cancelDayOrders\": {\n \"description\": \"Cancel time for day orders.\",\n \"example\": \"Y\",\n \"type\": \"string\"\n },\n \"closingTime\": {\n \"description\": \"Closing time of the trading day.\",\n \"type\": \"string\"\n },\n \"openingTime\": {\n \"description\": \"Opening time of the trading day.\",\n \"type\": \"string\"\n },\n \"prop\": {\n \"example\": \"LIQUID\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"timezone\": {\n \"description\": \"References the time zone corresponding to the listed dates and times.\",\n \"type\": \"string\"\n },\n \"tradeVenueId\": {\n \"description\": \"Reference on a trade venue of given exchange parameter\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"transactionsResponse\": {\n \"properties\": {\n \"currency\": {\n \"description\": \"Returns the currency the account is traded in.\",\n \"type\": \"string\"\n },\n \"from\": {\n \"description\": \"Returns the epoch time for the start of requests.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"id\": {\n \"description\": \"Returns the request identifier, getTransactions.\",\n \"type\": \"string\"\n },\n \"includesRealTime\": {\n \"description\": \"Returns if the trades are up to date or not.\",\n \"type\": \"boolean\"\n },\n \"nd\": {\n \"description\": \"Client portal use only\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"rc\": {\n \"description\": \"Client portal use only\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"rpnl\": {\n \"description\": \"Returns the object containing the realized pnl for the contract on the date.\",\n \"properties\": {\n \"amt\": {\n \"description\": \"Provides the total amount gained or lost from all days returned\",\n \"type\": \"string\"\n },\n \"data\": {\n \"description\": \"Returns an array of realized pnl objects.\",\n \"type\": \"array\"\n },\n \"items\": {\n \"properties\": {\n \"acctid\": {\n \"description\": \"Returns the account ID the trade transacted on.\",\n \"type\": \"string\"\n },\n \"amt\": {\n \"description\": \"Returns the amount gained or lost on the day.\",\n \"type\": \"string\"\n },\n \"conid\": {\n \"description\": \"Returns the contract ID of the transaction.\",\n \"type\": \"string\"\n },\n \"cur\": {\n \"description\": \"Specifies the currency of the realized value.\",\n \"type\": \"string\"\n },\n \"date\": {\n \"description\": \"Specifies the date for the transaction.\",\n \"type\": \"string\"\n },\n \"fxRate\": {\n \"description\": \"Returns the foreign exchnage rate.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"side\": {\n \"description\": \"Determines if the day was a loss or gain * `L` - LOSS * `G` - GAIN\\n\",\n \"enum\": [\n \"L\",\n \"G\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"to\": {\n \"description\": \"Returns the epoch time for the end of requests.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"transactions\": {\n \"description\": \"Lists all supported transaction values.\",\n \"items\": {\n \"properties\": {\n \"acctid\": {\n \"description\": \"Returns the account which made the transaction.\",\n \"type\": \"string\"\n },\n \"amt\": {\n \"description\": \"Returns the total value of the trade.\",\n \"type\": \"number\"\n },\n \"conid\": {\n \"description\": \"Returns the contract identifier.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"cur\": {\n \"description\": \"Returns the currency of the traded insturment.\",\n \"type\": \"string\"\n },\n \"date\": {\n \"description\": \"Reutrns the human-readable datetime of the transaction.\",\n \"type\": \"string\"\n },\n \"desc\": {\n \"description\": \"Returns the long name for the company.\",\n \"type\": \"string\"\n },\n \"fxRate\": {\n \"description\": \"Returns the forex conversion rate.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"pr\": {\n \"description\": \"Returns the price per share of the transaction.\",\n \"type\": \"number\"\n },\n \"qty\": {\n \"description\": \"Returns the total quantity traded. Will display a negative value for sell orders, and a positive value for buy orders.\\n\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"type\": {\n \"description\": \"Returns the order side.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"trsrvSecDefResponse\": {\n \"description\": \"a contract\'s security definition\",\n \"properties\": {\n \"secdef\": {\n \"items\": {\n \"properties\": {\n \"allExchanges\": {\n \"description\": \"A series of exchanges the given symbol can trade on.\",\n \"type\": \"string\"\n },\n \"assetClass\": {\n \"description\": \"The asset class or security type of the contract.\",\n \"type\": \"string\"\n },\n \"chineseName\": {\n \"description\": \"The Chinese characters for the symbol.\",\n \"type\": \"string\"\n },\n \"conid\": {\n \"description\": \"The conID\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"countryCode\": {\n \"description\": \"The country code the contract is traded on.\",\n \"type\": \"string\"\n },\n \"currency\": {\n \"description\": \"The traded currency for the contract.\",\n \"type\": \"string\"\n },\n \"displayRule\": {\n \"description\": \"Returns rules regarding incrementation for order placement. Not functional for all exchanges. Please see /iserver/contract/rules for more accurate rule details.\",\n \"items\": {\n \"properties\": {\n \"displayRuleStep\": {\n \"items\": {\n \"properties\": {\n \"decimalDigits\": {\n \"description\": \"Displays the total number of digits used after the decimal value.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"lowerEdge\": {\n \"description\": \"The lowerEdge display value to correspond to increment rules.\",\n \"type\": \"number\"\n },\n \"wholeDigits\": {\n \"description\": \"Displays valid display prices for before and after the decimal value.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"magnification\": {\n \"description\": \"If the displayed contract information is multiplied based on a given magnitude, the value will be reflected here.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"expiry\": {\n \"description\": \"The expiry of the contract. Returns null for non-expiry instruments.\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"fullName\": {\n \"description\": \"Returns symbol name for requested contract.\",\n \"type\": \"string\"\n },\n \"group\": {\n \"description\": \"The group or industry the contract is affilated with.\",\n \"type\": \"string\"\n },\n \"hasOptions\": {\n \"description\": \"contract has tradable options contracts.\",\n \"type\": \"boolean\"\n },\n \"incrementRules\": {\n \"description\": \"Indicates increment rule values including lowerEdge and increment value.\",\n \"items\": {\n \"properties\": {\n \"increment\": {\n \"description\": \"The price of the instrument must be submitted as a mulitple of the increment value.\",\n \"example\": 0,\n \"type\": \"number\"\n },\n \"lowerEdge\": {\n \"description\": \"If the current mark price of the instrument is at or above the lower edge, the given increment value is used for order prices.\",\n \"example\": 0,\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"isEventContract\": {\n \"description\": \"The contract is an event contract or not.\",\n \"type\": \"boolean\"\n },\n \"isUS\": {\n \"description\": \"The contract is US based or not.\",\n \"type\": \"boolean\"\n },\n \"lastTradingDay\": {\n \"description\": \"The last trading day of the contract.\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"listingExchange\": {\n \"description\": \"The primary or listing exchange the contract is hosted on.\",\n \"type\": \"string\"\n },\n \"multiplier\": {\n \"description\": \"The contract multiplier.\",\n \"type\": \"number\"\n },\n \"name\": {\n \"description\": \"The company name.\",\n \"type\": \"string\"\n },\n \"pageSize\": {\n \"description\": \"Returns the content size of the request.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"putOrCall\": {\n \"description\": \"a Put or Call option.\",\n \"nullable\": true,\n \"type\": \"string\"\n },\n \"sector\": {\n \"description\": \"The contract\'s sector.\",\n \"type\": \"string\"\n },\n \"sectorGroup\": {\n \"description\": \"The sector\'s group.\",\n \"type\": \"string\"\n },\n \"strike\": {\n \"description\": \"The strike of the contract.\",\n \"type\": \"string\"\n },\n \"ticker\": {\n \"description\": \"The ticker symbol of the traded contract.\",\n \"type\": \"string\"\n },\n \"time\": {\n \"description\": \"Amount of time in ms to generate the data.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"type\": {\n \"description\": \"Stock type.\",\n \"type\": \"string\"\n },\n \"undConid\": {\n \"description\": \"The contract\'s underlyer.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"typecodes\": {\n \"description\": \"Many FYI endpoints reference a \\\"typecode\\\" value. The table below lists the available codes and what they correspond to.\\n * `BA` - Borrow Availability\\n * `CA` - Comparable Algo\\n * `DA` - Dividends Advisory\\n * `EA` - Upcoming Earnings\\n * `MF` - Mutual Fund Advisory\\n * `OE` - Option Expiration\\n * `PR` - Portfolio Builder Rebalance\\n * `SE` - Suspend Order on Economic Event\\n * `SG` - Short Term Gain turning Long Term\\n * `SM` - System Messages\\n * `T2` - Assignment Realizing Long-Term Gains\\n * `TO` - Takeover\\n * `UA` - User Alert\\n * `M8` - M871 Trades\\n * `PS` - Platform Use Suggestions\\n * `DL` - Unexercised Option Loss Prevention Reminder\\n * `PT` - Position Transfer\\n * `CB` - Missing Cost Basis\\n * `MS` - Milestones\\n * `TD` - MiFID || 10% Deprecation Notice\\n * `ST` - Save Taxes\\n * `TI` - Trade Idea\\n * `CT` - Cash Transfer\\n\",\n \"enum\": [\n \"BA\",\n \"CA\",\n \"DA\",\n \"EA\",\n \"MF\",\n \"OE\",\n \"PR\",\n \"SE\",\n \"SG\",\n \"SM\",\n \"T2\",\n \"TO\",\n \"UA\",\n \"M8\",\n \"PS\",\n \"DL\",\n \"PT\",\n \"CB\",\n \"MS\",\n \"TD\",\n \"ST\",\n \"TI\",\n \"CT\"\n ]\n },\n \"user\": {\n \"properties\": {\n \"entity\": {\n \"description\": \"Provide information about the particular entity\",\n \"properties\": {\n \"entityName\": {\n \"description\": \"The full entity\'s name, concatenating the first and last name fields\",\n \"type\": \"string\"\n },\n \"entityType\": {\n \"description\": \"The type of entity assigned to the user\",\n \"enum\": [\n \"INDIVIDUAL\",\n \"Joint\",\n \"ORG\"\n ],\n \"type\": \"string\"\n },\n \"firstName\": {\n \"description\": \"The first name of the user\",\n \"type\": \"string\"\n },\n \"lastName\": {\n \"description\": \"The last name of the user\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"hasRightCodeInd\": {\n \"description\": \"Internally used\",\n \"type\": \"boolean\"\n },\n \"roleId\": {\n \"description\": \"The role of the username as it relates to the account\",\n \"type\": \"string\"\n },\n \"userName\": {\n \"description\": \"Identifies the username for the designated entity.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"userAccountsResponse\": {\n \"properties\": {\n \"accounts\": {\n \"description\": \"Returns an array of all accessible accountIds.\",\n \"items\": {\n \"description\": \"An accessible accountId\",\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"acctProps\": {\n \"description\": \"Returns an json object for each accessible account\'s properties.\",\n \"properties\": {\n \"U1234567\": {\n \"properties\": {\n \"allowCustomerTime\": {\n \"type\": \"boolean\"\n },\n \"autoFx\": {\n \"type\": \"boolean\"\n },\n \"hasChildAccounts\": {\n \"type\": \"boolean\"\n },\n \"isProp\": {\n \"type\": \"boolean\"\n },\n \"liteUnderPro\": {\n \"type\": \"boolean\"\n },\n \"noFXConv\": {\n \"type\": \"boolean\"\n },\n \"supportsCashQty\": {\n \"type\": \"boolean\"\n },\n \"supportsFractions\": {\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"aliases\": {\n \"properties\": {\n \"U1234567\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"allowFeatures\": {\n \"properties\": {\n \"allowCrypto\": {\n \"type\": \"boolean\"\n },\n \"allowDynAccount\": {\n \"type\": \"boolean\"\n },\n \"allowEventContract\": {\n \"type\": \"boolean\"\n },\n \"allowEventTrading\": {\n \"type\": \"boolean\"\n },\n \"allowFXConv\": {\n \"type\": \"boolean\"\n },\n \"allowFinancialLens\": {\n \"type\": \"boolean\"\n },\n \"allowMTA\": {\n \"type\": \"boolean\"\n },\n \"allowTypeAhead\": {\n \"type\": \"boolean\"\n },\n \"allowedAssetTypes\": {\n \"type\": \"string\"\n },\n \"debugPnl\": {\n \"type\": \"boolean\"\n },\n \"liteUser\": {\n \"type\": \"boolean\"\n },\n \"research\": {\n \"type\": \"boolean\"\n },\n \"restrictTradeSubscription\": {\n \"type\": \"boolean\"\n },\n \"showEUCostReport\": {\n \"type\": \"boolean\"\n },\n \"showGFIS\": {\n \"type\": \"boolean\"\n },\n \"showImpactDashboard\": {\n \"type\": \"boolean\"\n },\n \"showTaxOpt\": {\n \"type\": \"boolean\"\n },\n \"showUkUserLabels\": {\n \"type\": \"boolean\"\n },\n \"showWebNews\": {\n \"type\": \"boolean\"\n },\n \"sideBySide\": {\n \"type\": \"boolean\"\n },\n \"snapshotRefreshTimeout\": {\n \"example\": 30,\n \"format\": \"int64\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n },\n \"chartPeriods\": {\n \"properties\": {\n \"BOND\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"CASH\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"CFD\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"CMDTY\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"CRYPTO\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"FOP\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"FUND\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"FUT\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"IND\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"IOPT\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"OPT\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"PHYSS\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"STK\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"WAR\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"groups\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"isFt\": {\n \"type\": \"boolean\"\n },\n \"isPaper\": {\n \"type\": \"boolean\"\n },\n \"profiles\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"selectedAccount\": {\n \"type\": \"string\"\n },\n \"serverInfo\": {\n \"properties\": {\n \"serverName\": {\n \"type\": \"string\"\n },\n \"serverVersion\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"sessionId\": {\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"utcDateTime\": {\n \"description\": \"UTC datetime string in format YYYYMMDD-hh:mm:ss.\",\n \"example\": \"20231018-16:00:00\",\n \"type\": \"string\"\n },\n \"watchlistDeleteSuccess\": {\n \"description\": \"Object detailing the successful deletion of a watchlist.\",\n \"properties\": {\n \"MID\": {\n \"description\": \"Internal use. Number of times endpoint has been visited during session.\",\n \"type\": \"string\"\n },\n \"action\": {\n \"description\": \"Internal use. Always has value \'context\'.\",\n \"enum\": [\n \"context\"\n ],\n \"type\": \"string\"\n },\n \"data\": {\n \"properties\": {\n \"deleted\": {\n \"description\": \"Watchlist ID of the deleted watchlist.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n },\n \"watchlistsResponse\": {\n \"description\": \"Object containing a successful query for watchlists saved for the username in use in the current Web API session.\",\n \"properties\": {\n \"MID\": {\n \"description\": \"Internal use. Number of times endpoint has been visited during session.\",\n \"type\": \"string\"\n },\n \"action\": {\n \"description\": \"Internal use. Always has value \'content\'.\",\n \"enum\": [\n \"content\"\n ],\n \"type\": \"string\"\n },\n \"data\": {\n \"description\": \"Contains the watchlist query results.\",\n \"properties\": {\n \"bulk_delete\": {\n \"description\": \"Indicates if username\'s watchlists can be bulk-deleted.\",\n \"type\": \"boolean\"\n },\n \"scanners_only\": {\n \"description\": \"Indicates if query results contain only market scanners.\",\n \"type\": \"boolean\"\n },\n \"show_scanners\": {\n \"description\": \"Indicates if market scanners are included in query results.\",\n \"type\": \"boolean\"\n },\n \"user_lists\": {\n \"description\": \"Array of objects detailing the watchlists saved for the username in use in the current Web API session.\",\n \"items\": {\n \"description\": \"Details of a single watchlist.\",\n \"properties\": {\n \"id\": {\n \"description\": \"Watchlist ID of the watchlist.\",\n \"type\": \"string\"\n },\n \"is_open\": {\n \"description\": \"Internal use. Indicates if the watchlist is currently in use.\",\n \"type\": \"boolean\"\n },\n \"modified\": {\n \"description\": \"Unix timestamp in milliseconds of the last modification of the watchlist.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"name\": {\n \"description\": \"Display name of the watchlist.\",\n \"type\": \"string\"\n },\n \"read_only\": {\n \"description\": \"Indicates if the watchlist can be edited.\",\n \"type\": \"boolean\"\n },\n \"type\": {\n \"description\": \"Always has value \'watchlist\'.\",\n \"enum\": [\n \"watchlist\"\n ],\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"externalDocs\": {\n \"description\": \"Find out more about IB\'s public API offerings.\",\n \"url\": \"https://ibkrcampus.com/ibkr-api-page/ibkr-api-home/\"\n },\n \"info\": {\n \"contact\": {\n \"email\": \"api@interactivebrokers.com\",\n \"name\": \"API support\"\n },\n \"description\": \"The IB REST API reference documentation\",\n \"title\": \"IB REST API\",\n \"version\": \"2.29.0\"\n },\n \"openapi\": \"3.0.0\",\n \"paths\": {\n \"/acesws/{accountId}/signatures-and-owners\": {\n \"get\": {\n \"description\": \"Receive a list of all applicant names on the account and for which account and entity is represented.\",\n \"operationId\": \"getAccountOwners\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"The account identifier to receive information for\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"accountId\": \"U1234567\",\n \"applicant\": {\n \"signatures\": [\n \"John Smith\"\n ]\n },\n \"users\": [\n {\n \"entity\": {\n \"entityName\": \"John Smith\",\n \"entityType\": \"INDIVIDUAL\",\n \"firstName\": \"John\",\n \"lastName\": \"Smith\"\n },\n \"hasRightCodeInd\": true,\n \"roleId\": \"OWNER\",\n \"userName\": \"user1234\"\n }\n ]\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/signatureAndOwners\"\n }\n }\n },\n \"description\": \"An object containing valid accounts and the account properties regarding trading access. This endpoint is also used to confirm account validation.\"\n },\n \"400\": {\n \"description\": \"bad request; accountId is empty\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"List Account Signatures And Owners\",\n \"tags\": [\n \"Trading Accounts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/contract/trading-schedule\": {\n \"get\": {\n \"description\": \"Returns the trading schedule for the 6 total days surrounding the current trading day. Non-Trading days, such as holidays, will not be returned.\",\n \"operationId\": \"getTradingSchedule\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"conid\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Provide the contract identifier to retrieve the trading schedule for.\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"exchange\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Accepts the exchange to retrieve data from. Primary exchange is assumed by default.\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"exchange_time_zone\": \"US/Central\",\n \"schedules\": {\n \"20251218\": {\n \"extended_hours\": [\n {\n \"cancel_daily_orders\": true,\n \"closing\": 1766095200,\n \"opening\": 1766012400\n }\n ],\n \"liquid_hours\": [\n {\n \"closing\": 1766095200,\n \"opening\": 1766068200\n }\n ]\n },\n \"20251219\": {\n \"extended_hours\": [\n {\n \"cancel_daily_orders\": true,\n \"closing\": 1766181600,\n \"opening\": 1766098800\n }\n ],\n \"liquid_hours\": [\n {\n \"closing\": 1766181600,\n \"opening\": 1766154600\n }\n ]\n },\n \"20251222\": {\n \"extended_hours\": [\n {\n \"cancel_daily_orders\": true,\n \"closing\": 1766440800,\n \"opening\": 1766358000\n }\n ],\n \"liquid_hours\": [\n {\n \"closing\": 1766440800,\n \"opening\": 1766413800\n }\n ]\n },\n \"20251223\": {\n \"extended_hours\": [\n {\n \"cancel_daily_orders\": true,\n \"closing\": 1766527200,\n \"opening\": 1766444400\n }\n ],\n \"liquid_hours\": [\n {\n \"closing\": 1766527200,\n \"opening\": 1766500200\n }\n ]\n },\n \"20251224\": {\n \"extended_hours\": [\n {\n \"cancel_daily_orders\": true,\n \"closing\": 1766600100,\n \"opening\": 1766530800\n }\n ],\n \"liquid_hours\": [\n {\n \"closing\": 1766600100,\n \"opening\": 1766586600\n }\n ]\n },\n \"20251226\": {\n \"extended_hours\": [\n {\n \"cancel_daily_orders\": true,\n \"closing\": 1766786400,\n \"opening\": 1766703600\n }\n ]\n }\n }\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/scheduleResponse\"\n }\n }\n },\n \"description\": \"Returns the liquid and extended trading hours of the coming and prior trading days.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Trading Schedule (NEW)\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fa/fa-preset/get\": {\n \"post\": {\n \"description\": \"Get the preset behavior for model rebalancing.\",\n \"operationId\": \"getModelPresets\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"example\": 540608,\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"reqID\"\n ]\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"avoidNegativeCashInIndependent\": false,\n \"closeDivestIndependentPosition\": true,\n \"fullyInvestExistingLongPositions\": false,\n \"keepModelOpen\": false,\n \"preferCrossWithIndependent\": false,\n \"preferTransferFromIndependent\": true,\n \"reqID\": 127,\n \"roundAllocationQuantityToExchangeBoardLot\": false,\n \"subscriptionStatus\": 1,\n \"useNonBaseCcy\": false,\n \"useToleranceRange\": false\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/modelPresetsResponse\"\n }\n }\n },\n \"description\": \"Successfully retrieve preset details\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Get Model Preset\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fa/fa-preset/save\": {\n \"post\": {\n \"description\": \"Set the preset behavior for models.\",\n \"operationId\": \"setModelPresets\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/modelPresetsResponse\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"error\": \"None\",\n \"reqID\": 128,\n \"subscriptionStatus\": 1,\n \"success\": true\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"error\": {\n \"description\": \"Report the behavior when attempting to save.\",\n \"type\": \"string\"\n },\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"subscriptionStatus\": {\n \"description\": \"Describes if the model is in polling mode.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"success\": {\n \"description\": \"Signifies that the request was successfully submitted.\",\n \"type\": \"boolean\"\n }\n }\n }\n }\n },\n \"description\": \"Successfully retrieve preset details\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Set Model Preset\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fa/model/accounts-details\": {\n \"post\": {\n \"description\": \"Request all accounts held within a model.\",\n \"operationId\": \"getAccountsInModel\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"calcPnls\": {\n \"description\": \"Determine if Profit and Loss values\",\n \"type\": \"boolean\"\n },\n \"model\": {\n \"description\": \"Request model to pull account details from.\",\n \"type\": \"string\"\n },\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"example\": 540608,\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n }\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"accountInfoList\": [\n {\n \"account\": \"DUN884097\",\n \"accountImbalance\": \"0.904036\",\n \"alias\": \"\",\n \"baseCcyAccount\": \"USD\",\n \"cashInIndependent\": \"974588.11\",\n \"costBasis\": \"0\",\n \"exchangeRate\": 1.0,\n \"nlv\": \"0\",\n \"numInstrumentsOutsideRange\": 2,\n \"unrealizedPnL\": \"0\"\n },\n {\n \"account\": \"DUN884101\",\n \"accountImbalance\": \"0.904036\",\n \"alias\": \"\",\n \"baseCcyAccount\": \"USD\",\n \"cashInIndependent\": \"1006035.06\",\n \"costBasis\": \"0\",\n \"exchangeRate\": 1.0,\n \"nlv\": \"0\",\n \"numInstrumentsOutsideRange\": 2,\n \"unrealizedPnL\": \"0\"\n },\n {\n \"account\": \"TOTAL\",\n \"accountImbalance\": \"0\",\n \"alias\": \"None\",\n \"baseCcyAccount\": \"USD\",\n \"cashInIndependent\": \"1980623.17\",\n \"costBasis\": \"0\",\n \"exchangeRate\": 1.0,\n \"nlv\": \"0\",\n \"numInstrumentsOutsideRange\": 0,\n \"unrealizedPnL\": \"0\"\n }\n ],\n \"baseCcyMaster\": \"USD\",\n \"model\": \"MCPAPI01\",\n \"reqID\": 131\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"accountInfoList\": {\n \"description\": \"Collection of accounts held in the model.\",\n \"items\": {\n \"properties\": {\n \"account\": {\n \"description\": \"Account identifier.\",\n \"type\": \"string\"\n },\n \"accountImbalance\": {\n \"description\": \"Account\'s imbalance from the target allocation.\",\n \"type\": \"string\"\n },\n \"alias\": {\n \"description\": \"Account alias.\",\n \"type\": \"string\"\n },\n \"baseCcyAccount\": {\n \"description\": \"Base currency of the account.\",\n \"type\": \"string\"\n },\n \"costBasis\": {\n \"description\": \"Cost basis.\",\n \"type\": \"string\"\n },\n \"exchangeRate\": {\n \"description\": \"Exchange rate of the account base currency to the model base currency.\",\n \"type\": \"number\"\n },\n \"nlv\": {\n \"description\": \"The net liquidation value of the instrument.\",\n \"type\": \"string\"\n },\n \"numInstrumentsOutsideRange\": {\n \"description\": \"The number of instruments held by the account outside of the alloted range from the presets.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"unrealizedPnL\": {\n \"description\": \"The unrealized profit and loss of the model within the account.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"baseCcyMaster\": {\n \"description\": \"Base currency of the model.\",\n \"type\": \"string\"\n },\n \"model\": {\n \"description\": \"Model retrieving accounts from.\",\n \"type\": \"string\"\n },\n \"reqID\": {\n \"description\": \"Unique identifier for the request.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n }\n }\n }\n },\n \"description\": \"Successfully retrieve account details of in a model.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Get Models Accounts\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fa/model/invest-divest\": {\n \"post\": {\n \"description\": \"Assign an account and the amount of cash to allocate into a model.\",\n \"operationId\": \"setAccountinvestmentInModel\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"accountList\": {\n \"description\": \"Collection of accounts to invest in a model.\",\n \"items\": {\n \"properties\": {\n \"account\": {\n \"description\": \"Account identifier to invest.\",\n \"type\": \"string\"\n },\n \"amtToInvest\": {\n \"description\": \"Amount of cash to invest in the model from the account.\",\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"model\": {\n \"description\": \"Define the model to invest accounts into.\",\n \"type\": \"string\"\n },\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n }\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"reqID\": \"130\",\n \"subscriptionKey\": \"2\",\n \"subscriptionStatus\": 0\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"example\": \"540607\",\n \"type\": \"string\"\n },\n \"subscriptionStatus\": {\n \"description\": \"Describes if the model is in polling mode.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n }\n }\n }\n },\n \"description\": \"Successfully submitted model investment.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Invest Account Into Model\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fa/model/invest-divest-positions\": {\n \"post\": {\n \"description\": \"Request the list of all accounts already invested in the provided model and a summary of their investment.\",\n \"operationId\": \"getInvestedAccountsInModel\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"model\": {\n \"description\": \"Define the model to retrieve accounts from.\",\n \"type\": \"string\"\n },\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"subscriptionStatus\": {\n \"description\": \"Describes if the model is in polling mode.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n }\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"accountList\": [\n {\n \"account\": \"DUN884097\",\n \"accountModelNlv\": \"0\",\n \"accountOtherModelsNlv\": \"30545.33\",\n \"alias\": \"\",\n \"baseCcyAccount\": \"USD\",\n \"baseCcyAccountPrecision\": \"0.01\",\n \"cashInIndependentNlv\": \"974589.5\",\n \"exchangeRate\": 1.0,\n \"nlv\": \"1011955.02\",\n \"positionsInIndependentNlv\": \"6820.19\"\n },\n {\n \"account\": \"DUN884098\",\n \"accountModelNlv\": \"0\",\n \"accountOtherModelsNlv\": \"-17.91\",\n \"alias\": \"\",\n \"baseCcyAccount\": \"USD\",\n \"baseCcyAccountPrecision\": \"0.01\",\n \"cashInIndependentNlv\": \"1006063.06\",\n \"exchangeRate\": 1.0,\n \"nlv\": \"1012365.23\",\n \"positionsInIndependentNlv\": \"6320.08\"\n }\n ],\n \"baseCcyMaster\": \"USD\",\n \"baseCcyMasterPrecision\": \"0.01\",\n \"model\": \"USModel\",\n \"reqID\": 129,\n \"subscriptionStatus\": 1\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/getInvestedAccountsSummary\"\n }\n }\n },\n \"description\": \"Successfully retrieve preset details\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Summary Of Accounts Invested In The Model\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fa/model/list\": {\n \"post\": {\n \"description\": \"Retrieve summaries for all models under the advisor account.\",\n \"operationId\": \"getAllmodels\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"example\": 540608,\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"reqID\"\n ]\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"baseCcy\": \"USD\",\n \"masterAccount\": \"DFN884096\",\n \"models\": [\n {\n \"bootstrapped\": true,\n \"customIndex\": false,\n \"desc\": \"Model formed around TSEJ contracts\",\n \"isStatic\": false,\n \"mismatch\": false,\n \"model\": \"JPModel\",\n \"nlv\": \"30567.89\",\n \"numAccounts\": 2\n },\n {\n \"bootstrapped\": true,\n \"customIndex\": false,\n \"desc\": \"USModel\",\n \"isStatic\": false,\n \"mismatch\": false,\n \"model\": \"USModel\",\n \"nlv\": \"79.63\",\n \"numAccounts\": 2\n }\n ],\n \"reqID\": 540608,\n \"subscriptionStatus\": 1\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/modelListResponse\"\n }\n }\n },\n \"description\": \"Successfully retrieve the model list\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Request All Models\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fa/model/positions\": {\n \"post\": {\n \"description\": \"Request all positions held within the model.\",\n \"operationId\": \"getAllModelPositions\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"limit\": {\n \"description\": \"Maximum number of positions to return.\",\n \"example\": 10,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"model\": {\n \"description\": \"Name of your model.\",\n \"example\": \"Sample-Model\",\n \"type\": \"string\"\n },\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"example\": 540609,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"sortDirection\": {\n \"description\": \"Direction to sort the request by.\\n * `ASC` - Sort from greatest to smallest.\\n * `DESC` - Sort from smallest to greatest.\\n\",\n \"enum\": [\n \"ASC\",\n \"DESC\"\n ],\n \"type\": \"string\"\n },\n \"sortField\": {\n \"description\": \"Field to sort the response by.\\n * `actual` - Current actual model allocation for the instrument.\\n * `actualRangeMax` - Maximum actual model allocation allowed for the instrument.\\n * `actualRangeMin` - Minimum actual model allocation allowed for the instrument.\\n * `ccy` - Currency of the instrument.\\n * `conid` - Contract identifier, or conid.\\n * `dlv` - Market value.\\n * `instrumentImbalance` - How far an instrument\'s actual allocation is from its model.\\n * `instrument` - Symbol of the security.\\n * `mv` - Market value of the model position.\\n * `position` - Number of shares held by the model.\\n * `target` - Target percentage of an instrument held within a model.\\n\",\n \"enum\": [\n \"actual\",\n \"actualRangeMax\",\n \"actualRangeMin\",\n \"ccy\",\n \"conid\",\n \"dlv\",\n \"instrumentImbalance\",\n \"instrument\",\n \"mismatchType\",\n \"mv\",\n \"position\",\n \"target\"\n ],\n \"type\": \"string\"\n }\n }\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"cash\": [\n {\n \"actual\": \"0\",\n \"ccy\": \"USD\",\n \"exchangeRate\": \"1\",\n \"instrumentImbalance\": \"0\",\n \"mv\": \"0\",\n \"target\": \"0.096\"\n }\n ],\n \"mismatched\": false,\n \"model\": \"MCPAPI01\",\n \"nlv\": 0.0,\n \"positionList\": [\n {\n \"actual\": \"0\",\n \"actualRangeMax\": \"None\",\n \"actualRangeMin\": \"None\",\n \"ccy\": \"USD\",\n \"conid\": 268084,\n \"dlv\": \"0\",\n \"exchangeRate\": \"1\",\n \"flags\": 0,\n \"instrument\": \"CSCO\",\n \"instrumentImbalance\": \"0\",\n \"mismatchType\": 0,\n \"mv\": \"0\",\n \"position\": \"0\",\n \"target\": \"0.432\"\n },\n {\n \"actual\": \"0\",\n \"actualRangeMax\": \"None\",\n \"actualRangeMin\": \"None\",\n \"ccy\": \"USD\",\n \"conid\": 270639,\n \"dlv\": \"0\",\n \"exchangeRate\": \"1\",\n \"flags\": 0,\n \"instrument\": \"INTC\",\n \"instrumentImbalance\": \"0\",\n \"mismatchType\": 0,\n \"mv\": \"0\",\n \"position\": \"0\",\n \"target\": \"0.4721\"\n }\n ],\n \"positionTs\": 1769614805464,\n \"reqID\": 540607,\n \"stkOnly\": true,\n \"subscriptionStatus\": 1,\n \"totalDlv\": 0.0,\n \"totalMv\": 0.0\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/modelPositionResponse\"\n }\n }\n },\n \"description\": \"Successfully retrieve position details\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Request Model Positions\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fa/model/save\": {\n \"post\": {\n \"description\": \"Create or Modify a model\'s target positions.\",\n \"operationId\": \"setModelTargetPositions\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"cashTargets\": {\n \"description\": \"Array target cash objects\",\n \"items\": {\n \"properties\": {\n \"ccy\": {\n \"description\": \"Currency code to hold positions.\",\n \"example\": \"USD\",\n \"type\": \"string\"\n },\n \"target\": {\n \"description\": \"Percentage of model to distribute to the given currency.\",\n \"example\": 0,\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"desc\": {\n \"description\": \"Personal description of model to read in IBKR GUI elements.\",\n \"type\": \"string\"\n },\n \"isStatic\": {\n \"description\": \"Determine if investing and rebalancing should be handled statically or dynamically.\\n * `true` - Static models will always use the original targets.\\n * `false` - Dynamic models will adjust allocation in response to market movements.\\n\",\n \"type\": \"boolean\"\n },\n \"model\": {\n \"description\": \"Name of your model.\",\n \"example\": \"Sample-Model\",\n \"type\": \"string\"\n },\n \"positionTargets\": {\n \"description\": \"List containing all contracts to hold in the model.\",\n \"items\": {\n \"properties\": {\n \"conid\": {\n \"description\": \"Contract identifier, conid, to designate which security to hold.\",\n \"example\": 265598,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"target\": {\n \"description\": \"Percentage of model to distribute to the given currency.\",\n \"example\": 0,\n \"type\": \"number\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"example\": 540607,\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"cashTargets\",\n \"desc\",\n \"isStatic\",\n \"model\",\n \"positionTargets\",\n \"reqID\"\n ]\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"example\": 540607,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"success\": {\n \"description\": \"Signifies that the request was successfully submitted.\",\n \"type\": \"boolean\"\n }\n }\n }\n }\n },\n \"description\": \"Successfully saved a model\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Set Model Allocations\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fa/model/submit-transfers\": {\n \"post\": {\n \"description\": \"Submit all pending orders to the models. This is similar to the Model page\'s Submit All Orders selection.\",\n \"operationId\": \"submitModelOrders\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"fpOrderId\": {\n \"description\": \"Order identifier to monitor the order transmissions. Will be set to a valid id if and only if any transfers are present in the response. Otherwise, -1 is returned.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n }\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"example\": 540608,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"success\": {\n \"description\": \"Signifies that the request was successfully submitted.\",\n \"type\": \"boolean\"\n }\n }\n }\n }\n },\n \"description\": \"Successfully transmit all orders.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Submit Transfers\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fa/model/summary\": {\n \"post\": {\n \"description\": \"Request a summary for a single model.\",\n \"operationId\": \"getModelSummarySingle\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"model\": {\n \"description\": \"Name of your model.\",\n \"example\": \"Sample-Model\",\n \"type\": \"string\"\n },\n \"reqID\": {\n \"description\": \"Request identifier to uniquely track a request.\",\n \"example\": 540609,\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n }\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"bootstrapped\": true,\n \"customIndex\": false,\n \"desc\": \"USModel\",\n \"isStatic\": false,\n \"mismatch\": false,\n \"model\": \"USModel\",\n \"nlv\": \"79.63\",\n \"numAccounts\": 2,\n \"reqID\": 540609,\n \"subscriptionStatus\": 1\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/modelSummaryResponse\"\n }\n }\n },\n \"description\": \"Successfully retrieve model summary.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Request Model Summary\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/forecast/category/tree\": {\n \"get\": {\n \"description\": \"Returns the category names, parent ids, and markets for Event Contracts.\",\n \"operationId\": \"getForecastCategories\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"categories\": {\n \"g17490\": {\n \"markets\": [\n {\n \"conid\": 732764706,\n \"exchange\": \"FORECASTX\",\n \"name\": \"United States Carbon Dioxide Emissions\",\n \"product_conid\": 732764711,\n \"symbol\": \"USCE\"\n },\n {\n \"conid\": 732764712,\n \"exchange\": \"FORECASTX\",\n \"name\": \"United States Drought\",\n \"product_conid\": 732764717,\n \"symbol\": \"USDR\"\n }\n ],\n \"name\": \"United States\",\n \"parent_id\": \"g7369\"\n },\n \"g5351\": {\n \"name\": \"Environmental\"\n },\n \"g7369\": {\n \"name\": \"Climate Change\",\n \"parent_id\": \"g5351\"\n }\n }\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/categoryTreeResponse\"\n }\n }\n },\n \"description\": \"Returns a list of category identifiers and name to be used for more granular contract discovery.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Event Contract Categories\",\n \"tags\": [\n \"Trading Event Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/forecast/contract/details\": {\n \"get\": {\n \"description\": \"Provides instrument details for the specific forecast contract.\",\n \"operationId\": \"getForecastContract\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"conid\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Provide the contract identifier to retrieve the information for.\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"category\": \"g5351\",\n \"conid_no\": 805953036,\n \"conid_yes\": 805953033,\n \"exchange\": \"FORECASTX\",\n \"expiration\": \"20360430\",\n \"logo_category\": \"g7369\",\n \"market_name\": \"United States Carbon Dioxide Emissions\",\n \"measured_period\": \"Dec31\'35\",\n \"payout\": 1.0,\n \"question\": \"Will US carbon dioxide emmissions exceed 5,050 million metric tons in 2035?\",\n \"side\": \"Y\",\n \"strike\": 5050.0,\n \"strike_label\": \"Above 5,050\",\n \"symbol\": \"USCE\",\n \"underlying_conid\": 732764706\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/forecastDetailsResponse\"\n }\n }\n },\n \"description\": \"Returns the expanded list of the event contract containing both Yes and No side identifier information.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Event Contract Details\",\n \"tags\": [\n \"Trading Event Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/forecast/contract/market\": {\n \"get\": {\n \"description\": \"Returns all high level contract details affiliated with the underlying market conid provided.\",\n \"operationId\": \"getForecastMarkets\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"underlyingConid\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Underlying event index contract identifier.\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"exchange\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Exchange to filter contract by.\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"contracts\": [\n {\n \"conid\": 732957192,\n \"expiration\": \"20260430\",\n \"expiry_label\": \"2025\",\n \"side\": \"Y\",\n \"strike\": 4700.0,\n \"strike_label\": \"Above 4,700\",\n \"time_specifier\": \"2025.12.31\",\n \"underlying_conid\": 732764706\n },\n {\n \"conid\": 732957197,\n \"expiration\": \"20260430\",\n \"expiry_label\": \"2025\",\n \"side\": \"N\",\n \"strike\": 4700.0,\n \"strike_label\": \"Above 4,700\",\n \"time_specifier\": \"2025.12.31\",\n \"underlying_conid\": 732764706\n }\n ],\n \"exchange\": \"FORECASTX\",\n \"exclude_historical_data\": false,\n \"logo_category\": \"g7369\",\n \"market_name\": \"United States Carbon Dioxide Emissions\",\n \"payout\": 1.0,\n \"symbol\": \"USCE\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/forecastMarketResponse\"\n }\n }\n },\n \"description\": \"Returns the liquid and extended trading hours of the coming and prior trading days.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Provides All Contracts For Given Underlying Market.\",\n \"tags\": [\n \"Trading Event Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/forecast/contract/rules\": {\n \"get\": {\n \"description\": \"Provides trading rules for specific event contracts.\",\n \"operationId\": \"getForecastRules\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"conid\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Provide the contract identifier to retrieve rules for.\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"asset_class\": \"OPT\",\n \"data_and_resolution_link\": \"https://www.eia.gov/environment/emissions/carbon/\",\n \"description\": \"Carbon Dioxide is an important greenhouse gas and thought to be one of the major contributors to anthropogenic climate change, a major societal challenge. US Carbon Dioxide emissions estimate the amount of Carbon Dioxide emitted in the United States in a calendar year.\",\n \"exchange_timezone\": \"US/Central\",\n \"last_trade_time\": 2093202000,\n \"market_name\": \"United States Carbon Dioxide Emissions\",\n \"market_rules_link\": \"https://data.forecastex.com/regulatory/USCETermsandConditions.pdf\",\n \"measured_period\": \"Dec31\'35\",\n \"payout\": \"$1.00\",\n \"payout_time\": 2093277600,\n \"price_increment\": \"$0.01\",\n \"product_code\": \"USCE\",\n \"release_time\": 2093202000,\n \"source_agency\": \"Energy Information Agency\",\n \"threshold\": \"5050.0\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/forecastRulesResponse\"\n }\n }\n },\n \"description\": \"Returns the corresponding contracts rules.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Event Contract Rules\",\n \"tags\": [\n \"Trading Event Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/forecast/contract/schedules\": {\n \"get\": {\n \"description\": \"Provides forecast trading schedules.\",\n \"operationId\": \"getForecastSchedule\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"conid\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Provide the contract identifier to retrieve the trading schedule for.\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"timezone\": \"US/Central\",\n \"trading_schedules\": [\n {\n \"day_of_week\": \"Saturday\",\n \"trading_times\": [\n {\n \"close\": \"4:00 PM\",\n \"open\": \"12:00 AM\"\n },\n {\n \"close\": \"11:59 PM\",\n \"open\": \"4:15 PM\"\n }\n ]\n },\n {\n \"day_of_week\": \"Sunday\",\n \"trading_times\": [\n {\n \"close\": \"4:00 PM\",\n \"open\": \"12:00 AM\"\n },\n {\n \"close\": \"11:59 PM\",\n \"open\": \"4:15 PM\"\n }\n ]\n },\n {\n \"day_of_week\": \"Monday\",\n \"trading_times\": [\n {\n \"close\": \"4:00 PM\",\n \"open\": \"12:00 AM\"\n },\n {\n \"close\": \"11:59 PM\",\n \"open\": \"4:15 PM\"\n }\n ]\n }\n ]\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/forecastSchedulesResponse\"\n }\n }\n },\n \"description\": \"Returns the liquid and extended trading hours of the coming and prior trading days.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Event Contract Schedules\",\n \"tags\": [\n \"Trading Event Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fyi/deliveryoptions\": {\n \"get\": {\n \"description\": \"Options for sending fyis to email and other devices.\",\n \"operationId\": \"getFyiDelivery\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"delivery-options\": {\n \"value\": {\n \"E\": [\n {\n \"A\": 1,\n \"I\": \"apn://mtws@SDFSDFDSFS123123DSFSDF\",\n \"NM\": \"iPhone\",\n \"UI\": \"apn://mtws@SDFSDFDSFS123123DSFSDF\"\n }\n ],\n \"M\": 1\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/deliveryOptions\"\n }\n }\n },\n \"description\": \"Successfully retrieve preset details\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Get Delivery Options\",\n \"tags\": [\n \"Trading FYIs and Notifications\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fyi/deliveryoptions/device\": {\n \"post\": {\n \"description\": \"Choose whether a particular device is enabled or disabled.\",\n \"operationId\": \"modifyFyiDelivery\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/fyiEnableDeviceOption\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/fyiVT\"\n }\n }\n },\n \"description\": \"Successfully retrieve preset details\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Toggle Delivery To A Device\",\n \"tags\": [\n \"Trading FYIs and Notifications\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fyi/deliveryoptions/email\": {\n \"put\": {\n \"description\": \"Enable or disable your account\'s primary email to receive notifications.\",\n \"operationId\": \"modifyFyiEmails\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"enabled\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Enable or disable your email. Value format: true: Enable; false: Disable\\n\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"successEdited\": {\n \"value\": {\n \"T\": 10,\n \"V\": 1\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/fyiVT\"\n }\n }\n },\n \"description\": \"Successfully enabled or disabled your email notifications.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Toggle Email Delivery\",\n \"tags\": [\n \"Trading FYIs and Notifications\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fyi/deliveryoptions/{deviceId}\": {\n \"delete\": {\n \"description\": \"Delete a specific device from our saved list of notification devices.\",\n \"operationId\": \"deleteFyiDevice\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"deviceId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Display the device identifier to delete from IB\'s saved list. Can be retrieved from /fyi/deliveryoptions.\\n\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"description\": \"No response message is returned. Instead, you will only receive an empty string with a 200 OK status code indicating a successfully deleted account.\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Delete A Device\",\n \"tags\": [\n \"Trading FYIs and Notifications\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fyi/disclaimer/{typecode}\": {\n \"get\": {\n \"description\": \"Receive additional disclaimers based on the specified typecode.\",\n \"operationId\": \"getFyiDisclaimerss\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"typecode\",\n \"required\": true,\n \"schema\": {\n \"$ref\": \"#/components/schemas/typecodes\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"ba-disclaimer\": {\n \"value\": {\n \"DT\": \"This communication is provided for information purposes only and is not a recommendation or a solicitation to buy, sell or hold any investment product. Selling securities short involves significant risk and you may lose more than you invest.\",\n \"FC\": \"BA\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/disclaimerInfo\"\n }\n }\n },\n \"description\": \"Successfully disclaimer details\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Get Disclaimers By FYI Type\",\n \"tags\": [\n \"Trading FYIs and Notifications\"\n ],\n \"x-ib-provider\": \"iblink\"\n },\n \"put\": {\n \"description\": \"Mark a specific disclaimer message as read.\",\n \"operationId\": \"readFyiDisclaimer\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"typecode\",\n \"required\": true,\n \"schema\": {\n \"$ref\": \"#/components/schemas/typecodes\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"marked\": {\n \"value\": {\n \"T\": 10,\n \"V\": 1\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/fyiVT\"\n }\n }\n },\n \"description\": \"Successfully marked as read\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Mark FYI Disclaimer Read\",\n \"tags\": [\n \"Trading FYIs and Notifications\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fyi/notifications\": {\n \"get\": {\n \"description\": \"Get a list of available notifications.\",\n \"operationId\": \"getAllFyis\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"max\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Specify the maximum number of notifications to receive. Can request a maximum of 10 notifications.\\n\",\n \"example\": 10,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"include\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Include only the specified typecode notifications in the request.\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"exclude\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Include all subscribed notifications except the typecodes passed here.\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"id\",\n \"required\": false,\n \"schema\": {\n \"description\": \"if more required, notifcationId of last notification should be used to define next batch border\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"all-notifications\": {\n \"value\": [\n {\n \"D\": \"1710847062.0\",\n \"FC\": \"PF\",\n \"HT\": 0,\n \"ID\": \"2024031947509444\",\n \"MD\": \"<html>Some investors use analysts ratings to stay informed about their investments. Analysts have changed their ratings for one or more companies in which you hold positions. <br />The following summary displays the affected companies, the current number of analysts by rating category and, in parentheses, the recent change in the number of analysts rating the company within each rating category. <br /> - JWN@NYSE: Buy: 1(0), Outperform: 1(0), Hold: 12(-1), Underperform: 5(0), Sell: 0(0). Held in: D****000 <br /> - RF@NYSE: Buy: 4(+1), Outperform: 5(0), Hold: 17(-1), Underperform: 1(0), Sell: 0(0). Held in: D****000 <br /> <br /> Note: Current ratings are from Reuters and may not reflect all rating changes from other sources such as Street Insider and Briefing.</html>\",\n \"MS\": \"FYI: Changes in Analyst Ratings\",\n \"R\": 0\n },\n {\n \"D\": \"1710761985.0\",\n \"FC\": \"PF\",\n \"HT\": 0,\n \"ID\": \"2024031843829868\",\n \"MD\": \"<html>Some investors use analysts ratings to stay informed about their investments. Analysts have changed their ratings for one or more companies in which you hold positions. <br />The following summary displays the affected companies, the current number of analysts by rating category and, in parentheses, the recent change in the number of analysts rating the company within each rating category. <br /> - F@NYSE: Buy: 4(0), Outperform: 4(0), Hold: 15(+1), Underperform: 3(-1), Sell: 1(0). Held in: D****000 <br /> - RF@NYSE: Buy: 4(+1), Outperform: 5(0), Hold: 17(-1), Underperform: 1(0), Sell: 0(0). Held in: D****000 <br /> - TSLA@NASDAQ: Buy: 5(0), Outperform: 12(0), Hold: 21(0), Underperform: 7(+1), Sell: 4(0). Held in: D****000 <br /> - UAA@NYSE: Buy: 6(0), Outperform: 2(-1), Hold: 17(+1), Underperform: 2(0), Sell: 0(0). Held in: D****000 <br /> <br /> Note: Current ratings are from Reuters and may not reflect all rating changes from other sources such as Street Insider and Briefing.</html>\",\n \"MS\": \"FYI: Changes in Analyst Ratings\",\n \"R\": 1\n },\n {\n \"D\": \"1710501829.0\",\n \"FC\": \"PF\",\n \"HT\": 0,\n \"ID\": \"2024031537589663\",\n \"MD\": \"<html>Some investors use analysts ratings to stay informed about their investments. Analysts have changed their ratings for one or more companies in which you hold positions. <br />The following summary displays the affected companies, the current number of analysts by rating category and, in parentheses, the recent change in the number of analysts rating the company within each rating category. <br /> - F@NYSE: Buy: 4(0), Outperform: 4(0), Hold: 14(+1), Underperform: 4(0), Sell: 1(0). Held in: D****000 <br /> - UAA@NYSE: Buy: 6(0), Outperform: 3(-1), Hold: 16(-1), Underperform: 2(+1), Sell: 0(0). Held in: D****000 <br /> <br /> Note: Current ratings are from Reuters and may not reflect all rating changes from other sources such as Street Insider and Briefing.</html>\",\n \"MS\": \"FYI: Changes in Analyst Ratings\",\n \"R\": 1\n }\n ]\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/notifications\"\n }\n }\n },\n \"description\": \"Successfully enabled or disabled your email notifications.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"List All Notifications\",\n \"tags\": [\n \"Trading FYIs and Notifications\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fyi/notifications/{notificationID}\": {\n \"put\": {\n \"description\": \"Mark a particular notification message as read or unread.\",\n \"operationId\": \"readFyiNotification\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"notificationID\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Code used to signify a specific notification to mark. Value received from /fyi/notifications\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"acknowledged\": {\n \"value\": {\n \"P\": {\n \"ID\": \"2024031947509444\",\n \"R\": 1\n },\n \"T\": 5,\n \"V\": 1\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/notificationReadAcknowledge\"\n }\n }\n },\n \"description\": \"Successfully enabled or disabled your email notifications.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Mark Notification Read\",\n \"tags\": [\n \"Trading FYIs and Notifications\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fyi/settings\": {\n \"get\": {\n \"description\": \"Return the current choices of subscriptions for notifications.\",\n \"operationId\": \"getFyiSettings\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"settings\": {\n \"value\": [\n {\n \"A\": 1,\n \"FC\": \"PF\",\n \"FD\": \"Notify me of recent activity affecting my portfolio holdings.\",\n \"FN\": \"Portfolio FYIs\",\n \"H\": 0\n },\n {\n \"A\": 1,\n \"FC\": \"PT\",\n \"FD\": \"Notify me of potential account configuration changes needed and useful features based on my position transfers.\",\n \"FN\": \"Position Transfer\",\n \"H\": 0\n }\n ]\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/fyiSettings\"\n }\n }\n },\n \"description\": \"Indicates data is being returned successfully.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Get Notification Settings\",\n \"tags\": [\n \"Trading FYIs and Notifications\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fyi/settings/{typecode}\": {\n \"post\": {\n \"description\": \"Enable or disable group of notifications by the specific typecode.\",\n \"operationId\": \"modifyFyiNotification\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"typecode\",\n \"required\": true,\n \"schema\": {\n \"$ref\": \"#/components/schemas/typecodes\"\n },\n \"style\": \"simple\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"enabled\": {\n \"description\": \"the notification should be enabled or disabled.\",\n \"type\": \"boolean\"\n }\n }\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"successEdited\": {\n \"value\": {\n \"T\": 10,\n \"V\": 1\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/fyiVT\"\n }\n }\n },\n \"description\": \"Successfully retrieve preset details\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Modify FYI Notifications\",\n \"tags\": [\n \"Trading FYIs and Notifications\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/fyi/unreadnumber\": {\n \"get\": {\n \"description\": \"Returns the total number of unread notifications\",\n \"operationId\": \"getUnreadFyis\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"unreadnumber\": {\n \"value\": {\n \"BN\": 4\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"BN\": {\n \"description\": \"Returns the number of unread notifications.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n }\n }\n }\n },\n \"description\": \"Indicates data is being returned successfully.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"423\": {\n \"description\": \"Return if called too frequently. Should not be called more than 1 time in 5 minutes\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Get Number Of Unread Notifications\",\n \"tags\": [\n \"Trading FYIs and Notifications\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/gw/api/v1/accounts\": {\n \"get\": {\n \"description\": \"Retrieve the application request and IBKR response data based on IBKR accountId or externalId. Only available for accounts that originate via API<br><br>**Scope**: `accounts.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_accounts\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"accountId\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"externalId\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/FileDetailsResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/ResponseFileResponse\"\n }\n ]\n }\n }\n },\n \"description\": \"Retrieve the application request and IBKR response data based on IBKR accountId or externalId. Only available for accounts that originate via API\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Retrieve Processed Application\",\n \"tags\": [\n \"Account Management Accounts\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.read\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n },\n \"patch\": {\n \"description\": \"Update information for an existing accountId<br><br>**Scope**: `accounts.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"patch_gw_api_v1_accounts\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"text/plain\": {\n \"schema\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/StatusResponse\"\n }\n }\n },\n \"description\": \"Update information for an existing accountId\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Update Account\",\n \"tags\": [\n \"Account Management Accounts\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.write\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n },\n \"post\": {\n \"description\": \"Submit account application. This will create brokerage account for the end user.<br><br>**Scope**: `accounts.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_accounts\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"text/plain\": {\n \"schema\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/StatusResponse\"\n }\n }\n },\n \"description\": \"Submit account application. This will create brokerage account for the end user.\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Create Account\",\n \"tags\": [\n \"Account Management Accounts\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.write\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/accounts/documents\": {\n \"post\": {\n \"description\": \"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.<ul><li>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.</li><li>This end-point will not process any Tax Form Documents. Tax Form document should be submitted with every application</li><li>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).</li></ul><br><br>**Scope**: `accounts.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_accounts_documents\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"text/plain\": {\n \"schema\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/StatusResponse\"\n }\n }\n },\n \"description\": \"Submit standard agreements and disclosures\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Submit General Agreements And Disclosures\",\n \"tags\": [\n \"Account Management Accounts\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.write\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/accounts/login-messages\": {\n \"get\": {\n \"description\": \"Query all accounts associated with \\u2018Client ID\\u2019 that have incomplete login message<br><br>**Scope**: `accounts.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_accounts_login_messages\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"loginMessageRequest\",\n \"required\": true,\n \"schema\": {\n \"$ref\": \"#/components/schemas/LoginMessageRequest\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/LoginMessageResponse\"\n }\n }\n },\n \"description\": \"Query all accounts associated with \\u2018Client ID\\u2019 that have incomplete login message\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Get Login Messages\",\n \"tags\": [\n \"Account Management Accounts\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.read\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/accounts/status\": {\n \"get\": {\n \"description\": \"Query status of all accounts associated with \\u2018Client ID\'<br><br>**Scope**: `accounts.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_accounts_status\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"accountStatusRequest\",\n \"required\": true,\n \"schema\": {\n \"$ref\": \"#/components/schemas/AccountStatusRequest\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/AccountStatusBulkResponse\"\n }\n }\n },\n \"description\": \"Query status of all accounts associated with \\u2018Client ID\'\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Get Status Of Accounts\",\n \"tags\": [\n \"Account Management Accounts\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.read\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/accounts/{accountId}/details\": {\n \"get\": {\n \"description\": \"<br>**Scope**: `accounts.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_accounts_accountid_details\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/AccountDetailsResponse\"\n }\n }\n },\n \"description\": \"View information associated with account including contact data, financial information and trading configuration.\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Get Account Information\",\n \"tags\": [\n \"Account Management Accounts\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.read\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/accounts/{accountId}/kyc\": {\n \"get\": {\n \"description\": \"Generate URL address to complete real-time KYC verification using Au10Tix<br><br>**Scope**: `accounts.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_accounts_accountid_kyc\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/Au10TixDetailResponse\"\n }\n }\n },\n \"description\": \"Generate URL address to complete real-time KYC verification using Au10Tix\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Retrieve Au10Tix URL\",\n \"tags\": [\n \"Account Management Accounts\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.read\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/accounts/{accountId}/login-messages\": {\n \"get\": {\n \"description\": \"Query login messages assigned by accountId<br><br>**Scope**: `accounts.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_accounts_accountid_login_messages\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"type\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/LoginMessageResponse\"\n }\n }\n },\n \"description\": \"Query login messages assigned by accountId\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Get Login Message By Account\",\n \"tags\": [\n \"Account Management Accounts\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.read\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/accounts/{accountId}/status\": {\n \"get\": {\n \"description\": \"Query status of account by accountId<br><br>**Scope**: `accounts.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_accounts_accountid_status\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/AccountStatusResponse\"\n }\n }\n },\n \"description\": \"Query status of account by accountId.\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Get Status By Account\",\n \"tags\": [\n \"Account Management Accounts\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.read\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n },\n \"patch\": {\n \"description\": \"Query status of account by accountId<br><br>**Scope**: `accounts.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"patch_gw_api_v1_accounts_accountid_status\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"text/plain\": {\n \"schema\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/AccountStatusResponse\"\n }\n }\n },\n \"description\": \"Query status of account by accountId.\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Update Status By Account\",\n \"tags\": [\n \"Account Management Accounts\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.write\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/accounts/{accountId}/tasks\": {\n \"get\": {\n \"description\": \"Query registration tasks assigned to account and pending tasks that are required for account approval<br><br>**Scope**: `accounts.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_accounts_accountid_tasks\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"type\",\n \"required\": false,\n \"schema\": {\n \"default\": \"registration\",\n \"enum\": [\n \"pending\",\n \"registration\"\n ],\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/RegistrationTasksResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/PendingTasksResponse\"\n }\n ]\n }\n }\n },\n \"description\": \"Query registration tasks assigned to account and pending tasks that are required for account approval\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Get Registration Tasks\",\n \"tags\": [\n \"Account Management Accounts\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.read\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n },\n \"patch\": {\n \"description\": \"Task status can be updated from this api<br><br>**Scope**: `accounts.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"patch_gw_api_v1_accounts_accountid_tasks\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"text/plain\": {\n \"schema\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TaskActionResponse\"\n },\n \"type\": \"array\"\n }\n }\n },\n \"description\": \"Task status can be updated from this api\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Update Tasks Status\",\n \"tags\": [\n \"Account Management Accounts\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.write\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n },\n \"post\": {\n \"description\": \"Task can be assigned from this api<br><br>**Scope**: `accounts.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_accounts_accountid_tasks\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"text/plain\": {\n \"schema\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/TaskActionResponse\"\n },\n \"type\": \"array\"\n }\n }\n },\n \"description\": \"Task can be assigned from this api\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Assign Tasks\",\n \"tags\": [\n \"Account Management Accounts\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.write\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/balances/query\": {\n \"post\": {\n \"description\": \"View available cash for withdrawal and account equity value by accountId<br><br>**Scope**: `balances.read`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_balances_query\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Query Withdrawable Cash amd Equity\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U87440\",\n \"clientInstructionId\": 7009005,\n \"currency\": \"USD\"\n },\n \"instructionType\": \"QUERY_WITHDRAWABLE_CASH_EQUITY\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instruction\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/QueryWithdrawableCashEquity\"\n }\n ]\n },\n \"instructionType\": {\n \"enum\": [\n \"QUERY_WITHDRAWABLE_CASH_EQUITY\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"instruction\",\n \"instructionType\"\n ]\n }\n }\n },\n \"description\": \"Create an query request body\",\n \"required\": true\n },\n \"responses\": {\n \"201\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Query Withdrawable Cash Equity Response\": {\n \"value\": {\n \"instructionResult\": {\n \"accountId\": \"U46377\",\n \"availableEquityValue\": 121538.65,\n \"clientInstructionId\": 7013230,\n \"currency\": \"USD\",\n \"ibReferenceId\": 0,\n \"instructionId\": 43133309,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"QUERY_WITHDRAWABLE_CASH_EQUITY\",\n \"withdrawableCashAmount\": 250000\n },\n \"instructionSetId\": 17791,\n \"status\": 201\n }\n }\n },\n \"schema\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/QueryWithdrawableCashEquityResponse\"\n }\n ]\n }\n }\n },\n \"description\": \"Instruction successfully created and processed synchronously\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"422\": {\n \"description\": \"Returns a Problem detail instance representing a business error.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"View Cash Balances\",\n \"tags\": [\n \"Account Management Utilities\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"balances.read\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/bank-instructions\": {\n \"post\": {\n \"description\": \"Create or delete bank instructions by accountId. Only ACH and EDDA are supported for \'Create\'.<br><br>**Scope**: `bank-instructions.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_bank_instructions\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"ACH Instruction\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U223454\",\n \"achType\": \"DEBIT_CREDIT\",\n \"bankInstructionCode\": \"USACH\",\n \"bankInstructionName\": \"TestInstr\",\n \"clientAccountInfo\": {\n \"bankAccountNumber\": \"101267576983\",\n \"bankAccountTypeCode\": 0,\n \"bankName\": \"JPM Chase\",\n \"bankRoutingNumber\": \"202012983\"\n },\n \"clientInstructionId\": 1012983,\n \"currency\": \"USD\"\n },\n \"instructionType\": \"ACH_INSTRUCTION\"\n }\n },\n \"Delete Bank Instruction\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U46377\",\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Test Delete\",\n \"clientInstructionId\": 7013055,\n \"currency\": \"USD\"\n },\n \"instructionType\": \"DELETE_BANK_INSTRUCTION\"\n }\n },\n \"Predefined Destination Instruction\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U399192\",\n \"bankInstructionMethod\": \"ACH\",\n \"bankInstructionName\": \"Test-ACH-Instr\",\n \"clientInstructionId\": 7013053,\n \"currency\": \"USD\",\n \"financialInstitution\": {\n \"branchCode\": \"\",\n \"branchCodeType\": \"BSB_AUD\",\n \"clientAccountId\": \"132456789\",\n \"identifier\": \"SBIN001000\",\n \"identifierType\": \"IFSC\",\n \"name\": \"SBI Bank\"\n }\n },\n \"instructionType\": \"PREDEFINED_DESTINATION_INSTRUCTION\"\n }\n },\n \"Traditional Bank Instruction Verification\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U117717\",\n \"bankInstructionCode\": \"USACH\",\n \"bankInstructionName\": \"ACH-Tst1Random172\",\n \"clientInstructionId\": 7013057,\n \"creditAmount1\": 0.32,\n \"creditAmount2\": 0.46,\n \"pendingInstructionId\": 43086786\n },\n \"instructionType\": \"TRADITIONAL_BANK_INSTRUCTION_VERIFICATION\"\n }\n },\n \"eDDA Instruction\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U8072517\",\n \"bankAccountNumber\": \"132456\",\n \"bankBranchCode\": \"003\",\n \"bankClearingCode\": \"003\",\n \"bankInstructionName\": \"{instrution-name}\",\n \"clientInstructionId\": 7012743,\n \"currency\": \"CNH\",\n \"debtorIdentificationDocumentType\": \"hkId\"\n },\n \"instructionType\": \"EDDA_INSTRUCTION\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instruction\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/TraditionalBankInstructionVerification\"\n },\n {\n \"$ref\": \"#/components/schemas/AchInstruction\"\n },\n {\n \"$ref\": \"#/components/schemas/DeleteBankInstruction\"\n },\n {\n \"$ref\": \"#/components/schemas/PredefinedDestinationInstruction\"\n },\n {\n \"$ref\": \"#/components/schemas/EddaInstruction\"\n }\n ]\n },\n \"instructionType\": {\n \"enum\": [\n \"ACH_INSTRUCTION\",\n \"TRADITIONAL_BANK_INSTRUCTION_VERIFICATION\",\n \"DELETE_BANK_INSTRUCTION\",\n \"PREDEFINED_DESTINATION_INSTRUCTION\",\n \"EDDA_INSTRUCTION\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"instruction\",\n \"instructionType\"\n ]\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"202\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"ACH Instruction\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 80009,\n \"instructionId\": 43092478,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"ACH_INSTRUCTION\"\n },\n \"instructionSetId\": 2487,\n \"status\": 202\n }\n },\n \"Delete Bank Instruction\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 80009,\n \"instructionId\": 43092478,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"DELETE_BANK_INSTRUCTION\"\n },\n \"instructionSetId\": 2487,\n \"status\": 202\n }\n },\n \"Predefined Destination Instruction\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 7008152,\n \"instructionId\": 43092590,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"PREDEFINED_DESTINATION_INSTRUCTION\"\n },\n \"instructionSetId\": 2614,\n \"status\": 202\n }\n },\n \"Traditional Bank Instruction Verification\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 7008152,\n \"instructionId\": 43092590,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"TRADITIONAL_BANK_INSTRUCTION_VERIFICATION\"\n },\n \"instructionSetId\": 2614,\n \"status\": 202\n }\n },\n \"eDDA Instruction\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 7012743,\n \"instructionId\": 43098698,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"EDDA_INSTRUCTION\"\n },\n \"instructionSetId\": 6401,\n \"status\": 202\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/AsynchronousInstructionResponse\"\n }\n }\n },\n \"description\": \"Accepts request to create a new instruction asynchronously\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"422\": {\n \"description\": \"Returns a Problem detail instance representing a business error.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Manage Bank Instructions\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"bank-instructions.write\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/bank-instructions/query\": {\n \"post\": {\n \"description\": \"View active bank instructions for an accountId.<br><br>**Scope**: `bank-instructions.read`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_bank_instructions_query\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Query Bank Instruction - ACH Instruction\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U46377\",\n \"bankInstructionMethod\": \"ACH\",\n \"clientInstructionId\": 1012983\n },\n \"instructionType\": \"QUERY_BANK_INSTRUCTION\"\n }\n },\n \"Query Bank Instruction - Wire\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U46377\",\n \"bankInstructionMethod\": \"WIRE\",\n \"clientInstructionId\": 1012983\n },\n \"instructionType\": \"QUERY_BANK_INSTRUCTION\"\n }\n },\n \"Query Recent Recurring Event\": {\n \"value\": {\n \"instruction\": {\n \"clientInstructionId\": 1012983,\n \"ibReferenceId\": 206603050,\n \"numberOfTransactions\": 100\n },\n \"instructionType\": \"QUERY_RECENT_RECURRING_EVENTS\"\n }\n },\n \"Query Recurring Instructions - using Account ID\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U399192\",\n \"clientInstructionId\": 1012983\n },\n \"instructionType\": \"QUERY_RECURRING_INSTRUCTIONS\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instruction\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/QueryBankInstruction\"\n },\n {\n \"$ref\": \"#/components/schemas/QueryRecentRecurringEvents\"\n },\n {\n \"$ref\": \"#/components/schemas/QueryRecurringInstructions\"\n }\n ]\n },\n \"instructionType\": {\n \"enum\": [\n \"QUERY_BANK_INSTRUCTION\",\n \"QUERY_RECENT_RECURRING_EVENTS\",\n \"QUERY_RECURRING_INSTRUCTIONS\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"instruction\",\n \"instructionType\"\n ]\n }\n }\n },\n \"description\": \"Create get instruction name request body\",\n \"required\": true\n },\n \"responses\": {\n \"201\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Query Bank Instruction - ACH\": {\n \"value\": {\n \"instructionResult\": {\n \"accountId\": \"U46377\",\n \"bankInstructionDetails\": [\n {\n \"bankAccountNumber\": \"*****7042\",\n \"bankRoutingNumber\": \"000127591\",\n \"currency\": \"USD\",\n \"instructionName\": \"testCitadele\",\n \"instructionStatus\": \"REJECTED\",\n \"type\": \"FOREIGN_BANK\"\n },\n {\n \"bankAccountNumber\": \"*****9869\",\n \"bankRoutingNumber\": \"021100361\",\n \"currency\": \"USD\",\n \"instructionName\": \"testChase1\",\n \"instructionStatus\": \"PROCESSED\",\n \"type\": \"LOCAL_BANK\"\n },\n {\n \"bankAccountNumber\": \"*****9889\",\n \"bankRoutingNumber\": \"021112361\",\n \"currency\": \"USD\",\n \"instructionName\": \"testee\",\n \"instructionStatus\": \"PROCESSED\",\n \"type\": \"FOREIGN_BANK\"\n },\n {\n \"bankAccountNumber\": \"*****2531\",\n \"bankRoutingNumber\": \"021100361\",\n \"currency\": \"CHF\",\n \"instructionName\": \"test multiple\",\n \"instructionStatus\": \"PROCESSED\",\n \"type\": \"FOREIGN_BANK\"\n },\n {\n \"bankAccountNumber\": \"*****1234\",\n \"bankRoutingNumber\": \"021100361\",\n \"currency\": \"CHF\",\n \"instructionName\": \"farawayBroker\",\n \"instructionStatus\": \"REJECTED\",\n \"type\": \"FOREIGN_BROKER\"\n }\n ],\n \"bankInstructionMethod\": \"ACH\",\n \"clientInstructionId\": 12001819,\n \"ibReferenceId\": 0,\n \"instructionId\": 43094187,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"QUERY_BANK_INSTRUCTION\"\n },\n \"instructionSetId\": 3771,\n \"status\": 201\n }\n },\n \"Query Bank Instruction - WIRE\": {\n \"value\": {\n \"instructionResult\": {\n \"accountId\": \"U46377\",\n \"bankInstructionDetails\": [\n {\n \"bankAccountNumber\": \"*****7042\",\n \"bankRoutingNumber\": \"000127591\",\n \"currency\": \"USD\",\n \"instructionName\": \"testCitadele\",\n \"instructionStatus\": \"REJECTED\",\n \"type\": \"FOREIGN_BANK\"\n },\n {\n \"bankAccountNumber\": \"*****9869\",\n \"bankRoutingNumber\": \"021100361\",\n \"currency\": \"USD\",\n \"instructionName\": \"testChase1\",\n \"instructionStatus\": \"PROCESSED\",\n \"type\": \"LOCAL_BANK\"\n },\n {\n \"bankAccountNumber\": \"*****9889\",\n \"bankRoutingNumber\": \"021112361\",\n \"currency\": \"USD\",\n \"instructionName\": \"testee\",\n \"instructionStatus\": \"PROCESSED\",\n \"type\": \"FOREIGN_BANK\"\n },\n {\n \"bankAccountNumber\": \"*****2531\",\n \"bankRoutingNumber\": \"021100361\",\n \"currency\": \"CHF\",\n \"instructionName\": \"test multiple\",\n \"instructionStatus\": \"PROCESSED\",\n \"type\": \"FOREIGN_BANK\"\n },\n {\n \"bankAccountNumber\": \"*****1234\",\n \"bankRoutingNumber\": \"021100361\",\n \"currency\": \"CHF\",\n \"instructionName\": \"farawayBroker\",\n \"instructionStatus\": \"REJECTED\",\n \"type\": \"FOREIGN_BROKER\"\n }\n ],\n \"bankInstructionMethod\": \"WIRE\",\n \"clientInstructionId\": 12001819,\n \"ibReferenceId\": 0,\n \"instructionId\": 43094187,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"QUERY_BANK_INSTRUCTION\"\n },\n \"instructionSetId\": 3771,\n \"status\": 201\n }\n },\n \"Query Recent Recurring Events\": {\n \"value\": {\n \"instructionResult\": {\n \"amount\": 1,\n \"clientInstructionId\": 12007909,\n \"currency\": \"CNH\",\n \"ibReferenceId\": 0,\n \"instructionId\": 43104464,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"QUERY_RECENT_RECURRING_EVENTS\",\n \"method\": \"206603051\",\n \"recurringInstructionName\": \"test\",\n \"recurringTransactionStatus\": \"NOTACTIVATED\",\n \"recurringTransactionType\": \"DEPOSIT\",\n \"transactionHistory\": {\n \"maxNumberOfTransactions\": 100,\n \"result\": [\n {\n \"ibRequestId\": 206586288,\n \"status\": \"ACKNOWLEDGED\"\n },\n {\n \"ibRequestId\": 206582418,\n \"status\": \"CANCELED\"\n }\n ]\n }\n },\n \"instructionSetId\": 14132,\n \"status\": 201\n }\n },\n \"Query Recurring Instructions - using Account ID\": {\n \"value\": {\n \"instructionResult\": {\n \"accountId\": \"U399192\",\n \"clientInstructionId\": 12008027,\n \"ibReferenceId\": 0,\n \"instructionId\": 43104628,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"QUERY_RECENT_INSTRUCTIONS\",\n \"recurringInstructions\": [\n {\n \"amount\": 1,\n \"bankInstructionMethod\": \"ACH\",\n \"bankInstructionName\": \"Recurring Test- cpereira\",\n \"currency\": \"USD\",\n \"endDate\": \"2024-12-12 00:00:00.0\",\n \"frequency\": \"MONTHLY\",\n \"requestId\": 206611807,\n \"startDate\": \"2024-06-12 00:00:00.0\",\n \"transactionType\": \"DEPOSIT\"\n }\n ]\n },\n \"instructionSetId\": 14258,\n \"status\": 201\n }\n }\n },\n \"schema\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/QueryRecentRecurringEventResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/QueryBankInstructionResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/QueryRecurringInstructionsResponse\"\n }\n ]\n }\n }\n },\n \"description\": \"Instruction successfully created and processed synchronously\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"422\": {\n \"description\": \"Returns a Problem detail instance representing a business error.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"View Bank Instructions\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"bank-instructions.read\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/bank-instructions:bulk\": {\n \"post\": {\n \"description\": \"<br>**Scope**: `bank-instructions.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_bank_instructions_bulk\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"ACH Instruction\": {\n \"value\": {\n \"instructionType\": \"ACH_INSTRUCTION\",\n \"instructions\": [\n {\n \"accountId\": \"U117717\",\n \"achType\": \"DEBIT_CREDIT\",\n \"bankInstructionCode\": \"USACH\",\n \"bankInstructionName\": \"TestInstr\",\n \"clientAccountInfo\": {\n \"bankAccountNumber\": \"101267576983\",\n \"bankAccountTypeCode\": 1,\n \"bankName\": \"JPM Chase\",\n \"bankRoutingNumber\": \"202012983\"\n },\n \"clientInstructionId\": 7011149,\n \"currency\": \"USD\"\n },\n {\n \"accountId\": \"U117717\",\n \"achType\": \"DEBIT_CREDIT\",\n \"bankInstructionCode\": \"USACH\",\n \"bankInstructionName\": \"TestInstr\",\n \"clientAccountInfo\": {\n \"bankAccountNumber\": \"101267576983\",\n \"bankAccountTypeCode\": 1,\n \"bankName\": \"JPM Chase\",\n \"bankRoutingNumber\": \"202012983\"\n },\n \"clientInstructionId\": 7011150,\n \"currency\": \"USD\"\n }\n ]\n }\n },\n \"Delete Instruction\": {\n \"value\": {\n \"instructionType\": \"DELETE_BANK_INSTRUCTION\",\n \"instructions\": [\n {\n \"accountId\": \"U46377\",\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Test Delete\",\n \"clientInstructionId\": 12001861,\n \"currency\": \"USD\"\n },\n {\n \"accountId\": \"U46377\",\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Test Delete\",\n \"clientInstructionId\": 12001862,\n \"currency\": \"USD\"\n },\n {\n \"accountId\": \"U46377\",\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Test Delete\",\n \"clientInstructionId\": 12001863,\n \"currency\": \"USD\"\n }\n ]\n }\n },\n \"Predefined Destination Instruction\": {\n \"value\": {\n \"instructionType\": \"PREDEFINED_DESTINATION_INSTRUCTION\",\n \"instructions\": [\n {\n \"accountId\": \"U399192\",\n \"bankInstructionMethod\": \"ACH\",\n \"bankInstructionName\": \"Test-ACH-Instr\",\n \"clientInstructionId\": 7011169,\n \"currency\": \"USD\",\n \"financialInstitution\": {\n \"branchCode\": \"\",\n \"clientAccountId\": \"132456789\",\n \"identifier\": \"SBIN001000\",\n \"identifierType\": \"IFSC\",\n \"name\": \"SBI Bank\"\n }\n },\n {\n \"accountId\": \"U399192\",\n \"bankInstructionMethod\": \"ACH\",\n \"bankInstructionName\": \"Test-ACH-Instr\",\n \"clientInstructionId\": 7011170,\n \"currency\": \"USD\",\n \"financialInstitution\": {\n \"branchCode\": \"\",\n \"branchCodeType\": \"BSB_AUD\",\n \"clientAccountId\": \"132456789\",\n \"identifier\": \"SBIN001000\",\n \"identifierType\": \"IFSC\",\n \"name\": \"SBI Bank\"\n }\n }\n ]\n }\n },\n \"Traditional Bank Instruction Verification\": {\n \"value\": {\n \"instructionType\": \"TRADITIONAL_BANK_INSTRUCTION_VERIFICATION\",\n \"instructions\": [\n {\n \"accountId\": \"U117717\",\n \"bankInstructionCode\": \"USACH\",\n \"bankInstructionName\": \"ACH-Tst1Random172\",\n \"clientInstructionId\": 7013020,\n \"creditAmount1\": 0.32,\n \"creditAmount2\": 0.46,\n \"pendingInstructionId\": 43086786\n },\n {\n \"accountId\": \"U117717\",\n \"bankInstructionCode\": \"USACH\",\n \"bankInstructionName\": \"ACH-Tst1Random172\",\n \"clientInstructionId\": 7013021,\n \"creditAmount1\": 0.32,\n \"creditAmount2\": 0.46,\n \"pendingInstructionId\": 43086786\n }\n ]\n }\n },\n \"eDDA Instruction\": {\n \"value\": {\n \"instructionType\": \"EDDA_INSTRUCTION\",\n \"instructions\": [\n {\n \"accountId\": \"U8072517\",\n \"bankAccountNumber\": \"132456\",\n \"bankBranchCode\": \"003\",\n \"bankClearingCode\": \"003\",\n \"bankInstructionName\": \"Test Instruction\",\n \"clientInstructionId\": 7013034,\n \"currency\": \"CNH\",\n \"debtorIdentificationDocumentType\": \"hkId\"\n },\n {\n \"accountId\": \"U8072517\",\n \"bankAccountNumber\": \"132456\",\n \"bankBranchCode\": \"003\",\n \"bankClearingCode\": \"003\",\n \"bankInstructionName\": \"Test Instruction\",\n \"clientInstructionId\": 7013035,\n \"currency\": \"CNH\",\n \"debtorIdentificationDocumentType\": \"hkId\"\n }\n ]\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instructionType\": {\n \"enum\": [\n \"ACH_INSTRUCTION\",\n \"TRADITIONAL_BANK_INSTRUCTION_VERIFICATION\",\n \"DELETE_BANK_INSTRUCTION\",\n \"PREDEFINED_DESTINATION_INSTRUCTION\",\n \"EDDA_INSTRUCTION\"\n ],\n \"type\": \"string\"\n },\n \"instructions\": {\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"instructionType\",\n \"instructions\"\n ]\n }\n }\n },\n \"description\": \"Create Bulk Banking Instructions request body\",\n \"required\": true\n },\n \"responses\": {\n \"202\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"ACH Instruction\": {\n \"value\": {\n \"instructionResults\": [\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011149,\n \"instructionId\": 43096799,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"ACH_INSTRUCTION\"\n },\n \"instructionSetId\": 4505,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011150,\n \"instructionId\": 43096800,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"ACH_INSTRUCTION\"\n },\n \"instructionSetId\": 4505,\n \"status\": 202\n }\n ],\n \"instructionSetId\": 4505,\n \"status\": 202\n }\n },\n \"Delete Instruction\": {\n \"value\": {\n \"instructionResults\": [\n {\n \"instructionResult\": {\n \"clientInstructionId\": 12003410,\n \"instructionId\": 11132283,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"DELETE_BANK_INSTRUCTION\"\n },\n \"instructionSetId\": 1522,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 12003411,\n \"instructionId\": 11132284,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"DELETE_BANK_INSTRUCTION\"\n },\n \"instructionSetId\": 1522,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 12003412,\n \"instructionId\": 11132285,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"DELETE_BANK_INSTRUCTION\"\n },\n \"instructionSetId\": 1522,\n \"status\": 202\n }\n ],\n \"instructionSetId\": 1522,\n \"status\": 202\n }\n },\n \"Predefined Destination Instruction\": {\n \"value\": {\n \"instructionResults\": [\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011169,\n \"instructionId\": 43096811,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"PREDEFINED_DESTINATION_INSTRUCTION\"\n },\n \"instructionSetId\": 4512,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011170,\n \"instructionId\": 43096812,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"PREDEFINED_DESTINATION_INSTRUCTION\"\n },\n \"instructionSetId\": 4512,\n \"status\": 202\n }\n ],\n \"instructionSetId\": 4512,\n \"status\": 202\n }\n },\n \"Traditional Bank Instruction Verification\": {\n \"value\": {\n \"instructionResults\": [\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011149,\n \"instructionId\": 43096799,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"TRADITIONAL_BANK_INSTRUCTION_VERIFICATION\"\n },\n \"instructionSetId\": 4505,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011150,\n \"instructionId\": 43096800,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"TRADITIONAL_BANK_INSTRUCTION_VERIFICATION\"\n },\n \"instructionSetId\": 4505,\n \"status\": 202\n }\n ],\n \"instructionSetId\": 4505,\n \"status\": 202\n }\n },\n \"eDDA Instruction\": {\n \"value\": {\n \"instructionResults\": [\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011169,\n \"instructionId\": 43096811,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"EDDA_INSTRUCTION\"\n },\n \"instructionSetId\": 4512,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011170,\n \"instructionId\": 43096812,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"EDDA_INSTRUCTION\"\n },\n \"instructionSetId\": 4512,\n \"status\": 202\n }\n ],\n \"instructionSetId\": 4512,\n \"status\": 202\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/AsynchronousInstructionSetResponse\"\n }\n }\n },\n \"description\": \"Accepts all instructions in Bulk request to create them asynchronously\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request. Returned even if only one instruction in the bulk upload has syntactical errors.\"\n },\n \"500\": {\n \"description\": \"Unable to process request due to an Internal Error. Please try again later.\"\n }\n },\n \"summary\": \"Creates Multiple Banking Instructions(ach, Delete, Micro-amount, Predefined-destination-instruction)\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"bank-instructions.write\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/client-instructions/{clientInstructionId}\": {\n \"get\": {\n \"description\": \"Retrieve status of request by clientInstructionId.<br><br>**Scope**: `instructions.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_client_instructions_clientinstructionid\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n },\n {\n \"$ref\": \"#/components/parameters/clientInstructionIdPathParam\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Polling Status - Deposit Instruction\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 1091115677,\n \"ibReferenceId\": 166903389,\n \"instructionId\": 11177823,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"DEPOSIT\"\n },\n \"instructionSetId\": 3673,\n \"status\": 200\n }\n },\n \"Polling Status - Query IRA Contributions\": {\n \"value\": {\n \"instructionResult\": {\n \"accountId\": \"U68903\",\n \"clientInstructionId\": 7013308,\n \"contributions\": [\n {\n \"allowedContributionLimit\": 500,\n \"maximumContributionLimit\": 4000,\n \"yearToDateContribution\": 3500\n }\n ],\n \"ibReferenceId\": 0,\n \"instructionId\": 43134476,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"QUERY_IRA_CONTRIBUTIONS\",\n \"iraType\": \"ROTH NEW\",\n \"year\": \"2003\"\n },\n \"instructionSetId\": 18642,\n \"status\": 200\n }\n },\n \"Polling Status - Query IRA Contributions (SEP Accounts)\": {\n \"value\": {\n \"instructionResult\": {\n \"accountId\": \"U1032333\",\n \"clientInstructionId\": 7013306,\n \"contributions\": [\n {\n \"maximumContributionLimit\": 7000,\n \"type\": \"EMPLOYEE\",\n \"yearToDateContribution\": 0\n },\n {\n \"maximumContributionLimit\": 58000,\n \"type\": \"EMPLOYER\",\n \"yearToDateContribution\": 0\n }\n ],\n \"ibReferenceId\": 0,\n \"instructionId\": 43134474,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"QUERY_IRA_CONTRIBUTIONS\",\n \"iraType\": \"SEP\",\n \"year\": \"2022\"\n },\n \"instructionSetId\": 18640,\n \"status\": 200\n }\n },\n \"Polling Status Pending\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 7008156,\n \"instructionId\": 43092595,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"INTERNAL_CASH_TRANSFER\"\n },\n \"instructionSetId\": 2650,\n \"status\": 200\n }\n },\n \"Polling Status Processed\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 7008157,\n \"instructionId\": 43092596,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"INTERNAL_CASH_TRANSFER\"\n },\n \"instructionSetId\": 2651,\n \"status\": 200\n }\n },\n \"Polling Status Query Recent Instruction\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 13050609,\n \"ibReferenceId\": 0,\n \"instructionHistory\": {\n \"historyMaxDepthNumberOfDays\": 30,\n \"historyMaxDepthNumberOfInstruction\": 100000,\n \"result\": [\n {\n \"amount\": 100,\n \"clientInstructionId\": 13050551,\n \"currency\": \"USD\",\n \"ibInstructionId\": 703818628,\n \"instructionSetId\": 881209,\n \"instructionType\": \"DEPOSIT\",\n \"requestDate\": \"2025-11-05T00:20:06-05\",\n \"status\": \"PROCESSED\"\n },\n {\n \"amount\": 100,\n \"clientInstructionId\": 13050504,\n \"currency\": \"USD\",\n \"ibInstructionId\": 703818069,\n \"instructionSetId\": 880813,\n \"instructionType\": \"DEPOSIT\",\n \"requestDate\": \"2025-11-03T07:37:04-05\",\n \"status\": \"PROCESSED\"\n },\n {\n \"amount\": 100,\n \"clientInstructionId\": 13050492,\n \"currency\": \"USD\",\n \"ibInstructionId\": 703818065,\n \"instructionSetId\": 880811,\n \"instructionType\": \"DEPOSIT\",\n \"requestDate\": \"2025-11-03T07:34:57-05\",\n \"status\": \"PROCESSED\"\n }\n ]\n },\n \"instructionId\": 703818685,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"QUERY_RECENT_INSTRUCTIONS\"\n },\n \"instructionSetId\": 881284,\n \"status\": 200\n }\n }\n },\n \"schema\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionPollingResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/InstructionResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/QueryRecentInstructionResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/DepositFundsPollingResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/QueryIRAContributionsResponse\"\n }\n ]\n }\n }\n },\n \"description\": \"Returns the status of an instruction.\"\n },\n \"404\": {\n \"description\": \"Returns a Problem detail instance representing a not found request.\"\n },\n \"500\": {\n \"description\": \"Unable to process request due to an Internal Error. Please try again later.\"\n }\n },\n \"summary\": \"Get Status For ClientInstructionId\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"instructions.read\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/echo/https\": {\n \"get\": {\n \"description\": \"<br>**Scope**: `echo.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_echo_https\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/EchoResponse\"\n }\n }\n },\n \"description\": \"Returns a JSON object containing the request parameters.\"\n },\n \"401\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Echo A Request With HTTPS Security Policy Back After Validation.\",\n \"tags\": [\n \"Utilities Echo\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"echo.read\"\n ],\n \"x-ib-gateway-provider-name\": \"self\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/echo/signed-jwt\": {\n \"post\": {\n \"description\": \"<br>**Scope**: `echo.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_echo_signed_jwt\",\n \"parameters\": [],\n \"requestBody\": {\n \"$ref\": \"#/components/requestBodies/SignedJwtEchoRequestBody\"\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/EchoResponse\"\n }\n }\n },\n \"description\": \"Returns a JSON object containing the request parameters.\"\n },\n \"401\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Echo A Request With Signed JWT Security Policy Back After Validation.\",\n \"tags\": [\n \"Utilities Echo\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"echo.write\"\n ],\n \"x-ib-gateway-provider-name\": \"self\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/enumerations/complex-asset-transfer\": {\n \"get\": {\n \"description\": \"Get list of brokers supported for given asset transfer type<br><br>**Scope**: `enumerations.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_enumerations_complex_asset_transfer\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Asset transfer type to get the list of supported brokers\",\n \"examples\": {\n \"Participating Brokers\": {\n \"value\": \"COMPLEX_ASSET_TRANSFER\"\n }\n },\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"instructionType\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Response\": {\n \"value\": {\n \"brokers\": [\n \"DONNER & REUSCHEL\",\n \"IBROKER GLOBAL MARKETS SOCIEDAD DE VALORES, S.A\",\n \"EQUATEX 4500\",\n \"IMAGI BROKERAGE LIMITED\",\n \"V-BANK\",\n \"ADMIRAL MARKETS UK LTD\",\n \"ALFA BANK\",\n \"YICKO SECURITIES LIMITED\",\n \"BLACKWELL GLOBAL SECURITIES LIMITED\",\n \"EQUINITI\",\n \"KAISA FINANCIAL GROUP COMPANY LIMITED\"\n ],\n \"instructionType\": \"COMPLEX_ASSET_TRANSFER\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/GetBrokerListResponse\"\n }\n }\n },\n \"description\": \"Returns list of brokers supported for given asset type\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a not found request.\"\n },\n \"500\": {\n \"description\": \"Unable to process request due to an Internal Error. Please try again later.\"\n }\n },\n \"summary\": \"Get A List Of Participating Brokers For The Given Asset Type\",\n \"tags\": [\n \"Account Management Utilities\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"enumerations.read\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/enumerations/{enumerationType}\": {\n \"get\": {\n \"description\": \"Used to query list of enumerations for attributes included within extPositionsTransfers, occupation, employerBusiness, financialInformation, affiliationDetails, tradingPermissions, etc.<br><br>**Scope**: `accounts.read` OR `enumerations.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_enumerations_enumerationtype\",\n \"parameters\": [\n {\n \"in\": \"query\",\n \"name\": \"type\",\n \"schema\": {\n \"$ref\": \"#/components/schemas/EnumerationType\"\n }\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"currency\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"ibEntity\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"mdStatusNonPro\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"form-number\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"language\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"en\",\n \"ar\",\n \"de\",\n \"es\",\n \"fr\",\n \"he\",\n \"hu\",\n \"it\",\n \"ja\",\n \"nl\",\n \"pt\",\n \"ru\",\n \"zh_CN\",\n \"zh_TW\"\n ],\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"accountId\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"userName\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"in\": \"path\",\n \"name\": \"enumerationType\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/EnumerationResponse\"\n }\n }\n },\n \"description\": \"Get enumerations\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Get Enumerations\",\n \"tags\": [\n \"Account Management Utilities\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.read\",\n \"enumerations.read\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/external-asset-transfers\": {\n \"post\": {\n \"description\": \"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/<br><br>**Scope**: `transfers.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_external_asset_transfers\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Complex Asset Transfer - using contractID (conid)\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U399192\",\n \"clientInstructionId\": 7013040,\n \"contraBrokerInfo\": {\n \"accountType\": \"ORG\",\n \"brokerAccountId\": \"as3456567678578N\",\n \"brokerName\": \"JP MORGAN\",\n \"contactEmail\": \"a@gmail.com\",\n \"contactName\": \"as\",\n \"contactPhone\": \"2039126155\",\n \"country\": \"United States\",\n \"depositoryId\": \"1234\"\n },\n \"direction\": \"IN\",\n \"quantity\": 10,\n \"tradingInstrument\": {\n \"conid\": 12123,\n \"currency\": \"USD\"\n }\n },\n \"instructionType\": \"COMPLEX_ASSET_TRANSFER\"\n }\n },\n \"Complex Asset Transfer - using tradingInstrument.detail\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U399192\",\n \"clientInstructionId\": 7013042,\n \"contraBrokerInfo\": {\n \"accountType\": \"ORG\",\n \"brokerAccountId\": \"as3456567678578N\",\n \"brokerName\": \"JP MORGAN\",\n \"contactEmail\": \"a@gmail.com\",\n \"contactName\": \"as\",\n \"contactPhone\": \"2039126155\",\n \"country\": \"United States\",\n \"depositoryId\": \"1234\"\n },\n \"direction\": \"IN\",\n \"quantity\": 10,\n \"tradingInstrument\": {\n \"currency\": \"USD\",\n \"tradingInstrumentDescription\": {\n \"assetType\": \"STK\",\n \"securityId\": \"459200101\",\n \"securityIdType\": \"ISIN\"\n }\n }\n },\n \"instructionType\": \"COMPLEX_ASSET_TRANSFER\"\n }\n },\n \"Complex Asset Transfer - where user is nonDisclosed type\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U399192\",\n \"clientInstructionId\": 7013041,\n \"contraBrokerInfo\": {\n \"accountType\": \"ORG\",\n \"brokerAccountId\": \"as3456567678578N\",\n \"brokerName\": \"JP MORGAN\",\n \"contactEmail\": \"a@gmail.com\",\n \"contactName\": \"as\",\n \"contactPhone\": \"2039126155\",\n \"country\": \"United States\",\n \"depositoryId\": \"1234\"\n },\n \"direction\": \"IN\",\n \"nonDisclosedDetail\": {\n \"buyerSellBic\": \"\",\n \"memberAccountId\": \"\",\n \"psetBic\": \"\",\n \"reagDeagBic\": \"\",\n \"safeKeepingAccountId\": \"\",\n \"settleDate\": \"2018-03-20T09:12:13Z\",\n \"tradeDate\": \"2018-03-20T09:12:13Z\"\n },\n \"quantity\": 10,\n \"tradingInstrument\": {\n \"currency\": \"USD\",\n \"tradingInstrumentDescription\": {\n \"assetType\": \"STK\",\n \"securityId\": \"459200101\",\n \"securityIdType\": \"ISIN\"\n }\n }\n },\n \"instructionType\": \"COMPLEX_ASSET_TRANSFER\"\n }\n },\n \"Complex Asset Transfer with internal broker details - accountIdAtCurrentBroker and accountTitle\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U399192\",\n \"accountIdAtCurrentBroker\": \"8E90075\",\n \"clientInstructionId\": 7013041,\n \"contraBrokerInfo\": {\n \"accountTitle\": \"test\",\n \"accountType\": \"ORG\",\n \"brokerAccountId\": \"as3456567678578N\",\n \"brokerName\": \"JP MORGAN\",\n \"contactEmail\": \"a@gmail.com\",\n \"contactName\": \"as\",\n \"contactPhone\": \"2039126155\",\n \"country\": \"United States\",\n \"depositoryId\": \"1234\"\n },\n \"direction\": \"IN\",\n \"nonDisclosedDetail\": {\n \"buyerSellBic\": \"\",\n \"memberAccountId\": \"\",\n \"psetBic\": \"\",\n \"reagDeagBic\": \"\",\n \"safeKeepingAccountId\": \"\",\n \"settleDate\": \"2018-03-20T09:12:13Z\",\n \"tradeDate\": \"2018-03-20T09:12:13Z\"\n },\n \"quantity\": 10,\n \"tradingInstrument\": {\n \"currency\": \"USD\",\n \"tradingInstrumentDescription\": {\n \"assetType\": \"STK\",\n \"securityId\": \"459200101\",\n \"securityIdType\": \"ISIN\"\n }\n }\n },\n \"instructionType\": \"COMPLEX_ASSET_TRANSFER\"\n }\n },\n \"DWAC - transfer using contractID (conid)\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U1001095\",\n \"accountTitle\": \"Special Company Holding LLC\",\n \"clientInstructionId\": 7013036,\n \"contraBrokerAccountId\": \"12345678A\",\n \"contraBrokerTaxId\": \"123456789\",\n \"direction\": \"IN\",\n \"quantity\": 1000,\n \"referenceId\": \"refId\",\n \"tradingInstrument\": {\n \"conid\": 12123,\n \"currency\": \"USD\"\n }\n },\n \"instructionType\": \"DWAC\"\n }\n },\n \"DWAC - transfer using tradingInstrument.detail\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U1001095\",\n \"accountTitle\": \"Special Company Holding LLC\",\n \"clientInstructionId\": 7013037,\n \"contraBrokerAccountId\": \"12345678A\",\n \"contraBrokerTaxId\": \"123456789\",\n \"direction\": \"IN\",\n \"quantity\": 1000,\n \"referenceId\": \"refId\",\n \"tradingInstrument\": {\n \"currency\": \"USD\",\n \"tradingInstrumentDescription\": {\n \"assetType\": \"STK\",\n \"securityId\": \"459200101\",\n \"securityIdType\": \"ISIN\"\n }\n }\n },\n \"instructionType\": \"DWAC\"\n }\n },\n \"External Position Transfer - ACATS\": {\n \"value\": {\n \"instruction\": {\n \"accountAtBroker\": \"SOL12345\",\n \"accountId\": \"U1225448\",\n \"brokerId\": \"0226\",\n \"brokerName\": \"Wall Street Financial Group\",\n \"clientInstructionId\": 7013060,\n \"signature\": \"sample signature\",\n \"sourceIRAType\": \"RO\",\n \"subType\": \"ACATS\",\n \"type\": \"FULL\"\n },\n \"instructionType\": \"EXTERNAL_POSITION_TRANSFER\"\n }\n },\n \"External Position Transfer - ATON\": {\n \"value\": {\n \"instruction\": {\n \"accountAtBroker\": \"SOL12345\",\n \"accountId\": \"U1225448\",\n \"brokerId\": \"3265\",\n \"brokerName\": \"Wall Street Financial Group\",\n \"clientInstructionId\": 7013060,\n \"signature\": \"Marko Barr\",\n \"subType\": \"ATON\",\n \"type\": \"FULL\"\n },\n \"instructionType\": \"EXTERNAL_POSITION_TRANSFER\"\n }\n },\n \"FOP - transfer using contractID (conid)\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U46377\",\n \"clientInstructionId\": 7013038,\n \"contraBrokerAccountId\": \"12345678A\",\n \"contraBrokerDtcCode\": \"534\",\n \"direction\": \"IN\",\n \"quantity\": 1000,\n \"tradingInstrument\": {\n \"conid\": 12123,\n \"currency\": \"USD\"\n }\n },\n \"instructionType\": \"FOP\"\n }\n },\n \"FOP - transfer using tradingInstrument.detail\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U46377\",\n \"clientInstructionId\": 7013039,\n \"contraBrokerAccountId\": \"12345678A\",\n \"contraBrokerDtcCode\": \"534\",\n \"direction\": \"IN\",\n \"quantity\": 1000,\n \"tradingInstrument\": {\n \"currency\": \"USD\",\n \"tradingInstrumentDescription\": {\n \"assetType\": \"STK\",\n \"securityId\": \"459200101\",\n \"securityIdType\": \"ISIN\"\n }\n }\n },\n \"instructionType\": \"FOP\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instruction\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/FopInstruction\"\n },\n {\n \"$ref\": \"#/components/schemas/DwacInstruction\"\n },\n {\n \"$ref\": \"#/components/schemas/ComplexAssetTransferInstruction\"\n },\n {\n \"$ref\": \"#/components/schemas/ExternalPositionTransfer\"\n }\n ]\n },\n \"instructionType\": {\n \"enum\": [\n \"DWAC\",\n \"FOP\",\n \"COMPLEX_ASSET_TRANSFER\",\n \"EXTERNAL_POSITION_TRANSFER\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"instruction\",\n \"instructionType\"\n ]\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"202\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Complex Asset Transfer\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 80188,\n \"instructionId\": 43093833,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"COMPLEX_ASSET_TRANSFER\"\n },\n \"instructionSetId\": 3549,\n \"status\": 202\n }\n },\n \"DWAC\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 1013031,\n \"instructionId\": 43091814,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"DWAC\"\n },\n \"instructionSetId\": 1703,\n \"status\": 202\n }\n },\n \"External Position Transfer\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 7008998,\n \"instructionId\": 43094000,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"EXTERNAL_POSITION_TRANSFER\"\n },\n \"instructionSetId\": 3700,\n \"status\": 202\n }\n },\n \"FOP\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 1013031,\n \"instructionId\": 43091814,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"FOP\"\n },\n \"instructionSetId\": 1703,\n \"status\": 202\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/AsynchronousInstructionResponse\"\n }\n }\n },\n \"description\": \"Accepts request to create a new instruction asynchronously\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"422\": {\n \"description\": \"Returns a Problem detail instance representing a business error.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Transfer Positions Externally (ACATS, ATON, FOP, DWAC, Complex Asset Transfer)\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"transfers.write\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/external-asset-transfers:bulk\": {\n \"post\": {\n \"description\": \"<br>**Scope**: `transfers.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_external_asset_transfers_bulk\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Complex Asset Transfer\": {\n \"value\": {\n \"instructionType\": \"COMPLEX_ASSET_TRANSFER\",\n \"instructions\": [\n {\n \"accountId\": \"U399192\",\n \"clientInstructionId\": 7013031,\n \"contraBrokerInfo\": {\n \"accountType\": \"ORG\",\n \"brokerAccountId\": \"as3456567678578N\",\n \"brokerName\": \"JP MORGAN\",\n \"contactEmail\": \"a@gmail.com\",\n \"contactName\": \"as\",\n \"contactPhone\": \"2039126155\",\n \"country\": \"United States\",\n \"depositoryId\": \"1234\"\n },\n \"direction\": \"IN\",\n \"nonDisclosedDetail\": {\n \"buyerSellBic\": \"320043\",\n \"memberAccountId\": \"12334\",\n \"psetBic\": \"DTCYUS33XXX\",\n \"reagDeagBic\": \"CH100164\",\n \"safeKeepingAccountId\": \"123456\",\n \"settleDate\": \"2018-03-20T09:12:13Z\",\n \"tradeDate\": \"2018-03-20T09:12:13Z\"\n },\n \"quantity\": 10,\n \"tradingInstrument\": {\n \"currency\": \"USD\",\n \"tradingInstrumentDescription\": {\n \"assetType\": \"STK\",\n \"securityId\": \"459200101\",\n \"securityIdType\": \"ISIN\"\n }\n }\n },\n {\n \"accountId\": \"U399192\",\n \"clientInstructionId\": 7013032,\n \"contraBrokerInfo\": {\n \"accountType\": \"ORG\",\n \"brokerAccountId\": \"as3456567678578N\",\n \"brokerName\": \"JP MORGAN\",\n \"contactEmail\": \"a@gmail.com\",\n \"contactName\": \"as\",\n \"contactPhone\": \"2039126155\",\n \"country\": \"United States\",\n \"depositoryId\": \"1234\"\n },\n \"direction\": \"IN\",\n \"quantity\": 10,\n \"tradingInstrument\": {\n \"currency\": \"USD\",\n \"tradingInstrumentDescription\": {\n \"assetType\": \"STK\",\n \"securityId\": \"459200101\",\n \"securityIdType\": \"ISIN\"\n }\n }\n },\n {\n \"accountId\": \"U399192\",\n \"clientInstructionId\": 7013033,\n \"contraBrokerInfo\": {\n \"accountType\": \"ORG\",\n \"brokerAccountId\": \"as3456567678578N\",\n \"brokerName\": \"JP MORGAN\",\n \"contactEmail\": \"a@gmail.com\",\n \"contactName\": \"as\",\n \"contactPhone\": \"2039126155\",\n \"country\": \"United States\",\n \"depositoryId\": \"1234\"\n },\n \"direction\": \"IN\",\n \"quantity\": 10,\n \"tradingInstrument\": {\n \"conid\": 12123,\n \"currency\": \"USD\"\n }\n }\n ]\n }\n },\n \"DWAC\": {\n \"value\": {\n \"instructionType\": \"DWAC\",\n \"instructions\": [\n {\n \"accountId\": \"U1001095\",\n \"accountTitle\": \"Special Company Holding LLC\",\n \"clientInstructionId\": 7013029,\n \"contraBrokerAccountId\": \"12345678A\",\n \"contraBrokerTaxId\": \"123456789\",\n \"direction\": \"IN\",\n \"quantity\": 1000,\n \"referenceId\": \"refId\",\n \"tradingInstrument\": {\n \"currency\": \"USD\",\n \"tradingInstrumentDescription\": {\n \"assetType\": \"STK\",\n \"securityId\": \"459200101\",\n \"securityIdType\": \"ISIN\"\n }\n }\n },\n {\n \"accountId\": \"U1001095\",\n \"accountTitle\": \"Special Company Holding LLC\",\n \"clientInstructionId\": 7013030,\n \"contraBrokerAccountId\": \"12345678A\",\n \"contraBrokerTaxId\": \"123456789\",\n \"direction\": \"IN\",\n \"quantity\": 1000,\n \"referenceId\": \"refId\",\n \"tradingInstrument\": {\n \"conid\": 12123,\n \"currency\": \"USD\"\n }\n }\n ]\n }\n },\n \"External Position Transfer\": {\n \"value\": {\n \"instructionType\": \"EXTERNAL_POSITION_TRANSFER\",\n \"instructions\": [\n {\n \"accountAtBroker\": \"SOL12345\",\n \"accountId\": \"U1225448\",\n \"brokerId\": \"0226\",\n \"brokerName\": \"Wall Street Financial Group\",\n \"clientInstructionId\": 7011122,\n \"signature\": \"sample signature\",\n \"subType\": \"ACATS\",\n \"type\": \"FULL\"\n },\n {\n \"accountAtBroker\": \"SOL12345\",\n \"accountId\": \"U1225448\",\n \"brokerId\": \"0226\",\n \"brokerName\": \"Wall Street Financial Group\",\n \"clientInstructionId\": 7011123,\n \"signature\": \"sample signature\",\n \"sourceIRAType\": \"RO\",\n \"subType\": \"ACATS\",\n \"type\": \"FULL\"\n },\n {\n \"accountAtBroker\": \"SOL12345\",\n \"accountId\": \"U1225448\",\n \"brokerId\": \"0226\",\n \"brokerName\": \"Wall Street Financial Group\",\n \"clientInstructionId\": 7011124,\n \"signature\": \"sample signature\",\n \"sourceIRAType\": \"RO\",\n \"subType\": \"ACATS\",\n \"type\": \"FULL\"\n }\n ]\n }\n },\n \"FOP\": {\n \"value\": {\n \"instructionType\": \"FOP\",\n \"instructions\": [\n {\n \"accountId\": \"U46377\",\n \"clientInstructionId\": 7013027,\n \"contraBrokerAccountId\": \"12345678A\",\n \"contraBrokerDtcCode\": \"534\",\n \"direction\": \"IN\",\n \"quantity\": 1000,\n \"tradingInstrument\": {\n \"currency\": \"USD\",\n \"tradingInstrumentDescription\": {\n \"assetType\": \"STK\",\n \"securityId\": \"459200101\",\n \"securityIdType\": \"ISIN\"\n }\n }\n },\n {\n \"accountId\": \"U46377\",\n \"clientInstructionId\": 7013028,\n \"contraBrokerAccountId\": \"12345678A\",\n \"contraBrokerDtcCode\": \"534\",\n \"direction\": \"IN\",\n \"quantity\": 1000,\n \"tradingInstrument\": {\n \"conid\": 12123,\n \"currency\": \"USD\"\n }\n }\n ]\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instructionType\": {\n \"enum\": [\n \"DWAC\",\n \"FOP\",\n \"COMPLEX_ASSET_TRANSFER\",\n \"EXTERNAL_POSITION_TRANSFER\"\n ],\n \"type\": \"string\"\n },\n \"instructions\": {\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"instructionType\",\n \"instructions\"\n ]\n }\n }\n },\n \"description\": \"Create Bulk External Asset transfers (Fop, DWAC and Complex Asset Transfer) request body\",\n \"required\": true\n },\n \"responses\": {\n \"202\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Complex Asset Transfer\": {\n \"value\": {\n \"instructionResults\": [\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011138,\n \"instructionId\": 43096791,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"COMPLEX_ASSET_TRANSFER\"\n },\n \"instructionSetId\": 4502,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011139,\n \"instructionId\": 43096792,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"COMPLEX_ASSET_TRANSFER\"\n },\n \"instructionSetId\": 4502,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011140,\n \"instructionId\": 43096793,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"COMPLEX_ASSET_TRANSFER\"\n },\n \"instructionSetId\": 4502,\n \"status\": 202\n }\n ],\n \"instructionSetId\": 4502,\n \"status\": 202\n }\n },\n \"DWAC\": {\n \"value\": {\n \"instructionResults\": [\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011115,\n \"instructionId\": 43096780,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"DWAC\"\n },\n \"instructionSetId\": 4498,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011116,\n \"instructionId\": 43096781,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"DWAC\"\n },\n \"instructionSetId\": 4498,\n \"status\": 202\n }\n ],\n \"instructionSetId\": 4498,\n \"status\": 202\n }\n },\n \"External Position Transfer\": {\n \"value\": {\n \"instructionResults\": [\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011122,\n \"instructionId\": 43096785,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"EXTERNAL_POSITION_TRANSFER\"\n },\n \"instructionSetId\": 4500,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011123,\n \"instructionId\": 43096786,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"EXTERNAL_POSITION_TRANSFER\"\n },\n \"instructionSetId\": 4500,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7011124,\n \"instructionId\": 43096787,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"EXTERNAL_POSITION_TRANSFER\"\n },\n \"instructionSetId\": 4500,\n \"status\": 202\n }\n ],\n \"instructionSetId\": 4500,\n \"status\": 202\n }\n },\n \"FOP\": {\n \"value\": {\n \"instructionResults\": [\n {\n \"instructionResult\": {\n \"clientInstructionId\": 12003434,\n \"instructionId\": 11132295,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"FOP\"\n },\n \"instructionSetId\": 1526,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 12003435,\n \"instructionId\": 11132296,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"FOP\"\n },\n \"instructionSetId\": 1526,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 12003436,\n \"instructionId\": 11132297,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"FOP\"\n },\n \"instructionSetId\": 1526,\n \"status\": 202\n }\n ],\n \"instructionSetId\": 1526,\n \"status\": 202\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/AsynchronousInstructionSetResponse\"\n }\n }\n },\n \"description\": \"Accepts all instructions in Bulk request to create them asynchronously\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request. Returned even if only one instruction in the bulk upload has syntactical errors.\"\n },\n \"500\": {\n \"description\": \"Unable to process request due to an Internal Error. Please try again later.\"\n }\n },\n \"summary\": \"Creates Multiple External Asset Transfers (Fop, DWAC And Complex Asset Transfer)\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"transfers.write\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/external-cash-transfers\": {\n \"post\": {\n \"description\": \"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<br><br>**Scope**: `transfers.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_external_cash_transfers\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Deposit Funds\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U46377\",\n \"amount\": 100,\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Instruction\",\n \"clientInstructionId\": 7013045,\n \"currency\": \"USD\",\n \"fromAccountNumber\": \"U46377\",\n \"identifier\": \"indentifier\",\n \"senderInstitutionName\": \"Senders Institution name\",\n \"sendingInstitution\": \"Sending Institution name\",\n \"specialInstruction\": \"U46377\"\n },\n \"instructionType\": \"DEPOSIT\"\n }\n },\n \"Deposit Funds - IRA\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U399192\",\n \"amount\": 1,\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Instruction\",\n \"clientInstructionId\": 7013046,\n \"currency\": \"USD\",\n \"fromAccountNumber\": \"U399192\",\n \"identifier\": \"indentifier\",\n \"iraDepositDetail\": {\n \"fromIraType\": \"TRADITIONAL\",\n \"iraContributionType\": \"ROLLOVER\",\n \"iraTaxYearType\": \"CURRENT\"\n },\n \"senderInstitutionName\": \"Senders Institution name\",\n \"sendingInstitution\": \"Sending Institution name\",\n \"specialInstruction\": \"U399192\"\n },\n \"instructionType\": \"DEPOSIT\"\n }\n },\n \"Deposit Funds - Recurring\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U46377\",\n \"amount\": 100,\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Instruction\",\n \"clientInstructionId\": 7013047,\n \"currency\": \"USD\",\n \"identifier\": \"indentifier\",\n \"recurringInstructionDetail\": {\n \"frequency\": \"MONTHLY\",\n \"instructionName\": \"Arkansas-Test-Instr\",\n \"startDate\": \"2023-10-16\"\n },\n \"senderInstitutionName\": \"Senders Institution name\",\n \"sendingInstitution\": \"Sending Institution name\",\n \"specialInstruction\": \"U46377\"\n },\n \"instructionType\": \"DEPOSIT\"\n }\n },\n \"Withdraw Funds\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U46377\",\n \"amount\": 123.45,\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Test Withdrawal\",\n \"clientInstructionId\": 7013048,\n \"currency\": \"GBP\",\n \"dateTimeToOccur\": \"2023-11-20T09:12:13Z\"\n },\n \"instructionType\": \"WITHDRAWAL\"\n }\n },\n \"Withdraw Funds - IRA\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U399192\",\n \"amount\": 123.45,\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Test Withdrawal\",\n \"clientInstructionId\": 7013049,\n \"currency\": \"GBP\",\n \"dateTimeToOccur\": \"2023-11-20T09:12:13Z\",\n \"iraWithdrawalDetail\": {\n \"fedIncomeTaxPercentage\": 10,\n \"iraWithholdType\": \"NORMAL\",\n \"stateCd\": \"TE\",\n \"stateIncomeTaxPercentage\": 12\n }\n },\n \"instructionType\": \"WITHDRAWAL\"\n }\n },\n \"Withdraw Funds - Recurring\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U46377\",\n \"amount\": 123.45,\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Test Withdrawal\",\n \"clientInstructionId\": 7013050,\n \"currency\": \"GBP\",\n \"dateTimeToOccur\": \"2023-11-20T09:12:13Z\",\n \"iraWithdrawalDetail\": {\n \"fedIncomeTaxPercentage\": 10,\n \"iraWithholdType\": \"NORMAL\",\n \"stateCd\": \"TE\",\n \"stateIncomeTaxPercentage\": 12\n },\n \"recurringInstructionDetail\": {\n \"frequency\": \"MONTHLY\",\n \"instructionName\": \"Arkansas-Test-Instr\",\n \"startDate\": \"2023-10-16\"\n }\n },\n \"instructionType\": \"WITHDRAWAL\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instruction\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/DepositFundsInstruction\"\n },\n {\n \"$ref\": \"#/components/schemas/WithdrawFundsInstruction\"\n }\n ]\n },\n \"instructionType\": {\n \"enum\": [\n \"DEPOSIT\",\n \"WITHDRAWAL\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"instruction\",\n \"instructionType\"\n ]\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"202\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Deposit Funds\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 7008143,\n \"instructionId\": 43092468,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"DEPOSIT\"\n },\n \"instructionSetId\": 2480,\n \"status\": 202\n }\n },\n \"Withdraw Funds\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 12000862,\n \"ibReferenceId\": 132123,\n \"instructionId\": 43092641,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"WITHDRAWAL\"\n },\n \"instructionSetId\": 2719,\n \"status\": 202\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/AsynchronousInstructionResponse\"\n }\n }\n },\n \"description\": \"Accepts request to create a new instruction asynchronously\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"422\": {\n \"description\": \"Returns a Problem detail instance representing a business error.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Transfer Cash Externally\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"transfers.write\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/external-cash-transfers/query\": {\n \"post\": {\n \"description\": \"View available cash for withdrawal with and without margin loan by accountId<br><br>**Scope**: `transfers.read`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_external_cash_transfers_query\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Query IRA Contributions\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U68903\",\n \"clientInstructionId\": 7009007,\n \"year\": \"2003\"\n },\n \"instructionType\": \"QUERY_IRA_CONTRIBUTIONS\"\n }\n },\n \"Query Withdrawable Funds\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U87440\",\n \"clientInstructionId\": 7009005,\n \"currency\": \"USD\"\n },\n \"instructionType\": \"QUERY_WITHDRAWABLE_FUNDS\"\n }\n },\n \"Query Withdrawable Funds Without Origination Hold\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U139838\",\n \"bankAccountNumber\": \"9876543210\",\n \"bankRoutingNumber\": \"122199983\",\n \"clientInstructionId\": 7009006,\n \"currency\": \"USD\"\n },\n \"instructionType\": \"QUERY_WITHDRAWABLE_FUNDS\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instruction\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/QueryWithdrawableFunds\"\n },\n {\n \"$ref\": \"#/components/schemas/QueryIRAContributions\"\n }\n ]\n },\n \"instructionType\": {\n \"enum\": [\n \"QUERY_WITHDRAWABLE_FUNDS\",\n \"QUERY_IRA_CONTRIBUTIONS\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"instruction\",\n \"instructionType\"\n ]\n }\n }\n },\n \"description\": \"Create an external cash transfer query request body\",\n \"required\": true\n },\n \"responses\": {\n \"201\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Query Withdrawable Funds\": {\n \"value\": {\n \"instructionResult\": {\n \"accountId\": \"U46377\",\n \"allowedTransferAmountToMaster\": 0,\n \"allowedTransferAmountToMasterNoBorrow\": 0,\n \"clientInstructionId\": 7013230,\n \"currency\": \"EUR\",\n \"ibReferenceId\": 0,\n \"instructionId\": 43133309,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"QUERY_WITHDRAWABLE_FUNDS\",\n \"withdrawableAmount\": 0,\n \"withdrawableAmountNoBorrow\": 0\n },\n \"instructionSetId\": 17791,\n \"status\": 201\n }\n },\n \"Query Withdrawable Funds Without Origination Hold\": {\n \"value\": {\n \"instructionResult\": {\n \"accountId\": \"U46377\",\n \"clientInstructionId\": 7013230,\n \"currency\": \"EUR\",\n \"ibReferenceId\": 0,\n \"instructionId\": 43133309,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"QUERY_WITHDRAWABLE_FUNDS\",\n \"withdrawableAmountWithoutOriginationHold\": 0,\n \"withdrawableAmountWithoutOriginationHoldNoBorrow\": 0\n },\n \"instructionSetId\": 17791,\n \"status\": 201\n }\n }\n },\n \"schema\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/QueryWithdrawableAmountsResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/QueryWithdrawableAmountsWithoutOriginHoldResponse\"\n }\n ]\n }\n }\n },\n \"description\": \"Instruction successfully created and processed synchronously\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"422\": {\n \"description\": \"Returns a Problem detail instance representing a business error.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"View Cash Balances\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"transfers.read\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/external-cash-transfers:bulk\": {\n \"post\": {\n \"description\": \"<br>**Scope**: `transfers.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_external_cash_transfers_bulk\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Deposit Funds\": {\n \"value\": {\n \"instructionType\": \"DEPOSIT\",\n \"instructions\": [\n {\n \"accountId\": \"U46377\",\n \"amount\": 100,\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Instruction\",\n \"clientInstructionId\": 7013002,\n \"currency\": \"USD\",\n \"fromAccountNumber\": \"U46377\",\n \"identifier\": \"indentifier\",\n \"senderInstitutionName\": \"Senders Institution name\",\n \"sendingInstitution\": \"Sending Institution name\",\n \"specialInstruction\": \"U46377\"\n },\n {\n \"accountId\": \"U399192\",\n \"amount\": 1,\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Instruction\",\n \"clientInstructionId\": 7013003,\n \"currency\": \"USD\",\n \"fromAccountNumber\": \"U399192\",\n \"identifier\": \"indentifier\",\n \"iraDepositDetail\": {\n \"fromIraType\": \"TRADITIONAL\",\n \"iraContributionType\": \"ROLLOVER\",\n \"iraTaxYearType\": \"CURRENT\"\n },\n \"senderInstitutionName\": \"Senders Institution name\",\n \"sendingInstitution\": \"Sending Institution name\",\n \"specialInstruction\": \"U399192\"\n },\n {\n \"accountId\": \"U46377\",\n \"amount\": 100,\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Instruction\",\n \"clientInstructionId\": 7013004,\n \"currency\": \"USD\",\n \"identifier\": \"indentifier\",\n \"isIRA\": \"false\",\n \"recurringInstructionDetail\": {\n \"frequency\": \"MONTHLY\",\n \"instructionName\": \"Arkansas-Test-Instr\",\n \"startDate\": \"2023-10-16\"\n },\n \"senderInstitutionName\": \"Senders Institution name\",\n \"sendingInstitution\": \"Sending Institution name\",\n \"specialInstruction\": \"U46377\"\n }\n ]\n }\n },\n \"Withdraw Funds\": {\n \"value\": {\n \"instructionType\": \"WITHDRAWAL\",\n \"instructions\": [\n {\n \"accountId\": \"U46377\",\n \"amount\": 123.45,\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Test Withdrawal\",\n \"clientInstructionId\": 7012999,\n \"currency\": \"GBP\",\n \"dateTimeToOccur\": \"2023-11-20T09:12:13Z\"\n },\n {\n \"accountId\": \"U46377\",\n \"amount\": 123.45,\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Test Withdrawal\",\n \"clientInstructionId\": 7013000,\n \"currency\": \"GBP\",\n \"dateTimeToOccur\": \"2023-11-20T09:12:13Z\",\n \"iraWithdrawalDetail\": {\n \"fedIncomeTaxPercentage\": 10,\n \"iraWithholdType\": \"NORMAL\",\n \"stateCd\": \"TE\",\n \"stateIncomeTaxPercentage\": 12\n }\n },\n {\n \"accountId\": \"U46377\",\n \"amount\": 123.45,\n \"bankInstructionMethod\": \"WIRE\",\n \"bankInstructionName\": \"Test Withdrawal\",\n \"clientInstructionId\": 7013001,\n \"currency\": \"GBP\",\n \"dateTimeToOccur\": \"2023-11-20T09:12:13Z\",\n \"iraWithdrawalDetail\": {\n \"fedIncomeTaxPercentage\": 10,\n \"iraWithholdType\": \"NORMAL\",\n \"stateCd\": \"TE\",\n \"stateIncomeTaxPercentage\": 12\n },\n \"recurringInstructionDetail\": {\n \"frequency\": \"MONTHLY\",\n \"instructionName\": \"Arkansas-Test-Instr\",\n \"startDate\": \"2023-10-16\"\n }\n }\n ]\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instructionType\": {\n \"enum\": [\n \"DEPOSIT\",\n \"WITHDRAWAL\"\n ],\n \"type\": \"string\"\n },\n \"instructions\": {\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"instructionType\",\n \"instructions\"\n ]\n }\n }\n },\n \"description\": \"Create Bulk External Cash transfers (Deposit and Withdraw fund) request body\",\n \"required\": true\n },\n \"responses\": {\n \"202\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Deposit Funds\": {\n \"value\": {\n \"instructionResults\": [\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7013002,\n \"instructionId\": 43100913,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"DEPOSIT\"\n },\n \"instructionSetId\": 9095,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7013003,\n \"instructionId\": 43100914,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"DEPOSIT\"\n },\n \"instructionSetId\": 9095,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7013004,\n \"instructionId\": 43100915,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"DEPOSIT\"\n },\n \"instructionSetId\": 9095,\n \"status\": 202\n }\n ],\n \"instructionSetId\": 9095,\n \"status\": 202\n }\n },\n \"Withdraw Funds\": {\n \"value\": {\n \"instructionResults\": [\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7012999,\n \"instructionId\": 43100910,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"WITHDRAWAL\"\n },\n \"instructionSetId\": 9094,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7013000,\n \"instructionId\": 43100911,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"WITHDRAWAL\"\n },\n \"instructionSetId\": 9094,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7013001,\n \"instructionId\": 43100912,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"WITHDRAWAL\"\n },\n \"instructionSetId\": 9094,\n \"status\": 202\n }\n ],\n \"instructionSetId\": 9094,\n \"status\": 202\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/AsynchronousInstructionSetResponse\"\n }\n }\n },\n \"description\": \"Accepts all instructions in Bulk request to create them asynchronously\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request. Returned even if only one instruction in the bulk upload has syntactical errors.\"\n },\n \"500\": {\n \"description\": \"Unable to process request due to an Internal Error. Please try again later.\"\n }\n },\n \"summary\": \"Creates Multiple External Cash Transfers (Deposit And Withdraw Fund)\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"transfers.write\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/forms\": {\n \"get\": {\n \"description\": \"Get forms<br><br>**Scope**: `accounts.read` OR `forms.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_forms\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"formNo\",\n \"required\": false,\n \"schema\": {\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"getDocs\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"fromDate\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"toDate\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"language\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"projection\",\n \"required\": false,\n \"schema\": {\n \"default\": \"NONE\",\n \"enum\": [\n \"PAYLOAD\",\n \"DOCS\",\n \"NONE\"\n ],\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/FormFileResponse\"\n }\n }\n },\n \"description\": \"Get forms\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Get Forms\",\n \"tags\": [\n \"Account Management Utilities\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.read\",\n \"forms.read\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/forms/required-forms\": {\n \"get\": {\n \"description\": \"Get required forms<br><br>**Scope**: `accounts.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_forms_required_forms\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"requiredFormsRequest\",\n \"required\": true,\n \"schema\": {\n \"$ref\": \"#/components/schemas/RequiredFormsRequest\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/RequiredFormsResponse\"\n }\n }\n },\n \"description\": \"Get required forms\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Get Required Forms\",\n \"tags\": [\n \"Account Management Utilities\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.read\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/instruction-sets/{instructionSetId}\": {\n \"get\": {\n \"description\": \"Retrieve status of all requests associated with instructionSetId.<br><br>**Scope**: `instructions.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_instruction_sets_instructionsetid\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n },\n {\n \"$ref\": \"#/components/parameters/instructionSetIdPathParam\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Response\": {\n \"value\": {\n \"instructionResults\": [\n {\n \"instructionResult\": {\n \"clientInstructionId\": 1012983,\n \"instructionId\": 45123654,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"INTERNAL_CASH_TRANSFER\"\n },\n \"instructionSetId\": 9094,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 1012983,\n \"error\": {\n \"errorCode\": \"string\",\n \"errorMessage\": \"string\"\n },\n \"instructionId\": 45123654,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"INTERNAL_CASH_TRANSFER\"\n },\n \"instructionSetId\": 9094,\n \"status\": 422,\n \"title\": \"Business Error\",\n \"type\": \"/simple\"\n },\n {\n \"detail\": \"Input is not a JSON Object or doesn\'t contain all expected fields\",\n \"invalidArguments\": [\n {\n \"description\": \"Missing required parameter\",\n \"field\": \"instructionId\"\n }\n ],\n \"status\": 400,\n \"title\": \"Bad Request\",\n \"type\": \"/invalid-argument\"\n }\n ],\n \"instructionSetId\": 9094,\n \"status\": 200\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/BulkMultiStatusResponse\"\n }\n }\n },\n \"description\": \"Returns the status multiple instructions.\"\n },\n \"404\": {\n \"description\": \"Returns a Problem detail instance representing a not found request.\"\n },\n \"500\": {\n \"description\": \"Unable to process request due to an Internal Error. Please try again later.\"\n }\n },\n \"summary\": \"Get Status For InstructionSetId\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"instructions.read\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/instructions/cancel\": {\n \"post\": {\n \"description\": \"Cancel request by instructionId.<br><br>**Scope**: `instructions.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_instructions_cancel\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Cancel Instruction\": {\n \"value\": {\n \"instruction\": {\n \"clientInstructionId\": 12001810,\n \"instructionId\": 43085477,\n \"reason\": \"Testing\"\n },\n \"instructionType\": \"CANCEL_INSTRUCTION\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instruction\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/CancelInstruction\"\n }\n ]\n },\n \"instructionType\": {\n \"enum\": [\n \"CANCEL_INSTRUCTION\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"instruction\",\n \"instructionType\"\n ]\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"201\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Response\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 12001810,\n \"instructionId\": 43094179,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"CANCEL_INSTRUCTION\"\n },\n \"instructionSetId\": 3763,\n \"status\": 201\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/SynchronousInstructionResponse\"\n }\n }\n },\n \"description\": \"Instruction successfully created and processed synchronously\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"422\": {\n \"description\": \"Returns a Problem detail instance representing a business error.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Cancel Request\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"instructions.write\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/instructions/cancel:bulk\": {\n \"post\": {\n \"description\": \"<br>**Scope**: `instructions.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_instructions_cancel_bulk\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Cancel Instruction Bulk\": {\n \"value\": {\n \"instructionType\": \"CANCEL_INSTRUCTION\",\n \"instructions\": [\n {\n \"clientInstructionId\": 12001861,\n \"instructionId\": 43085493,\n \"reason\": \"Testing\"\n },\n {\n \"clientInstructionId\": 12001861,\n \"instructionId\": 43085493,\n \"reason\": \"Testing\"\n },\n {\n \"clientInstructionId\": 12001861,\n \"instructionId\": 43085493,\n \"reason\": \"Testing\"\n }\n ]\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instructionType\": {\n \"enum\": [\n \"CANCEL_INSTRUCTION\"\n ],\n \"type\": \"string\"\n },\n \"instructions\": {\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"instructionType\",\n \"instructions\"\n ]\n }\n }\n },\n \"description\": \"Create Bulk Cancel Instructions request body\",\n \"required\": true\n },\n \"responses\": {\n \"202\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Response\": {\n \"value\": {\n \"instructionResults\": [\n {\n \"instructionResult\": {\n \"clientInstructionId\": 12001861,\n \"instructionId\": 43094281,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"CANCEL_INSTRUCTION\"\n },\n \"instructionSetId\": 3855,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 12001862,\n \"instructionId\": 43094282,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"CANCEL_INSTRUCTION\"\n },\n \"instructionSetId\": 3855,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 12001863,\n \"instructionId\": 43094283,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"CANCEL_INSTRUCTION\"\n },\n \"instructionSetId\": 3855,\n \"status\": 202\n }\n ],\n \"instructionSetId\": 3855,\n \"status\": 202\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/AsynchronousInstructionSetResponse\"\n }\n }\n },\n \"description\": \"Accepts all instructions in Bulk request to create them asynchronously\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request. Returned even if only one instruction in the bulk upload has syntactical errors.\"\n },\n \"500\": {\n \"description\": \"Unable to process request due to an Internal Error. Please try again later.\"\n }\n },\n \"summary\": \"Creates Multiple Cancel Instructions\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"instructions.write\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/instructions/query\": {\n \"post\": {\n \"description\": \"Query list of recent transactions (up to 30 days) based on accountId.<br><br>**Scope**: `instructions.read`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_instructions_query\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Query Recent Instructions\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U139838\",\n \"clientInstructionId\": 7009001,\n \"transactionHistory\": {\n \"daysToGoBack\": 3,\n \"transactionType\": \"ACH_INSTRUCTION\"\n }\n },\n \"instructionType\": \"QUERY_RECENT_INSTRUCTIONS\"\n }\n },\n \"Query Recent Instructions - Transaction Type not specified\": {\n \"value\": {\n \"instruction\": {\n \"accountId\": \"U139838\",\n \"clientInstructionId\": 7009001,\n \"transactionHistory\": {\n \"daysToGoBack\": 3\n }\n },\n \"instructionType\": \"QUERY_RECENT_INSTRUCTIONS\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instruction\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/QueryRecentInstructions\"\n }\n ]\n },\n \"instructionType\": {\n \"enum\": [\n \"QUERY_RECENT_INSTRUCTIONS\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"instruction\",\n \"instructionType\"\n ]\n }\n }\n },\n \"description\": \"Create recent instructions request body\",\n \"required\": true\n },\n \"responses\": {\n \"202\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Query Recent Instructions\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 7009001,\n \"code\": \"PENDING\",\n \"description\": \"Query is being processed. Please poll for status 1 minutes later using FB status endpoint. No new queries will be allowed before this one is processed\",\n \"ibReferenceId\": 0,\n \"instructionId\": 43094002,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"QUERY_RECENT_INSTRUCTIONS\"\n },\n \"instructionSetId\": 3702,\n \"status\": 202\n }\n },\n \"Query Recent Instructions - Transaction Type not specified\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 7009001,\n \"code\": \"PENDING\",\n \"description\": \"Query is being processed. Please poll for status 1 minutes later using FB status endpoint. No new queries will be allowed before this one is processed\",\n \"ibReferenceId\": 0,\n \"instructionId\": 43094002,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"QUERY_RECENT_INSTRUCTIONS\"\n },\n \"instructionSetId\": 3702,\n \"status\": 202\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/AsynchronousInstructionResponse\"\n }\n }\n },\n \"description\": \"Accepts request to create a new instruction asynchronously\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"422\": {\n \"description\": \"Returns a Problem detail instance representing a business error.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Get Transaction History\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"instructions.read\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/instructions/{instructionId}\": {\n \"get\": {\n \"description\": \"Retrieve status of request by instructionId<br><br>**Scope**: `instructions.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_instructions_instructionid\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n },\n {\n \"$ref\": \"#/components/parameters/instructionIdPathParam\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Polling Status - Deposit Instruction\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 1091115677,\n \"ibReferenceId\": 166903389,\n \"instructionId\": 11177823,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"DEPOSIT\"\n },\n \"instructionSetId\": 3673,\n \"status\": 200\n }\n },\n \"Polling Status - Query IRA Contributions\": {\n \"value\": {\n \"instructionResult\": {\n \"accountId\": \"U68903\",\n \"clientInstructionId\": 7013308,\n \"contributions\": [\n {\n \"allowedContributionLimit\": 500,\n \"maximumContributionLimit\": 4000,\n \"yearToDateContribution\": 3500\n }\n ],\n \"ibReferenceId\": 0,\n \"instructionId\": 43134476,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"QUERY_IRA_CONTRIBUTIONS\",\n \"iraType\": \"ROTH NEW\",\n \"year\": \"2003\"\n },\n \"instructionSetId\": 18642,\n \"status\": 200\n }\n },\n \"Polling Status - Query IRA Contributions (SEP Accounts)\": {\n \"value\": {\n \"instructionResult\": {\n \"accountId\": \"U1032333\",\n \"clientInstructionId\": 7013306,\n \"contributions\": [\n {\n \"maximumContributionLimit\": 7000,\n \"type\": \"EMPLOYEE\",\n \"yearToDateContribution\": 0\n },\n {\n \"maximumContributionLimit\": 58000,\n \"type\": \"EMPLOYER\",\n \"yearToDateContribution\": 0\n }\n ],\n \"ibReferenceId\": 0,\n \"instructionId\": 43134474,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"QUERY_IRA_CONTRIBUTIONS\",\n \"iraType\": \"SEP\",\n \"year\": \"2022\"\n },\n \"instructionSetId\": 18640,\n \"status\": 200\n }\n },\n \"Polling Status Pending\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 7008156,\n \"instructionId\": 43092595,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"INTERNAL_CASH_TRANSFER\"\n },\n \"instructionSetId\": 2650,\n \"status\": 200\n }\n },\n \"Polling Status Processed\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 7008157,\n \"instructionId\": 43092596,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"INTERNAL_CASH_TRANSFER\"\n },\n \"instructionSetId\": 2651,\n \"status\": 200\n }\n },\n \"Polling Status Query Recent Instruction\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 13050607,\n \"ibReferenceId\": 0,\n \"instructionHistory\": {\n \"historyMaxDepthNumberOfDays\": 30,\n \"historyMaxDepthNumberOfInstruction\": 100000,\n \"result\": [\n {\n \"clientInstructionId\": 13050537,\n \"ibInstructionId\": 703818364,\n \"instructionSetId\": 880975,\n \"instructionType\": \"COMPLEX_ASSET_TRANSFER\",\n \"requestDate\": \"2025-11-04T02:24:34-05\",\n \"status\": \"PENDING\"\n },\n {\n \"clientInstructionId\": 13050538,\n \"ibInstructionId\": 703818365,\n \"instructionSetId\": 880975,\n \"instructionType\": \"COMPLEX_ASSET_TRANSFER\",\n \"requestDate\": \"2025-11-04T02:24:34-05\",\n \"status\": \"PENDING\"\n },\n {\n \"clientInstructionId\": 13050345,\n \"ibInstructionId\": 703817905,\n \"instructionSetId\": 880743,\n \"instructionType\": \"COMPLEX_ASSET_TRANSFER\",\n \"requestDate\": \"2025-11-03T05:49:59-05\",\n \"status\": \"PENDING\"\n }\n ]\n },\n \"instructionId\": 703818683,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"QUERY_RECENT_INSTRUCTIONS\"\n },\n \"instructionSetId\": 881283,\n \"status\": 200\n }\n }\n },\n \"schema\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/components/schemas/InstructionPollingResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/InstructionResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/QueryRecentInstructionResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/DepositFundsPollingResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/QueryIRAContributionsResponse\"\n }\n ]\n }\n }\n },\n \"description\": \"Returns the status of an instruction.\"\n },\n \"404\": {\n \"description\": \"Returns a Problem detail instance representing a not found request.\"\n },\n \"500\": {\n \"description\": \"Unable to process request due to an Internal Error. Please try again later.\"\n }\n },\n \"summary\": \"Get Status For InstructionId\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"instructions.read\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/internal-asset-transfers\": {\n \"post\": {\n \"description\": \"Transfer positions internally between two accounts with Interactive Brokers<br><br>**Scope**: `transfers.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_internal_asset_transfers\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Internal Position Transfer - using Trading Instrument\": {\n \"value\": {\n \"instruction\": {\n \"clientInstructionId\": 7013044,\n \"sourceAccountId\": \"U399192\",\n \"targetAccountId\": \"U87440\",\n \"tradingInstrument\": {\n \"currency\": \"USD\",\n \"tradingInstrumentDescription\": {\n \"assetType\": \"STK\",\n \"securityId\": \"459200101\",\n \"securityIdType\": \"ISIN\"\n }\n },\n \"transferQuantity\": 6\n },\n \"instructionType\": \"INTERNAL_POSITION_TRANSFER\"\n }\n },\n \"Internal Position Transfer - using contractID (conid)\": {\n \"value\": {\n \"instruction\": {\n \"clientInstructionId\": 7013043,\n \"sourceAccountId\": \"U399192\",\n \"targetAccountId\": \"U87440\",\n \"tradingInstrument\": {\n \"conid\": 21323,\n \"currency\": \"USD\"\n },\n \"transferQuantity\": 6\n },\n \"instructionType\": \"INTERNAL_POSITION_TRANSFER\"\n }\n },\n \"Internal Position Transfer - with Optional fields\": {\n \"value\": {\n \"instruction\": {\n \"clientInstructionId\": 7013043,\n \"settleDate\": \"2025-02-25\",\n \"sourceAccountId\": \"U399192\",\n \"targetAccountId\": \"U87440\",\n \"tradeDate\": \"2025-02-17\",\n \"tradingInstrument\": {\n \"conid\": 21323,\n \"currency\": \"USD\"\n },\n \"transferPrice\": 100.3456789,\n \"transferQuantity\": 6\n },\n \"instructionType\": \"INTERNAL_POSITION_TRANSFER\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instruction\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InternalPositionTransferInstruction\"\n }\n ]\n },\n \"instructionType\": {\n \"enum\": [\n \"INTERNAL_POSITION_TRANSFER\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"instruction\",\n \"instructionType\"\n ]\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"202\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Response\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 7008152,\n \"instructionId\": 43092590,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"INTERNAL_POSITION_TRANSFER\"\n },\n \"instructionSetId\": 2614,\n \"status\": 202\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/AsynchronousInstructionResponse\"\n }\n }\n },\n \"description\": \"Accepts request to create a new instruction asynchronously\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"422\": {\n \"description\": \"Returns a Problem detail instance representing a business error.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Transfer Positions Internally\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"transfers.write\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/internal-asset-transfers:bulk\": {\n \"post\": {\n \"description\": \"<br>**Scope**: `transfers.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_internal_asset_transfers_bulk\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Internal Position Transfer\": {\n \"value\": {\n \"instructionType\": \"INTERNAL_POSITION_TRANSFER\",\n \"instructions\": [\n {\n \"clientInstructionId\": 7013005,\n \"sourceAccountId\": \"U399192\",\n \"targetAccountId\": \"U87440\",\n \"tradingInstrument\": {\n \"conid\": 21323,\n \"currency\": \"USD\"\n },\n \"transferQuantity\": 6\n },\n {\n \"clientInstructionId\": 7013006,\n \"sourceAccountId\": \"U399192\",\n \"targetAccountId\": \"U87440\",\n \"tradingInstrument\": {\n \"currency\": \"USD\",\n \"tradingInstrumentDescription\": {\n \"assetType\": \"STK\",\n \"securityId\": \"459200101\",\n \"securityIdType\": \"ISIN\"\n }\n },\n \"transferQuantity\": 6\n },\n {\n \"clientInstructionId\": 7013043,\n \"settleDate\": \"2025-02-25\",\n \"sourceAccountId\": \"U399192\",\n \"targetAccountId\": \"U87440\",\n \"tradeDate\": \"2025-02-17\",\n \"tradingInstrument\": {\n \"conid\": 21323,\n \"currency\": \"USD\"\n },\n \"transferPrice\": 100.3456789,\n \"transferQuantity\": 6\n }\n ]\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instructionType\": {\n \"enum\": [\n \"INTERNAL_POSITION_TRANSFER\"\n ],\n \"type\": \"string\"\n },\n \"instructions\": {\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"instructionType\",\n \"instructions\"\n ]\n }\n }\n },\n \"description\": \"Create Bulk Internal Asset Transfers request body\",\n \"required\": true\n },\n \"responses\": {\n \"202\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Internal Position Transfer\": {\n \"value\": {\n \"instructionResults\": [\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7013005,\n \"instructionId\": 43100916,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"INTERNAL_POSITION_TRANSFER\"\n },\n \"instructionSetId\": 9096,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 7013006,\n \"instructionId\": 43100917,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"INTERNAL_POSITION_TRANSFER\"\n },\n \"instructionSetId\": 9096,\n \"status\": 202\n }\n ],\n \"instructionSetId\": 9096,\n \"status\": 202\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/AsynchronousInstructionSetResponse\"\n }\n }\n },\n \"description\": \"Accepts all instructions in Bulk request to create them asynchronously\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request. Returned even if only one instruction in the bulk upload has syntactical errors.\"\n },\n \"500\": {\n \"description\": \"Unable to process request due to an Internal Error. Please try again later.\"\n }\n },\n \"summary\": \"Creates Multiple Internal Asset Transfers Between The Provided Account Id Pairs\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"transfers.write\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/internal-cash-transfers\": {\n \"post\": {\n \"description\": \"Transfer cash internally between two accounts with Interactive Brokers.<br><br>**Scope**: `transfers.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_internal_cash_transfers\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Internal Cash Transfer\": {\n \"value\": {\n \"instruction\": {\n \"amount\": 123.45,\n \"clientInstructionId\": 1012983,\n \"currency\": \"GBP\",\n \"dateTimeToOccur\": \"2018-03-20T09:12:13Z\",\n \"sourceAccountId\": \"U46377\",\n \"targetAccountId\": \"U15667\"\n },\n \"instructionType\": \"INTERNAL_CASH_TRANSFER\"\n }\n },\n \"Internal Cash Transfer (2)\": {\n \"value\": {\n \"instruction\": {\n \"amount\": 123.45,\n \"clientInstructionId\": 1012983,\n \"currency\": \"GBP\",\n \"sourceAccountId\": \"U46377\",\n \"targetAccountId\": \"U15667\"\n },\n \"instructionType\": \"INTERNAL_CASH_TRANSFER\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instruction\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/InternalCashTransferInstruction\"\n }\n ]\n },\n \"instructionType\": {\n \"enum\": [\n \"INTERNAL_CASH_TRANSFER\"\n ],\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"instruction\",\n \"instructionType\"\n ]\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"201\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Response\": {\n \"value\": {\n \"instructionResult\": {\n \"clientInstructionId\": 1013032,\n \"ibReferenceId\": 132123,\n \"instructionId\": 43091814,\n \"instructionStatus\": \"PROCESSED\",\n \"instructionType\": \"INTERNAL_CASH_TRANSFER\"\n },\n \"instructionSetId\": 1703,\n \"status\": 201\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/SynchronousInstructionResponse\"\n }\n }\n },\n \"description\": \"Creates a new instruction synchronously, e.g., for Internal Cash Transfer w/o dateTimeToOccur\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request\"\n },\n \"422\": {\n \"description\": \"Returns a Problem detail instance representing a business error.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Transfer Cash Internally\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"transfers.write\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/internal-cash-transfers:bulk\": {\n \"post\": {\n \"description\": \"<br>**Scope**: `transfers.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_internal_cash_transfers_bulk\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Internal Cash Transfer Bulk\": {\n \"value\": {\n \"instructionType\": \"INTERNAL_CASH_TRANSFER\",\n \"instructions\": [\n {\n \"amount\": 123.45,\n \"clientInstructionId\": 1,\n \"currency\": \"GBP\",\n \"dateTimeToOccur\": \"2018-03-20T09:12:13Z\",\n \"sourceAccountId\": \"U345\",\n \"targetAccountId\": \"U87440\"\n },\n {\n \"amount\": 123.45,\n \"clientInstructionId\": 2,\n \"currency\": \"GBP\",\n \"dateTimeToOccur\": \"2018-03-20T09:12:13Z\",\n \"sourceAccountId\": \"U345\",\n \"targetAccountId\": \"U87440\"\n },\n {\n \"amount\": 123.45,\n \"clientInstructionId\": 3,\n \"currency\": \"GBP\",\n \"dateTimeToOccur\": \"2018-03-20T09:12:13Z\",\n \"sourceAccountId\": \"U399192\",\n \"targetAccountId\": \"U87440\"\n },\n {\n \"amount\": 123.45,\n \"clientInstructionId\": 4,\n \"clientNote\": \"INT-CASH-TRANSFER:78965.38.15632\",\n \"currency\": \"GBP\",\n \"dateTimeToOccur\": \"2018-03-20T09:12:13Z\",\n \"sourceAccountId\": \"U399192\",\n \"targetAccountId\": \"U87440\"\n }\n ]\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"instructionType\": {\n \"enum\": [\n \"INTERNAL_CASH_TRANSFER\"\n ],\n \"type\": \"string\"\n },\n \"instructions\": {\n \"type\": \"array\"\n }\n },\n \"required\": [\n \"instructionType\",\n \"instructions\"\n ]\n }\n }\n },\n \"description\": \"Create Bulk Internal Cash Transfers request body\",\n \"required\": true\n },\n \"responses\": {\n \"202\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Internal Cash Transfer Bulk - All Accepted\": {\n \"value\": {\n \"instructionResults\": [\n {\n \"instructionResult\": {\n \"clientInstructionId\": 1012983,\n \"instructionId\": 45123654,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"INTERNAL_CASH_TRANSFER\"\n },\n \"instructionSetId\": 912839128309,\n \"status\": 202\n },\n {\n \"instructionResult\": {\n \"clientInstructionId\": 1012983,\n \"instructionId\": 45123655,\n \"instructionStatus\": \"PENDING\",\n \"instructionType\": \"INTERNAL_CASH_TRANSFER\"\n },\n \"instructionSetId\": 912839128309,\n \"status\": 202\n }\n ],\n \"instructionSetId\": 912839128309,\n \"status\": 202\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/AsynchronousInstructionSetResponse\"\n }\n }\n },\n \"description\": \"Accepts all instructions in Bulk request to create them asynchronously\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request. Returned even if only one instruction in the bulk upload has syntactical errors.\"\n },\n \"500\": {\n \"description\": \"Unable to process request due to an Internal Error. Please try again later.\"\n }\n },\n \"summary\": \"Creates Multiple Internal Cash Transfers Between The Provided Account Id Pairs\",\n \"tags\": [\n \"Account Management Banking\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"transfers.write\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/participating-banks\": {\n \"get\": {\n \"description\": \"Get list of banks which support banking connection with Interactive Brokers.<br><br>**Scope**: `enumerations.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_participating_banks\",\n \"parameters\": [\n {\n \"description\": \"The client\'s clientId\",\n \"in\": \"query\",\n \"name\": \"client-id\",\n \"schema\": {\n \"example\": \"abc123\",\n \"type\": \"string\"\n }\n },\n {\n \"description\": \"Parameter for which the list of participating banks is fetched\",\n \"examples\": {\n \"Participating Banks\": {\n \"value\": \"eDDA\"\n }\n },\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"type\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Participating Banks\": {\n \"value\": {\n \"participatingBanks\": [\n {\n \"BIC\": \"WEDIHKHHXXX\",\n \"clearingCode\": \"390\",\n \"institutionName\": \"WELAB BANK LIMITED\"\n },\n {\n \"BIC\": \"UBHKHKHHXXX\",\n \"clearingCode\": \"072\",\n \"institutionName\": \"INDUSTRIAL AND COMMERCIAL BANK OF CHINA (ASIA) LIMITED\"\n },\n {\n \"BIC\": \"IFFUHKHHXXX\",\n \"clearingCode\": \"391\",\n \"institutionName\": \"FUSION BANK LIMITED\"\n },\n {\n \"BIC\": \"CITIHKAXXXX\",\n \"clearingCode\": \"250\",\n \"institutionName\": \"CITIBANK (HONG KONG) LIMITED\"\n }\n ],\n \"type\": \"eDDA\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/GetParticipatingListResponse\"\n }\n }\n },\n \"description\": \"Returns the list of participating banks.\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a not found request.\"\n },\n \"500\": {\n \"description\": \"Unable to process request due to an Internal Error. Please try again later.\"\n }\n },\n \"summary\": \"Get Participating Banks\",\n \"tags\": [\n \"Account Management Utilities\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"enumerations.read\"\n ],\n \"x-ib-gateway-provider-name\": \"fb2\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/requests\": {\n \"get\": {\n \"description\": \"Fetch Requests\' Details By Timeframe<br><br>**Scope**: `accounts.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_requests\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"requestDetails\",\n \"required\": true,\n \"schema\": {\n \"$ref\": \"#/components/schemas/RequestDetailsRequest\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/RequestDetailsResponse\"\n }\n }\n },\n \"description\": \"Fetch Requests\' Details By Timeframe\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Get Requests\' Details By Timeframe\",\n \"tags\": [\n \"Account Management Utilities\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.read\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/requests/{requestId}/status\": {\n \"patch\": {\n \"description\": \"This api will be used to update the status of am request<br><br>**Scope**: `accounts.read`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"patch_gw_api_v1_requests_requestid_status\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"requestId\",\n \"required\": true,\n \"schema\": {\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"simple\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"text/plain\": {\n \"schema\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/AmRequestStatusResponse\"\n }\n }\n },\n \"description\": \"This api will be used to update the status of am request\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Update Status Of An Am Request\",\n \"tags\": [\n \"Account Management Utilities\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.read\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/restrictions\": {\n \"post\": {\n \"description\": \"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.<br><br>**Scope**: `restrictions.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"applyCSV\",\n \"parameters\": [\n {\n \"$ref\": \"#/components/parameters/Authorization\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"text/plain\": {\n \"schema\": {\n \"description\": \"Signed JWT token\",\n \"example\": \"eyJraWQiOiJoYXR0eSIsInR5cCI6IkpXVCIsImFsZyI6IlJTMjU2In0.eyJwYXlsb2FkIjoiVWtWVFZGSmZRVVJFTENCQlVFbEJWVlJJTFRneExUTXNJRkpWVEVWZlFrVkhTVTRzSUhKMWJHVmZkSGx3WlQxRFRFOVRTVTVIVDA1TVdTd2dkR2xtUFVkVVF5d2dVbFZNUlY5RlRrUSIsInJlcXVlc3RJZCI6IjEyNyIsImlzcyI6ImhhdHR5NTk3IiwidXNlck5hbWUiOiJoYXR0eTU5NyIsImlhdCI6MTcyNTM3MjQwNCwiZXhwIjoxNzI1MzcyNDY0fQ.MxnUrXzyJXG8Kbm9dGjTieLQ...\",\n \"type\": \"string\"\n }\n }\n },\n \"description\": \"Signed JWT token (format: header.payload.signature). Generate using: oauth2_cli sign -C userName={user} -C requestId={id} -C payload={csv} -C iss={user} -k {key}\",\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"notVerified\": {\n \"value\": {\n \"message\": \"Request not previously verified\",\n \"requestId\": 127,\n \"success\": false\n }\n },\n \"success\": {\n \"value\": {\n \"message\": \"OK\",\n \"requestId\": 127,\n \"success\": true\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/CSVResponse\"\n }\n }\n },\n \"description\": \"CSV application result\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"403\": {\n \"$ref\": \"#/components/responses/Forbidden\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalError\"\n }\n },\n \"security\": [\n {\n \"bearerAuth\": []\n }\n ],\n \"summary\": \"Apply PTC CSV\",\n \"tags\": [\n \"PreTrade Compliance Restrictions\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"restrictions.write\"\n ],\n \"x-ib-gateway-provider-name\": \"ptc\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/restrictions/verify\": {\n \"post\": {\n \"description\": \"Validates CSV structure, restriction names, and rule parameters without applying changes. Must be called before /csv/v2/apply with the same requestId.<br><br>**Scope**: `restrictions.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"verifyCSV\",\n \"parameters\": [\n {\n \"$ref\": \"#/components/parameters/Authorization\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"addRestriction\": {\n \"summary\": \"Add closing-only restriction\",\n \"value\": {\n \"payload\": \"UkVTVFJfQURELCBUZXN0UmVzdHJpY3Rpb24sIFJVTEVfQkVHSU4sIHJ1bGVfdHlwZT1DTE9TSU5HT05MWSwgdGlmPUdUQywgUlVMRV9FTkQ=\",\n \"requestId\": 127,\n \"userName\": \"hatty597\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/VerifyRequest\"\n }\n }\n },\n \"description\": \"JSON with userName, requestId, and Base64-encoded CSV payload\",\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"message\": \"OK\",\n \"requestId\": 127,\n \"success\": true\n }\n },\n \"validationError\": {\n \"value\": {\n \"message\": \"Invalid CSV: Missing RULE_END\",\n \"requestId\": 127,\n \"success\": false\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/CSVResponse\"\n }\n }\n },\n \"description\": \"CSV verification result\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"403\": {\n \"$ref\": \"#/components/responses/Forbidden\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalError\"\n }\n },\n \"security\": [\n {\n \"bearerAuth\": []\n }\n ],\n \"summary\": \"Verify PTC CSV\",\n \"tags\": [\n \"PreTrade Compliance Restrictions\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"restrictions.write\"\n ],\n \"x-ib-gateway-provider-name\": \"ptc\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/sso-browser-sessions\": {\n \"post\": {\n \"description\": \"<br>**Scope**: `sso-browser-sessions.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_sso_browser_sessions\",\n \"parameters\": [\n {\n \"$ref\": \"#/components/parameters/AuthorizationHeaderParam\"\n }\n ],\n \"requestBody\": {\n \"$ref\": \"#/components/requestBodies/CreateBrowserSessionRequestBody\"\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/CreateBrowserSessionResponse\"\n }\n }\n },\n \"description\": \"Create a Single Sign On (SSO) to access the IBKR hosted portal (White Branded).\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"401\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Create SSO Browser Session.\",\n \"tags\": [\n \"Authorization SSO Sessions\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"sso-browser-sessions.write\"\n ],\n \"x-ib-gateway-provider-name\": \"sso\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/sso-sessions\": {\n \"post\": {\n \"description\": \"<br>**Scope**: `sso-sessions.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_sso_sessions\",\n \"parameters\": [\n {\n \"$ref\": \"#/components/parameters/AuthorizationHeaderParam\"\n }\n ],\n \"requestBody\": {\n \"$ref\": \"#/components/requestBodies/CreateSessionRequestBody\"\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/CreateSessionResponse\"\n }\n }\n },\n \"description\": \"Returns a JSON object containing a reference to the newly created SSO session.\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"401\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Create A New SSO Session On Behalf Of An End-user.\",\n \"tags\": [\n \"Authorization SSO Sessions\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"sso-sessions.write\"\n ],\n \"x-ib-gateway-provider-name\": \"sso\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/statements\": {\n \"post\": {\n \"description\": \"<br>**Scope**: `statements.read` OR `statements.write` OR `reports.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_statements\",\n \"parameters\": [\n {\n \"$ref\": \"#/components/parameters/AuthorizationHeaderParam\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Daily html\": {\n \"$ref\": \"#/components/examples/DailyHTML\"\n },\n \"Daily html gzip\": {\n \"$ref\": \"#/components/examples/DailyHTMLGZip\"\n },\n \"Monthly pdf\": {\n \"$ref\": \"#/components/examples/MonthlyPDF\"\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/StmtRequest\"\n }\n }\n },\n \"description\": \"Report request object\",\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/GetStatementsResponse\"\n }\n }\n },\n \"description\": \"Returns a JSON object containing the relevant statement.\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"401\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"402\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Generates Statements In Supported Formats Based On Request Parameters.\",\n \"tags\": [\n \"Account Management Reports\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"statements.read\",\n \"statements.write\",\n \"reports.write\"\n ],\n \"x-ib-gateway-provider-name\": \"statements\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/statements/available\": {\n \"get\": {\n \"description\": \"<br>**Scope**: `statements.read` OR `reports.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_statements_available\",\n \"parameters\": [\n {\n \"$ref\": \"#/components/parameters/AuthorizationHeaderParam\"\n },\n {\n \"$ref\": \"#/components/parameters/AccountIdRequestParam\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/GetAvailableStmtDatesResponse\"\n }\n }\n },\n \"description\": \"Returns a JSON object containing the available report dates.\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"401\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"402\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Fetch Available Daily, Monthly, And Annual Report Dates For An Account Id\",\n \"tags\": [\n \"Account Management Reports\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"statements.read\",\n \"reports.read\"\n ],\n \"x-ib-gateway-provider-name\": \"statements\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/tax-documents\": {\n \"post\": {\n \"description\": \"<br>**Scope**: `statements.write` OR `reports.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_tax_documents\",\n \"parameters\": [\n {\n \"$ref\": \"#/components/parameters/AuthorizationHeaderParam\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/TaxFormRequest\"\n }\n }\n },\n \"description\": \"Tax Form request object\",\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/TaxFormResponse\"\n }\n }\n },\n \"description\": \"Returns a JSON object containing the relevant Tax Form.\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"401\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"402\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Fetch Tax Forms In Supported Formats Based On Request Parameters.\",\n \"tags\": [\n \"Account Management Reports\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"statements.write\",\n \"reports.write\"\n ],\n \"x-ib-gateway-provider-name\": \"statements\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/tax-documents/available\": {\n \"get\": {\n \"description\": \"<br>**Scope**: `statements.read` OR `reports.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_tax_documents_available\",\n \"parameters\": [\n {\n \"$ref\": \"#/components/parameters/AuthorizationHeaderParam\"\n },\n {\n \"$ref\": \"#/components/parameters/AccountIdRequestParam\"\n },\n {\n \"$ref\": \"#/components/parameters/TaxYearRequestParam\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/GetAvailableTaxFormsResponse\"\n }\n }\n },\n \"description\": \"Returns a JSON object containing the available report dates.\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"401\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"402\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Fetch List Of Available Tax Reports/forms/documents For A Specified Account And Tax Year\",\n \"tags\": [\n \"Account Management Reports\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"statements.read\",\n \"reports.read\"\n ],\n \"x-ib-gateway-provider-name\": \"statements\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/trade-confirmations\": {\n \"post\": {\n \"description\": \"<br>**Scope**: `statements.write` OR `reports.write`<br>**Security Policy**: `Signed JWT`\",\n \"operationId\": \"post_gw_api_v1_trade_confirmations\",\n \"parameters\": [\n {\n \"$ref\": \"#/components/parameters/AuthorizationHeaderParam\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/TradeConfirmationRequest\"\n }\n }\n },\n \"description\": \"Trade confirmation request body\",\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/TradeConfirmationResponse\"\n }\n }\n },\n \"description\": \"Returns a JSON object containing the relevant Trade Confirmation.\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"401\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"402\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Fetch Trade Confirmations In Supported Formats Based On Request Parameters.\",\n \"tags\": [\n \"Account Management Reports\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"statements.write\",\n \"reports.write\"\n ],\n \"x-ib-gateway-provider-name\": \"statements\",\n \"x-ib-gateway-security-policy\": \"SIGNED_JWT\"\n }\n },\n \"/gw/api/v1/trade-confirmations/available\": {\n \"get\": {\n \"description\": \"<br>**Scope**: `statements.read` OR `reports.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_trade_confirmations_available\",\n \"parameters\": [\n {\n \"$ref\": \"#/components/parameters/AuthorizationHeaderParam\"\n },\n {\n \"$ref\": \"#/components/parameters/AccountIdRequestParam\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/GetAvailableTradeConfirmationDatesResponse\"\n }\n }\n },\n \"description\": \"Returns a JSON object containing the available user-traded dates.\"\n },\n \"400\": {\n \"description\": \"Returns a Problem detail instance representing a bad request.\"\n },\n \"401\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"402\": {\n \"description\": \"Returns a Problem detail instance representing an unauthorized request.\"\n },\n \"403\": {\n \"description\": \"Returns a Problem detail instance representing a forbidden request.\"\n },\n \"500\": {\n \"description\": \"Returns a Problem detail instance representing an internal server error.\"\n }\n },\n \"summary\": \"Fetch List Of Available Trade Confirmation Dates, For A Specific Account Id\",\n \"tags\": [\n \"Account Management Reports\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"statements.read\",\n \"reports.read\"\n ],\n \"x-ib-gateway-provider-name\": \"statements\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/gw/api/v1/validations/usernames/{username}\": {\n \"get\": {\n \"description\": \"Verify whether user is valid and available<br><br>**Scope**: `accounts.read` OR `validations.read`<br>**Security Policy**: `HTTPS`\",\n \"operationId\": \"get_gw_api_v1_validations_usernames_username\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"username\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/UserNameAvailableResponse\"\n }\n }\n },\n \"description\": \"Verify whether user is valid and available\"\n },\n \"400\": {\n \"description\": \"Returns error description representing bad request\"\n },\n \"401\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"403\": {\n \"description\": \"Returns error description representing access issue\"\n },\n \"415\": {\n \"description\": \"Unsupported Media Type\"\n },\n \"500\": {\n \"description\": \"Returns error description representing internal server error\"\n }\n },\n \"summary\": \"Verify User Availability\",\n \"tags\": [\n \"Account Management Utilities\"\n ],\n \"x-ib-gateway-allowed-scopes\": [\n \"accounts.read\",\n \"validations.read\"\n ],\n \"x-ib-gateway-provider-name\": \"eca\",\n \"x-ib-gateway-security-policy\": \"HTTPS\"\n }\n },\n \"/iserver/account\": {\n \"post\": {\n \"description\": \"Switch the active account for how you request data. Only available for financial advisors and multi-account structures.\\n\",\n \"operationId\": \"setActiveAccount\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"acctId\": {\n \"description\": \"Identifier for the unique account to retrieve information from.\",\n \"example\": \"U1234567\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"successfully-set-account\": {\n \"value\": {\n \"acctId\": \"U2234567\",\n \"set\": true\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/setAccountResponse\"\n }\n }\n },\n \"description\": \"Validates the account swapped to.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"description\": \"Internal Server Error. Unable to process request if incoming values are not valid. For example accountId is not correct\\n\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Switch Selected Account\",\n \"tags\": [\n \"Trading Accounts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/alert/{alertId}\": {\n \"get\": {\n \"description\": \"Request details of a specific alert by providing the assigned alertId Id.\",\n \"operationId\": \"getAlertDetails\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"alertId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"alert identifier, internally referenced as order id\",\n \"format\": \"int64\",\n \"type\": \"integer\"\n },\n \"style\": \"simple\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"type\",\n \"required\": true,\n \"schema\": {\n \"description\": \"queryType\",\n \"enum\": [\n \"Q\"\n ],\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"found-alert\": {\n \"value\": {\n \"account\": \"U1234567\",\n \"alert_active\": 1,\n \"alert_default_type\": null,\n \"alert_email\": \"john.smith@example.com\",\n \"alert_message\": \"alert message\",\n \"alert_mta_currency\": null,\n \"alert_mta_defaults\": null,\n \"alert_name\": \"IBM\",\n \"alert_play_audio\": null,\n \"alert_repeatable\": 0,\n \"alert_send_message\": 1,\n \"alert_show_popup\": 1,\n \"alert_triggered\": false,\n \"bg_color\": \"#0000CC\",\n \"condition_outside_rth\": 1,\n \"condition_size\": 1,\n \"conditions\": [\n {\n \"condition_logic_bind\": \"n\",\n \"condition_operator\": \">=\",\n \"condition_time_zone\": null,\n \"condition_trigger_method\": \"0\",\n \"condition_type\": 1,\n \"condition_value\": \"500.00\",\n \"conidex\": \"8314@NYSE\",\n \"contract_description_1\": \"IBM\"\n }\n ],\n \"expire_time\": null,\n \"fg_color\": \"#FFFFFF\",\n \"itws_orders_only\": 0,\n \"order_id\": 833967258,\n \"order_not_editable\": false,\n \"order_status\": \"Submitted\",\n \"tif\": \"GTC\",\n \"time_zone\": null,\n \"tool_id\": null\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/alertDetails\"\n }\n }\n },\n \"description\": \"An object containing all unique details of the specified alert.\"\n },\n \"400\": {\n \"description\": \"bad request if orderId is empty or type is invalid\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"description\": \"orderId is not parsable; unable to process request\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Details Of A Specific Alert\",\n \"tags\": [\n \"Trading Alerts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/allocation/accounts\": {\n \"get\": {\n \"description\": \"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. \\n\",\n \"operationId\": \"getAllocatableSubaccounts\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"2-sub-accounts\": {\n \"value\": {\n \"accounts\": [\n {\n \"data\": [\n {\n \"key\": \"NetLiquidation\",\n \"value\": \"230013224.04\"\n },\n {\n \"key\": \"AvailableEquity\",\n \"value\": \"229617260.41\"\n }\n ],\n \"name\": \"U1234567\"\n },\n {\n \"data\": [\n {\n \"key\": \"NetLiquidation\",\n \"value\": \"229453917.57\"\n },\n {\n \"key\": \"AvailableEquity\",\n \"value\": \"229153196.12\"\n }\n ],\n \"name\": \"U1234568\"\n }\n ]\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/subAccounts\"\n }\n }\n },\n \"description\": \"Indicates data is being returned successfully.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"List Allocatable Subaccounts\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/allocation/group\": {\n \"get\": {\n \"description\": \"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. \\n\",\n \"operationId\": \"getAllocationGroups\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"groups\": {\n \"value\": {\n \"data\": [\n {\n \"allocation_method\": \"E\",\n \"name\": \"group_1\",\n \"size\": 16\n },\n {\n \"allocation_method\": \"N\",\n \"name\": \"group_2\",\n \"size\": 3\n }\n ]\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/allocationGroups\"\n }\n }\n },\n \"description\": \"Returns the \\\"data\\\" array, which contains all allocation groups under the advisor account.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"List All Allocation Groups\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n },\n \"post\": {\n \"description\": \"Add a new allocation group. This group can be used to trade in place of the {accountId} for the /iserver/account/{accountId}/orders endpoint.\",\n \"operationId\": \"createAllocationGroup\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"EqualQty\": {\n \"value\": {\n \"accounts\": [\n {\n \"name\": \"U456789\"\n },\n {\n \"name\": \"U123456\"\n }\n ],\n \"default_method\": \"E\",\n \"name\": \"Group_1_Equal\"\n }\n },\n \"NetLiq\": {\n \"value\": {\n \"accounts\": [\n {\n \"name\": \"U456789\"\n },\n {\n \"name\": \"U123456\"\n }\n ],\n \"default_method\": \"N\",\n \"name\": \"Group_1_NetLiq\"\n }\n },\n \"Shares\": {\n \"value\": {\n \"accounts\": [\n {\n \"amount\": 4,\n \"name\": \"U456789\"\n },\n {\n \"amount\": 1,\n \"name\": \"U123456\"\n }\n ],\n \"default_method\": \"S\",\n \"name\": \"Group_1_Shares\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"accounts\": {\n \"description\": \"An array of accounts that should be held in the allocation group and, if using a User-specified allocaiton method, the value correlated to the allocation.\",\n \"items\": {\n \"properties\": {\n \"amount\": {\n \"description\": \"The total distribution value for each sub-account for user-defined allocation methods.\",\n \"example\": 10,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"name\": {\n \"description\": \"The accountId of a given sub-account.\",\n \"example\": \"U1234567\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"name\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"default_method\": {\n \"$ref\": \"#/components/schemas/allocationMethod\"\n },\n \"name\": {\n \"description\": \"Name used to refer to your allocation group. If prev_name is specified, this will become the new name of the group.\",\n \"example\": \"Group_1_NetLiq\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accounts\",\n \"default_method\",\n \"name\"\n ],\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"success\": {\n \"type\": \"boolean\"\n }\n }\n }\n }\n },\n \"description\": \"Returns a confirmation that the modification was successful.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Add Allocation Group\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n },\n \"put\": {\n \"description\": \"Modify an existing allocation group.\",\n \"operationId\": \"modifyAllocationGroup\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"EqualQty\": {\n \"value\": {\n \"accounts\": [\n {\n \"name\": \"U456789\"\n },\n {\n \"name\": \"U123456\"\n }\n ],\n \"default_method\": \"E\",\n \"name\": \"Group_1_Equal\",\n \"prev_name\": \"Group_0_Equal\"\n }\n },\n \"NetLiq\": {\n \"value\": {\n \"accounts\": [\n {\n \"name\": \"U456789\"\n },\n {\n \"name\": \"U123456\"\n }\n ],\n \"default_method\": \"N\",\n \"name\": \"Group_1_NetLiq\",\n \"prev_name\": \"Group_0_NetLiq\"\n }\n },\n \"Shares\": {\n \"value\": {\n \"accounts\": [\n {\n \"amount\": 4,\n \"name\": \"U456789\"\n },\n {\n \"amount\": 1,\n \"name\": \"U123456\"\n }\n ],\n \"default_method\": \"S\",\n \"name\": \"Group_1_Shares\",\n \"prev_name\": \"Group_0_Shares\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"accounts\": {\n \"description\": \"An array of accounts that should be held in the allocation group and, if using a User-specified allocaiton method, the value correlated to the allocation.\",\n \"items\": {\n \"properties\": {\n \"amount\": {\n \"description\": \"The total distribution value for each sub-account for user-defined allocation methods.\",\n \"example\": 10,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"name\": {\n \"description\": \"The accountId of a given sub-account.\",\n \"example\": \"U1234567\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"name\"\n ],\n \"type\": \"object\"\n },\n \"type\": \"array\"\n },\n \"default_method\": {\n \"$ref\": \"#/components/schemas/allocationMethod\"\n },\n \"name\": {\n \"description\": \"Name used to refer to your allocation group. If prev_name is specified, this will become the new name of the group.\",\n \"example\": \"Group_1_NetLiq\",\n \"type\": \"string\"\n },\n \"prev_name\": {\n \"description\": \"Can be used to rename a group. Using this field will recognize the previous name, while the \\\"name\\\" filed will mark the updated name.\",\n \"example\": \"Group_0_NetLiq\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accounts\",\n \"default_method\",\n \"name\"\n ],\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"success\": {\n \"type\": \"boolean\"\n }\n }\n }\n }\n },\n \"description\": \"Returns a confirmation that the modification was successful.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Modify Allocation Group\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/allocation/group/delete\": {\n \"post\": {\n \"description\": \"Deletes a previously created allocation group. This endpoint is only supported for Financial Advisors and IBroker Accounts. \\n\",\n \"operationId\": \"deleteAllocationGroup\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"name\": {\n \"description\": \"Name of an existing allocation group.\",\n \"example\": \"Group_1_NetLiq\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"name\"\n ],\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"success\": true\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"success\": {\n \"type\": \"boolean\"\n }\n }\n }\n }\n },\n \"description\": \"Returns a confirmation that the modification was successful.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Delete An Allocation Group\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/allocation/group/single\": {\n \"post\": {\n \"description\": \"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. \\n\",\n \"operationId\": \"getSingleAllocationGroup\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"name\": {\n \"description\": \"Name of an existing allocation group.\",\n \"example\": \"Group_1_NetLiq\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"name\"\n ],\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"single-group\": {\n \"value\": {\n \"accounts\": [\n {\n \"name\": \"U1234567\"\n },\n {\n \"name\": \"U1234568\"\n }\n ],\n \"default_method\": \"E\",\n \"name\": \"group1\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/allocationGroup\"\n }\n }\n },\n \"description\": \"Returns details of the allocation group.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Retrieve Single Allocation Group\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/allocation/presets\": {\n \"get\": {\n \"description\": \"Retrieve the preset behavior for allocation groups for specific events. This endpoint is only supported for Financial Advisors and IBroker Accounts. \\n\",\n \"operationId\": \"getAllocationPresets\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"presents\": {\n \"value\": {\n \"default_method_for_all\": \"AvailableEquity\",\n \"group_auto_close_positions\": false,\n \"group_proportional_allocation\": false,\n \"profiles_auto_close_positions\": false,\n \"strict_credit_check\": false\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/presets\"\n }\n }\n },\n \"description\": \"Successfully retrieve preset details\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Retrieve Allocation Presets\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n },\n \"post\": {\n \"description\": \"Set the preset behavior for new allocation groups for specific events.\",\n \"operationId\": \"setAllocationPreset\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/presets\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"success\": {\n \"description\": \"Signifies that the request was successfully submitted.\",\n \"type\": \"boolean\"\n }\n }\n }\n }\n },\n \"description\": \"Successfully retrieve preset details\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Set Allocation Preset\",\n \"tags\": [\n \"Trading FA Allocation Management\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/mta\": {\n \"get\": {\n \"description\": \"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.\\n\",\n \"externalDocs\": {\n \"description\": \"See our here for more information on MTA alerts\",\n \"url\": \"https://www.ibkrguides.com/iphone/alerts.htm\"\n },\n \"operationId\": \"getMtaDetails\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"mta-details\": {\n \"value\": {\n \"account\": \"U1234567\",\n \"alert_active\": 1,\n \"alert_default_type\": null,\n \"alert_email\": \"jonh.smith@example.com\",\n \"alert_message\": null,\n \"alert_mta_currency\": \"USD\",\n \"alert_mta_defaults\": \"9:STATE=1,MIN=-260000,MAX=260000,STEP=500,DEF_MIN=-26000,DEF_MAX=26000|8:STATE=0,MIN=-15,MAX=15,STEP=0.5,DEF_MIN=-2,DEF_MAX=2|7:STATE=1,MIN=-5,MAX=5,STEP=0.5,DEF_MIN=-2,DEF_MAX=2|4:STATE=1,MIN=1,MAX=50,STEP=1,DEF_VAL=10|5:STATE=0\",\n \"alert_name\": \"MTA (AutoAlert)\",\n \"alert_play_audio\": null,\n \"alert_repeatable\": 1,\n \"alert_send_message\": 1,\n \"alert_show_popup\": 0,\n \"alert_triggered\": false,\n \"bg_color\": \"#0000CC\",\n \"condition_outside_rth\": 0,\n \"condition_size\": 1,\n \"conditions\": [\n {\n \"condition_logic_bind\": \"n\",\n \"condition_operator\": null,\n \"condition_time_zone\": null,\n \"condition_trigger_method\": null,\n \"condition_type\": 5,\n \"condition_value\": \"*\",\n \"conidex\": \"*@*\",\n \"contract_description_1\": \"Unknown\"\n }\n ],\n \"expire_time\": null,\n \"fg_color\": \"#FFFFFF\",\n \"itws_orders_only\": 0,\n \"order_id\": 167426254,\n \"order_not_editable\": false,\n \"order_status\": \"Submitted\",\n \"tif\": \"GTC\",\n \"time_zone\": \"all timezones can be here\",\n \"tool_id\": 55834574848\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/alertDetails\"\n }\n }\n },\n \"description\": \"The alert description for the unique MTA alert on the account.\"\n }\n },\n \"summary\": \"Details Of A Mobile Trading Alert\",\n \"tags\": [\n \"Trading Alerts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/order/status/{orderId}\": {\n \"get\": {\n \"description\": \"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.\\n\",\n \"operationId\": \"getOrderStatus\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"orderId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"The IB-assigned order ID of the desired order ticket.\",\n \"example\": 1799796559,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"orderStatusExample\": {\n \"value\": {\n \"account\": \"U1234567\",\n \"alert_active\": 1,\n \"allowed_duplicate_opposite\": true,\n \"available_chart_periods\": \"#R|1\",\n \"average_price\": \"192.26\",\n \"bg_color\": \"#000000\",\n \"cannot_cancel_order\": true,\n \"child_order_type\": \"0\",\n \"company_name\": \"APPLE INC\",\n \"conid\": 265598,\n \"conidex\": \"265598\",\n \"contract_description_1\": \"AAPL\",\n \"cum_fill\": \"5.0\",\n \"currency\": \"USD\",\n \"deactivate_order\": false,\n \"editable_fields\": \"\",\n \"exit_strategy_chart_description\": \"Sold 5 @ 192.26\",\n \"exit_strategy_display_price\": \"193.12\",\n \"exit_strategy_tool_availability\": \"1\",\n \"fg_color\": \"#FFFFFF\",\n \"listing_exchange\": \"NASDAQ.NMS\",\n \"option_acct\": \"c\",\n \"order_ccp_status\": \"2\",\n \"order_clearing_account\": \"U1234567\",\n \"order_description\": \"Sold 5 Market, Day\",\n \"order_description_with_contract\": \"Sold 5 AAPL Market, Day\",\n \"order_id\": 1799796559,\n \"order_not_editable\": true,\n \"order_status\": \"Filled\",\n \"order_status_description\": \"Order Filled\",\n \"order_time\": \"231211180049\",\n \"order_type\": \"MARKET\",\n \"request_id\": \"209\",\n \"sec_type\": \"STK\",\n \"server_id\": \"0\",\n \"side\": \"S\",\n \"size\": \"0.0\",\n \"size_and_fills\": \"5\",\n \"sub_type\": null,\n \"symbol\": \"AAPL\",\n \"tif\": \"DAY\",\n \"total_size\": \"5.0\"\n }\n }\n },\n \"schema\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/orderStatus\"\n }\n ]\n }\n }\n },\n \"description\": \"order status\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Status Of A Single Order\",\n \"tags\": [\n \"Trading Orders\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/orders\": {\n \"get\": {\n \"description\": \"Returns open orders and filled or cancelled orders submitted during the current brokerage session.\",\n \"operationId\": \"getOpenOrders\",\n \"parameters\": [\n {\n \"description\": \"Filter results using a comma-separated list of Order Status values. Also accepts a value to sort results by time.\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"filters\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"inactive\",\n \"pending_submit\",\n \"pre_submitted\",\n \"submitted\",\n \"filled\",\n \"pending_cancel\",\n \"cancelled\",\n \"warn_state\",\n \"sort_by_time\"\n ],\n \"example\": \"filled\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"description\": \"Instructs IB to clear cache of orders and obtain updated view from brokerage backend. Response will be an empty array.\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"force\",\n \"required\": false,\n \"schema\": {\n \"type\": \"boolean\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"orders\": {\n \"value\": {\n \"orders\": [\n {\n \"account\": \"DU4355398\",\n \"acct\": \"U1234567\",\n \"avgPrice\": \"0.8908\",\n \"bgColor\": \"#FFFFFF\",\n \"cashCcy\": \"CAD\",\n \"companyName\": \"Australian dollar\",\n \"conid\": 15016138,\n \"conidex\": \"15016138@IDEALPRO\",\n \"description1\": \"AUD.CAD\",\n \"exchange\": \"IDEALPRO\",\n \"fgColor\": \"#000000\",\n \"filledQuantity\": 2499.99,\n \"isEventTrading\": \"0\",\n \"lastExecutionTime\": \"240425160326\",\n \"lastExecutionTime_r\": 1714061006000,\n \"listingExchange\": \"FXCONV\",\n \"orderDesc\": \"Bought 2806.46 Limit 0.90000, Day\",\n \"orderId\": 1370093238,\n \"orderType\": \"Limit\",\n \"order_ccp_status\": \"Filled\",\n \"origOrderType\": \"LIMIT\",\n \"price\": \"0.90000\",\n \"remainingQuantity\": 0.0,\n \"secType\": \"CASH\",\n \"side\": \"BUY\",\n \"sizeAndFills\": \"2.4K CAD\",\n \"status\": \"Filled\",\n \"supportsTaxOpt\": \"0\",\n \"taxOptimizerId\": \"12334\",\n \"ticker\": \"AUD\",\n \"timeInForce\": \"CLOSE\",\n \"totalCashSize\": 2500.0,\n \"totalSize\": 2806.46\n }\n ],\n \"snapshot\": true\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/liveOrdersResponse\"\n }\n }\n },\n \"description\": \"Orders for a specific account\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"List Open Orders\",\n \"tags\": [\n \"Trading Orders\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/pnl/partitioned\": {\n \"get\": {\n \"description\": \"Returns updated profit and loss values for the selected account. Initial request will return an empty array in the upnl object.\\n\",\n \"operationId\": \"getPnl\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"can-be-empty-for-initial-request\": {\n \"value\": {\n \"upnl\": {}\n }\n },\n \"success\": {\n \"value\": {\n \"upnl\": {\n \"U1234567.Core\": {\n \"dpl\": -12510.0,\n \"el\": 824600.0,\n \"mv\": 1700000.0,\n \"nl\": 1290000.0,\n \"rowType\": 1,\n \"upl\": 256000.0\n }\n }\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/pnlPartitionedResponse\"\n }\n }\n },\n \"description\": \"Refers to \\\"updated PnL\\\". Holds a json object of key-value paired pnl details.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/IServerAccountBadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Account Profit And Loss\",\n \"tags\": [\n \"Trading Accounts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/search/{searchPattern}\": {\n \"get\": {\n \"description\": \"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.\\n\",\n \"operationId\": \"getDynamicAccounts\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"searchPattern\",\n \"required\": true,\n \"schema\": {\n \"description\": \"The pattern used to describe credentials to search for. Including part of part of an account ID will return the full value.\",\n \"example\": \"U123\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"not-found\": {\n \"value\": {\n \"matchedAccounts\": [],\n \"pattern\": \"123\"\n }\n },\n \"successfully-found\": {\n \"value\": {\n \"matchedAccounts\": [\n {\n \"accountId\": \"U1234567\",\n \"alias\": \"U1234567\",\n \"allocationId\": \"U1234567\"\n }\n ],\n \"pattern\": \"U1\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/dynAccountSearchResponse\"\n }\n }\n },\n \"description\": \"Returns all accounts that match the searchPattern string.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Search Dynamic Accounts\",\n \"tags\": [\n \"Trading Accounts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/trades\": {\n \"get\": {\n \"description\": \"Retrieve a list of trades, up to a maximum of 7 days prior.\",\n \"operationId\": \"getTradeHistory\",\n \"parameters\": [\n {\n \"description\": \"The number of prior days prior to include in response, up to a maximum of 7. If omitted, only the current day\'s executions will be returned.\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"days\",\n \"required\": false,\n \"schema\": {\n \"example\": 3,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"tradesResponseExample\": {\n \"value\": [\n {\n \"account\": \"U1234567\",\n \"accountCode\": \"U1234567\",\n \"account_allocation_name\": \"U1234567\",\n \"clearing_id\": \"IB\",\n \"clearing_name\": \"IB\",\n \"commission\": \"1.01\",\n \"company_name\": \"APPLE INC\",\n \"conid\": 265598,\n \"conidEx\": \"265598\",\n \"contract_description_1\": \"AAPL\",\n \"exchange\": \"ISLAND\",\n \"execution_id\": \"0000e0d5.6576fd38.01.01\",\n \"is_event_trading\": \"0\",\n \"liquidation_trade\": \"0\",\n \"listing_exchange\": \"NASDAQ.NMS\",\n \"net_amount\": 961.3,\n \"order_description\": \"Sold 5 @ 192.26 on ISLAND\",\n \"order_id\": 17437897932,\n \"order_ref\": \"Order123\",\n \"price\": \"192.26\",\n \"sec_type\": \"STK\",\n \"side\": \"S\",\n \"size\": 5.0,\n \"submitter\": \"user1234\",\n \"supports_tax_opt\": \"1\",\n \"symbol\": \"AAPL\",\n \"trade_time\": \"20231211-18:00:49\",\n \"trade_time_r\": 1702317649000\n }\n ]\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/tradesResponse\"\n }\n }\n },\n \"description\": \"trades\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Trade History\",\n \"tags\": [\n \"Trading Orders\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/{accountId}/alert\": {\n \"post\": {\n \"description\": \"Endpoint used to create a new alert, or modify an existing alert.\",\n \"operationId\": \"createAlert\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"U1234567\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"alert-creation-request\": {\n \"value\": {\n \"alertMessage\": \"AAPL Price Drop!\",\n \"alertName\": \"AAPL_Price\",\n \"alertRepeatable\": 0,\n \"conditions\": [\n {\n \"conidex\": \"265598@NYSE\",\n \"logicBind\": \"a\",\n \"operator\": \">=\",\n \"timeZone\": \"US/Eastern\",\n \"triggerMethod\": \"0\",\n \"type\": 1,\n \"value\": \"500\"\n }\n ],\n \"email\": \"jonh.smith@example.com\",\n \"expireTime\": \"20231231-12:00:00\",\n \"iTWSOrdersOnly\": 0,\n \"outsideRth\": 0,\n \"sendMessage\": 1,\n \"showPopup\": 1,\n \"tif\": \"GTC\"\n }\n },\n \"alert-modification-request\": {\n \"value\": {\n \"alertMessage\": \"AAPL Price Drop! Modified message\",\n \"alertName\": \"AAPL_Price\",\n \"alertRepeatable\": 0,\n \"conditions\": [\n {\n \"conidex\": \"265598@NYSE\",\n \"logicBind\": \"a\",\n \"operator\": \">=\",\n \"timeZone\": \"US/Eastern\",\n \"triggerMethod\": \"0\",\n \"type\": 1,\n \"value\": \"500\"\n }\n ],\n \"email\": \"jonh.smith@example.com\",\n \"expireTime\": \"20231231-12:00:00\",\n \"iTWSOrdersOnly\": 0,\n \"orderId\": \"1408549184\",\n \"outsideRth\": 0,\n \"sendMessage\": 1,\n \"showPopup\": 1,\n \"tif\": \"GTC\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/alertCreationRequest\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"successfully-created\": {\n \"value\": {\n \"order_id\": 1408549184,\n \"order_status\": null,\n \"request_id\": null,\n \"success\": true,\n \"text\": \"Submitted\",\n \"warning_message\": null\n }\n },\n \"successfully-modified\": {\n \"value\": {\n \"order_id\": 1408549184,\n \"order_status\": null,\n \"request_id\": null,\n \"success\": true,\n \"text\": \"Submitted\",\n \"warning_message\": null\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/alertCreationResponse\"\n }\n }\n },\n \"description\": \"An object containing valid accounts and the account properties regarding trading access. This endpoint is also used to confirm account validation.\"\n },\n \"400\": {\n \"description\": \"bad request; body is empty\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"description\": \"Internal Server Error. Unable to process request if incoming values are not valid. For example operator is \\\"abc\\\" Or if modification request contains unmodified fields\\n\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Create Or Modify Alert\",\n \"tags\": [\n \"Trading Alerts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/{accountId}/alert/activate\": {\n \"post\": {\n \"description\": \"Activate or Deactivate existing alerts created for this account. This does not delete alerts, but disables notifications until reactivated.\",\n \"operationId\": \"activateAlert\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"U1234567\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"activate-request\": {\n \"value\": {\n \"alertActive\": 1,\n \"alertId\": 9876543210\n }\n },\n \"deactivate-request\": {\n \"value\": {\n \"alertActive\": 0,\n \"alertId\": 9876543210\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/alertActivationRequest\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"activated-deactivated-successfully\": {\n \"value\": {\n \"failure_list\": null,\n \"order_id\": 833967258,\n \"request_id\": null,\n \"success\": true,\n \"text\": \"Request was submitted\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/alertActivationResponse\"\n }\n }\n },\n \"description\": \"An object containing details about the activated/deactivated alert.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"description\": \"Internal Server Error; unable to process incoming request due to invalid data in it\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Activate Or Deactivate An Alert\",\n \"tags\": [\n \"Trading Alerts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/{accountId}/alert/{alertId}\": {\n \"delete\": {\n \"description\": \"Permanently delete an existing alert. Deleting an MTA alert will reset it to the default state.\",\n \"operationId\": \"deleteAlert\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"U1234567\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n },\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"alertId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"order_id returned from the original alert creation, or from the list of available alerts.\",\n \"example\": \"9876543210\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"successfully-deleted\": {\n \"value\": {\n \"failure_list\": null,\n \"order_id\": 833967258,\n \"request_id\": null,\n \"success\": true,\n \"text\": \"Request was submitted\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/alertDeletionResponse\"\n }\n }\n },\n \"description\": \"An object containing details on the deleted endpoint.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"description\": \"Internal Server Error; Unable to delete alert in case when provided alert id doesn\'t exist\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Delete An Alert\",\n \"tags\": [\n \"Trading Alerts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/{accountId}/alerts\": {\n \"get\": {\n \"description\": \"Retrieve a list of all alerts attached to the provided account.\",\n \"operationId\": \"getAllAlerts\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Identifier for the unique account to retrieve information from.\",\n \"example\": \"U1234567\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"found-alerts\": {\n \"value\": {\n \"account\": \"U1234567\",\n \"alert_active\": 1,\n \"alert_name\": \"AAPL\",\n \"alert_repeatable\": 0,\n \"alert_triggered\": false,\n \"order_id\": 9876543210,\n \"order_time\": \"20240308-17:08:38\"\n }\n },\n \"not-found\": {\n \"value\": []\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/alerts\"\n }\n }\n },\n \"description\": \"An array of objects detailing contract information.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"List All Alerts\",\n \"tags\": [\n \"Trading Alerts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/{accountId}/order/{orderId}\": {\n \"delete\": {\n \"description\": \"Cancel an existing, unfilled order.\",\n \"operationId\": \"cancelOpenOrder\",\n \"parameters\": [\n {\n \"description\": \"The account to which the order will clear.\",\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"DU123456\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n },\n {\n \"description\": \"The IB-assigned order ID of the desired order ticket.\",\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"orderId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"1799796559\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n },\n {\n \"description\": \"ExtOperator is used to identify external operator.\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"extOperator\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"description\": \"For all orders for US Futures products, clients must submit this flag to indicate whether the order was originated manually (by a natural person) or automatically (by an automated trading system transmitting orders without human intervention). Submit a True value to indicate a manually originated order, and submit a False value to indicate an automated order. Orders for USFUT products that do not include this field will be rejected.\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"manualIndicator\",\n \"required\": false,\n \"schema\": {\n \"type\": \"boolean\"\n },\n \"style\": \"form\"\n },\n {\n \"description\": \"Time of manual cancel.\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"manualCancelTime\",\n \"required\": false,\n \"schema\": {\n \"example\": 1799796559,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"orderCancelErrorExample\": {\n \"value\": {\n \"error\": \"OrderID 123456 doesn\'t exist\"\n }\n },\n \"orderCancelSuccessExample\": {\n \"value\": {\n \"encrypt_message\": \"1\",\n \"msg\": \"Request was submitted\",\n \"order_id\": \"1370093239\",\n \"order_status\": \"PreSubmitted\"\n }\n }\n },\n \"schema\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/orderCancelSuccess\"\n },\n {\n \"$ref\": \"#/components/schemas/orderSubmitError\"\n }\n ]\n }\n }\n },\n \"description\": \"Status of submission\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Cancel An Open Order\",\n \"tags\": [\n \"Trading Orders\"\n ],\n \"x-ib-provider\": \"iblink\"\n },\n \"post\": {\n \"description\": \"Modify an existing, unfilled order.\",\n \"operationId\": \"modifyOpenOrder\",\n \"parameters\": [\n {\n \"description\": \"The account to which the order will clear.\",\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"DU123456\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n },\n {\n \"description\": \"The IB-assigned order ID of the desired order ticket.\",\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"orderId\",\n \"required\": true,\n \"schema\": {\n \"example\": 1799796559,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"simple\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/singleOrderSubmissionRequest\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"advancedOrderRejectPromptExample\": {\n \"value\": {\n \"dismissable\": [],\n \"messageId\": \"p12\",\n \"options\": [\n \"Use on this order\",\n \"Always use\",\n \"Do not use\"\n ],\n \"orderId\": 123456789,\n \"prompt\": true,\n \"reqId\": \"22170\",\n \"text\": \"If your order is not immediately executable, our systems may, depending on market conditions, reject your order if its limit price is more that the allowed amount away from the reference price at that time. If this happens, you will not receive a fill. This is a control designed to ensure that we comply with our regulatory obligations to avoid submitting disruptive orders to the marketplace.\\nUse the Price Management Algo?\",\n \"type\": \"M\"\n }\n },\n \"orderModifyErrorExample\": {\n \"value\": {\n \"error\": \"OrderID 123456 doesn\'t exist\"\n }\n },\n \"orderModifySuccessExample\": {\n \"value\": [\n {\n \"encrypt_message\": \"1\",\n \"order_id\": \"1370093239\",\n \"order_status\": \"PreSubmitted\"\n }\n ]\n },\n \"orderReplyMessageExample\": {\n \"value\": [\n {\n \"id\": \"99097238-9824-4830-84ef-46979aa22593\",\n \"isSuppressed\": false,\n \"message\": [\n \"You are submitting an order without market data. We strongly recommend against this as it may result in erroneous and unexpected trades.\\nAre you sure you want to submit this order?\"\n ],\n \"messageIds\": [\n \"o354\"\n ]\n }\n ]\n }\n },\n \"schema\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/orderSubmitSuccess\"\n },\n {\n \"$ref\": \"#/components/schemas/orderSubmitError\"\n },\n {\n \"$ref\": \"#/components/schemas/orderReplyMessage\"\n },\n {\n \"$ref\": \"#/components/schemas/advancedOrderReject\"\n }\n ]\n }\n }\n },\n \"description\": \"Status of submission\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Modify Open Order\",\n \"tags\": [\n \"Trading Orders\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/{accountId}/orders\": {\n \"post\": {\n \"description\": \"Submit a new order(s) ticket, bracket, or OCA group.\",\n \"operationId\": \"submitNewOrder\",\n \"parameters\": [\n {\n \"description\": \"The account to which the order will clear.\",\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"DU123456\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/ordersSubmissionRequest\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"advancedOrderRejectPromptExample\": {\n \"value\": {\n \"dismissable\": [],\n \"messageId\": \"p12\",\n \"options\": [\n \"Use on this order\",\n \"Always use\",\n \"Do not use\"\n ],\n \"orderId\": 123456789,\n \"prompt\": true,\n \"reqId\": \"22170\",\n \"text\": \"If your order is not immediately executable, our systems may, depending on market conditions, reject your order if its limit price is more that the allowed amount away from the reference price at that time. If this happens, you will not receive a fill. This is a control designed to ensure that we comply with our regulatory obligations to avoid submitting disruptive orders to the marketplace.\\nUse the Price Management Algo?\",\n \"type\": \"M\"\n }\n },\n \"orderReplyMessageExample\": {\n \"value\": [\n {\n \"id\": \"99097238-9824-4830-84ef-46979aa22593\",\n \"isSuppressed\": false,\n \"message\": [\n \"You are submitting an order without market data. We strongly recommend against this as it may result in erroneous and unexpected trades.\\nAre you sure you want to submit this order?\"\n ],\n \"messageIds\": [\n \"o354\"\n ]\n }\n ]\n },\n \"orderSubmitErrorExample\": {\n \"value\": {\n \"error\": \"Order not confirmed \"\n }\n },\n \"orderSubmitSuccessExample\": {\n \"value\": [\n {\n \"encrypt_message\": \"1\",\n \"order_id\": \"1370093239\",\n \"order_status\": \"PreSubmitted\"\n }\n ]\n }\n },\n \"schema\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/orderSubmitSuccess\"\n },\n {\n \"$ref\": \"#/components/schemas/orderReplyMessage\"\n },\n {\n \"$ref\": \"#/components/schemas/orderSubmitError\"\n },\n {\n \"$ref\": \"#/components/schemas/advancedOrderReject\"\n }\n ]\n }\n }\n },\n \"description\": \"Order submission response (success, error, reply is required or order reject)\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Submit New Order\",\n \"tags\": [\n \"Trading Orders\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/{accountId}/orders/whatif\": {\n \"post\": {\n \"description\": \"Preview the projected effects of an order ticket or bracket of orders, including cost and changes to margin and account equity.\",\n \"operationId\": \"previewMarginImpact\",\n \"parameters\": [\n {\n \"description\": \"The account to which the order will clear.\",\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"DU123456\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/ordersSubmissionRequest\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"orderPreview\": {\n \"value\": {\n \"amount\": {\n \"amount\": \"1,977.60 USD (10 Shares)\",\n \"commission\": \"1 USD\",\n \"total\": \"1,978.60 USD\"\n },\n \"equity\": {\n \"after\": \"123,455\",\n \"change\": \"-1\",\n \"current\": \"123,456\"\n },\n \"error\": null,\n \"initial\": {\n \"after\": \"1652\",\n \"change\": \"652\",\n \"current\": \"1000\"\n },\n \"maintenance\": {\n \"after\": \"1490\",\n \"change\": \"590\\\"\\\"\",\n \"current\": \"900\"\n },\n \"position\": {\n \"after\": \"30\",\n \"change\": \"10\",\n \"current\": \"20\"\n },\n \"warn\": \"21/You are trying to submit an order without having market data for this instrument. \\nIB strongly recommends against this kind of blind trading which may result in \\nerroreous or unexpected trades.\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/orderPreview\"\n }\n }\n },\n \"description\": \"Order Preview\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"New Order Preview\",\n \"tags\": [\n \"Trading Orders\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/{accountId}/summary\": {\n \"get\": {\n \"description\": \"Provides a general overview of the account details such as balance values.\",\n \"operationId\": \"getAccountSummary\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Pass the account identifier to receive information for.\",\n \"example\": \"U1234567\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"SMA\": 368538.0,\n \"accountType\": \"\",\n \"accruedInterest\": 0.0,\n \"availableFunds\": 825903.0,\n \"balance\": 825903.0,\n \"buyingPower\": 3307124.0,\n \"cashBalances\": [\n {\n \"balance\": 194.0,\n \"currency\": \"EUR\",\n \"settledCash\": 194.0\n },\n {\n \"balance\": 0.0,\n \"currency\": \"HKD\",\n \"settledCash\": 0.0\n },\n {\n \"balance\": 14781.0,\n \"currency\": \"JPY\",\n \"settledCash\": 14781.0\n },\n {\n \"balance\": -402158.0,\n \"currency\": \"USD\",\n \"settledCash\": -402158.0\n },\n {\n \"balance\": -401846.0,\n \"currency\": \"Total (in USD)\",\n \"settledCash\": -401846.0\n }\n ],\n \"equityWithLoanValue\": 1281714.0,\n \"excessLiquidity\": 826781.0,\n \"initialMargin\": 464586.0,\n \"maintenanceMargin\": 463709.0,\n \"netLiquidationValue\": 1290490.0,\n \"regTLoan\": 0.0,\n \"regTMargin\": 0.0,\n \"securitiesGVP\": 1793178.0,\n \"status\": \"\",\n \"totalCashValue\": -401846.0\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/accountSummaryResponse\"\n }\n }\n },\n \"description\": \"Provides a general overview of the account details such as balance values.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/IServerAccountBadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Summary Of Account Values\",\n \"tags\": [\n \"Trading Accounts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/{accountId}/summary/available_funds\": {\n \"get\": {\n \"description\": \"Provides a summary specific for avilable funds giving more depth than the standard /summary endpoint.\",\n \"operationId\": \"getFundSummary\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Pass the account identifier to receive information for.\",\n \"example\": \"U1234567\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"Crypto at Paxos\": {\n \"Lk Ahd Avlbl Fnds\": \"0 USD\",\n \"Lk Ahd Excss Lqdty\": \"0 USD\",\n \"Prdctd Pst-xpry Excss\": \"0 USD\",\n \"current_available\": \"0 USD\",\n \"current_excess\": \"0 USD\",\n \"overnight_available\": \"0 USD\",\n \"overnight_excess\": \"0 USD\"\n },\n \"commodities\": {\n \"Lk Ahd Avlbl Fnds\": \"18,342 USD\",\n \"Lk Ahd Excss Lqdty\": \"19,597 USD\",\n \"Prdctd Pst-xpry Excss\": \"0 USD\",\n \"current_available\": \"22,483 USD\",\n \"current_excess\": \"23,361 USD\",\n \"overnight_available\": \"18,342 USD\",\n \"overnight_excess\": \"19,597 USD\"\n },\n \"securities\": {\n \"Lk Ahd Avlbl Fnds\": \"802,725 USD\",\n \"Lk Ahd Excss Lqdty\": \"802,727 USD\",\n \"Prdctd Pst-xpry Excss\": \"0 USD\",\n \"SMA\": \"368,538 USD\",\n \"current_available\": \"802,725 USD\",\n \"current_excess\": \"802,727 USD\",\n \"leverage\": \"1.43\",\n \"overnight_available\": \"802,725 USD\",\n \"overnight_excess\": \"802,727 USD\"\n },\n \"total\": {\n \"Lk Ahd Avlbl Fnds\": \"821,067 USD\",\n \"Lk Ahd Excss Lqdty\": \"822,324 USD\",\n \"Lk Ahd Nxt Chng\": \"@ 16:00:00\",\n \"Prdctd Pst-xpry Excss\": \"0 USD\",\n \"SMA\": \"368,538 USD\",\n \"buying_power\": \"3,304,346 USD\",\n \"current_available\": \"825,208 USD\",\n \"current_excess\": \"826,089 USD\",\n \"day_trades_left\": \"Unlimited\",\n \"leverage\": \"n/a\",\n \"overnight_available\": \"821,067 USD\",\n \"overnight_excess\": \"822,324 USD\"\n }\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/availableFundsResponse\"\n }\n }\n },\n \"description\": \"Indicates a successful return of available funds.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/IServerAccountBadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Summary Of Available Funds\",\n \"tags\": [\n \"Trading Accounts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/{accountId}/summary/balances\": {\n \"get\": {\n \"description\": \"Returns a summary of an account\'s equity and cash balances, in total and by account segment.\",\n \"operationId\": \"getBalanceSummary\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Pass the account identifier to receive information for.\",\n \"example\": \"U1234567\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"Crypto at Paxos\": {\n \"MTD Interest\": \"0 USD\",\n \"Pndng Dbt Crd Chrgs\": \"0 USD\",\n \"cash\": \"0 USD\",\n \"equity_with_loan\": \"0 USD\",\n \"net_liquidation\": \"0 USD\"\n },\n \"commodities\": {\n \"MTD Interest\": \"0 USD\",\n \"Pndng Dbt Crd Chrgs\": \"0 USD\",\n \"cash\": \"32,072 USD\",\n \"equity_with_loan\": \"23,291 USD\",\n \"net_liquidation\": \"32,072 USD\"\n },\n \"securities\": {\n \"MTD Interest\": \"-549 USD\",\n \"Pndng Dbt Crd Chrgs\": \"0 USD\",\n \"Prvs Dy Eqty Wth Ln Vl\": \"1,275,902 USD\",\n \"Rg T Eqty Wth Ln Vl\": \"1,256,229 USD\",\n \"cash\": \"-433,765 USD\",\n \"equity_with_loan\": \"1,256,229 USD\",\n \"net_liquidation\": \"1,256,229 USD\",\n \"sec_gross_pos_val\": \"1,791,096 USD\"\n },\n \"total\": {\n \"MTD Interest\": \"-549 USD\",\n \"Nt Lqdtn Uncrtnty\": \"0 USD\",\n \"Pndng Dbt Crd Chrgs\": \"0 USD\",\n \"Prvs Dy Eqty Wth Ln Vl\": \"1,275,902 USD\",\n \"Rg T Eqty Wth Ln Vl\": \"1,256,229 USD\",\n \"cash\": \"-401,693 USD\",\n \"equity_with_loan\": \"1,279,520 USD\",\n \"net_liquidation\": \"1,288,301 USD\",\n \"sec_gross_pos_val\": \"1,791,096 USD\"\n }\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/summaryOfAccountBalancesResponse\"\n }\n }\n },\n \"description\": \"Indicates a successful return of available funds.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/IServerAccountBadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Summary Of Account Balances\",\n \"tags\": [\n \"Trading Accounts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/{accountId}/summary/margins\": {\n \"get\": {\n \"description\": \"Returns a summary of an account\'s margin, in total and by account segment.\",\n \"operationId\": \"getMarginSummary\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Pass the account identifier to receive information for.\",\n \"example\": \"U1234567\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"Crypto at Paxos\": {\n \"Prdctd Pst-xpry Mrgn @ Opn\": \"0 USD\",\n \"Prjctd Lk Ahd Mntnnc Mrgn\": \"0 USD\",\n \"Prjctd Ovrnght Mntnnc Mrgn\": \"0 USD\",\n \"current_initial\": \"0 USD\",\n \"current_maint\": \"0 USD\",\n \"projected_liquidity_inital_margin\": \"0 USD\",\n \"projected_overnight_initial_margin\": \"0 USD\"\n },\n \"commodities\": {\n \"Prdctd Pst-xpry Mrgn @ Opn\": \"0 USD\",\n \"Prjctd Lk Ahd Mntnnc Mrgn\": \"12,540 USD\",\n \"Prjctd Ovrnght Mntnnc Mrgn\": \"12,540 USD\",\n \"current_initial\": \"13,794 USD\",\n \"current_maint\": \"12,540 USD\",\n \"projected_liquidity_inital_margin\": \"13,794 USD\",\n \"projected_overnight_initial_margin\": \"13,794 USD\"\n },\n \"securities\": {\n \"Prdctd Pst-xpry Mrgn @ Opn\": \"0 USD\",\n \"Prjctd Lk Ahd Mntnnc Mrgn\": \"454,768 USD\",\n \"Prjctd Ovrnght Mntnnc Mrgn\": \"454,768 USD\",\n \"RegT Margin\": \"896,255 USD\",\n \"current_initial\": \"454,768 USD\",\n \"current_maint\": \"454,768 USD\",\n \"projected_liquidity_inital_margin\": \"454,768 USD\",\n \"projected_overnight_initial_margin\": \"454,768 USD\"\n },\n \"total\": {\n \"Prdctd Pst-xpry Mrgn @ Opn\": \"0 USD\",\n \"Prjctd Lk Ahd Mntnnc Mrgn\": \"467,308 USD\",\n \"Prjctd Ovrnght Mntnnc Mrgn\": \"467,308 USD\",\n \"RegT Margin\": \"896,255 USD\",\n \"current_initial\": \"468,562 USD\",\n \"current_maint\": \"467,308 USD\",\n \"projected_liquidity_inital_margin\": \"468,562 USD\",\n \"projected_overnight_initial_margin\": \"468,562 USD\"\n }\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/summaryOfAccountMarginResponse\"\n }\n }\n },\n \"description\": \"Indicates a success request to receive margin balance values.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/IServerAccountBadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Summary Of Account Margin Usage\",\n \"tags\": [\n \"Trading Accounts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/account/{accountId}/summary/market_value\": {\n \"get\": {\n \"description\": \"Returns a summary of an account\'s market value, by currency and asset class.\",\n \"operationId\": \"getAccountMarketSummary\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Pass the account identifier to receive information for.\",\n \"example\": \"U1234567\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"EUR\": {\n \"Cryptocurrency\": \"0\",\n \"Exchange Rate\": \"1.092525\",\n \"Govt Bonds\": \"0\",\n \"MTD Interest\": \"0\",\n \"Notional CFD\": \"0\",\n \"bonds\": \"0\",\n \"cfd\": \"0\",\n \"commodity\": \"0\",\n \"dividends_receivable\": \"0\",\n \"funds\": \"0\",\n \"future_options\": \"0\",\n \"futures\": \"0\",\n \"issuer_option\": \"0\",\n \"money_market\": \"0\",\n \"mutual_funds\": \"0\",\n \"net_liquidation\": \"194\",\n \"options\": \"0\",\n \"realized_pnl\": \"0\",\n \"settled_cash\": \"194\",\n \"stock\": \"0\",\n \"t_bills\": \"0\",\n \"total_cash\": \"194\",\n \"unrealized_pnl\": \"0\",\n \"warrants\": \"0\"\n },\n \"HKD\": {\n \"Cryptocurrency\": \"0\",\n \"Exchange Rate\": \"0.1278515\",\n \"Govt Bonds\": \"0\",\n \"MTD Interest\": \"0\",\n \"Notional CFD\": \"0\",\n \"bonds\": \"0\",\n \"cfd\": \"0\",\n \"commodity\": \"0\",\n \"dividends_receivable\": \"0\",\n \"funds\": \"0\",\n \"future_options\": \"0\",\n \"futures\": \"0\",\n \"issuer_option\": \"0\",\n \"money_market\": \"0\",\n \"mutual_funds\": \"0\",\n \"net_liquidation\": \"19,441\",\n \"options\": \"0\",\n \"realized_pnl\": \"0\",\n \"settled_cash\": \"0\",\n \"stock\": \"19,441\",\n \"t_bills\": \"0\",\n \"total_cash\": \"0\",\n \"unrealized_pnl\": \"4,857\",\n \"warrants\": \"0\"\n },\n \"JPY\": {\n \"Cryptocurrency\": \"0\",\n \"Exchange Rate\": \"0.0068052\",\n \"Govt Bonds\": \"0\",\n \"MTD Interest\": \"0\",\n \"Notional CFD\": \"0\",\n \"bonds\": \"0\",\n \"cfd\": \"0\",\n \"commodity\": \"0\",\n \"dividends_receivable\": \"0\",\n \"funds\": \"0\",\n \"future_options\": \"0\",\n \"futures\": \"0\",\n \"issuer_option\": \"0\",\n \"money_market\": \"0\",\n \"mutual_funds\": \"0\",\n \"net_liquidation\": \"14,781\",\n \"options\": \"0\",\n \"realized_pnl\": \"0\",\n \"settled_cash\": \"14,781\",\n \"stock\": \"0\",\n \"t_bills\": \"0\",\n \"total_cash\": \"14,781\",\n \"unrealized_pnl\": \"0\",\n \"warrants\": \"0\"\n },\n \"Total (in USD)\": {\n \"Cryptocurrency\": \"0\",\n \"Exchange Rate\": \"1.00\",\n \"Govt Bonds\": \"0\",\n \"MTD Interest\": \"-549\",\n \"Notional CFD\": \"0\",\n \"bonds\": \"0\",\n \"cfd\": \"0\",\n \"commodity\": \"0\",\n \"dividends_receivable\": \"0\",\n \"funds\": \"0\",\n \"future_options\": \"0\",\n \"futures\": \"-212\",\n \"issuer_option\": \"0\",\n \"money_market\": \"0\",\n \"mutual_funds\": \"0\",\n \"net_liquidation\": \"1,291,959\",\n \"options\": \"0\",\n \"realized_pnl\": \"0\",\n \"settled_cash\": \"-401,646\",\n \"stock\": \"1,694,154\",\n \"t_bills\": \"0\",\n \"total_cash\": \"-401,646\",\n \"unrealized_pnl\": \"253,896\",\n \"warrants\": \"0\"\n },\n \"USD\": {\n \"Cryptocurrency\": \"0\",\n \"Exchange Rate\": \"1.00\",\n \"Govt Bonds\": \"0\",\n \"MTD Interest\": \"-549\",\n \"Notional CFD\": \"0\",\n \"bonds\": \"0\",\n \"cfd\": \"0\",\n \"commodity\": \"0\",\n \"dividends_receivable\": \"0\",\n \"funds\": \"0\",\n \"future_options\": \"0\",\n \"futures\": \"-212\",\n \"issuer_option\": \"0\",\n \"money_market\": \"0\",\n \"mutual_funds\": \"0\",\n \"net_liquidation\": \"1,289,161\",\n \"options\": \"0\",\n \"realized_pnl\": \"0\",\n \"settled_cash\": \"-401,958\",\n \"stock\": \"1,691,668\",\n \"t_bills\": \"0\",\n \"total_cash\": \"-401,958\",\n \"unrealized_pnl\": \"253,275\",\n \"warrants\": \"0\"\n }\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/summaryMarketValueResponse\"\n }\n }\n },\n \"description\": \"Indicates a successful market value request.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/IServerAccountBadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Summary Of Account Market Value\",\n \"tags\": [\n \"Trading Accounts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/accounts\": {\n \"get\": {\n \"description\": \"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.\",\n \"operationId\": \"getBrokerageAccounts\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"accounts\": [\n \"U1234567\"\n ],\n \"acctProps\": {\n \"U1234567\": {\n \"allowCustomerTime\": true,\n \"autoFx\": false,\n \"hasChildAccounts\": false,\n \"liteUnderPro\": false,\n \"noFxConv\": false,\n \"supportsCashQty\": true,\n \"supportsFractions\": true\n }\n },\n \"aliases\": {\n \"All\": \"All\",\n \"U1234567\": \"U1234567\"\n },\n \"allowFeatures\": {\n \"allowCrypto\": false,\n \"allowDynAccount\": false,\n \"allowEventContract\": true,\n \"allowEventTrading\": true,\n \"allowFA\": false,\n \"allowFXConv\": true,\n \"allowFinancialLens\": true,\n \"allowLiteUnderPro\": false,\n \"allowMTA\": false,\n \"allowTypeAhead\": true,\n \"allowedAssetTypes\": \"STK,CFD,OPT,FOP,WAR,FUT,BAG,PDC,CASH,IND,BOND,BILL,FUND,SLB,News,CMDTY,IOPT,ICU,ICS,PHYSS,CRYPTO\",\n \"debugPnl\": true,\n \"liteUser\": false,\n \"research\": true,\n \"restrictTradeSubscription\": false,\n \"showEUCostReport\": false,\n \"showGFIS\": true,\n \"showImpactDashboard\": true,\n \"showTaxOpt\": true,\n \"showUkUserLabels\": false,\n \"showWebNews\": true,\n \"sideBySide\": true,\n \"snapshotRefreshTimeout\": 30\n },\n \"chartPeriods\": {\n \"BOND\": [\n \"*\"\n ],\n \"CASH\": [\n \"*\"\n ],\n \"CFD\": [\n \"*\"\n ],\n \"CMDTY\": [\n \"*\"\n ],\n \"CRYPTO\": [\n \"*\"\n ],\n \"FOP\": [\n \"2h\",\n \"1d\",\n \"2d\",\n \"1w\",\n \"1m\"\n ],\n \"FUND\": [\n \"*\"\n ],\n \"FUT\": [\n \"*\"\n ],\n \"IND\": [\n \"*\"\n ],\n \"IOPT\": [\n \"*\"\n ],\n \"OPT\": [\n \"2h\",\n \"1d\",\n \"2d\",\n \"1w\",\n \"1m\"\n ],\n \"PHYSS\": [\n \"*\"\n ],\n \"STK\": [\n \"*\"\n ],\n \"WAR\": [\n \"*\"\n ]\n },\n \"groups\": [\n \"All\"\n ],\n \"isFT\": false,\n \"isPaper\": true,\n \"profiles\": [],\n \"selectedAccount\": \"U1234567\",\n \"serverInfo\": {\n \"serverName\": \"server\",\n \"serverVersion\": \"Build 99.99.9, May 22, 2020 4:19:22 PM\"\n },\n \"sessionId\": \"65ee8a41.0000001e\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/userAccountsResponse\"\n }\n }\n },\n \"description\": \"An object containing valid accounts and the account properties regarding trading access. This endpoint is also used to confirm account validation.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"List All Tradable Accounts\",\n \"tags\": [\n \"Trading Accounts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/auth/ssodh/init\": {\n \"post\": {\n \"description\": \"After retrieving the access token and subsequent Live Session Token, customers can initialize their brokerage session with the ssodh/init endpoint.\",\n \"operationId\": \"initializeSession\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/brokerageSessionInitRequest\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"example\": {\n \"success\": {\n \"value\": {\n \"MAC\": \"98:F2:B3:23:BF:A0\",\n \"authenticated\": true,\n \"competing\": false,\n \"connected\": true,\n \"established\": true,\n \"message\": \"\",\n \"serverInfo\": {\n \"serverName\": \"JifN19053\",\n \"serverVersion\": \"Build 10.25.0p, Dec 5, 2023 5:48:12 PM\"\n }\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/brokerageSessionStatus\"\n }\n }\n },\n \"description\": \"An array of objects detailing contract information.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Initialize Brokerage Session\",\n \"tags\": [\n \"Trading Session\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/auth/status\": {\n \"post\": {\n \"description\": \"Current Authentication status to the Brokerage system. Market Data and Trading is not possible if not authenticated.\",\n \"operationId\": \"getBrokerageStatus\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"example\": {\n \"success\": {\n \"value\": {\n \"MAC\": \"12:B:B3:23:BF:A0\",\n \"authenticated\": true,\n \"competing\": false,\n \"connected\": true,\n \"established\": true,\n \"fail\": \"\",\n \"hardware_info\": \"21026956|06:8E:04:45:DA:8F\",\n \"message\": \"\",\n \"serverInfo\": {\n \"serverName\": \"JifN19053\",\n \"serverVersion\": \"Build 10.25.0p, Dec 5, 2023 5:48:12 PM\"\n }\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/brokerageSessionStatus\"\n }\n }\n },\n \"description\": \"Detailed status of the Brokerage session\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n }\n },\n \"summary\": \"Brokerage Session Status\",\n \"tags\": [\n \"Trading Session\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/contract/rules\": {\n \"post\": {\n \"description\": \"Returns trading related rules for a specific contract and side.\",\n \"operationId\": \"getContractRules\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"conid\": {\n \"description\": \"Contract identifier for the interested contract.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"isBuy\": {\n \"default\": true,\n \"description\": \"Side of the market rules apply too. Set to true for Buy Orders, set to false for Sell orders.\",\n \"type\": \"boolean\"\n },\n \"modifyOrder\": {\n \"default\": false,\n \"description\": \"Used to find trading rules related to an existing order.\",\n \"type\": \"boolean\"\n },\n \"orderId\": {\n \"description\": \"Specify the order identifier used for tracking a given order.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"required\": [\n \"conid\"\n ],\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"algoEligible\": true,\n \"allOrNoneEligible\": true,\n \"canTradeAcctIds\": [\n \"U1234567\",\n \"U1234568\",\n \"U1234569\"\n ],\n \"cashCcy\": \"USD\",\n \"cashQtyIncr\": 500,\n \"cashSize\": 0.0,\n \"costReport\": false,\n \"cqtTypes\": [\n \"limit\",\n \"market\",\n \"stop\",\n \"stop_limit\",\n \"mit\",\n \"lit\",\n \"trailing_stop\",\n \"trailing_stop_limit\"\n ],\n \"defaultSize\": 100,\n \"displaySize\": null,\n \"error\": null,\n \"forceOrderPreview\": false,\n \"fraqInt\": 4,\n \"fraqTypes\": [\n \"limit\",\n \"market\",\n \"stop\",\n \"stop_limit\",\n \"mit\",\n \"lit\",\n \"trailing_stop\",\n \"trailing_stop_limit\"\n ],\n \"hasSecondary\": true,\n \"ibAlgoTypes\": [\n \"limit\",\n \"stop_limit\",\n \"lit\",\n \"trailing_stop_limit\",\n \"relative\",\n \"marketonclose\",\n \"limitonclose\"\n ],\n \"increment\": 0.01,\n \"incrementDigits\": 2,\n \"incrementRules\": [\n {\n \"increment\": 0.01,\n \"lowerEdge\": 0.0\n }\n ],\n \"incrementType\": 1,\n \"limitPrice\": 198.22,\n \"negativeCapable\": false,\n \"orderDefaults\": {\n \"LMT\": {\n \"LP\": \"198.22\"\n }\n },\n \"orderOrigination\": null,\n \"orderTypes\": [\n \"limit\",\n \"midprice\",\n \"market\",\n \"stop\",\n \"stop_limit\",\n \"mit\",\n \"lit\",\n \"trailing_stop\",\n \"trailing_stop_limit\",\n \"relative\",\n \"marketonclose\",\n \"limitonclose\"\n ],\n \"orderTypesOutside\": [\n \"limit\",\n \"stop_limit\",\n \"lit\",\n \"trailing_stop_limit\",\n \"relative\"\n ],\n \"preview\": true,\n \"priceMagnifier\": null,\n \"sizeIncrement\": 100,\n \"stopprice\": 198.22,\n \"tifDefaults\": {\n \"DEFAULT_ACCT\": \"U1234567\",\n \"PMALGO\": true,\n \"SIZE\": \"100.00\",\n \"TIF\": \"DAY\"\n },\n \"tifTypes\": [\n \"IOC/MARKET,LIMIT,RELATIVE,MARKETONCLOSE,MIDPRICE,LIMITONCLOSE,MKT_PROTECT,STPPRT,a\",\n \"GTC/o,a\",\n \"OPG/LIMIT,MARKET,a\",\n \"GTD/o,a\",\n \"DAY/o,a\"\n ]\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/contractRules\"\n }\n }\n },\n \"description\": \"An array of objects detailing contract information.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Search Contract Rules\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/contract/{conid}/algos\": {\n \"get\": {\n \"description\": \"Returns supported IB Algos for an instrument. A pre-flight request must be submitted before retrieving information.\",\n \"operationId\": \"getAlgosByInstrument\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"conid\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Contract identifier for the requested contract of interest.\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"algos\",\n \"required\": false,\n \"schema\": {\n \"description\": \"List of algo ids delimited by \\\";\\\" to filter by. Max of 8 algos ids can be specified. Case sensitive to algo id.\\n\",\n \"enum\": [\n \"Adaptive\",\n \"Vwap\"\n ],\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"addDescription\",\n \"required\": false,\n \"schema\": {\n \"default\": 0,\n \"description\": \"Whether or not to add algo descriptions to response. Set to 1 for yes, 0 for no.\",\n \"enum\": [\n 0,\n 1\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"addParams\",\n \"required\": false,\n \"schema\": {\n \"default\": 0,\n \"description\": \"Whether or not to show algo parameters. Set to 1 for yes, 0 for no.\",\n \"enum\": [\n 0,\n 1\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"algos\": [\n {\n \"id\": \"Adaptive\",\n \"name\": \"Adaptive\"\n },\n {\n \"id\": \"ArrivalPx\",\n \"name\": \"Arrival Price\"\n },\n {\n \"id\": \"ClosePx\",\n \"name\": \"Close Price\"\n },\n {\n \"id\": \"DarkIce\",\n \"name\": \"DarkIce\"\n },\n {\n \"id\": \"PctVol\",\n \"name\": \"Percentage of Volume\"\n },\n {\n \"id\": \"PctVolPx\",\n \"name\": \"Price Variant Percentage of Volume\"\n },\n {\n \"id\": \"PctVolSz\",\n \"name\": \"Size Variant Percentage of Volume\"\n },\n {\n \"id\": \"Twap\",\n \"name\": \"TWAP\"\n },\n {\n \"id\": \"PctVolTm\",\n \"name\": \"Time Variant Percentage of Volume\"\n },\n {\n \"id\": \"Vwap\",\n \"name\": \"VWAP\"\n }\n ]\n }\n },\n \"success-with-additional-data\": {\n \"value\": {\n \"algos\": [\n {\n \"id\": \"Adaptive\",\n \"name\": \"Adaptive\",\n \"parameters\": [\n {\n \"defaultValue\": \"Normal\",\n \"guiRank\": 1,\n \"id\": \"adaptivePriority\",\n \"legalStrings\": [\n \"Urgent\",\n \"Normal\",\n \"Patient\"\n ],\n \"name\": \"Adaptive order priority/urgency\",\n \"required\": \"true\",\n \"valueClassName\": \"String\"\n }\n ]\n },\n {\n \"id\": \"ArrivalPx\",\n \"name\": \"Arrival Price\",\n \"parameters\": [\n {\n \"defaultValue\": \"Neutral\",\n \"guiRank\": 3,\n \"id\": \"riskAversion\",\n \"legalStrings\": [\n \"GetDone\",\n \"Aggressive\",\n \"Neutral\",\n \"Passive\"\n ],\n \"name\": \"Urgency/Risk aversion\",\n \"required\": \"true\",\n \"valueClassName\": \"String\"\n },\n {\n \"defaultValue\": false,\n \"guiRank\": 6,\n \"id\": \"allowPastEndTime\",\n \"name\": \"Allow trading past end time\",\n \"valueClassName\": \"Boolean\"\n },\n {\n \"defaultValue\": false,\n \"guiRank\": 7,\n \"id\": \"forceCompletion\",\n \"name\": \"Attempt completion by EOD\",\n \"valueClassName\": \"Boolean\"\n },\n {\n \"description\": \"Defaults to start of market trading\",\n \"guiRank\": 4,\n \"id\": \"startTime\",\n \"name\": \"Start Time\",\n \"valueClassName\": \"Time\"\n },\n {\n \"description\": \"From 0.01 to 50.0\",\n \"guiRank\": 2,\n \"id\": \"maxPctVol\",\n \"maxValue\": 50,\n \"minValue\": 0.01,\n \"name\": \"Max Percentage\",\n \"required\": \"true\",\n \"valueClassName\": \"Double\"\n },\n {\n \"description\": \"Defaults to end of market trading\",\n \"guiRank\": 5,\n \"id\": \"endTime\",\n \"name\": \"End Time\",\n \"valueClassName\": \"Time\"\n }\n ]\n }\n ]\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/algosResponse\"\n }\n }\n },\n \"description\": \"Returns a list of available algos and a description of their behavior.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Search Algos For An Instrument\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/contract/{conid}/info\": {\n \"get\": {\n \"description\": \"Requests full contract details for the given conid.\",\n \"operationId\": \"getInstrumentInfo\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"conid\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Contract identifier for the requested contract of interest.\",\n \"example\": \"265598\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"opt-contract-info\": {\n \"value\": {\n \"allow_sell_long\": false,\n \"cfi_code\": \"OCXXXS\",\n \"classifier\": null,\n \"company_name\": \"INTL BUSINESS MACHINES CORP\",\n \"con_id\": 685302909,\n \"contract_clarification_type\": null,\n \"contract_month\": \"202403\",\n \"currency\": \"USD\",\n \"cusip\": null,\n \"exchange\": \"SMART\",\n \"expiry_full\": \"20240315\",\n \"instrument_type\": \"OPT\",\n \"is_zero_commission_security\": false,\n \"local_symbol\": \"IBM 240315C00187500\",\n \"maturity_date\": \"20240315\",\n \"multiplier\": \"100\",\n \"r_t_h\": false,\n \"right\": \"CALL\",\n \"smart_available\": true,\n \"strike\": \"187.5\",\n \"symbol\": \"IBM\",\n \"text\": \"MAR 15 \'24 187.5 Call\",\n \"trading_class\": \"IBM\",\n \"underlying_con_id\": 8314,\n \"underlying_issuer\": null,\n \"valid_exchanges\": \"SMART,AMEX,CBOE,PHLX,PSE,ISE,BOX,BATS,NASDAQOM,CBOE2,NASDAQBX,MIAX,GEMINI,EDGX,MERCURY,PEARL,EMERALD,MEMX,IBUSOPT\"\n }\n },\n \"stk-contract-info\": {\n \"value\": {\n \"allow_sell_long\": false,\n \"category\": \"Computer Services\",\n \"cfi_code\": \"\",\n \"classifier\": null,\n \"company_name\": \"INTL BUSINESS MACHINES CORP\",\n \"con_id\": 8314,\n \"contract_clarification_type\": null,\n \"contract_month\": null,\n \"currency\": \"USD\",\n \"cusip\": null,\n \"exchange\": \"SMART\",\n \"expiry_full\": null,\n \"industry\": \"Computers\",\n \"instrument_type\": \"STK\",\n \"is_zero_commission_security\": false,\n \"local_symbol\": \"IBM\",\n \"maturity_date\": null,\n \"multiplier\": null,\n \"r_t_h\": true,\n \"smart_available\": true,\n \"symbol\": \"IBM\",\n \"text\": null,\n \"trading_class\": \"IBM\",\n \"underlying_con_id\": 0,\n \"underlying_issuer\": null,\n \"valid_exchanges\": \"SMART,AMEX,NYSE,CBOE,PHLX,ISE,CHX,ARCA,NASDAQ,DRCTEDGE,BEX,BATS,EDGEA,BYX,NYSEDARK,NASDDARK,IEX,EDGX,FOXRIVER,PEARL,NYSENAT,IEXMID,JANELP,IMCLP,LTSE,MEMX,JUMPLP,OLDMCLP,RBCCMALP,IBEOS,GSLP,BLUEOCEAN,OVERNIGHT,JANEMID,G1XLP,PSX\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/contractInfo\"\n }\n }\n },\n \"description\": \"Returns detailed information for the passed contract.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"General Instrument Information\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/contract/{conid}/info-and-rules\": {\n \"get\": {\n \"description\": \"Requests full contract details and trading rules for the given conid. A follow-up request will provide additional trading rules.\\n\",\n \"operationId\": \"getInfoAndRules\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"conid\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Contract identifier for the requested contract of interest.\",\n \"example\": \"265598\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"option\": {\n \"value\": {\n \"allow_sell_long\": false,\n \"cfi_code\": \"OCXXXS\",\n \"classifier\": null,\n \"company_name\": \"INTL BUSINESS MACHINES CORP\",\n \"con_id\": 685302909,\n \"contract_clarification_type\": null,\n \"contract_month\": \"202403\",\n \"currency\": \"USD\",\n \"cusip\": null,\n \"exchange\": \"SMART\",\n \"expiry_full\": \"20240315\",\n \"instrument_type\": \"OPT\",\n \"is_zero_commission_security\": false,\n \"local_symbol\": \"IBM 240315C00187500\",\n \"maturity_date\": \"20240315\",\n \"multiplier\": \"100\",\n \"r_t_h\": false,\n \"right\": \"CALL\",\n \"rules\": {\n \"algoEligible\": true,\n \"canTradeAcctIds\": [\n \"DUC10000\"\n ],\n \"cashCcy\": \"USD\",\n \"cashQtyIncr\": null,\n \"cashSize\": 0.0,\n \"costReport\": false,\n \"cqtTypes\": [],\n \"defaultSize\": 1,\n \"displaySize\": null,\n \"error\": null,\n \"forceOrderPreview\": false,\n \"fraqInt\": 0,\n \"fraqTypes\": [],\n \"hasSecondary\": true,\n \"ibAlgoTypes\": [\n \"limit\",\n \"stop_limit\",\n \"lit\",\n \"trailing_stop_limit\",\n \"relative\"\n ],\n \"increment\": 0.01,\n \"incrementDigits\": 2,\n \"incrementRules\": [\n {\n \"increment\": 0.01,\n \"lowerEdge\": 0.0\n }\n ],\n \"incrementType\": 1,\n \"limitPrice\": null,\n \"negativeCapable\": false,\n \"orderDefaults\": {\n \"LMT\": {\n \"LP\": \"empty\"\n }\n },\n \"orderOrigination\": null,\n \"orderTypes\": [\n \"limit\",\n \"market\",\n \"stop\",\n \"stop_limit\",\n \"mit\",\n \"lit\",\n \"trailing_stop\",\n \"trailing_stop_limit\",\n \"relative\"\n ],\n \"orderTypesOutside\": [],\n \"overnightEligible\": false,\n \"preview\": true,\n \"priceMagnifier\": null,\n \"sizeIncrement\": 1,\n \"stopprice\": null,\n \"tifDefaults\": {\n \"SIZE\": \"1.00\",\n \"TIF\": \"DAY\"\n },\n \"tifTypes\": [\n \"IOC/MARKET,LIMIT,RELATIVE,MARKETONCLOSE,MIDPRICE,LIMITONCLOSE,MKT_PROTECT,STPPRT,a\",\n \"GTC/o,a\",\n \"GTD/o,a\",\n \"DAY/o,a\"\n ]\n },\n \"smart_available\": true,\n \"strike\": \"187.5\",\n \"symbol\": \"IBM\",\n \"text\": \"MAR 15 \'24 187.5 Call\",\n \"trading_class\": \"IBM\",\n \"underlying_con_id\": 8314,\n \"underlying_issuer\": null,\n \"valid_exchanges\": \"SMART,AMEX,CBOE,PHLX,PSE,ISE,BOX,BATS,NASDAQOM,CBOE2,NASDAQBX,MIAX,GEMINI,EDGX,MERCURY,PEARL,EMERALD,MEMX,IBUSOPT\"\n }\n },\n \"stk\": {\n \"value\": {\n \"allow_sell_long\": false,\n \"category\": \"Computer Services\",\n \"cfi_code\": \"\",\n \"classifier\": null,\n \"company_name\": \"INTL BUSINESS MACHINES CORP\",\n \"con_id\": 8314,\n \"contract_clarification_type\": null,\n \"contract_month\": null,\n \"currency\": \"USD\",\n \"cusip\": null,\n \"exchange\": \"SMART\",\n \"expiry_full\": null,\n \"industry\": \"Computers\",\n \"instrument_type\": \"STK\",\n \"is_zero_commission_security\": false,\n \"local_symbol\": \"IBM\",\n \"maturity_date\": null,\n \"multiplier\": null,\n \"r_t_h\": true,\n \"rules\": {\n \"algoEligible\": true,\n \"canTradeAcctIds\": [\n \"DUC10000\"\n ],\n \"cashCcy\": \"USD\",\n \"cashQtyIncr\": 500,\n \"cashSize\": 0.0,\n \"costReport\": false,\n \"cqtTypes\": [\n \"limit\",\n \"market\",\n \"stop\",\n \"stop_limit\",\n \"mit\",\n \"lit\",\n \"trailing_stop\",\n \"trailing_stop_limit\"\n ],\n \"defaultSize\": 100,\n \"displaySize\": null,\n \"error\": null,\n \"forceOrderPreview\": false,\n \"fraqInt\": 4,\n \"fraqTypes\": [\n \"limit\",\n \"market\",\n \"stop\",\n \"stop_limit\",\n \"mit\",\n \"lit\",\n \"trailing_stop\",\n \"trailing_stop_limit\"\n ],\n \"hasSecondary\": true,\n \"ibAlgoTypes\": [\n \"limit\",\n \"stop_limit\",\n \"lit\",\n \"trailing_stop_limit\",\n \"relative\",\n \"marketonclose\",\n \"limitonclose\"\n ],\n \"increment\": 0.01,\n \"incrementDigits\": 2,\n \"incrementRules\": [\n {\n \"increment\": 0.01,\n \"lowerEdge\": 0.0\n }\n ],\n \"incrementType\": 1,\n \"limitPrice\": 196.88,\n \"negativeCapable\": false,\n \"orderDefaults\": {\n \"MKT\": {}\n },\n \"orderOrigination\": null,\n \"orderTypes\": [\n \"limit\",\n \"midprice\",\n \"market\",\n \"stop\",\n \"stop_limit\",\n \"mit\",\n \"lit\",\n \"trailing_stop\",\n \"trailing_stop_limit\",\n \"relative\",\n \"marketonclose\",\n \"limitonclose\"\n ],\n \"orderTypesOutside\": [\n \"limit\",\n \"stop_limit\",\n \"lit\",\n \"trailing_stop_limit\",\n \"relative\"\n ],\n \"overnightEligible\": true,\n \"preview\": true,\n \"priceMagnifier\": null,\n \"sizeIncrement\": 100,\n \"stopprice\": 196.88,\n \"tifDefaults\": {\n \"SIZE\": \"100.00\",\n \"TIF\": \"DAY\"\n },\n \"tifTypes\": [\n \"IOC/MARKET,LIMIT,RELATIVE,MARKETONCLOSE,MIDPRICE,LIMITONCLOSE,MKT_PROTECT,STPPRT,a\",\n \"GTC/o,a\",\n \"OPG/LIMIT,MARKET,a\",\n \"GTD/o,a\",\n \"DAY/o,a\"\n ]\n },\n \"smart_available\": true,\n \"symbol\": \"IBM\",\n \"text\": null,\n \"trading_class\": \"IBM\",\n \"underlying_con_id\": 0,\n \"underlying_issuer\": null,\n \"valid_exchanges\": \"SMART,AMEX,NYSE,CBOE,PHLX,ISE,CHX,ARCA,NASDAQ,DRCTEDGE,BEX,BATS,EDGEA,BYX,NYSEDARK,NASDDARK,IEX,EDGX,FOXRIVER,PEARL,NYSENAT,IEXMID,JANELP,IMCLP,LTSE,MEMX,JUMPLP,OLDMCLP,RBCCMALP,IBEOS,GSLP,BLUEOCEAN,OVERNIGHT,JANEMID,G1XLP,PSX\"\n }\n }\n },\n \"schema\": {\n \"allOf\": [\n {\n \"$ref\": \"#/components/schemas/contractInfo\"\n },\n {\n \"properties\": {\n \"rules\": {\n \"$ref\": \"#/components/schemas/contractRules\"\n }\n }\n }\n ]\n }\n }\n },\n \"description\": \"Returns all contract information and trading rules for the contract.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Instrument Info And Market Rules\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/currency/pairs\": {\n \"get\": {\n \"description\": \"Obtains available currency pairs corresponding to the given target currency.\",\n \"operationId\": \"getCurrencyPairs\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"currency\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Specify the target currency you would like to receive official pairs of.\",\n \"example\": \"USD\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"USD\": {\n \"value\": {\n \"USD\": [\n {\n \"ccyPair\": \"SGD\",\n \"conid\": 37928772,\n \"symbol\": \"USD.SGD\"\n },\n {\n \"ccyPair\": \"RON\",\n \"conid\": 38231133,\n \"symbol\": \"USD.RON\"\n },\n {\n \"ccyPair\": \"CZK\",\n \"conid\": 34838409,\n \"symbol\": \"USD.CZK\"\n }\n ]\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/currencyPairs\"\n }\n }\n },\n \"description\": \"Returns a list of valid forex pairs for the given currency. The currency can apply as both the target or base currency.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Available Currency Pairs\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/dynaccount\": {\n \"post\": {\n \"description\": \"Set the active dynamic account.\",\n \"operationId\": \"setDynamicAccount\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"acctId\": {\n \"description\": \"The account ID that should be set for future requests.\",\n \"example\": \"U1234567\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"acctId\"\n ],\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"successfully-set-account\": {\n \"value\": {\n \"acctId\": \"U2234567\",\n \"set\": true\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/setAccountResponse\"\n }\n }\n },\n \"description\": \"An array of objects detailing contract information.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Set Active Dynamic Account\",\n \"tags\": [\n \"Trading Accounts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/exchangerate\": {\n \"get\": {\n \"description\": \"Obtains the exchange rates of the currency pair.\",\n \"operationId\": \"getExchangeRates\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"target\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Specify the quote currency to request data for.\",\n \"example\": \"EUR\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"source\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Specify the base currency to request data for.\",\n \"example\": \"USD\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"rate\": {\n \"value\": {\n \"rate\": 0.91324199\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"rate\": {\n \"description\": \"Returns the exchange rate for the currency pair.\",\n \"type\": \"number\"\n }\n }\n }\n }\n },\n \"description\": \"Successful requests return the currency exchange rate of the target currency value divided by the source currency.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Currency Exchange Rate\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/marketdata/history\": {\n \"get\": {\n \"description\": \"Request historical data for an instrument in the form of OHLC bars.\",\n \"operationId\": \"getMdHistory\",\n \"parameters\": [\n {\n \"description\": \"IB contract ID of the requested instrument.\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"conid\",\n \"required\": true,\n \"schema\": {\n \"example\": 265598,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"form\"\n },\n {\n \"description\": \"A time duration away from startTime into the future to be divided into bars of the specified width. Supported Period Sizes\\n * `min` - Minutes\\n * `h` - Hour(s)\\n * `d` - Day(s)\\n * `w` - Week(s)\\n * `m` - Month(s)\\n * `y` - Year(s)\\n\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"period\",\n \"required\": true,\n \"schema\": {\n \"default\": \"1d\",\n \"example\": \"6d\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"description\": \"The width of the bars into which the interval determined by period and startTime will be divided. It is not required that bar evenly divide period; partial bars can be returned. Supported Bar Sizes\\n * `S` - Second(s)\\n * `min` - Minute(s)\\n * `h` - Hour(s)\\n * `d` - Day(s)\\n * `w` - Week(s)\\n * `m` - Month(s)\\n\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"bar\",\n \"required\": true,\n \"schema\": {\n \"default\": \"1min\",\n \"example\": \"5min\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"description\": \"Exchange (or SMART) from which data is requested.\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"exchange\",\n \"required\": false,\n \"schema\": {\n \"example\": \"NASDAQ\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"description\": \"Indicates whether data outside of regular trading hours should be included in response.\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"outsideRth\",\n \"required\": false,\n \"schema\": {\n \"default\": false,\n \"type\": \"boolean\"\n },\n \"style\": \"form\"\n },\n {\n \"description\": \"A fixed UTC date-time reference point for the historical data request, from which the specified period extends. Format is YYYYMMDD-hh:mm:ss. If omitted, the current time is used, and direction must be omitted or 1.\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"startTime\",\n \"required\": false,\n \"schema\": {\n \"$ref\": \"#/components/schemas/utcDateTime\"\n },\n \"style\": \"form\"\n },\n {\n \"description\": \"Indicates whether data should begin or end at the start time.\\n * `-1` - Historical data will begin away from the start time, ending at the current time/startTime.\\n * `1` - Historical data begins at the start time, moving towards the current time. Only supported when startTime is included.\\n\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"direction\",\n \"required\": false,\n \"schema\": {\n \"default\": -1,\n \"enum\": [\n -1,\n 1\n ],\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"form\"\n },\n {\n \"description\": \"The type of data to be returned in the historical bars. Supported Bar Sizes\\n * `Bid_Ask` - The OHLC bid/ask values.\\n * `Last` - The OHLC trade values.\\n * `Midpoint` - The OHLC of the Bid-Ask midpoint.\\n\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"source\",\n \"required\": false,\n \"schema\": {\n \"default\": \"Last\",\n \"example\": \"Midpoint\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"iserverHistoryBidAskSuccessExample\": {\n \"value\": {\n \"barLength\": 86400,\n \"chartPanStartTime\": \"20250521-00:00:00\",\n \"data\": [\n {\n \"c\": 212.11,\n \"h\": 213.94,\n \"l\": 210.58,\n \"o\": 212.09,\n \"t\": 1747229400000,\n \"v\": 0\n },\n {\n \"c\": 211.34,\n \"h\": 212.97,\n \"l\": 209.53,\n \"o\": 211.32,\n \"t\": 1747315800000,\n \"v\": 0\n },\n {\n \"c\": 211.07,\n \"h\": 212.56,\n \"l\": 209.77,\n \"o\": 211.05,\n \"t\": 1747402200000,\n \"v\": 0\n },\n {\n \"c\": 207.86,\n \"h\": 209.48,\n \"l\": 204.25,\n \"o\": 207.84,\n \"t\": 1747661400000,\n \"v\": 0\n }\n ],\n \"direction\": -1,\n \"high\": \"21394/0/1440\",\n \"low\": \"20425/0/8640\",\n \"mdAvailability\": \"S\",\n \"messageVersion\": 2,\n \"mktDataDelay\": 0,\n \"negativeCapable\": false,\n \"outsideRth\": false,\n \"points\": 3,\n \"priceDisplayRule\": 1,\n \"priceDisplayValue\": \"2\",\n \"priceFactor\": 100,\n \"serverId\": \"4155828\",\n \"startTime\": \"20250513-13:30:00\",\n \"symbol\": \"AAPL\",\n \"text\": \"APPLE INC\",\n \"timePeriod\": \"1w\",\n \"travelTime\": 2,\n \"volumeFactor\": 100\n }\n },\n \"iserverHistoryLastSuccessExample\": {\n \"value\": {\n \"barLength\": 86400,\n \"chartPanStartTime\": \"20250521-00:00:00\",\n \"data\": [\n {\n \"c\": 212.33,\n \"h\": 213.94,\n \"l\": 210.58,\n \"o\": 212.43,\n \"t\": 1747229400000,\n \"v\": 266616.18\n },\n {\n \"c\": 211.45,\n \"h\": 212.96,\n \"l\": 209.54,\n \"o\": 210.95,\n \"t\": 1747315800000,\n \"v\": 256847.25\n },\n {\n \"c\": 211.26,\n \"h\": 212.57,\n \"l\": 209.77,\n \"o\": 212.36,\n \"t\": 1747402200000,\n \"v\": 235240.24\n },\n {\n \"c\": 208.78,\n \"h\": 209.48,\n \"l\": 204.26,\n \"o\": 207.78,\n \"t\": 1747661400000,\n \"v\": 267569.89\n }\n ],\n \"direction\": -1,\n \"high\": \"21394/266616.18/1440\",\n \"low\": \"20426/267569.89/8640\",\n \"mdAvailability\": \"S\",\n \"messageVersion\": 2,\n \"mktDataDelay\": 0,\n \"negativeCapable\": false,\n \"outsideRth\": false,\n \"points\": 3,\n \"priceDisplayRule\": 1,\n \"priceDisplayValue\": \"2\",\n \"priceFactor\": 100,\n \"serverId\": \"4155816\",\n \"startTime\": \"20250513-13:30:00\",\n \"symbol\": \"AAPL\",\n \"text\": \"APPLE INC\",\n \"timePeriod\": \"1w\",\n \"travelTime\": 7,\n \"volumeFactor\": 100\n }\n },\n \"iserverHistoryMidpointSuccessExample\": {\n \"value\": {\n \"barLength\": 86400,\n \"chartPanStartTime\": \"20250521-00:00:00\",\n \"data\": [\n {\n \"c\": 212.42,\n \"h\": 213.94,\n \"l\": 210.59,\n \"o\": 212.37,\n \"t\": 1747229400000,\n \"v\": 0\n },\n {\n \"c\": 211.43,\n \"h\": 212.97,\n \"l\": 209.53,\n \"o\": 210.98,\n \"t\": 1747315800000,\n \"v\": 0\n },\n {\n \"c\": 211.19,\n \"h\": 212.5,\n \"l\": 209.77,\n \"o\": 212.36,\n \"t\": 1747402200000,\n \"v\": 0\n },\n {\n \"c\": 208.72,\n \"h\": 209.48,\n \"l\": 204.26,\n \"o\": 207.94,\n \"t\": 1747661400000,\n \"v\": 0\n }\n ],\n \"direction\": -1,\n \"high\": \"21394/0/1440\",\n \"low\": \"20426/0/8640\",\n \"mdAvailability\": \"S\",\n \"messageVersion\": 2,\n \"mktDataDelay\": 0,\n \"negativeCapable\": false,\n \"outsideRth\": false,\n \"points\": 3,\n \"priceDisplayRule\": 1,\n \"priceDisplayValue\": \"2\",\n \"priceFactor\": 100,\n \"serverId\": \"4155818\",\n \"startTime\": \"20250513-13:30:00\",\n \"symbol\": \"AAPL\",\n \"text\": \"APPLE INC\",\n \"timePeriod\": \"1w\",\n \"travelTime\": 7,\n \"volumeFactor\": 100\n }\n }\n },\n \"schema\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/iserverHistoryBidAskResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/iserverHistoryLastResponse\"\n },\n {\n \"$ref\": \"#/components/schemas/iserverHistoryMidpointResponse\"\n }\n ]\n }\n }\n },\n \"description\": \"Historical data query successfully returned data.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Historical OHLC Bar Data\",\n \"tags\": [\n \"Trading Market Data\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/marketdata/snapshot\": {\n \"get\": {\n \"description\": \"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.\\n\",\n \"operationId\": \"getMdSnapshot\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"conids\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Contract identifier for the contract of interest. May provide a comma-separated series of contract identifiers.\\n\",\n \"example\": 265598,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"fields\",\n \"required\": false,\n \"schema\": {\n \"$ref\": \"#/components/schemas/mdFields\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/iserverSnapshot\"\n }\n }\n },\n \"description\": \"Successfully requested market data\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Live Market Data Snapshot\",\n \"tags\": [\n \"Trading Market Data\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/marketdata/unsubscribe\": {\n \"post\": {\n \"description\": \"Instruct IServer to close its backend stream for the instrument when real-time snapshots are no longer needed.\",\n \"operationId\": \"closeMdStream\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"conid\": {\n \"description\": \"The IB contract ID of the instrument whose market data feed is to be unsubscribed.\",\n \"example\": 265598,\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"marketdataUnsubscribeSuccessExample\": {\n \"value\": {\n \"success\": true\n }\n }\n },\n \"schema\": {\n \"description\": \"Acknowledges a successful request.\",\n \"properties\": {\n \"success\": {\n \"description\": \"The sole key \'success\' will have boolean value true.\",\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"description\": \"Acknowledges a successful request\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Close A Backend Data Stream\",\n \"tags\": [\n \"Trading Market Data\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/marketdata/unsubscribeall\": {\n \"get\": {\n \"description\": \"Instruct IServer to close all of its open backend data streams for all instruments.\",\n \"operationId\": \"closeAllMdStreams\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"marketdataUnsubscribeAllSuccessExample\": {\n \"value\": {\n \"unsubscribed\": true\n }\n }\n },\n \"schema\": {\n \"description\": \"Indicates a successful request to unsubscribe all streams.\",\n \"properties\": {\n \"unsubscribed\": {\n \"description\": \"The sole key \'unsubscribed\' will have boolean value true.\",\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"description\": \"Indicates a successful request to unsubscribe all streams.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Close All Backend Data Streams\",\n \"tags\": [\n \"Trading Market Data\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/notification\": {\n \"post\": {\n \"description\": \"Respond to a server prompt received via ntf websocket message.\",\n \"operationId\": \"ackServerPrompt\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"orderId\": {\n \"description\": \"IB-assigned order identifier obtained from the ntf websocket message that delivered the server prompt.\",\n \"example\": 987654321,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"reqId\": {\n \"description\": \"IB-assigned request identifier obtained from the ntf websocket message that delivered the server prompt.\",\n \"example\": \"12345\",\n \"type\": \"string\"\n },\n \"text\": {\n \"description\": \"The selected value from the \\\"options\\\" array delivered in the server prompt ntf websocket message.\",\n \"example\": \"Yes\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"description\": \"Confirms successful reply to the server prompt.\",\n \"type\": \"string\"\n }\n }\n },\n \"description\": \"Status of submitted prompt\"\n }\n },\n \"summary\": \"Dismiss Server Prompt\",\n \"tags\": [\n \"Trading Orders\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/questions/suppress\": {\n \"post\": {\n \"description\": \"Suppress the specified order reply messages for the duration of the brokerage session.\",\n \"operationId\": \"suppressOrderReplies\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"messageIds\": {\n \"description\": \"Array of order reply messageId identifier strings to be suppressed.\",\n \"items\": {\n \"description\": \"A warning message to be pre-approved.\\n * `o163` - The following order exceeds the price percentage limit\\n * `o354` - \\\"\\\"\\\"You are submitting an order without market data. We strongly recommend against this as it may result in erroneous and unexpected trades. Are you sure you want to submit this order?\\\"\\\"\\\"\\n * `o382` - The following value exceeds the tick size limit\\n * `o383` - \\\"\\\"\\\"The following order \\\\\\\"\\\"BUY 650 AAPL NASDAQ.NMS\\\\\\\"\\\" size exceeds the Size Limit of 500.\\\\nAre you sure you want to submit this order?\\\"\\\"\\\"\\n * `o403` - \\\"\\\"\\\"This order will most likely trigger and fill immediately.\\\\nAre you sure you want to submit this order?\\\"\\\"\\\"\\n * `o451` - \\\"\\\"\\\"The following order \\\\\\\"\\\"BUY 650 AAPL NASDAQ.NMS\\\\\\\"\\\" value estimate of 124,995.00 USD exceeds \\\\nthe Total Value Limit of 100,000 USD.\\\\nAre you sure you want to submit this order?\\\"\\\"\\\"\\n * `o2136` - Mixed allocation order warning\\n * `o2137` - Cross side order warning\\n * `o2165` - Warns that instrument does not support trading in fractions outside regular trading hours\\n * `o10082` - Called Bond warning\\n * `o10138` - The following order size modification exceeds the size modification limit.\\n * `o10151` - Warns about risks with Market Orders\\n * `o10152` - Warns about risks associated with stop orders once they become active\\n * `o10153` - <h4>Confirm Mandatory Cap Price</h4>To avoid trading at a price that is not consistent with a fair and orderly market, IB may set a cap (for a buy order) or sell order). THIS MAY CAUSE AN ORDER THAT WOULD OTHERWISE BE MARKETABLE TO NOT BE TRADED.\\n * `o10164` - \\\"\\\"\\\"Traders are responsible for understanding cash quantity details, which are provided on a best efforts basis only.\\\"\\\"\\\"\\n * `o10223` - \\\"\\\"\\\"<h4>Cash Quantity Order Confirmation</h4>Orders that express size using a monetary value (cash quantity) are provided on a non-guaranteed basis. The system simulates the order by cancelling it once the specified amount is spent (for buy orders) or collected (for sell orders). In addition to the monetary value, the order uses a maximum size that is calculated using the Cash Quantity Estimate Factor, which you can modify in Presets.\\\"\\\"\\\"\\n * `o10288` - Warns about risks associated with market orders for Crypto\\n * `o10331` - \\\"\\\"\\\"You are about to submit a stop order. Please be aware of the various stop order types available and the risks associated with each one.\\\\nAre you sure you want to submit this order?\\\"\\\"\\\"\\n * `o10332` - OSL Digital Securities LTD Crypto Order Warning\\n * `o10333` - Option Exercise at the Money warning\\n * `o10334` - Warns that order will be placed into current omnibus account instead of currently selected global account.\\n * `o10335` - Serves internal Rapid Entry window.\\n * `o10336` - This security has limited liquidity. If you choose to trade this security, there is a heightened risk that you may not be able to close your position at the time you wish, at a price you wish, and/or without incurring a loss. Confirm that you understand the risks of trading illiquid securities.\\n * `Are you sure you want to submit this order?\\n * `p6` - This order will be distributed over multiple accounts. We strongly suggest you familiarize yourself with our allocation facilities before submitting orders.\\n * `p12` - \\\"If your order is not immediately executable, our systems may, depending on market conditions, reject your order if its limit price is more than the allowed amount away from the reference price at that time. If this happens, you will not receive a fill. This is a control designed to ensure that we comply with our regulatory obligations to avoid submitting disruptive orders to the marketplace.\\\\\\\\nUse the Price Management Algo?\\\"\\n\",\n \"enum\": [\n \"o163\",\n \"o354\",\n \"o382\",\n \"o383\",\n \"o403\",\n \"o451\",\n \"o2136\",\n \"o2137\",\n \"o2165\",\n \"o10082\",\n \"o10138\",\n \"o10151\",\n \"o10152\",\n \"o10153\",\n \"o10164\",\n \"o10223\",\n \"o10288\",\n \"o10331\",\n \"o10332\",\n \"o10333\",\n \"o10334\",\n \"o10335\",\n \"o10336\",\n \"p6\",\n \"p12\"\n ],\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"status\": \"submitted\"\n }\n }\n },\n \"schema\": {\n \"description\": \"Confirms successful reply to the server prompt.\",\n \"properties\": {\n \"status\": {\n \"description\": \"Confirms the successful suppression of specified messageIds. Always returns \\\"Submitted\\\".\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"description\": \"Request\'s status\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Suppress Order Reply Messages\",\n \"tags\": [\n \"Trading Orders\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/questions/suppress/reset\": {\n \"post\": {\n \"description\": \"Removes suppression of all order reply messages that were previously suppressed in the current brokerage session.\",\n \"operationId\": \"resetOrderSuppression\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"status\": \"submitted\"\n }\n }\n },\n \"schema\": {\n \"description\": \"Confirms successful removal of suppression.\",\n \"properties\": {\n \"status\": {\n \"description\": \"Confirms the successful removal of suppression. Always returns \\\"Submitted\\\".\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"description\": \"Request\'s status\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Reset Order Reply Message Suppression\",\n \"tags\": [\n \"Trading Orders\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/reply/{replyId}\": {\n \"post\": {\n \"description\": \"Confirm an order reply message and continue with submission of order ticket.\",\n \"operationId\": \"confirmOrderReply\",\n \"parameters\": [\n {\n \"description\": \"The UUID of the reply message to be confirmed, obtained from an order submission response. This is delivered from the POST /iserver/account/{accountId}/orders endpoint when triggering certain warning messages. \\n\",\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"replyId\",\n \"required\": true,\n \"schema\": {\n \"example\": \"99097238-9824-4830-84ef-46979aa22593\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"confirmed\": {\n \"description\": \"Value of true answers the question in the affirmative and proceeds with order submission.\",\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"advancedOrderRejectPromptExample\": {\n \"value\": {\n \"dismissable\": [],\n \"messageId\": \"p12\",\n \"options\": [\n \"Use on this order\",\n \"Always use\",\n \"Do not use\"\n ],\n \"orderId\": 123456789,\n \"prompt\": true,\n \"reqId\": \"22170\",\n \"text\": \"If your order is not immediately executable, our systems may, depending on market conditions, reject your order if its limit price is more that the allowed amount away from the reference price at that time. If this happens, you will not receive a fill. This is a control designed to ensure that we comply with our regulatory obligations to avoid submitting disruptive orders to the marketplace.\\nUse the Price Management Algo?\",\n \"type\": \"M\"\n }\n },\n \"orderReplyMessageExample\": {\n \"value\": [\n {\n \"id\": \"99097238-9824-4830-84ef-46979aa22593\",\n \"isSuppressed\": false,\n \"message\": [\n \"You are submitting an order without market data. We strongly recommend against this as it may result in erroneous and unexpected trades.\\nAre you sure you want to submit this order?\"\n ],\n \"messageIds\": [\n \"o354\"\n ]\n }\n ]\n },\n \"orderReplyNotFoundExample\": {\n \"value\": {\n \"error\": \"reply id not found: \'99097238-9824-4830-84ef-46979aa22593\'\"\n }\n },\n \"orderSubmitErrorExample\": {\n \"value\": {\n \"error\": \"Order not confirmed \"\n }\n },\n \"orderSubmitSuccessExample\": {\n \"value\": [\n {\n \"encrypt_message\": \"1\",\n \"order_id\": \"1370093239\",\n \"order_status\": \"PreSubmitted\"\n }\n ]\n }\n },\n \"schema\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/components/schemas/orderSubmitSuccess\"\n },\n {\n \"$ref\": \"#/components/schemas/orderReplyMessage\"\n },\n {\n \"$ref\": \"#/components/schemas/orderSubmitError\"\n },\n {\n \"$ref\": \"#/components/schemas/orderReplyNotFound\"\n },\n {\n \"$ref\": \"#/components/schemas/advancedOrderReject\"\n }\n ]\n }\n }\n },\n \"description\": \"Status of reply\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Confirm Order Reply Message\",\n \"tags\": [\n \"Trading Orders\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/scanner/params\": {\n \"get\": {\n \"description\": \"Returns an xml file containing all available parameters to be sent for the Iserver scanner request.\",\n \"operationId\": \"getScannerParameters\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"filter_list\": [\n {\n \"code\": \"afterHoursChangeAbove\",\n \"display_name\": \"After-Hours Change Above\",\n \"group\": \"afterHoursChangeAbove\",\n \"type\": \"non-range\"\n },\n {\n \"code\": \"stkTypes\",\n \"combo_values\": [\n {\n \"default\": true,\n \"vendor\": null\n }\n ],\n \"display_name\": \"Stock type\",\n \"group\": \"stkTypes\"\n }\n ],\n \"instrument_list\": [\n {\n \"display_name\": \"US Stocks\",\n \"filters\": [\n \"afterHoursChange\",\n \"afterHoursChangePerc\",\n \"avgOptVolume\",\n \"avgPriceTarget\",\n \"avgRating\"\n ],\n \"type\": \"STK\"\n }\n ],\n \"location_tree\": [\n {\n \"display_name\": \"US Stocks\",\n \"locations\": [\n {\n \"display_name\": \"Listed/NASDAQ\",\n \"locations\": [],\n \"type\": \"STK.US.MAJOR\"\n },\n {\n \"display_name\": \"OTCMarkets\",\n \"locations\": [],\n \"type\": \"STK.US.MINOR\"\n }\n ],\n \"type\": \"STK\"\n },\n {\n \"display_name\": \"US Futures\",\n \"locations\": [\n {\n \"display_name\": \"CME\",\n \"type\": \"FUT.CME\"\n },\n {\n \"display_name\": \"CBOT\",\n \"type\": \"FUT.CBOT\"\n },\n {\n \"display_name\": \"NYMEX\",\n \"type\": \"FUT.NYMEX\"\n }\n ],\n \"type\": \"FUT.US\"\n }\n ],\n \"scan_type_list\": [\n {\n \"code\": \"TOP_PERC_GAIN\",\n \"display_name\": \"Top % Gainers\",\n \"instruments\": [\n \"STK\",\n \"ETF.EQ.US\",\n \"ETF.FI.US\",\n \"FUT.US\",\n \"IND.US\",\n \"STOCK.NA\",\n \"FUT.NA\",\n \"SSF.NA\",\n \"STOCK.EU\",\n \"FUT.EU\",\n \"IND.EU\",\n \"SSF.EU\",\n \"STOCK.ME\",\n \"STOCK.HK\",\n \"FUT.HK\",\n \"IND.HK\",\n \"SSF.HK\"\n ]\n }\n ]\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/iserverScannerParams\"\n }\n }\n },\n \"description\": \"An array of objects detailing contract information.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Get Valid IServer Scanner Parameters\",\n \"tags\": [\n \"Trading Scanner\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/scanner/run\": {\n \"post\": {\n \"description\": \"Searches for contracts according to the filters specified in /iserver/scanner/params endpoint.\",\n \"operationId\": \"getScannerResults\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"example\": {\n \"filter\": [\n {\n \"code\": \"priceAbove\",\n \"value\": 5\n }\n ],\n \"instrument\": \"STK\",\n \"location\": \"STK.US.MAJOR\",\n \"type\": \"TOP_TRADE_COUNT\"\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/iserverScannerRunRequest\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"top_trade_count\": {\n \"value\": {\n \"contracts\": [\n {\n \"available_chart_periods\": \"#R|1\",\n \"column_name\": \"Trades\",\n \"company_name\": \"TESLA INC\",\n \"con_id\": 76792991,\n \"conidex\": \"76792991\",\n \"contract_description_1\": \"TSLA\",\n \"listing_exchange\": \"NASDAQ.NMS\",\n \"scan_data\": \"221.521K\",\n \"sec_type\": \"STK\",\n \"server_id\": \"0\",\n \"symbol\": \"TSLA\"\n },\n {\n \"available_chart_periods\": \"#R|1\",\n \"company_name\": \"SPDR S&P 500 ETF TRUST\",\n \"con_id\": 756733,\n \"conidex\": \"756733\",\n \"contract_description_1\": \"SPY\",\n \"listing_exchange\": \"ARCA\",\n \"scan_data\": \"123.661K\",\n \"sec_type\": \"STK\",\n \"server_id\": \"1\",\n \"symbol\": \"SPY\"\n }\n ],\n \"scan_data_column_name\": \"Trades\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/iserverScannerRunResponse\"\n }\n }\n },\n \"description\": \"An array of objects detailing contract information.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Run An IServer Market Scanner\",\n \"tags\": [\n \"Trading Scanner\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/secdef/bond-filters\": {\n \"get\": {\n \"description\": \"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.\",\n \"operationId\": \"getBondFilters\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"symbol\",\n \"required\": true,\n \"schema\": {\n \"description\": \"This should always be set to \\\"BOND\\\"\",\n \"example\": \"BOND\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"issuerId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Specifies the issuerId of the bond issuer type. IssuerId can be retrieved from the /iserver/secdef/search endpoint searching for a genric bond symbol and using the BOND secType.\\n\",\n \"example\": \"e1400715\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"bond-filter\": {\n \"value\": {\n \"bondFilters\": [\n {\n \"columnId\": 27,\n \"displayText\": \"Maturity Date\",\n \"options\": [\n {\n \"text\": \"Jan 2025\",\n \"value\": \"202501\"\n },\n {\n \"text\": \"Dec 2028\",\n \"value\": \"202812\"\n }\n ]\n },\n {\n \"columnId\": 28,\n \"displayText\": \"Issue Date\",\n \"options\": [\n {\n \"text\": \"Sep 18 2014\",\n \"value\": \"20140918\"\n },\n {\n \"text\": \"Apr 09 2015\",\n \"value\": \"20150409\"\n }\n ]\n },\n {\n \"columnId\": 25,\n \"displayText\": \"Coupon\",\n \"options\": [\n {\n \"value\": \"1.301\"\n },\n {\n \"value\": \"1.34\"\n }\n ]\n },\n {\n \"columnId\": 5,\n \"displayText\": \"Currency\",\n \"options\": [\n {\n \"value\": \"EUR\"\n },\n {\n \"value\": \"USD\"\n }\n ]\n }\n ]\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/bondFiltersResponse\"\n }\n }\n },\n \"description\": \"Successful requests return the currency exchange rate of the target currency value divided by the source currency.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Search Bond Filter Information\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/secdef/info\": {\n \"get\": {\n \"description\": \"Returns the attributes of the instrument.\",\n \"operationId\": \"getContractInfo\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"conid\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Contract identifier of the underlying. May also pass the final derivative conid directly.\",\n \"example\": \"265598\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"sectype\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Security type of the requested contract of interest.\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"month\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Expiration month for the given derivative.\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"exchange\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Designate the exchange you wish to receive information for in relation to the contract.\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"strike\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Set the strike price for the requested contract details\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"right\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Set the right for the given contract. * `C` - for Call options. * `P` - for Put options.\\n\",\n \"enum\": [\n \"C\",\n \"P\"\n ]\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"issuerId\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Set the issuerId for the given bond issuer type.\",\n \"example\": \"e1234567\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"filters\",\n \"required\": false,\n \"schema\": {\n \"description\": \"comma separted list of additional filters. Applicable when SecTyp is BOND\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"infoBy-symbol-exchange-conid\": {\n \"value\": {\n \"companyName\": \"INTL BUSINESS MACHINES CORP\",\n \"conid\": 8314,\n \"currency\": \"USD\",\n \"exchange\": \"SMART\",\n \"listingExchange\": \"NYSE\",\n \"maturityDate\": null,\n \"priceRendering\": null,\n \"right\": \"?\",\n \"secType\": \"STK\",\n \"strike\": 0.0,\n \"ticker\": \"IBM\",\n \"validExchanges\": \"SMART,AMEX,NYSE,CBOE,PHLX,ISE,CHX,ARCA,NASDAQ,DRCTEDGE,BEX,BATS,EDGEA,BYX,NYSEDARK,NASDDARK,IEX,EDGX,FOXRIVER,PEARL,NYSENAT,IEXMID,JANELP,IMCLP,LTSE,MEMX,JUMPLP,OLDMCLP,RBCCMALP,IBEOS,GSLP,BLUEOCEAN,OVERNIGHT,JANEMID,G1XLP,PSX\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/secDefInfoResponse\"\n }\n }\n },\n \"description\": \"Successful response containing a contract\'s security definition.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Instrument Attributes Detail\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/secdef/search\": {\n \"get\": {\n \"description\": \"Returns a list of contracts based on the search symbol provided as a query param.\",\n \"operationId\": \"getContractSymbols\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"symbol\",\n \"required\": false,\n \"schema\": {\n \"description\": \"The ticker symbol, bond issuer type, or company name of the equity you are looking to trade.\",\n \"example\": \"AAPL\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"description\": \"Available underlying security types:\\n * `STK` - Represents an underlying as a Stock security type.\\n * `IND` - Represents an underlying as an Index security type.\\n * `BOND` - Represents an underlying as a Bond security type.\\n\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"secType\",\n \"required\": false,\n \"schema\": {\n \"default\": \"STK\",\n \"enum\": [\n \"STK\",\n \"IND\",\n \"BOND\"\n ],\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"name\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Denotes if the symbol value is the ticker symbol or part of the company\'s name.\",\n \"type\": \"boolean\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"more\",\n \"required\": false,\n \"schema\": {\n \"type\": \"boolean\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"fund\",\n \"required\": false,\n \"schema\": {\n \"description\": \"fund search\",\n \"type\": \"boolean\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"fundFamilyConidEx\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"pattern\",\n \"required\": false,\n \"schema\": {\n \"description\": \"pattern search\",\n \"type\": \"boolean\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"referrer\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"found\": {\n \"value\": [\n {\n \"companyHeader\": \"INTL BUSINESS MACHINES CORP - NYSE\",\n \"companyName\": \"INTL BUSINESS MACHINES CORP\",\n \"conid\": \"8314\",\n \"description\": \"NYSE\",\n \"fop\": null,\n \"opt\": \"20240315;20240322;20240328;20240405;20240412;20240419;20240426;20240517;20240621;20240719;20240920;20241018;20250117;20250620;20260116\",\n \"restricted\": null,\n \"sections\": [\n {\n \"secType\": \"STK\"\n },\n {\n \"exchange\": \"SMART;AMEX;BATS;BOX;CBOE;CBOE2;EDGX;EMERALD;GEMINI;IBUSOPT;ISE;MEMX;MERCURY;MIAX;NASDAQBX;NASDAQOM;PEARL;PHLX;PSE\",\n \"months\": \"MAR24;APR24;MAY24;JUN24;JUL24;SEP24;OCT24;JAN25;JUN25;JAN26\",\n \"secType\": \"OPT\"\n },\n {\n \"exchange\": \"EBS;FWB;GETTEX;SBF;SWB\",\n \"months\": \"FEB24;MAR24;APR24;MAY24;JUN24;JUL24;SEP24;OCT24;DEC24;JAN25;MAR25;JUN25;SEP25;DEC25;JAN26\",\n \"secType\": \"WAR\"\n },\n {\n \"secType\": \"IOPT\"\n },\n {\n \"conid\": \"118239202\",\n \"exchange\": \"SMART\",\n \"secType\": \"CFD\"\n },\n {\n \"secType\": \"BAG\"\n }\n ],\n \"symbol\": \"IBM\",\n \"war\": \"20240208;20240213;20240214;20240215;20240216;20240222;20240226;20240227;20240228;20240229;20240301;20240304;20240305;20240306;20240307;20240308;20240311;20240312;20240313;20240314;20240315;20240416;20240418;20240514;20240516;20240618;20240619;20240620;20240621;20240718;20240917;20240918;20240919;20240920;20241017;20241217;20241218;20241219;20241220;20250114;20250115;20250116;20250117;20250319;20250320;20250617;20250618;20250619;20250620;20250918;20251216;20251218;20260113;20260115\"\n },\n {\n \"companyHeader\": \"INTL BUSINESS MACHINES CORP - LSE\",\n \"companyName\": \"INTL BUSINESS MACHINES CORP\",\n \"conid\": \"41645598\",\n \"description\": \"LSE\",\n \"fop\": null,\n \"opt\": null,\n \"restricted\": null,\n \"sections\": [\n {\n \"secType\": \"STK\"\n }\n ],\n \"symbol\": \"IBM\",\n \"war\": null\n },\n {\n \"bondid\": 5,\n \"companyHeader\": \"Corporate Fixed Income\",\n \"companyName\": null,\n \"conid\": \"2147483647\",\n \"description\": null,\n \"fop\": null,\n \"issuers\": [\n {\n \"id\": \"e5499005\",\n \"name\": \"IBM International Capital Pte Ltd\"\n },\n {\n \"id\": \"e1580374\",\n \"name\": \"IBM-CALL\"\n },\n {\n \"id\": \"e1400789\",\n \"name\": \"International Business Machines Corp\"\n },\n {\n \"id\": \"e1658116\",\n \"name\": \"Truven Health Analytics Inc\"\n }\n ],\n \"opt\": null,\n \"restricted\": null,\n \"sections\": [\n {\n \"secType\": \"BOND\"\n }\n ],\n \"symbol\": null,\n \"war\": null\n }\n ]\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/secdefSearchResponse\"\n }\n }\n },\n \"description\": \"An array of objects detailing contract information.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Search Instruments By Symbol\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n },\n \"post\": {\n \"description\": \"Returns a list of contracts based on the search symbol provided as a query param.\",\n \"operationId\": \"getContractSymbolsFromBody\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"fund\": {\n \"description\": \"fund search\",\n \"type\": \"boolean\"\n },\n \"fundFamilyConidEx\": {\n \"type\": \"string\"\n },\n \"more\": {\n \"type\": \"boolean\"\n },\n \"name\": {\n \"description\": \"Denotes if the symbol value is the ticker symbol or part of the company\'s name.\",\n \"type\": \"boolean\"\n },\n \"pattern\": {\n \"description\": \"pattern search\",\n \"type\": \"boolean\"\n },\n \"referrer\": {\n \"type\": \"string\"\n },\n \"secType\": {\n \"default\": \"STK\",\n \"description\": \"Available underlying security types:\\n * `STK` - Represents an underlying as a Stock security type.\\n * `IND` - Represents an underlying as an Index security type.\\n * `BOND` - Represents an underlying as a Bond security type.\\n\",\n \"enum\": [\n \"STK\",\n \"IND\",\n \"BOND\"\n ],\n \"type\": \"string\"\n },\n \"symbol\": {\n \"description\": \"The ticker symbol, bond issuer type, or company name of the equity you are looking to trade.\",\n \"example\": \"AAPL\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"symbol\"\n ],\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/secdefSearchResponse\"\n }\n }\n },\n \"description\": \"An array of objects detailing contract information.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Search Instruments By Symbol\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/secdef/strikes\": {\n \"get\": {\n \"description\": \"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\\\".\\n\",\n \"operationId\": \"getContractStrikes\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"conid\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Contract identifier of the underlying. May also pass the final derivative conid directly.\",\n \"example\": \"265598\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"sectype\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Security type of the requested contract of interest. Valid asset classes are:\\n * `FOP` - Futures Option\\n * `OPT` - Option\\n * `WAR` - Warrant\\n\",\n \"enum\": [\n \"OPT\",\n \"FOP\",\n \"WAR\"\n ],\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"month\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Expiration month for the given derivative. Expiration months can be retrieved from /iserver/secdef/search under an {object}/sections/{object}/months\\n\",\n \"example\": \"JAN24\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"exchange\",\n \"required\": false,\n \"schema\": {\n \"default\": \"SMART\",\n \"description\": \"Exchange from which derivatives should be retrieved from. This field is mandatory when requesting Futures Options strikes.\\n\",\n \"example\": \"CME\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"strikes\": {\n \"value\": {\n \"call\": [\n 70.0,\n 75.0,\n 80.0,\n 85.0,\n 90.0,\n 95.0,\n 100.0\n ],\n \"put\": [\n 70.0,\n 75.0,\n 80.0,\n 85.0,\n 90.0,\n 95.0,\n 100.0\n ]\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"call\": {\n \"description\": \"Array containing a series of comma separated values representing potential call strikes for the instrument.\",\n \"items\": {\n \"description\": \"strike price\",\n \"type\": \"number\"\n },\n \"type\": \"array\"\n },\n \"put\": {\n \"description\": \"Array containing a series of comma separated values representing potential put strikes for the instrument.\",\n \"items\": {\n \"description\": \"strike price\",\n \"type\": \"number\"\n },\n \"type\": \"array\"\n }\n }\n }\n }\n },\n \"description\": \"Successful response containing a contract\'s security definition.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Search Strikes For An Underlier\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/watchlist\": {\n \"delete\": {\n \"description\": \"Delete a specified watchlist from the username\'s settings.\",\n \"operationId\": \"deleteWatchlist\",\n \"parameters\": [\n {\n \"description\": \"Watchlist ID of the watchlist to be deleted.\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"id\",\n \"required\": true,\n \"schema\": {\n \"example\": \"1234\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"watchlistDeleteSuccessExample\": {\n \"value\": {\n \"MID\": \"2\",\n \"action\": \"context\",\n \"data\": {\n \"deleted\": \"1234\"\n }\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/watchlistDeleteSuccess\"\n }\n }\n },\n \"description\": \"Successful deletion of specified watchlist.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Delete A Saved Watchlist\",\n \"tags\": [\n \"Trading Watchlists\"\n ],\n \"x-ib-provider\": \"iblink\"\n },\n \"get\": {\n \"description\": \"Retrieve details of a single watchlist stored in the username\'s settings.\",\n \"operationId\": \"getSpecificWatchlist\",\n \"parameters\": [\n {\n \"description\": \"Watchlist ID of the requested watchlist.\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"id\",\n \"required\": true,\n \"schema\": {\n \"example\": \"1234\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"singleWatchlistExample\": {\n \"value\": {\n \"hash\": \"1234987651621\",\n \"id\": \"1234\",\n \"instruments\": [\n {\n \"C\": \"8314\",\n \"ST\": \"STK\",\n \"assetClass\": \"STK\",\n \"chineseName\": \"\",\n \"conid\": 8314,\n \"fullName\": \"IBM\",\n \"name\": \"INTL BUSINESS MACHINES CORP\",\n \"ticker\": \"IBM\"\n }\n ],\n \"name\": \"Test Watchlist\",\n \"readOnly\": false\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/singleWatchlist\"\n }\n }\n },\n \"description\": \"Successful deletion of specified watchlist.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Return A Single Saved Watchlist\",\n \"tags\": [\n \"Trading Watchlists\"\n ],\n \"x-ib-provider\": \"iblink\"\n },\n \"post\": {\n \"description\": \"Create a named watchlist by submitting a set of conids.\",\n \"operationId\": \"postNewWatchlist\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"id\": {\n \"description\": \"Must be a number, digits 0-9 only. Must be unique relative to other watchlist IDs.\",\n \"type\": \"string\"\n },\n \"name\": {\n \"description\": \"Arbitrary human-readable name to be displayed in TWS and Client Portal.\",\n \"type\": \"string\"\n },\n \"rows\": {\n \"description\": \"Array of JSON objects corresponding to watchlist rows, one per instruments.\",\n \"items\": {\n \"properties\": {\n \"C\": {\n \"description\": \"Conid as string.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\",\n \"uniqueItems\": true\n }\n },\n \"required\": [\n \"id\",\n \"name\",\n \"rows\"\n ],\n \"type\": \"object\"\n }\n }\n },\n \"description\": \"Watchlist contents.\",\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"hash\": {\n \"description\": \"IB\'s internal hash of the submitted watchlist.\",\n \"type\": \"string\"\n },\n \"id\": {\n \"description\": \"The submitted watchlist ID.\",\n \"type\": \"string\"\n },\n \"instruments\": {\n \"description\": \"Array will always be empty. Contents can be queried via `GET /iserver/watchlist?id=`\",\n \"maxItems\": 0,\n \"type\": \"array\"\n },\n \"name\": {\n \"description\": \"The submitted human-readable watchlist name.\",\n \"type\": \"string\"\n },\n \"readOnly\": {\n \"description\": \"Indicates whether watchlist is write-restricted. User-created watchlists will always show false.\",\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"description\": \"Watchlist creation successful.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Create A Watchlist\",\n \"tags\": [\n \"Trading Watchlists\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/iserver/watchlists\": {\n \"get\": {\n \"description\": \"Returns all saved watchlists stored on IB backend for the username in use in the current Web API session.\",\n \"operationId\": \"getAllWatchlists\",\n \"parameters\": [\n {\n \"description\": \"Can only be used with value USER_WATCHLIST, which returns only user-created watchlists and excludes those created by IB.\",\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"SC\",\n \"required\": false,\n \"schema\": {\n \"enum\": [\n \"USER_WATCHLIST\"\n ],\n \"example\": \"USER_WATCHLIST\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"watchlistDataExample\": {\n \"value\": {\n \"MID\": \"2\",\n \"action\": \"content\",\n \"data\": {\n \"bulk_delete\": false,\n \"scanners_only\": false,\n \"show_scanners\": false,\n \"user_lists\": [\n {\n \"id\": \"1234\",\n \"is_open\": false,\n \"modified\": 1702581306241,\n \"name\": \"Test Watchlist\",\n \"read_only\": false,\n \"type\": \"watchlist\"\n }\n ]\n }\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/watchlistsResponse\"\n }\n }\n },\n \"description\": \"Historical data query successfully returned data.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Return All Saved Watchlists\",\n \"tags\": [\n \"Trading Watchlists\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/logout\": {\n \"post\": {\n \"description\": \"Logs the user out of the gateway session. Any further activity requires re-authentication. Discard client-side cookies upon logout.\\n\",\n \"operationId\": \"logout\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"status\": true\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"status\": {\n \"description\": \"Confirms that the logout action was performed successfully.\",\n \"type\": \"boolean\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"description\": \"An array of objects detailing contract information.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n }\n },\n \"summary\": \"Terminate Web API Session\",\n \"tags\": [\n \"Trading Session\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/oauth/access_token\": {\n \"post\": {\n \"description\": \"Request an access token for the IB username that has granted authorization to the consumer.\",\n \"operationId\": \"reqAccessToken\",\n \"parameters\": [\n {\n \"description\": \"OAuth 1.0a authorization request header for request to /access_token endpoint.\",\n \"explode\": false,\n \"in\": \"header\",\n \"name\": \"Authorization\",\n \"required\": false,\n \"schema\": {\n \"example\": \"OAuth oauth_verifier=\\\"1e1dc5666e87ca5a18e0\\\",oauth_token=\\\"e0d75b4c5c1d2c0f2af7\\\",oauth_consumer_key=\\\"TESTCONS\\\",oauth_nonce=\\\"v235...456h\\\",oauth_signature=\\\"af1%252...0nd2\\\",oauth_signature_method=\\\"RSA-SHA256\\\",oauth_timestamp=\\\"1714489450\\\",realm=\\\"test_realm\\\"\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Success\": {\n \"value\": {\n \"is_paper\": true,\n \"oauth_token\": \"a1b2c3d4e5f6a7b8c9d0\",\n \"oauth_token_secret\": \"coPZc+YOyFy7IdMg6is+etf9HASi3Um3SIhZvILcaifG6zhzZygYafYZx4XTFsrefRV/qrsy4sMAMwyPVp07VgkfQJPJkxYA7Sjhwz/Q76vuVN2YZNsRirNyL63Q3t+EHkjKA5HJEFY2PiIgqO4EWZ4etZUl3iZjCStiahhD+BNv7zgrlxS0bB4lL4vKw9AGcUiUnIQrqzTGJPj0/P2Zc3fMqCbXVWRcoYRcwUkk9ZYtMaIwPPVgvJ0c76rle5O5m4R4ZoFgrjfXpNiXC1F8MRS0fc7T6pgyyMvV+vI2C9XZbl7cNIEuCvtz3XYLNlUi+svyeZJh4RzjB824qH/fJQ==\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"is_true\": {\n \"description\": \"Indicates whether the authorizing username is paper or not.\",\n \"type\": \"boolean\"\n },\n \"oauth_token\": {\n \"description\": \"Permanent OAuth access token for the consumer with respect to the authorizing username. 20 character hex value.\",\n \"type\": \"string\"\n },\n \"oauth_token_secret\": {\n \"description\": \"OAuth token secret value. Base64-encoded string.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"description\": \"Success response with permanent OAuth access token\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Generate An Access Token\",\n \"tags\": [\n \"Trading OAuth 1.0a\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/oauth/live_session_token\": {\n \"post\": {\n \"description\": \"Generate a Live Session Token shared secret and gain access to Web API.\",\n \"operationId\": \"reqLiveSessionToken\",\n \"parameters\": [\n {\n \"description\": \"OAuth 1.0a authorization request header for request to /live_session_token endpoint.\",\n \"explode\": false,\n \"in\": \"header\",\n \"name\": \"Authorization\",\n \"required\": false,\n \"schema\": {\n \"example\": \"OAuth diffie_hellman_challenge=\\\"b393...g6f3\\\",oauth_token=\\\"56786fc07bcbabc4584\\\",oauth_consumer_key=\\\"TESTCONS\\\",oauth_nonce=\\\"v235...456h\\\",oauth_signature=\\\"af1%252...0nd2\\\",oauth_signature_method=\\\"RSA-SHA256\\\",oauth_timestamp=\\\"1714489460\\\",realm=\\\"test_realm\\\"\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Success\": {\n \"value\": {\n \"diffie_hellman_response\": \"74d222b7c3c0916eb3c7e60ecec937cd4f531aab5ea5698ebd754feeb39a9d7fe04c2887b5e11d8a8e4176c2eee7ddd42016e57c7a98cfbb9a3282c5247f7d4a9b8f544a34fac4d6334065b55d6a2e73e390175cfb94e80281443e555030c576d1db409bf96870dab20581bc01cdf28489778f20c714e7ad39af60c476cf2207a119df3af82bbefcdad7749fa5b4ae6e93169ec14f66ff3220cf3156487ca33932284b0a09af14f05a75269ab243362ff4eabb2e2a57db0d7911ca549f24affa1f92f04908fd9a2349cefb0f9326aca65fc144847ab837fcbd1635b1aa84b4509198e349fad87c2caf6744cb94be2c5c1c7ef9f08c44e85ded45ebeefa248dc8\",\n \"live_session_token_expiration\": 1714669716258,\n \"live_session_token_signature\": \"712549e22ba937ab10bc8d571bd3a9c20c43d7cb\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"diffie_hellman_challenge\": {\n \"description\": \"Diffie-Hellman challenge value used to compute live session token locally by client.\",\n \"type\": \"string\"\n },\n \"live_session_token_expiration\": {\n \"description\": \"Unix timestamp in milliseconds of time of live session token computation by IB. Live session tokens are valid for 24 hours from this time.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"live_session_token_signature\": {\n \"description\": \"Signature value used to validate successful client-side computation of live session token.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"description\": \"Success response with Diffie-Hellman challenge and Signature value\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Generate A Live Session Token\",\n \"tags\": [\n \"Trading OAuth 1.0a\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/oauth/request_token\": {\n \"post\": {\n \"description\": \"Request a temporary token as a third party to begin the OAuth 1.0a authorization workflow.\",\n \"operationId\": \"reqTempToken\",\n \"parameters\": [\n {\n \"description\": \"OAuth 1.0a authorization request header for request to /request_token endpoint.\",\n \"example\": \"OAuth oauth_callback=\\\"oob\\\",oauth_consumer_key=\\\"TESTCONS\\\",oauth_nonce=\\\"b249...8f57\\\",oauth_signature=\\\"41Sx%252...ZYZ2\\\",oauth_signature_method=\\\"RSA-SHA256\\\",oauth_timestamp=\\\"1714489440\\\",realm=\\\"test_realm\\\"\",\n \"explode\": false,\n \"in\": \"header\",\n \"name\": \"Authorization\",\n \"required\": false,\n \"schema\": {\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Success\": {\n \"value\": {\n \"oauth_token\": \"e0d75b4c5c1d2c0f2af7\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"oauth_token\": {\n \"description\": \"Temporary OAuth access token. 20 character hex value.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"description\": \"Success response with temporary OAuth access token\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Obtain A Request Token\",\n \"tags\": [\n \"Trading OAuth 1.0a\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/oauth2/api/v1/token\": {\n \"post\": {\n \"description\": \"Generate OAuth 2.0 access tokens based on request parameters.\",\n \"operationId\": \"generateToken\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/x-www-form-urlencoded\": {\n \"schema\": {\n \"$ref\": \"#/components/schemas/TokenRequest\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"Token Response\": {\n \"description\": \"Token Response\",\n \"value\": {\n \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjM0MDk5YjQxYThkZTY1ZTJmNTAwMzQ3MmQ0M2Q5ZDBhZjI2MWIzN2IifQ.eyJpc3MiOiIvdG9rZW4iLCJzdWIiOiJwcm9kdGVzdGVyIiwiZXhwIjoxNzA5NzczMjgyLCJpYXQiOjE3MDk2ODY4ODIsInNjb3BlIjoiZWNoby5yZWFkIGVjaG8ud3JpdGUiLCJjc2lkIjoicHJvZHRlc3RlciIsImFjY291bnRJZCI6IlU0NjM3NyJ9.HDfltwI2xOYYnCRgjefujhU2h5lcQCvuvtNuCVSeq26IydAvMiv_QccmcBvsMSHKYjH6nvA1r_5f7R3Jsc46_d1YMArcFfE33mj_qj9GYml-B_8634vLdD104abB-DU2J4a7yW1YwN61hYwPGWueps_UsnKnxf-Iaj6ELxtPBRl4NOEC8vJZ9nfhL81t4L5N_f-skXbpcLcArZaBtxqXvI1z4ClJd9L1-9pJ_3DPUp0s3VHnDCnx2wBkLY_pPEcnP52Ms_gppSHLXn_x5OLL82kbxWSlhbX9fvogj0AtHJDvhWNwTFk8Az57MSsPBAZMf4rsx-LY1ZK9bNSlQNb2W-BuqotDwwPwIZNB9en_6p0KoJFFEQu0dTSJAxGjfMeADQc6ZduHFzyNeOTpnh2oPfRK7JrsLGuGvbQ_M7taKEiDV49gpYzjJqVtfuNDAzLARLbj8WPGcUbckSF4pJH5Ipm1FbYhp0DzEgo5VEjZlQU5ChlQGakF4nf9NEIz5Aed\",\n \"expires_in\": 86399,\n \"scope\": \"echo.read echo.write\",\n \"token_type\": \"Bearer\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/TokenResponse\"\n }\n }\n },\n \"description\": \"Returns a token response.\"\n },\n \"400\": {\n \"description\": \"Returns a [Problem detail](https://datatracker.ietf.org/doc/html/rfc9457) instance representing a bad request.\"\n },\n \"500\": {\n \"description\": \"Returns a [Problem detail](https://datatracker.ietf.org/doc/html/rfc9457) instance representing an internal server error.\"\n }\n },\n \"summary\": \"Create Access Token\",\n \"tags\": [\n \"Authorization Token\"\n ],\n \"x-ib-public\": true\n }\n },\n \"/pa/allperiods\": {\n \"post\": {\n \"description\": \"Returns the performance (MTM) for the given accounts, if more than one account is passed, the result is consolidated.\",\n \"operationId\": \"getPerformanceAllPeriods\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"param\",\n \"required\": false,\n \"schema\": {\n \"description\": \"only one account. If defined, accounts passed in request body ignored\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"acctIds\": {\n \"description\": \"An array of strings containing each account identifier to retrieve performance details for.\",\n \"items\": {\n \"example\": \"[\\\"DU123456\\\"]\",\n \"type\": \"string\"\n },\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"allperiods\": {\n \"value\": {\n \"DU123456\": {\n \"1D\": {\n \"cps\": [\n 0.0072\n ],\n \"dates\": [\n \"20240426\"\n ],\n \"freq\": \"D\",\n \"nav\": [\n 1390987.0689\n ],\n \"startNAV\": {\n \"date\": \"20240425\",\n \"val\": 1381022.2557\n }\n },\n \"1M\": {\n \"cps\": [\n 0.0004,\n 0.0152,\n 0.0144,\n 0.0145,\n 0.0082,\n 0.0032,\n 0.0092,\n -0.0036,\n 0.01,\n 0.0115,\n 0.0149,\n -0.0081,\n -0.0054,\n -0.0266,\n -0.0429,\n -0.0534,\n -0.053,\n -0.0522,\n -0.0561,\n -0.044,\n -0.0226,\n -0.0225,\n -0.0607,\n -0.0539\n ],\n \"dates\": [\n \"20240326\",\n \"20240327\",\n \"20240328\",\n \"20240329\",\n \"20240401\",\n \"20240402\",\n \"20240403\",\n \"20240404\",\n \"20240405\",\n \"20240408\",\n \"20240409\",\n \"20240410\",\n \"20240411\",\n \"20240412\",\n \"20240415\",\n \"20240416\",\n \"20240417\",\n \"20240418\",\n \"20240419\",\n \"20240422\",\n \"20240423\",\n \"20240424\",\n \"20240425\",\n \"20240426\"\n ],\n \"freq\": \"D\",\n \"nav\": [\n 1470819.2095,\n 1492582.8971,\n 1491455.1209,\n 1491508.085,\n 1482332.7129,\n 1474991.5595,\n 1483721.5119,\n 1464972.9299,\n 1484912.3583,\n 1487204.0587,\n 1492210.8925,\n 1458260.3853,\n 1462342.5595,\n 1431112.3911,\n 1407166.8369,\n 1391683.8539,\n 1392370.552,\n 1393526.1221,\n 1387801.1381,\n 1405559.8818,\n 1436989.688,\n 1437102.1473,\n 1381022.2557,\n 1390987.0689\n ],\n \"startNAV\": {\n \"date\": \"20240325\",\n \"val\": 1470235.8767\n }\n },\n \"1Y\": {\n \"cps\": [\n 0.0009,\n 0.0349,\n 0.046,\n 0.0442,\n 0.0324,\n 0.0237,\n 0.0146,\n 0.0561,\n 0.0569,\n 0.0468,\n 0.0586,\n 0.0598,\n 0.0526,\n 0.0551,\n 0.0526,\n 0.0724,\n 0.0981,\n 0.0951,\n 0.0933,\n 0.0563,\n 0.0377,\n 0.0704,\n 0.1152,\n 0.1152,\n 0.1224,\n 0.1074,\n 0.1404,\n 0.1793,\n 0.1715,\n 0.1756,\n 0.1558,\n 0.1815,\n 0.1875,\n 0.2233,\n 0.24,\n 0.2462,\n 0.2847,\n 0.282,\n 0.282,\n 0.2792,\n 0.2644,\n 0.2832,\n 0.2694,\n 0.2529,\n 0.2814,\n 0.285,\n 0.2899,\n 0.3213,\n 0.3198,\n 0.3197,\n 0.3151,\n 0.3051,\n 0.2969,\n 0.2924,\n 0.3004,\n 0.3179,\n 0.3353,\n 0.3347,\n 0.3504,\n 0.3601,\n 0.3638,\n 0.3433,\n 0.3387,\n 0.3465,\n 0.3552,\n 0.3582,\n 0.3492,\n 0.3752,\n 0.376,\n 0.3688,\n 0.3319,\n 0.324,\n 0.2876,\n 0.2944,\n 0.2861,\n 0.2638,\n 0.2673,\n 0.2624,\n 0.2787,\n 0.2537,\n 0.2349,\n 0.2112,\n 0.2108,\n 0.233,\n 0.231,\n 0.2631,\n 0.2245,\n 0.2421,\n 0.2586,\n 0.2961,\n 0.3102,\n 0.311,\n 0.3161,\n 0.3162,\n 0.3109,\n 0.279,\n 0.2548,\n 0.2613,\n 0.2841,\n 0.2658,\n 0.2642,\n 0.2857,\n 0.2553,\n 0.2631,\n 0.2638,\n 0.2495,\n 0.2284,\n 0.2214,\n 0.2232,\n 0.2043,\n 0.2068,\n 0.2139,\n 0.2067,\n 0.2027,\n 0.1825,\n 0.1919,\n 0.1945,\n 0.2078,\n 0.2149,\n 0.2288,\n 0.2366,\n 0.226,\n 0.2126,\n 0.2257,\n 0.2355,\n 0.2189,\n 0.1973,\n 0.1784,\n 0.1701,\n 0.1754,\n 0.1609,\n 0.1655,\n 0.1549,\n 0.1714,\n 0.1842,\n 0.196,\n 0.2237,\n 0.2413,\n 0.2445,\n 0.2453,\n 0.2415,\n 0.2315,\n 0.2514,\n 0.2494,\n 0.2836,\n 0.2914,\n 0.2925,\n 0.2981,\n 0.3075,\n 0.3008,\n 0.3066,\n 0.3067,\n 0.3077,\n 0.304,\n 0.3045,\n 0.3115,\n 0.3171,\n 0.3307,\n 0.3247,\n 0.3217,\n 0.317,\n 0.3272,\n 0.3383,\n 0.3395,\n 0.3456,\n 0.3659,\n 0.3864,\n 0.3785,\n 0.3875,\n 0.3931,\n 0.3757,\n 0.3873,\n 0.3933,\n 0.3932,\n 0.4033,\n 0.4058,\n 0.4071,\n 0.4015,\n 0.4015,\n 0.3949,\n 0.3841,\n 0.387,\n 0.3939,\n 0.4055,\n 0.3967,\n 0.4063,\n 0.403,\n 0.4074,\n 0.4069,\n 0.3958,\n 0.3884,\n 0.397,\n 0.4206,\n 0.4271,\n 0.4342,\n 0.4405,\n 0.4749,\n 0.4698,\n 0.4788,\n 0.4896,\n 0.4565,\n 0.4689,\n 0.504,\n 0.486,\n 0.4874,\n 0.5036,\n 0.5023,\n 0.5135,\n 0.5178,\n 0.4829,\n 0.5025,\n 0.5315,\n 0.5216,\n 0.5214,\n 0.5079,\n 0.4988,\n 0.5345,\n 0.5396,\n 0.5297,\n 0.5421,\n 0.5394,\n 0.5478,\n 0.5693,\n 0.5815,\n 0.5686,\n 0.5848,\n 0.6061,\n 0.597,\n 0.5835,\n 0.6113,\n 0.6056,\n 0.5893,\n 0.5695,\n 0.5895,\n 0.5989,\n 0.6213,\n 0.6301,\n 0.6191,\n 0.6062,\n 0.6068,\n 0.6306,\n 0.6294,\n 0.6294,\n 0.6194,\n 0.6114,\n 0.6209,\n 0.6005,\n 0.6222,\n 0.6247,\n 0.6302,\n 0.5931,\n 0.5976,\n 0.5635,\n 0.5373,\n 0.5204,\n 0.5211,\n 0.5224,\n 0.5162,\n 0.5356,\n 0.5699,\n 0.57,\n 0.5087,\n 0.5196\n ],\n \"dates\": [\n \"20230426\",\n \"20230427\",\n \"20230428\",\n \"20230501\",\n \"20230502\",\n \"20230503\",\n \"20230504\",\n \"20230505\",\n \"20230508\",\n \"20230509\",\n \"20230510\",\n \"20230511\",\n \"20230512\",\n \"20230515\",\n \"20230516\",\n \"20230517\",\n \"20230518\",\n \"20230519\",\n \"20230522\",\n \"20230523\",\n \"20230524\",\n \"20230525\",\n \"20230526\",\n \"20230529\",\n \"20230530\",\n \"20230531\",\n \"20230601\",\n \"20230602\",\n \"20230605\",\n \"20230606\",\n \"20230607\",\n \"20230608\",\n \"20230609\",\n \"20230612\",\n \"20230613\",\n \"20230614\",\n \"20230615\",\n \"20230616\",\n \"20230619\",\n \"20230620\",\n \"20230621\",\n \"20230622\",\n \"20230623\",\n \"20230626\",\n \"20230627\",\n \"20230628\",\n \"20230629\",\n \"20230630\",\n \"20230703\",\n \"20230704\",\n \"20230705\",\n \"20230706\",\n \"20230707\",\n \"20230710\",\n \"20230711\",\n \"20230712\",\n \"20230713\",\n \"20230714\",\n \"20230717\",\n \"20230718\",\n \"20230719\",\n \"20230720\",\n \"20230721\",\n \"20230724\",\n \"20230725\",\n \"20230726\",\n \"20230727\",\n \"20230728\",\n \"20230731\",\n \"20230801\",\n \"20230802\",\n \"20230803\",\n \"20230804\",\n \"20230807\",\n \"20230808\",\n \"20230809\",\n \"20230810\",\n \"20230811\",\n \"20230814\",\n \"20230815\",\n \"20230816\",\n \"20230817\",\n \"20230818\",\n \"20230821\",\n \"20230822\",\n \"20230823\",\n \"20230824\",\n \"20230825\",\n \"20230828\",\n \"20230829\",\n \"20230830\",\n \"20230831\",\n \"20230901\",\n \"20230904\",\n \"20230905\",\n \"20230906\",\n \"20230907\",\n \"20230908\",\n \"20230911\",\n \"20230912\",\n \"20230913\",\n \"20230914\",\n \"20230915\",\n \"20230918\",\n \"20230919\",\n \"20230920\",\n \"20230921\",\n \"20230922\",\n \"20230925\",\n \"20230926\",\n \"20230927\",\n \"20230928\",\n \"20230929\",\n \"20231002\",\n \"20231003\",\n \"20231004\",\n \"20231005\",\n \"20231006\",\n \"20231009\",\n \"20231010\",\n \"20231011\",\n \"20231012\",\n \"20231013\",\n \"20231016\",\n \"20231017\",\n \"20231018\",\n \"20231019\",\n \"20231020\",\n \"20231023\",\n \"20231024\",\n \"20231025\",\n \"20231026\",\n \"20231027\",\n \"20231030\",\n \"20231031\",\n \"20231101\",\n \"20231102\",\n \"20231103\",\n \"20231106\",\n \"20231107\",\n \"20231108\",\n \"20231109\",\n \"20231110\",\n \"20231113\",\n \"20231114\",\n \"20231115\",\n \"20231116\",\n \"20231117\",\n \"20231120\",\n \"20231121\",\n \"20231122\",\n \"20231123\",\n \"20231124\",\n \"20231127\",\n \"20231128\",\n \"20231129\",\n \"20231130\",\n \"20231201\",\n \"20231204\",\n \"20231205\",\n \"20231206\",\n \"20231207\",\n \"20231208\",\n \"20231211\",\n \"20231212\",\n \"20231213\",\n \"20231214\",\n \"20231215\",\n \"20231218\",\n \"20231219\",\n \"20231220\",\n \"20231221\",\n \"20231222\",\n \"20231225\",\n \"20231226\",\n \"20231227\",\n \"20231228\",\n \"20231229\",\n \"20240101\",\n \"20240102\",\n \"20240103\",\n \"20240104\",\n \"20240105\",\n \"20240108\",\n \"20240109\",\n \"20240110\",\n \"20240111\",\n \"20240112\",\n \"20240115\",\n \"20240116\",\n \"20240117\",\n \"20240118\",\n \"20240119\",\n \"20240122\",\n \"20240123\",\n \"20240124\",\n \"20240125\",\n \"20240126\",\n \"20240129\",\n \"20240130\",\n \"20240131\",\n \"20240201\",\n \"20240202\",\n \"20240205\",\n \"20240206\",\n \"20240207\",\n \"20240208\",\n \"20240209\",\n \"20240212\",\n \"20240213\",\n \"20240214\",\n \"20240215\",\n \"20240216\",\n \"20240219\",\n \"20240220\",\n \"20240221\",\n \"20240222\",\n \"20240223\",\n \"20240226\",\n \"20240227\",\n \"20240228\",\n \"20240229\",\n \"20240301\",\n \"20240304\",\n \"20240305\",\n \"20240306\",\n \"20240307\",\n \"20240308\",\n \"20240311\",\n \"20240312\",\n \"20240313\",\n \"20240314\",\n \"20240315\",\n \"20240318\",\n \"20240319\",\n \"20240320\",\n \"20240321\",\n \"20240322\",\n \"20240325\",\n \"20240326\",\n \"20240327\",\n \"20240328\",\n \"20240329\",\n \"20240401\",\n \"20240402\",\n \"20240403\",\n \"20240404\",\n \"20240405\",\n \"20240408\",\n \"20240409\",\n \"20240410\",\n \"20240411\",\n \"20240412\",\n \"20240415\",\n \"20240416\",\n \"20240417\",\n \"20240418\",\n \"20240419\",\n \"20240422\",\n \"20240423\",\n \"20240424\",\n \"20240425\",\n \"20240426\"\n ],\n \"freq\": \"D\",\n \"nav\": [\n 916213.1573,\n 947269.6089,\n 957495.9273,\n 955827.7745,\n 945030.5846,\n 937034.669,\n 928754.0554,\n 966711.5611,\n 967389.5776,\n 958171.7378,\n 968999.679,\n 970048.1735,\n 963499.6734,\n 965791.2424,\n 963532.7739,\n 981634.443,\n 1005143.7157,\n 1002358.3303,\n 1000701.6307,\n 966850.2441,\n 949826.3976,\n 979748.679,\n 1020801.2545,\n 1020810.7858,\n 1027351.0593,\n 1013631.0401,\n 1043841.252,\n 1079472.9361,\n 1072348.7909,\n 1076122.1442,\n 1057999.0553,\n 1081493.9119,\n 1086998.9023,\n 1119712.8525,\n 1135057.1863,\n 1140719.4231,\n 1175913.8798,\n 1173456.2771,\n 1173458.3751,\n 1170939.8329,\n 1157357.8554,\n 1174615.5054,\n 1161957.1168,\n 1146875.9304,\n 1172947.5129,\n 1176243.4819,\n 1180671.7579,\n 1209491.0023,\n 1208051.9185,\n 1208018.29,\n 1203813.7206,\n 1194572.2962,\n 1187083.1646,\n 1183015.751,\n 1190356.9033,\n 1206352.2287,\n 1222304.6242,\n 1221731.1008,\n 1236119.3763,\n 1244943.4148,\n 1248331.8783,\n 1229579.7033,\n 1225350.3017,\n 1232537.895,\n 1240478.2895,\n 1243215.1302,\n 1234941.7912,\n 1258764.1477,\n 1259517.4519,\n 1252954.6541,\n 1219155.4535,\n 1211872.7998,\n 1178622.2902,\n 1184791.4229,\n 1177239.8994,\n 1156844.7885,\n 1160055.5323,\n 1155551.647,\n 1170445.4699,\n 1147560.6035,\n 1130397.7584,\n 1108620.771,\n 1108331.883,\n 1128641.2025,\n 1126759.2631,\n 1156201.1981,\n 1120833.8567,\n 1136963.447,\n 1152072.6413,\n 1186372.6307,\n 1199291.2264,\n 1200058.9789,\n 1204681.1211,\n 1204749.0158,\n 1199946.698,\n 1170716.1714,\n 1148620.0575,\n 1154500.6274,\n 1175364.1554,\n 1158630.8893,\n 1157174.688,\n 1176862.6911,\n 1149027.5087,\n 1156210.7572,\n 1156781.9906,\n 1143748.405,\n 1124417.1871,\n 1118011.7568,\n 1119608.026,\n 1102337.1466,\n 1104619.9248,\n 1111157.2948,\n 1104546.2216,\n 1100860.507,\n 1082379.2313,\n 1090984.4347,\n 1093382.3395,\n 1105517.8442,\n 1112047.3941,\n 1124779.1628,\n 1131944.9771,\n 1122238.3452,\n 1109917.279,\n 1121941.1344,\n 1130931.4126,\n 1115692.7848,\n 1095936.2795,\n 1078620.0409,\n 1071061.0639,\n 1075861.9248,\n 1062641.5816,\n 1066812.1892,\n 1057138.7199,\n 1072201.8379,\n 1083974.653,\n 1094762.4493,\n 1120068.6249,\n 1136226.7833,\n 1139142.0391,\n 1139870.183,\n 1136408.8642,\n 1127229.6653,\n 1145467.8808,\n 1143660.0272,\n 1174911.4923,\n 1182041.9386,\n 1183048.2116,\n 1188240.3654,\n 1196808.5753,\n 1190714.2398,\n 1195971.9157,\n 1196067.5419,\n 1196993.1964,\n 1193621.4641,\n 1194038.3211,\n 1200440.7278,\n 1205623.1522,\n 1218027.8577,\n 1212531.0881,\n 1209843.2572,\n 1205483.0953,\n 1214837.3879,\n 1224968.307,\n 1226119.552,\n 1231722.1001,\n 1250246.4796,\n 1269077.6522,\n 1261806.0171,\n 1270012.6578,\n 1275175.518,\n 1259197.468,\n 1269869.5619,\n 1275315.2064,\n 1275303.0074,\n 1284481.1929,\n 1286754.053,\n 1288020.332,\n 1282850.7632,\n 1282878.735,\n 1276778.8381,\n 1266973.7093,\n 1269544.0876,\n 1275904.7178,\n 1286495.4108,\n 1278482.2701,\n 1287268.6865,\n 1284200.338,\n 1288214.2064,\n 1287819.9539,\n 1277639.6851,\n 1270827.3223,\n 1278725.5502,\n 1300324.9852,\n 1306323.4495,\n 1312781.9571,\n 1318531.0656,\n 1350033.0327,\n 1345384.5102,\n 1353633.9766,\n 1363482.1133,\n 1333156.3611,\n 1344519.4922,\n 1376661.532,\n 1360247.6463,\n 1361492.1636,\n 1376329.6731,\n 1375083.087,\n 1385410.1315,\n 1389274.5528,\n 1357400.3407,\n 1375326.833,\n 1401881.315,\n 1392768.8561,\n 1392637.734,\n 1380291.0032,\n 1371910.9717,\n 1404606.7185,\n 1409284.2989,\n 1400208.3513,\n 1411555.9833,\n 1409076.0531,\n 1416808.8027,\n 1436450.7862,\n 1447601.0431,\n 1435855.0533,\n 1450679.9318,\n 1470146.1652,\n 1461837.0628,\n 1449412.6474,\n 1474938.4628,\n 1469694.3184,\n 1454799.0419,\n 1436627.4898,\n 1454960.951,\n 1463507.2659,\n 1484057.3961,\n 1492102.1686,\n 1482038.2329,\n 1470235.8767,\n 1470819.2095,\n 1492582.8971,\n 1491455.1209,\n 1491508.085,\n 1482332.7129,\n 1474991.5595,\n 1483721.5119,\n 1464972.9299,\n 1484912.3583,\n 1487204.0587,\n 1492210.8925,\n 1458260.3853,\n 1462342.5595,\n 1431112.3911,\n 1407166.8369,\n 1391683.8539,\n 1392370.552,\n 1393526.1221,\n 1387801.1381,\n 1405559.8818,\n 1436989.688,\n 1437102.1473,\n 1381022.2557,\n 1390987.0689\n ],\n \"startNAV\": {\n \"date\": \"20230425\",\n \"val\": 915345.2059\n }\n },\n \"7D\": {\n \"cps\": [\n 0.0128,\n 0.0354,\n 0.0355,\n -0.0049,\n 0.0023\n ],\n \"dates\": [\n \"20240422\",\n \"20240423\",\n \"20240424\",\n \"20240425\",\n \"20240426\"\n ],\n \"freq\": \"D\",\n \"nav\": [\n 1405559.8818,\n 1436989.688,\n 1437102.1473,\n 1381022.2557,\n 1390987.0689\n ],\n \"startNAV\": {\n \"date\": \"20240419\",\n \"val\": 1387801.1381\n }\n },\n \"MTD\": {\n \"cps\": [\n -0.0062,\n -0.0111,\n -0.0052,\n -0.0178,\n -0.0044,\n -0.0029,\n 0.0005,\n -0.0223,\n -0.0196,\n -0.0405,\n -0.0565,\n -0.0669,\n -0.0665,\n -0.0657,\n -0.0695,\n -0.0576,\n -0.0366,\n -0.0365,\n -0.0741,\n -0.0674\n ],\n \"dates\": [\n \"20240401\",\n \"20240402\",\n \"20240403\",\n \"20240404\",\n \"20240405\",\n \"20240408\",\n \"20240409\",\n \"20240410\",\n \"20240411\",\n \"20240412\",\n \"20240415\",\n \"20240416\",\n \"20240417\",\n \"20240418\",\n \"20240419\",\n \"20240422\",\n \"20240423\",\n \"20240424\",\n \"20240425\",\n \"20240426\"\n ],\n \"freq\": \"D\",\n \"nav\": [\n 1482332.7129,\n 1474991.5595,\n 1483721.5119,\n 1464972.9299,\n 1484912.3583,\n 1487204.0587,\n 1492210.8925,\n 1458260.3853,\n 1462342.5595,\n 1431112.3911,\n 1407166.8369,\n 1391683.8539,\n 1392370.552,\n 1393526.1221,\n 1387801.1381,\n 1405559.8818,\n 1436989.688,\n 1437102.1473,\n 1381022.2557,\n 1390987.0689\n ],\n \"startNAV\": {\n \"date\": \"20240329\",\n \"val\": 1491508.085\n }\n },\n \"YTD\": {\n \"cps\": [\n 0,\n -0.0047,\n -0.0124,\n -0.0104,\n -0.0054,\n 0.0028,\n -0.0034,\n 0.0034,\n 0.0011,\n 0.0042,\n 0.0039,\n -0.0041,\n -0.0094,\n -0.0032,\n 0.0136,\n 0.0183,\n 0.0233,\n 0.0278,\n 0.0524,\n 0.0487,\n 0.0552,\n 0.0629,\n 0.0392,\n 0.0481,\n 0.0731,\n 0.0603,\n 0.0613,\n 0.0729,\n 0.0719,\n 0.0799,\n 0.083,\n 0.0581,\n 0.0721,\n 0.0928,\n 0.0857,\n 0.0856,\n 0.076,\n 0.0694,\n 0.0949,\n 0.0986,\n 0.0915,\n 0.1003,\n 0.0984,\n 0.1044,\n 0.1197,\n 0.1284,\n 0.1193,\n 0.1308,\n 0.146,\n 0.1395,\n 0.1298,\n 0.1497,\n 0.1456,\n 0.134,\n 0.1199,\n 0.1342,\n 0.1408,\n 0.1568,\n 0.1631,\n 0.1553,\n 0.1461,\n 0.1465,\n 0.1635,\n 0.1626,\n 0.1627,\n 0.1555,\n 0.1498,\n 0.1566,\n 0.142,\n 0.1575,\n 0.1593,\n 0.1632,\n 0.1367,\n 0.1399,\n 0.1156,\n 0.0969,\n 0.0848,\n 0.0854,\n 0.0863,\n 0.0818,\n 0.0957,\n 0.1202,\n 0.1202,\n 0.0765,\n 0.0843\n ],\n \"dates\": [\n \"20240101\",\n \"20240102\",\n \"20240103\",\n \"20240104\",\n \"20240105\",\n \"20240108\",\n \"20240109\",\n \"20240110\",\n \"20240111\",\n \"20240112\",\n \"20240115\",\n \"20240116\",\n \"20240117\",\n \"20240118\",\n \"20240119\",\n \"20240122\",\n \"20240123\",\n \"20240124\",\n \"20240125\",\n \"20240126\",\n \"20240129\",\n \"20240130\",\n \"20240131\",\n \"20240201\",\n \"20240202\",\n \"20240205\",\n \"20240206\",\n \"20240207\",\n \"20240208\",\n \"20240209\",\n \"20240212\",\n \"20240213\",\n \"20240214\",\n \"20240215\",\n \"20240216\",\n \"20240219\",\n \"20240220\",\n \"20240221\",\n \"20240222\",\n \"20240223\",\n \"20240226\",\n \"20240227\",\n \"20240228\",\n \"20240229\",\n \"20240301\",\n \"20240304\",\n \"20240305\",\n \"20240306\",\n \"20240307\",\n \"20240308\",\n \"20240311\",\n \"20240312\",\n \"20240313\",\n \"20240314\",\n \"20240315\",\n \"20240318\",\n \"20240319\",\n \"20240320\",\n \"20240321\",\n \"20240322\",\n \"20240325\",\n \"20240326\",\n \"20240327\",\n \"20240328\",\n \"20240329\",\n \"20240401\",\n \"20240402\",\n \"20240403\",\n \"20240404\",\n \"20240405\",\n \"20240408\",\n \"20240409\",\n \"20240410\",\n \"20240411\",\n \"20240412\",\n \"20240415\",\n \"20240416\",\n \"20240417\",\n \"20240418\",\n \"20240419\",\n \"20240422\",\n \"20240423\",\n \"20240424\",\n \"20240425\",\n \"20240426\"\n ],\n \"freq\": \"D\",\n \"nav\": [\n 1282878.735,\n 1276778.8381,\n 1266973.7093,\n 1269544.0876,\n 1275904.7178,\n 1286495.4108,\n 1278482.2701,\n 1287268.6865,\n 1284200.338,\n 1288214.2064,\n 1287819.9539,\n 1277639.6851,\n 1270827.3223,\n 1278725.5502,\n 1300324.9852,\n 1306323.4495,\n 1312781.9571,\n 1318531.0656,\n 1350033.0327,\n 1345384.5102,\n 1353633.9766,\n 1363482.1133,\n 1333156.3611,\n 1344519.4922,\n 1376661.532,\n 1360247.6463,\n 1361492.1636,\n 1376329.6731,\n 1375083.087,\n 1385410.1315,\n 1389274.5528,\n 1357400.3407,\n 1375326.833,\n 1401881.315,\n 1392768.8561,\n 1392637.734,\n 1380291.0032,\n 1371910.9717,\n 1404606.7185,\n 1409284.2989,\n 1400208.3513,\n 1411555.9833,\n 1409076.0531,\n 1416808.8027,\n 1436450.7862,\n 1447601.0431,\n 1435855.0533,\n 1450679.9318,\n 1470146.1652,\n 1461837.0628,\n 1449412.6474,\n 1474938.4628,\n 1469694.3184,\n 1454799.0419,\n 1436627.4898,\n 1454960.951,\n 1463507.2659,\n 1484057.3961,\n 1492102.1686,\n 1482038.2329,\n 1470235.8767,\n 1470819.2095,\n 1492582.8971,\n 1491455.1209,\n 1491508.085,\n 1482332.7129,\n 1474991.5595,\n 1483721.5119,\n 1464972.9299,\n 1484912.3583,\n 1487204.0587,\n 1492210.8925,\n 1458260.3853,\n 1462342.5595,\n 1431112.3911,\n 1407166.8369,\n 1391683.8539,\n 1392370.552,\n 1393526.1221,\n 1387801.1381,\n 1405559.8818,\n 1436989.688,\n 1437102.1473,\n 1381022.2557,\n 1390987.0689\n ],\n \"startNAV\": {\n \"date\": \"20231229\",\n \"val\": 1282850.7632\n }\n },\n \"baseCurrency\": \"USD\",\n \"end\": \"20240426\",\n \"lastSuccessfulUpdate\": \"2024-04-26 16:46:42\",\n \"periods\": [\n \"1D\",\n \"7D\",\n \"MTD\",\n \"1M\",\n \"YTD\",\n \"1Y\"\n ],\n \"start\": \"20230426\"\n },\n \"currencyType\": \"base\",\n \"id\": \"getPerformanceAllPeriods\",\n \"included\": [\n \"DU123456\"\n ],\n \"nd\": 368,\n \"pm\": \"TWR\",\n \"rc\": 0,\n \"view\": [\n \"DU123456\"\n ]\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/detailedContractInformation\"\n }\n }\n },\n \"description\": \"An array of objects detailing contract information.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Account Performance (All Time Periods)\",\n \"tags\": [\n \"Trading Portfolio Analyst\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/pa/performance\": {\n \"post\": {\n \"description\": \"Returns the performance (MTM) for the given accounts, if more than one account is passed, the result is consolidated.\",\n \"operationId\": \"getSinglePerformancePeriod\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"acctIds\": {\n \"description\": \"An array of strings containing each account identifier to retrieve performance details for.\",\n \"type\": \"array\"\n },\n \"period\": {\n \"default\": \"12M\",\n \"description\": \"Specify the period for which the account should be analyzed. Available period lengths:\\n * `1D` - The last 24 hours.\\n * `7D` - The last 7 full days.\\n * `MTD` - Performance since the 1st of the month.\\n * `1M` - A full calendar month from the last full trade day.\\n * `3M` - 3 full calendar months from the last full trade day.\\n * `6M` - 6 full calendar months from the last full trade day.\\n * `12M` - 12 full calendar month from the last full trade day.\\n * `YTD` - Performance since January 1st.\\n\",\n \"enum\": [\n \"1D\",\n \"7D\",\n \"MTD\",\n \"1M\",\n \"3M\",\n \"6M\",\n \"12M\",\n \"YTD\"\n ],\n \"type\": \"string\"\n }\n }\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"cps\": {\n \"data\": [\n {\n \"baseCurrency\": \"USD\",\n \"end\": \"20231213\",\n \"id\": \"U1234567\",\n \"idType\": \"acctid\",\n \"returns\": [\n 0,\n 0.0639\n ],\n \"start\": \"20230102\"\n }\n ],\n \"dates\": [\n \"20230102\",\n \"20231213\"\n ],\n \"freq\": \"D\"\n },\n \"currencyType\": \"base\",\n \"id\": \"getPerformanceData\",\n \"included\": [\n \"U1234567\"\n ],\n \"nav\": {\n \"data\": [\n {\n \"baseCurrency\": \"USD\",\n \"end\": \"20231213\",\n \"id\": \"U1234567\",\n \"idType\": \"acctid\",\n \"navs\": [\n 202767332.1223,\n 215718598.8239\n ],\n \"start\": \"20230102\",\n \"startNAV\": {\n \"date\": \"20221230\",\n \"val\": 202767761.3449\n }\n }\n ],\n \"dates\": [\n \"20230102\",\n \"20231213\"\n ],\n \"freq\": \"D\"\n },\n \"nd\": 346,\n \"pm\": \"TWR\",\n \"rc\": 0,\n \"tpps\": {\n \"data\": [\n {\n \"baseCurrency\": \"USD\",\n \"end\": \"20231213\",\n \"id\": \"U1234567\",\n \"idType\": \"acctid\",\n \"returns\": [\n 0.0037,\n 0.0031,\n 0.0033,\n 0.0034,\n 0.02,\n 0.0127,\n 0.0036,\n 0.0036,\n 0.0034,\n 0.0012,\n 0.0026,\n 0.0017\n ],\n \"start\": \"20230102\"\n }\n ],\n \"dates\": [\n \"202301\",\n \"202302\",\n \"202303\",\n \"202304\",\n \"202305\",\n \"202306\",\n \"202307\",\n \"202308\",\n \"202309\",\n \"202310\",\n \"202311\",\n \"202312\"\n ],\n \"freq\": \"M\"\n }\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/performanceResponse\"\n }\n }\n },\n \"description\": \"An array of objects detailing contract information.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Account Performance\",\n \"tags\": [\n \"Trading Portfolio Analyst\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/pa/transactions\": {\n \"post\": {\n \"description\": \"Transaction history for a given number of conids and accounts. Types of transactions include dividend payments, buy and sell transactions, transfers.\",\n \"operationId\": \"getTransactions\",\n \"parameters\": [],\n \"requestBody\": {\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"properties\": {\n \"acctIds\": {\n \"items\": {\n \"description\": \"Include each account ID as a string to receive data for.\",\n \"example\": \"DU123456\",\n \"type\": \"string\"\n },\n \"type\": \"array\"\n },\n \"conids\": {\n \"items\": {\n \"description\": \"Include contract ID to receive data for. Conids may be passed as integers or strings. Only supports one contract id at a time.\\n\",\n \"example\": 265598,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"type\": \"array\"\n },\n \"currency\": {\n \"default\": \"USD\",\n \"description\": \"Define the currency to display price amounts with.\",\n \"type\": \"string\"\n },\n \"days\": {\n \"default\": 90,\n \"description\": \"Specify the number of days to receive transaction data for.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n }\n }\n }\n }\n },\n \"required\": true\n },\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"currency\": \"USD\",\n \"from\": 1702270800000,\n \"id\": \"getTransactions\",\n \"includesRealTime\": true,\n \"nd\": 4,\n \"rc\": 0,\n \"rpnl\": {\n \"amt\": \"12.2516\",\n \"data\": [\n {\n \"acctid\": \"U1234567\",\n \"amt\": \"12.2516\",\n \"conid\": \"265598\",\n \"cur\": \"USD\",\n \"date\": \"20231211\",\n \"fxRate\": 1,\n \"side\": \"L\"\n }\n ]\n },\n \"to\": 1702530000000,\n \"transactions\": [\n {\n \"acctid\": \"U1234567\",\n \"amt\": 961.3,\n \"conid\": 265598,\n \"cur\": \"USD\",\n \"date\": \"Mon Dec 11 00:00:00 EST 2023\",\n \"desc\": \"Apple Inc\",\n \"fxRate\": 1,\n \"pr\": 192.26,\n \"qty\": -5,\n \"type\": \"Sell\"\n }\n ]\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/transactionsResponse\"\n }\n }\n },\n \"description\": \"An array of objects detailing contract information.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"Transaction History\",\n \"tags\": [\n \"Trading Portfolio Analyst\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/portfolio/accounts\": {\n \"get\": {\n \"description\": \"return accounts\",\n \"operationId\": \"getAllAccounts\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"accounts\": {\n \"$ref\": \"#/components/examples/AccountExample\"\n }\n },\n \"schema\": {\n \"description\": \"Array of objects representing accounts in the structure.\",\n \"items\": {\n \"$ref\": \"#/components/schemas/accountAttributes\"\n },\n \"type\": \"array\"\n }\n }\n },\n \"description\": \"returned array with user account\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"List All Accounts\",\n \"tags\": [\n \"Trading Portfolio\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/portfolio/positions/{conid}\": {\n \"get\": {\n \"description\": \"Get positions in accounts for a given instrument (no secDef await control)\",\n \"operationId\": \"getAllAccountsForConid\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"conid\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Conid of the instrument for which positions are requested.\",\n \"example\": 8314,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"withPartialSecDefForSomeAccount\": {\n \"value\": {\n \"DU123456\": [\n {\n \"acctId\": \"DU123456\",\n \"allExchanges\": \"AMEX,NYSE,CBOE,PHLX,CHX,ARCA,ISLAND,ISE,IDEAL,NASDAQQ,REALNYSE,DRCTEDGE,BEX,BATS,NITEECN,EDGEA,CSFBALGO,PSX,BYX,ITG,PDQ,IBKRATS,NYSEFLOOR,CITADEL,NYSEDARK,MIAX,IBDARK,CITADELDP,NASDDARK,IEX,WEDBUSH,SUMMER,WINSLOW,FINRA,LIQITG,UBSDARK,BTIG,VIRTU,JEFF,OPCO,COWEN,DBK,JPMC,EDGX,JANE,NEEDHAM,FRACSHARE,RBCALGO,VIRTUDP,BAYCREST,FOXRIVER,MND,NITEEXST,PEARL,GSDARK,NITERTL,NYSENAT,IEXMID,HRT,FLOWTRADE,HRTDP,JANELP,PEAK6,CTDLZERO,HRTMID,JANEZERO,HRTEXST,IMCLP,LTSE,SOCGENDP,MEMX,INTELCROS,VIRTUBYIN,JUMPTRADE,NITEZERO,TPLUS1,XTXEXST,XTXDP,XTXMID,COWENLP,BARCDP,JUMPLP,OLDMCLP,RBCCMALP,WALLBETH,IBEOS,JONES,GSLP,BLUEOCEAN,USIBSILP,OVERNIGHT,JANEMID,IBATSEOS,HRTZERO,VIRTUALGO,G1XLP,VIRTUMID,GLOBALXLP,CTDLMID,TPLUS0\",\n \"assetClass\": \"STK\",\n \"avgCost\": 144.46141,\n \"avgPrice\": 144.46141,\n \"chineseName\": \"国际商业机器\",\n \"conExchMap\": [],\n \"conid\": 8314,\n \"contractDesc\": \"IBM\",\n \"countryCode\": \"US\",\n \"currency\": \"USD\",\n \"displayRule\": {\n \"displayRuleStep\": [\n {\n \"decimalDigits\": 2,\n \"lowerEdge\": 0.0,\n \"wholeDigits\": 4\n }\n ],\n \"magnification\": 0\n },\n \"exchs\": null,\n \"exerciseStyle\": null,\n \"expiry\": null,\n \"fullName\": \"IBM\",\n \"group\": \"Computers\",\n \"hasOptions\": true,\n \"incrementRules\": [\n {\n \"increment\": 0.01,\n \"lowerEdge\": 0.0\n }\n ],\n \"isEventContract\": false,\n \"isUS\": true,\n \"lastTradingDay\": null,\n \"listingExchange\": \"NYSE\",\n \"mktPrice\": 166.7599945,\n \"mktValue\": 235465.11,\n \"model\": \"\",\n \"multiplier\": 0.0,\n \"name\": \"INTL BUSINESS MACHINES CORP\",\n \"pageSize\": 100,\n \"position\": 1412.0,\n \"putOrCall\": null,\n \"realizedPnl\": 0.0,\n \"sector\": \"Technology\",\n \"sectorGroup\": \"Computer Services\",\n \"strike\": \"0\",\n \"ticker\": \"IBM\",\n \"time\": 64,\n \"type\": \"COMMON\",\n \"undConid\": 0,\n \"unrealizedPnl\": 31485.6\n }\n ],\n \"DU123457\": [\n {\n \"acctId\": \"DU123457\",\n \"assetClass\": \"STK\",\n \"avgCost\": 144.46141,\n \"avgPrice\": 144.46141,\n \"conExchMap\": [],\n \"conid\": 8314,\n \"contractDesc\": \"IBM\",\n \"currency\": \"USD\",\n \"exchs\": null,\n \"exerciseStyle\": null,\n \"expiry\": null,\n \"mktPrice\": 166.7599945,\n \"mktValue\": 235465.11,\n \"model\": \"\",\n \"multiplier\": null,\n \"position\": 1412.0,\n \"putOrCall\": null,\n \"realizedPnl\": 0.0,\n \"strike\": 0.0,\n \"undConid\": 0,\n \"unrealizedPnl\": 31485.6\n }\n ]\n }\n },\n \"withSecDefForAllAccounts\": {\n \"value\": {\n \"DU123456\": [\n {\n \"acctId\": \"DU123456\",\n \"allExchanges\": \"AMEX,NYSE,CBOE,PHLX,CHX,ARCA,ISLAND,ISE,IDEAL,NASDAQQ,REALNYSE,DRCTEDGE,BEX,BATS,NITEECN,EDGEA,CSFBALGO,PSX,BYX,ITG,PDQ,IBKRATS,NYSEFLOOR,CITADEL,NYSEDARK,MIAX,IBDARK,CITADELDP,NASDDARK,IEX,WEDBUSH,SUMMER,WINSLOW,FINRA,LIQITG,UBSDARK,BTIG,VIRTU,JEFF,OPCO,COWEN,DBK,JPMC,EDGX,JANE,NEEDHAM,FRACSHARE,RBCALGO,VIRTUDP,BAYCREST,FOXRIVER,MND,NITEEXST,PEARL,GSDARK,NITERTL,NYSENAT,IEXMID,HRT,FLOWTRADE,HRTDP,JANELP,PEAK6,CTDLZERO,HRTMID,JANEZERO,HRTEXST,IMCLP,LTSE,SOCGENDP,MEMX,INTELCROS,VIRTUBYIN,JUMPTRADE,NITEZERO,TPLUS1,XTXEXST,XTXDP,XTXMID,COWENLP,BARCDP,JUMPLP,OLDMCLP,RBCCMALP,WALLBETH,IBEOS,JONES,GSLP,BLUEOCEAN,USIBSILP,OVERNIGHT,JANEMID,IBATSEOS,HRTZERO,VIRTUALGO,G1XLP,VIRTUMID,GLOBALXLP,CTDLMID,TPLUS0\",\n \"assetClass\": \"STK\",\n \"avgCost\": 144.46141,\n \"avgPrice\": 144.46141,\n \"chineseName\": \"国际商业机器\",\n \"conExchMap\": [],\n \"conid\": 8314,\n \"contractDesc\": \"IBM\",\n \"countryCode\": \"US\",\n \"currency\": \"USD\",\n \"displayRule\": {\n \"displayRuleStep\": [\n {\n \"decimalDigits\": 2,\n \"lowerEdge\": 0.0,\n \"wholeDigits\": 4\n }\n ],\n \"magnification\": 0\n },\n \"exchs\": null,\n \"exerciseStyle\": null,\n \"expiry\": null,\n \"fullName\": \"IBM\",\n \"group\": \"Computers\",\n \"hasOptions\": true,\n \"incrementRules\": [\n {\n \"increment\": 0.01,\n \"lowerEdge\": 0.0\n }\n ],\n \"isEventContract\": false,\n \"isUS\": true,\n \"lastTradingDay\": null,\n \"listingExchange\": \"NYSE\",\n \"mktPrice\": 166.7599945,\n \"mktValue\": 235465.11,\n \"model\": \"\",\n \"multiplier\": 0.0,\n \"name\": \"INTL BUSINESS MACHINES CORP\",\n \"pageSize\": 100,\n \"position\": 1412.0,\n \"putOrCall\": null,\n \"realizedPnl\": 0.0,\n \"sector\": \"Technology\",\n \"sectorGroup\": \"Computer Services\",\n \"strike\": \"0\",\n \"ticker\": \"IBM\",\n \"time\": 64,\n \"type\": \"COMMON\",\n \"undConid\": 0,\n \"unrealizedPnl\": 31485.6\n }\n ],\n \"DU123457\": [\n {\n \"acctId\": \"DU123457\",\n \"allExchanges\": \"AMEX,NYSE,CBOE,PHLX,CHX,ARCA,ISLAND,ISE,IDEAL,NASDAQQ,REALNYSE,DRCTEDGE,BEX,BATS,NITEECN,EDGEA,CSFBALGO,PSX,BYX,ITG,PDQ,IBKRATS,NYSEFLOOR,CITADEL,NYSEDARK,MIAX,IBDARK,CITADELDP,NASDDARK,IEX,WEDBUSH,SUMMER,WINSLOW,FINRA,LIQITG,UBSDARK,BTIG,VIRTU,JEFF,OPCO,COWEN,DBK,JPMC,EDGX,JANE,NEEDHAM,FRACSHARE,RBCALGO,VIRTUDP,BAYCREST,FOXRIVER,MND,NITEEXST,PEARL,GSDARK,NITERTL,NYSENAT,IEXMID,HRT,FLOWTRADE,HRTDP,JANELP,PEAK6,CTDLZERO,HRTMID,JANEZERO,HRTEXST,IMCLP,LTSE,SOCGENDP,MEMX,INTELCROS,VIRTUBYIN,JUMPTRADE,NITEZERO,TPLUS1,XTXEXST,XTXDP,XTXMID,COWENLP,BARCDP,JUMPLP,OLDMCLP,RBCCMALP,WALLBETH,IBEOS,JONES,GSLP,BLUEOCEAN,USIBSILP,OVERNIGHT,JANEMID,IBATSEOS,HRTZERO,VIRTUALGO,G1XLP,VIRTUMID,GLOBALXLP,CTDLMID,TPLUS0\",\n \"assetClass\": \"STK\",\n \"avgCost\": 144.46141,\n \"avgPrice\": 144.46141,\n \"chineseName\": \"国际商业机器\",\n \"conExchMap\": [],\n \"conid\": 8314,\n \"contractDesc\": \"IBM\",\n \"countryCode\": \"US\",\n \"currency\": \"USD\",\n \"displayRule\": {\n \"displayRuleStep\": [\n {\n \"decimalDigits\": 2,\n \"lowerEdge\": 0.0,\n \"wholeDigits\": 4\n }\n ],\n \"magnification\": 0\n },\n \"exchs\": null,\n \"exerciseStyle\": null,\n \"expiry\": null,\n \"fullName\": \"IBM\",\n \"group\": \"Computers\",\n \"hasOptions\": true,\n \"incrementRules\": [\n {\n \"increment\": 0.01,\n \"lowerEdge\": 0.0\n }\n ],\n \"isEventContract\": false,\n \"isUS\": true,\n \"lastTradingDay\": null,\n \"listingExchange\": \"NYSE\",\n \"mktPrice\": 166.7599945,\n \"mktValue\": 235465.11,\n \"model\": \"\",\n \"multiplier\": 0.0,\n \"name\": \"INTL BUSINESS MACHINES CORP\",\n \"pageSize\": 100,\n \"position\": 1412.0,\n \"putOrCall\": null,\n \"realizedPnl\": 0.0,\n \"sector\": \"Technology\",\n \"sectorGroup\": \"Computer Services\",\n \"strike\": \"0\",\n \"ticker\": \"IBM\",\n \"time\": 64,\n \"type\": \"COMMON\",\n \"undConid\": 0,\n \"unrealizedPnl\": 31485.6\n }\n ]\n }\n }\n },\n \"schema\": {\n \"additionalProperties\": {\n \"$ref\": \"#/components/schemas/individualPosition\"\n },\n \"type\": \"object\"\n }\n }\n },\n \"description\": \"Object containing positions in the requested conid broken out by account.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"All Account Positions In An Instrument\",\n \"tags\": [\n \"Trading Portfolio\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/portfolio/subaccounts\": {\n \"get\": {\n \"description\": \"Retrieve attributes of the subaccounts in the account structure.\",\n \"operationId\": \"getAllSubaccounts\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"subAccounts\": {\n \"$ref\": \"#/components/examples/AccountExample\"\n }\n },\n \"schema\": {\n \"items\": {\n \"$ref\": \"#/components/schemas/accountAttributes\"\n },\n \"type\": \"array\"\n }\n }\n },\n \"description\": \"Array of objects representing accounts in the structure.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"summary\": \"List All Subaccounts\",\n \"tags\": [\n \"Trading Portfolio\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/portfolio/subaccounts2\": {\n \"get\": {\n \"description\": \"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.\\n\",\n \"operationId\": \"getManySubaccounts\",\n \"parameters\": [\n {\n \"in\": \"query\",\n \"name\": \"accountId\",\n \"schema\": {\n \"description\": \"accountId\",\n \"example\": \"DU123456\",\n \"type\": \"string\"\n }\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"nocache\",\n \"required\": false,\n \"schema\": {\n \"default\": false,\n \"description\": \"Set if request should be made without caching.\",\n \"type\": \"boolean\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"metadata\": {\n \"pageNum\": 0,\n \"pageSize\": 20,\n \"total\": 1\n },\n \"subaccounts\": [\n {\n \"PrepaidCrypto-P\": false,\n \"PrepaidCrypto-Z\": false,\n \"accountAlias\": \"None\",\n \"accountId\": \"U1234567\",\n \"accountStatus\": 1644814800000,\n \"accountTitle\": \"\",\n \"accountVan\": \"U1234567\",\n \"acctCustType\": \"LLC\",\n \"brokerageAccess\": false,\n \"businessType\": \"IB_PROSERVE\",\n \"category\": \"\",\n \"clearingStatus\": \"O\",\n \"covestor\": false,\n \"currency\": \"USD\",\n \"desc\": \"U1234567\",\n \"displayName\": \"U1234567\",\n \"faclient\": false,\n \"ibEntity\": \"IBLLC-US\",\n \"id\": \"U1234567\",\n \"noClientTrading\": false,\n \"parent\": {\n \"accountId\": \"\",\n \"isMChild\": false,\n \"isMParent\": false,\n \"isMultiplex\": false,\n \"mmc\": []\n },\n \"trackVirtualFXPortfolio\": true,\n \"tradingType\": \"PMRGN\",\n \"type\": \"DEMO\"\n }\n ]\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/subaccounts2Response\"\n }\n }\n },\n \"description\": \"response with subaccount definitions\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Portfolio Subaccounts (Large Account Structures)\",\n \"tags\": [\n \"Trading Portfolio\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/portfolio/{accountId}/allocation\": {\n \"get\": {\n \"description\": \"Get an account\'s allocations by asset class, sector group, and sector.\",\n \"operationId\": \"getAssetAllocation\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Account ID whose allocations are requested.\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"model\",\n \"required\": false,\n \"schema\": {\n \"description\": \"model\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"assetClass\": {\n \"long\": {\n \"BOND\": 380106.54,\n \"CASH\": 72425.68706744915,\n \"CRYPTO\": 255.17,\n \"OPT\": 44352.82,\n \"STK\": 1564447.6240790943\n },\n \"short\": {\n \"CASH\": -508096.16629793524,\n \"OPT\": -80.53,\n \"STK\": -103716.11109948158\n }\n },\n \"group\": {\n \"long\": {\n \"Aerospace/Defense\": 380106.54,\n \"Auto Manufacturers\": 18213.43337263364,\n \"Banks\": 366666.31,\n \"Biotechnology\": 49.72,\n \"Computers\": 279285.37,\n \"Diversified Finan Serv\": 45970.8,\n \"Internet\": 164576.99,\n \"Others\": 704313.8907064605,\n \"Semiconductors\": 371.9,\n \"Software\": 29607.2\n },\n \"short\": {\n \"Auto Manufacturers\": -11763.0,\n \"Insurance\": -4682.111099481583,\n \"Internet\": -189.53,\n \"Semiconductors\": -87162.0\n }\n },\n \"sector\": {\n \"long\": {\n \"Communications\": 164576.99,\n \"Consumer, Cyclical\": 18213.43337263364,\n \"Consumer, Non-cyclical\": 49.72,\n \"Financial\": 412637.11,\n \"Industrial\": 380106.54,\n \"Others\": 704313.8907064605,\n \"Technology\": 309264.47000000003\n },\n \"short\": {\n \"Communications\": -189.53,\n \"Consumer, Cyclical\": -11763.0,\n \"Financial\": -4682.111099481583,\n \"Technology\": -87162.0\n }\n }\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/portfolioAllocations\"\n }\n }\n },\n \"description\": \"response with allocations\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Account Allocations\",\n \"tags\": [\n \"Trading Portfolio\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/portfolio/{accountId}/combo/positions\": {\n \"get\": {\n \"description\": \"Provides all positions held in the account acquired as a combination, including values such as ratios, size, and market value.\",\n \"operationId\": \"getComboPositions\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"nocache\",\n \"required\": false,\n \"schema\": {\n \"default\": false,\n \"description\": \"Set if request should be made without caching.\",\n \"type\": \"boolean\"\n },\n \"style\": \"form\"\n },\n {\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"type\": \"string\"\n }\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": [\n {\n \"description\": \"1*649180695-1*654503299\",\n \"legs\": [\n {\n \"conid\": \"649180695\",\n \"ratio\": 1\n },\n {\n \"conid\": \"654503299\",\n \"ratio\": -1\n }\n ],\n \"name\": \"CP.CP695fcbb4\",\n \"positions\": [\n {\n \"acctId\": \"DU5240685\",\n \"assetClass\": \"FUT\",\n \"avgCost\": 348114.52,\n \"avgPrice\": 6962.2904,\n \"conExchMap\": [],\n \"conid\": 649180695,\n \"contractDesc\": \"ES MAR2026\",\n \"currency\": \"USD\",\n \"exchs\": \"None\",\n \"exerciseStyle\": \"None\",\n \"expiry\": \"None\",\n \"mktPrice\": 6962.0,\n \"mktValue\": 348100.0,\n \"multiplier\": \"None\",\n \"position\": 1.0,\n \"putOrCall\": \"None\",\n \"realizedPnl\": 0.0,\n \"strike\": 0.0,\n \"undConid\": 0,\n \"unrealizedPnl\": -14.52\n },\n {\n \"acctId\": \"DU5240685\",\n \"assetClass\": \"FUT\",\n \"avgCost\": 49997.98,\n \"avgPrice\": 999.9596,\n \"conExchMap\": [],\n \"conid\": 654503299,\n \"contractDesc\": \"ES DEC2028\",\n \"currency\": \"USD\",\n \"exchs\": \"None\",\n \"exerciseStyle\": \"None\",\n \"expiry\": \"None\",\n \"mktPrice\": 7530.1928711,\n \"mktValue\": -376509.64,\n \"multiplier\": \"None\",\n \"position\": -1.0,\n \"putOrCall\": \"None\",\n \"realizedPnl\": 0.0,\n \"strike\": 0.0,\n \"undConid\": 0,\n \"unrealizedPnl\": -326511.66\n }\n ]\n }\n ]\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/comboPositionResponse\"\n }\n }\n },\n \"description\": \"response with combo position definitions\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Combination Positions\",\n \"tags\": [\n \"Trading Portfolio\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/portfolio/{accountId}/ledger\": {\n \"get\": {\n \"description\": \"Get the given account\'s ledger data detailing its balances by currency.\",\n \"operationId\": \"getPortfolioLedger\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Account ID whose ledger data is requested.\",\n \"example\": \"DU123456\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"AUD\": {\n \"acctcode\": \"DU5240685\",\n \"cashbalance\": 223911.11,\n \"cashbalancefxsegment\": 0.0,\n \"commoditymarketvalue\": 0.0,\n \"corporatebondsmarketvalue\": 0.0,\n \"cryptocurrencyvalue\": 0.0,\n \"currency\": \"AUD\",\n \"dividends\": 0.0,\n \"exchangerate\": 0.650378,\n \"funds\": 0.0,\n \"futuremarketvalue\": 0.0,\n \"futureoptionmarketvalue\": 0.0,\n \"futuresonlypnl\": 0.0,\n \"interest\": 83.04,\n \"issueroptionsmarketvalue\": 0.0,\n \"key\": \"LedgerList\",\n \"moneyfunds\": 0.0,\n \"netliquidationvalue\": 223994.16,\n \"realizedpnl\": 0.0,\n \"secondkey\": \"AUD\",\n \"sessionid\": 1,\n \"settledcash\": 223911.11,\n \"severity\": 0,\n \"stockmarketvalue\": 0.0,\n \"stockoptionmarketvalue\": 0.0,\n \"tbillsmarketvalue\": 0.0,\n \"tbondsmarketvalue\": 0.0,\n \"timestamp\": 1754948718,\n \"unrealizedpnl\": 0.0,\n \"warrantsmarketvalue\": 0.0\n },\n \"BASE\": {\n \"acctcode\": \"DU5240685\",\n \"cashbalance\": 218093824.0,\n \"cashbalancefxsegment\": 0.0,\n \"commoditymarketvalue\": 0.0,\n \"corporatebondsmarketvalue\": 2094.11,\n \"cryptocurrencyvalue\": 0.0,\n \"currency\": \"BASE\",\n \"dividends\": 0.0,\n \"exchangerate\": 1,\n \"funds\": 0.0,\n \"futuremarketvalue\": 2750.1,\n \"futureoptionmarketvalue\": 0.0,\n \"futuresonlypnl\": 2750.1,\n \"interest\": 150856.48,\n \"issueroptionsmarketvalue\": 0.0,\n \"key\": \"LedgerList\",\n \"moneyfunds\": 0.0,\n \"netliquidationvalue\": 219449280.0,\n \"realizedpnl\": 0.0,\n \"secondkey\": \"BASE\",\n \"sessionid\": 1,\n \"settledcash\": 218093824.0,\n \"severity\": 0,\n \"stockmarketvalue\": 1202347.1,\n \"stockoptionmarketvalue\": 906.95,\n \"tbillsmarketvalue\": 0.0,\n \"tbondsmarketvalue\": 0.0,\n \"timestamp\": 1754948718,\n \"unrealizedpnl\": 154673.2,\n \"warrantsmarketvalue\": 0.0\n },\n \"USD\": {\n \"acctcode\": \"DU5240685\",\n \"cashbalance\": 213375440.0,\n \"cashbalancefxsegment\": 0.0,\n \"commoditymarketvalue\": 0.0,\n \"corporatebondsmarketvalue\": 2094.11,\n \"cryptocurrencyvalue\": 0.0,\n \"currency\": \"USD\",\n \"dividends\": 0.0,\n \"endofbundle\": 1,\n \"exchangerate\": 1,\n \"funds\": 0.0,\n \"futuremarketvalue\": 2750.1,\n \"futureoptionmarketvalue\": 0.0,\n \"futuresonlypnl\": 2750.1,\n \"interest\": 150009.97,\n \"issueroptionsmarketvalue\": 0.0,\n \"key\": \"LedgerList\",\n \"moneyfunds\": 0.0,\n \"netliquidationvalue\": 214730048.0,\n \"realizedpnl\": 0.0,\n \"secondkey\": \"USD\",\n \"sessionid\": 1,\n \"settledcash\": 213375440.0,\n \"severity\": 0,\n \"stockmarketvalue\": 1202347.1,\n \"stockoptionmarketvalue\": 906.95,\n \"tbillsmarketvalue\": 0.0,\n \"tbondsmarketvalue\": 0.0,\n \"timestamp\": 1754948718,\n \"unrealizedpnl\": 154673.2,\n \"warrantsmarketvalue\": 0.0\n }\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/ledger\"\n }\n }\n },\n \"description\": \"ledger\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Account Ledger\",\n \"tags\": [\n \"Trading Portfolio\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/portfolio/{accountId}/meta\": {\n \"get\": {\n \"description\": \"Get a single account\'s attributes and capabilities.\",\n \"operationId\": \"getPortfolioMetadata\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Account ID whose attributes are requested.\",\n \"example\": \"DU123456\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"accountMetaInformation\": {\n \"value\": {\n \"PrepaidCrypto-P\": false,\n \"PrepaidCrypto-Z\": false,\n \"accountAlias\": \"Retirement\",\n \"accountId\": \"DU123456\",\n \"accountStatus\": 1590724800000,\n \"accountTitle\": \"John Smith, LLC\",\n \"accountVan\": \"DU123456\",\n \"acctCustType\": \"LLC\",\n \"brokerageAccess\": false,\n \"businessType\": \"IB_SALES\",\n \"clearingStatus\": \"O\",\n \"covestor\": false,\n \"currency\": \"USD\",\n \"desc\": \"DU123456\",\n \"displayName\": \"John Smith, LLC\",\n \"faclient\": false,\n \"ibEntity\": \"IBLLC-US\",\n \"id\": \"DU123456\",\n \"noClientTrading\": false,\n \"parent\": {\n \"accountId\": \"\",\n \"isMChild\": false,\n \"isMParent\": false,\n \"isMultiplex\": false,\n \"mmc\": []\n },\n \"trackVirtualFXPortfolio\": true,\n \"tradingType\": \"STKNOPT\",\n \"type\": \"DEMO\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/accountAttributes\"\n }\n }\n },\n \"description\": \"An account\'s attributes\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Account Attributes\",\n \"tags\": [\n \"Trading Portfolio\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/portfolio/{accountId}/positions/invalidate\": {\n \"post\": {\n \"description\": \"Instructs IB to discard cached portfolio positions for a given account, so that the next request for positions delivers freshly obtained data.\",\n \"operationId\": \"invalidatePositionCache\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Account ID whose cached portfolio positions will be discarded.\",\n \"example\": \"DU123456\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"message\": \"success\"\n }\n }\n },\n \"schema\": {\n \"properties\": {\n \"message\": {\n \"description\": \"Indicates success or failure of request to discard cached positions.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n }\n }\n },\n \"description\": \"status of invalidation\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Refresh Position Cache\",\n \"tags\": [\n \"Trading Portfolio\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/portfolio/{accountId}/positions/{pageId}\": {\n \"get\": {\n \"description\": \"Get all positions in an account.\",\n \"operationId\": \"getPaginatedPositions\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Account ID whose positions are requested.\",\n \"example\": \"DU123456\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n },\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"pageId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Paginates positions response. Indexed from 0. Max 100 positions returned per page. Defaulted to 0.\",\n \"example\": 1,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"simple\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"model\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Name of model\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"sort\",\n \"required\": false,\n \"schema\": {\n \"description\": \"sorting of result positions by specified field. Defaulted to \\\"name\\\" field.\",\n \"example\": \"name\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"direction\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Sorting direction. Possible values \\\"a\\\" - ascending, \\\"d\\\" - descending. Defaulted to \\\"a\\\"\",\n \"example\": \"a\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"waitForSecDef\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Forcing to wait for all security definition to be received. If false, position may not have secDef portion\",\n \"type\": \"boolean\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"positions\": {\n \"value\": [\n {\n \"acctId\": \"DU123456\",\n \"allExchanges\": \"PAXOS\",\n \"assetClass\": \"CRYPTO\",\n \"avgCost\": 27608.34921045,\n \"avgPrice\": 27608.34921045,\n \"chineseName\": \"美元\",\n \"conExchMap\": [],\n \"conid\": 479624278,\n \"contractDesc\": \"BTC CRYPTO\",\n \"countryCode\": \"US\",\n \"currency\": \"USD\",\n \"displayRule\": {\n \"displayRuleStep\": [\n {\n \"decimalDigits\": 2,\n \"lowerEdge\": 0.0,\n \"wholeDigits\": 4\n }\n ],\n \"magnification\": 0\n },\n \"exchs\": null,\n \"exerciseStyle\": null,\n \"expiry\": null,\n \"fullName\": \"BTC\",\n \"group\": null,\n \"hasOptions\": false,\n \"incrementRules\": [\n {\n \"increment\": 0.25,\n \"lowerEdge\": 0.0\n }\n ],\n \"isEventContract\": false,\n \"lastTradingDay\": null,\n \"listingExchange\": \"PAXOS\",\n \"mktPrice\": 69814.3984375,\n \"mktValue\": 255.4,\n \"model\": \"\",\n \"multiplier\": 0.0,\n \"name\": \"Bitcoin cryptocurrency\",\n \"pageSize\": 100,\n \"position\": 0.00365831,\n \"putOrCall\": null,\n \"realizedPnl\": 0.0,\n \"sector\": null,\n \"sectorGroup\": null,\n \"strike\": \"0\",\n \"ticker\": \"BTC\",\n \"time\": 6,\n \"type\": \"\",\n \"undConid\": 0,\n \"unrealizedPnl\": 154.4\n },\n {\n \"acctId\": \"DU123456\",\n \"allExchanges\": \"AMEX,CBOE,PHLX,PSE,ISE,BOX,BATS,NASDAQOM,CBOE2,NASDAQBX,MIAX,GEMINI,EDGX,MERCURY,PEARL,EMERALD,MEMX,WALLBETH,IBUSOPT\",\n \"assetClass\": \"OPT\",\n \"avgCost\": 5801.0401,\n \"avgPrice\": 58.010401,\n \"chineseName\": \"SPDR标普500 ETF信托\",\n \"conExchMap\": [],\n \"conid\": 584891614,\n \"contractDesc\": \"SPY JAN2025 440 C [SPY 250117C00440000 100]\",\n \"countryCode\": \"US\",\n \"crossCurrency\": false,\n \"currency\": \"USD\",\n \"displayRule\": {\n \"displayRuleStep\": [\n {\n \"decimalDigits\": 2,\n \"lowerEdge\": 0.0,\n \"wholeDigits\": 4\n }\n ],\n \"magnification\": 0\n },\n \"exchs\": null,\n \"exerciseStyle\": null,\n \"expiry\": \"20250117\",\n \"fullName\": \"SPY Jan17\'25 440 Call\",\n \"group\": null,\n \"hasOptions\": false,\n \"incrementRules\": [\n {\n \"increment\": 0.01,\n \"lowerEdge\": 0.0\n }\n ],\n \"isEventContract\": false,\n \"isUS\": true,\n \"lastTradingDay\": \"20250117\",\n \"listingExchange\": \"AMEX\",\n \"mktPrice\": 95.70706175,\n \"mktValue\": 9570.71,\n \"model\": \"\",\n \"multiplier\": 100.0,\n \"name\": \"SPDR S&P 500 ETF TRUST\",\n \"pageSize\": 100,\n \"position\": 1.0,\n \"putOrCall\": \"C\",\n \"realizedPnl\": 0.0,\n \"sector\": null,\n \"sectorGroup\": null,\n \"strike\": \"440\",\n \"ticker\": \"SPY\",\n \"time\": 26,\n \"type\": \"\",\n \"undComp\": \"SPDR S&P 500 ETF TRUST\",\n \"undConid\": 756733,\n \"undSym\": \"SPY\",\n \"unrealizedPnl\": 3769.67\n },\n {\n \"acctId\": \"DU123456\",\n \"allExchanges\": \"AMEX,NYSE,CBOE,PHLX,CHX,ARCA,ISLAND,ISE,IDEAL,NASDAQQ,REALNYSE,DRCTEDGE,BEX,BATS,NITEECN,EDGEA,CSFBALGO,PSX,BYX,ITG,PDQ,IBKRATS,NYSEFLOOR,CITADEL,NYSEDARK,MIAX,IBDARK,CITADELDP,NASDDARK,IEX,WEDBUSH,SUMMER,WINSLOW,FINRA,LIQITG,UBSDARK,BTIG,VIRTU,JEFF,OPCO,COWEN,DBK,JPMC,EDGX,JANE,NEEDHAM,FRACSHARE,RBCALGO,VIRTUDP,BAYCREST,FOXRIVER,MND,NITEEXST,PEARL,GSDARK,NITERTL,NYSENAT,IEXMID,HRT,FLOWTRADE,HRTDP,JANELP,PEAK6,CTDLZERO,HRTMID,JANEZERO,HRTEXST,IMCLP,LTSE,SOCGENDP,MEMX,INTELCROS,VIRTUBYIN,JUMPTRADE,NITEZERO,TPLUS1,XTXEXST,XTXDP,XTXMID,COWENLP,BARCDP,JUMPLP,OLDMCLP,RBCCMALP,WALLBETH,IBEOS,JONES,GSLP,BLUEOCEAN,USIBSILP,OVERNIGHT,JANEMID,IBATSEOS,HRTZERO,VIRTUALGO,G1XLP,VIRTUMID,GLOBALXLP,CTDLMID,TPLUS0\",\n \"assetClass\": \"STK\",\n \"avgCost\": 144.46141,\n \"avgPrice\": 144.46141,\n \"chineseName\": \"国际商业机器\",\n \"conExchMap\": [],\n \"conid\": 8314,\n \"contractDesc\": \"IBM\",\n \"countryCode\": \"US\",\n \"currency\": \"USD\",\n \"displayRule\": {\n \"displayRuleStep\": [\n {\n \"decimalDigits\": 2,\n \"lowerEdge\": 0.0,\n \"wholeDigits\": 4\n }\n ],\n \"magnification\": 0\n },\n \"exchs\": null,\n \"exerciseStyle\": null,\n \"expiry\": null,\n \"fullName\": \"IBM\",\n \"group\": \"Computers\",\n \"hasOptions\": true,\n \"incrementRules\": [\n {\n \"increment\": 0.01,\n \"lowerEdge\": 0.0\n }\n ],\n \"isEventContract\": false,\n \"isUS\": true,\n \"lastTradingDay\": null,\n \"listingExchange\": \"NYSE\",\n \"mktPrice\": 185.17599485,\n \"mktValue\": 261468.5,\n \"model\": \"\",\n \"multiplier\": 0.0,\n \"name\": \"INTL BUSINESS MACHINES CORP\",\n \"pageSize\": 100,\n \"position\": 1412.0,\n \"putOrCall\": null,\n \"realizedPnl\": 0.0,\n \"sector\": \"Technology\",\n \"sectorGroup\": \"Computer Services\",\n \"strike\": \"0\",\n \"ticker\": \"IBM\",\n \"time\": 38,\n \"type\": \"COMMON\",\n \"undConid\": 0,\n \"unrealizedPnl\": 57488.99\n }\n ]\n }\n },\n \"schema\": {\n \"description\": \"Array of objects reflecting all positions in the given account.\",\n \"items\": {\n \"$ref\": \"#/components/schemas/individualPosition\"\n },\n \"type\": \"array\"\n }\n }\n },\n \"description\": \"positions\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Account Positions\",\n \"tags\": [\n \"Trading Portfolio\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/portfolio/{accountId}/summary\": {\n \"get\": {\n \"description\": \"Returns detailed summary of account values, by segment where appropriate.\",\n \"operationId\": \"getPortfolioSummary\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"accountId\",\n \"example\": \"DU123456\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": {\n \"accountcode\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"DU123456\"\n },\n \"accountready\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"true\"\n },\n \"accounttype\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"LLC\"\n },\n \"accruedcash\": {\n \"amount\": 880036.375,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"accruedcash-c\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"accruedcash-s\": {\n \"amount\": 880036.375,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"accrueddividend\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"accrueddividend-c\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"accrueddividend-s\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"availablefunds\": {\n \"amount\": 205266944.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"availablefunds-c\": {\n \"amount\": 468839.75,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"availablefunds-s\": {\n \"amount\": 204798112.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"availabletotrade\": {\n \"amount\": 204680368.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"availabletotrade-c\": {\n \"amount\": 500449.375,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"availabletotrade-s\": {\n \"amount\": 204179920.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"availabletowithdraw\": {\n \"amount\": 204676912.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"availabletowithdraw-c\": {\n \"amount\": 496993.75,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"availabletowithdraw-s\": {\n \"amount\": 204179920.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"billable\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"billable-c\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"billable-s\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"buyingpower\": {\n \"amount\": 821079744.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"columnprio-c\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"2\"\n },\n \"columnprio-s\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"1\"\n },\n \"cushion\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"0.994598\"\n },\n \"daytradesremaining\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"-1\"\n },\n \"daytradesremainingt+1\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"-1\"\n },\n \"daytradesremainingt+2\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"-1\"\n },\n \"daytradesremainingt+3\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"-1\"\n },\n \"daytradesremainingt+4\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"-1\"\n },\n \"daytradingstatus-s\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \": : false: 205505601.94: :false\"\n },\n \"depositoncredithold\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"null\"\n },\n \"equitywithloanvalue\": {\n \"amount\": 205505520.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"equitywithloanvalue-c\": {\n \"amount\": 471830.0625,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"equitywithloanvalue-s\": {\n \"amount\": 205033696.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"excessliquidity\": {\n \"amount\": 205300432.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"excessliquidity-c\": {\n \"amount\": 471830.0625,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"excessliquidity-s\": {\n \"amount\": 204828608.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"fullavailablefunds\": {\n \"amount\": 205252848.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"fullavailablefunds-c\": {\n \"amount\": 454742.59375,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"fullavailablefunds-s\": {\n \"amount\": 204798112.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"fullexcessliquidity\": {\n \"amount\": 205287616.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"fullexcessliquidity-c\": {\n \"amount\": 459014.46875,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"fullexcessliquidity-s\": {\n \"amount\": 204828608.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"fullinitmarginreq\": {\n \"amount\": 282575.34375,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"fullinitmarginreq-c\": {\n \"amount\": 46990.5,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"fullinitmarginreq-s\": {\n \"amount\": 235584.84375,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"fullmaintmarginreq\": {\n \"amount\": 247882.796875,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"fullmaintmarginreq-c\": {\n \"amount\": 42718.640625,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"fullmaintmarginreq-s\": {\n \"amount\": 205164.171875,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"grosspositionvalue\": {\n \"amount\": 659611.375,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"grosspositionvalue-s\": {\n \"amount\": 659611.375,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"guarantee\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"guarantee-c\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"guarantee-s\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"highestseverity\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"null\"\n },\n \"indianstockhaircut\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"indianstockhaircut-c\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"indianstockhaircut-s\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"initmarginreq\": {\n \"amount\": 268478.1875,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"initmarginreq-c\": {\n \"amount\": 32893.3515625,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"initmarginreq-s\": {\n \"amount\": 235584.84375,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"leverage-s\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"0.0\"\n },\n \"lookaheadavailablefunds\": {\n \"amount\": 205266944.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"lookaheadavailablefunds-c\": {\n \"amount\": 468839.75,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"lookaheadavailablefunds-s\": {\n \"amount\": 204798112.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"lookaheadexcessliquidity\": {\n \"amount\": 205300432.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"lookaheadexcessliquidity-c\": {\n \"amount\": 471830.0625,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"lookaheadexcessliquidity-s\": {\n \"amount\": 204828608.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"lookaheadinitmarginreq\": {\n \"amount\": 268478.1875,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"lookaheadinitmarginreq-c\": {\n \"amount\": 32893.3515625,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"lookaheadinitmarginreq-s\": {\n \"amount\": 235584.84375,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"lookaheadmaintmarginreq\": {\n \"amount\": 235067.203125,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"lookaheadmaintmarginreq-c\": {\n \"amount\": 29903.05078125,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"lookaheadmaintmarginreq-s\": {\n \"amount\": 205164.171875,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"lookaheadnextchange\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"1712157300\"\n },\n \"maintmarginreq\": {\n \"amount\": 235067.203125,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"maintmarginreq-c\": {\n \"amount\": 29903.05078125,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"maintmarginreq-s\": {\n \"amount\": 205164.171875,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"netliquidation\": {\n \"amount\": 206415536.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"netliquidation-c\": {\n \"amount\": 501733.09375,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"netliquidation-s\": {\n \"amount\": 205913808.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"netliquidationuncertainty\": {\n \"amount\": 70.94000244140625,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"nlvandmargininreview\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"false\"\n },\n \"pasharesvalue\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"pasharesvalue-c\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"pasharesvalue-s\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"physicalcertificatevalue\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"physicalcertificatevalue-c\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"physicalcertificatevalue-s\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"postexpirationexcess\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"postexpirationexcess-c\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"postexpirationexcess-s\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"postexpirationmargin\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"postexpirationmargin-c\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"postexpirationmargin-s\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"previousdayequitywithloanvalue\": {\n \"amount\": 205044656.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"previousdayequitywithloanvalue-s\": {\n \"amount\": 205044656.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"regtequity\": {\n \"amount\": 205913808.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"regtequity-s\": {\n \"amount\": 205913808.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"regtmargin\": {\n \"amount\": 329761.1875,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"regtmargin-s\": {\n \"amount\": 329761.1875,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"segmenttitle-c\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"US Commodities\"\n },\n \"segmenttitle-s\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"US Securities\"\n },\n \"sma\": {\n \"amount\": 205584048.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"sma-s\": {\n \"amount\": 205584048.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"totalcashvalue\": {\n \"amount\": 205646432.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"totalcashvalue-c\": {\n \"amount\": 501733.09375,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"totalcashvalue-s\": {\n \"amount\": 205144704.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"totaldebitcardpendingcharges\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"totaldebitcardpendingcharges-c\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"totaldebitcardpendingcharges-s\": {\n \"amount\": 0.0,\n \"currency\": \"USD\",\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": null\n },\n \"tradingtype-s\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"STKNOPT\"\n },\n \"whatifpmenabled\": {\n \"amount\": 0.0,\n \"currency\": null,\n \"isNull\": false,\n \"severity\": 0,\n \"timestamp\": 1712156105000,\n \"value\": \"true\"\n }\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/portfolioSummary\"\n }\n }\n },\n \"description\": \"response with summary definitions\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Account Portfolio Summary\",\n \"tags\": [\n \"Trading Portfolio\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/portfolio/{accountid}/position/{conid}\": {\n \"get\": {\n \"description\": \"Get position for a given instrument in a single account.\",\n \"operationId\": \"getPositionByConid\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountid\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Account ID whose position in the given instrument is requested.\",\n \"example\": \"DU123456\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n },\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"conid\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Conid of the instrument whose position in the account is requested.\",\n \"example\": 265598,\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"style\": \"simple\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"individualPositionOpt\": {\n \"value\": [\n {\n \"acctId\": \"DU123456\",\n \"allExchanges\": \"AMEX,CBOE,PHLX,PSE,ISE,BOX,BATS,NASDAQOM,CBOE2,NASDAQBX,MIAX,GEMINI,EDGX,MERCURY,PEARL,EMERALD,MEMX,WALLBETH,IBUSOPT\",\n \"assetClass\": \"OPT\",\n \"avgCost\": 4229.1637,\n \"avgPrice\": 42.291637,\n \"chineseName\": \"Meta平台股份有限公司\",\n \"conExchMap\": [],\n \"conid\": 580947749,\n \"contractDesc\": \"META JUN2024 330 P [META 240621P00330000 100]\",\n \"countryCode\": \"US\",\n \"crossCurrency\": false,\n \"currency\": \"USD\",\n \"displayRule\": {\n \"displayRuleStep\": [\n {\n \"decimalDigits\": 2,\n \"lowerEdge\": 0.0,\n \"wholeDigits\": 4\n }\n ],\n \"magnification\": 0\n },\n \"exchs\": null,\n \"exerciseStyle\": null,\n \"expiry\": \"20240621\",\n \"fullName\": \"META Jun21\'24 330 Put\",\n \"group\": \"Internet\",\n \"hasOptions\": false,\n \"incrementRules\": [\n {\n \"increment\": 0.01,\n \"lowerEdge\": 0.0\n }\n ],\n \"isEventContract\": false,\n \"isUS\": true,\n \"lastTradingDay\": \"20240621\",\n \"listingExchange\": \"AMEX\",\n \"mktPrice\": 0.77968365,\n \"mktValue\": -77.97,\n \"model\": \"\",\n \"multiplier\": 100.0,\n \"name\": \"META PLATFORMS INC-CLASS A\",\n \"pageSize\": 100,\n \"position\": -1.0,\n \"putOrCall\": \"P\",\n \"realizedPnl\": 0.0,\n \"sector\": \"Communications\",\n \"sectorGroup\": \"Internet Content-Entmnt\",\n \"strike\": \"330\",\n \"ticker\": \"META\",\n \"time\": 27,\n \"type\": \"\",\n \"undComp\": \"META PLATFORMS INC-CLASS A\",\n \"undConid\": 107113386,\n \"undSym\": \"META\",\n \"unrealizedPnl\": 4151.2\n }\n ]\n },\n \"individualPositionStk\": {\n \"value\": [\n {\n \"acctId\": \"DU123456\",\n \"allExchanges\": \"AMEX,NYSE,CBOE,PHLX,CHX,ARCA,ISLAND,ISE,IDEAL,NASDAQQ,REALNYSE,DRCTEDGE,BEX,BATS,NITEECN,EDGEA,CSFBALGO,PSX,BYX,ITG,PDQ,IBKRATS,NYSEFLOOR,CITADEL,NYSEDARK,MIAX,IBDARK,CITADELDP,NASDDARK,IEX,WEDBUSH,SUMMER,WINSLOW,FINRA,LIQITG,UBSDARK,BTIG,VIRTU,JEFF,OPCO,COWEN,DBK,JPMC,EDGX,JANE,NEEDHAM,FRACSHARE,RBCALGO,VIRTUDP,BAYCREST,FOXRIVER,MND,NITEEXST,PEARL,GSDARK,NITERTL,NYSENAT,IEXMID,HRT,FLOWTRADE,HRTDP,JANELP,PEAK6,CTDLZERO,HRTMID,JANEZERO,HRTEXST,IMCLP,LTSE,SOCGENDP,MEMX,INTELCROS,VIRTUBYIN,JUMPTRADE,NITEZERO,TPLUS1,XTXEXST,XTXDP,XTXMID,COWENLP,BARCDP,JUMPLP,OLDMCLP,RBCCMALP,WALLBETH,IBEOS,JONES,GSLP,BLUEOCEAN,USIBSILP,OVERNIGHT,JANEMID,IBATSEOS,HRTZERO,VIRTUALGO,G1XLP,VIRTUMID,GLOBALXLP,CTDLMID,TPLUS0\",\n \"assetClass\": \"STK\",\n \"avgCost\": 144.46141,\n \"avgPrice\": 144.46141,\n \"chineseName\": \"国际商业机器\",\n \"conExchMap\": [],\n \"conid\": 8314,\n \"contractDesc\": \"IBM\",\n \"countryCode\": \"US\",\n \"currency\": \"USD\",\n \"displayRule\": {\n \"displayRuleStep\": [\n {\n \"decimalDigits\": 2,\n \"lowerEdge\": 0.0,\n \"wholeDigits\": 4\n }\n ],\n \"magnification\": 0\n },\n \"exchs\": null,\n \"exerciseStyle\": null,\n \"expiry\": null,\n \"fullName\": \"IBM\",\n \"group\": \"Computers\",\n \"hasOptions\": true,\n \"incrementRules\": [\n {\n \"increment\": 0.01,\n \"lowerEdge\": 0.0\n }\n ],\n \"isEventContract\": false,\n \"isUS\": true,\n \"lastTradingDay\": null,\n \"listingExchange\": \"NYSE\",\n \"mktPrice\": 185.17599485,\n \"mktValue\": 261468.5,\n \"model\": \"\",\n \"multiplier\": 0.0,\n \"name\": \"INTL BUSINESS MACHINES CORP\",\n \"pageSize\": 100,\n \"position\": 1412.0,\n \"putOrCall\": null,\n \"realizedPnl\": 0.0,\n \"sector\": \"Technology\",\n \"sectorGroup\": \"Computer Services\",\n \"strike\": \"0\",\n \"ticker\": \"IBM\",\n \"time\": 38,\n \"type\": \"COMMON\",\n \"undConid\": 0,\n \"unrealizedPnl\": 57488.99\n }\n ]\n },\n \"individualPositionWithNoSecDef\": {\n \"value\": [\n {\n \"acctId\": \"DU123456\",\n \"assetClass\": \"OPT\",\n \"avgCost\": 4229.1637,\n \"avgPrice\": 42.291637,\n \"conExchMap\": [],\n \"conid\": 580947749,\n \"contractDesc\": \"META JUN2024 330 P [META 240621P00330000 100]\",\n \"currency\": \"USD\",\n \"exchs\": null,\n \"exerciseStyle\": null,\n \"expiry\": null,\n \"mktPrice\": 0.7800926,\n \"mktValue\": -78.01,\n \"model\": \"\",\n \"multiplier\": null,\n \"position\": -1.0,\n \"putOrCall\": null,\n \"realizedPnl\": 0.0,\n \"strike\": 0.0,\n \"undConid\": 0,\n \"unrealizedPnl\": 4151.15\n }\n ]\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/individualPositionArray\"\n }\n }\n },\n \"description\": \"Position details by conid\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Account Position In An Instrument\",\n \"tags\": [\n \"Trading Portfolio\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/portfolio2/{accountId}/positions\": {\n \"get\": {\n \"description\": \"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.\\n\",\n \"operationId\": \"getUncachedPositions\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"path\",\n \"name\": \"accountId\",\n \"required\": true,\n \"schema\": {\n \"description\": \"accountId\",\n \"example\": \"DU123456\",\n \"type\": \"string\"\n },\n \"style\": \"simple\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"model\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Model code to track the account within.\",\n \"example\": \"Primary_Model_Groups\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"direction\",\n \"required\": false,\n \"schema\": {\n \"default\": \"a\",\n \"description\": \"The chronologic order of orders to sort by.\\n * `a` - Display in ascending order.\\n * `d` - Display in descending order.\\n\",\n \"enum\": [\n \"a\",\n \"d\"\n ],\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"success\": {\n \"value\": [\n {\n \"assetClass\": \"STK\",\n \"avgCost\": 262.2430710711693,\n \"avgPrice\": 262.2430710711693,\n \"conid\": \"265598\",\n \"currency\": \"USD\",\n \"description\": \"AAPL\",\n \"group\": \"Computers\",\n \"isLastToLoq\": false,\n \"marketPrice\": 256.39068603515625,\n \"marketValue\": 82292949.324646,\n \"model\": \"\",\n \"position\": 320967.0,\n \"realizedPnl\": 0.0,\n \"secType\": \"STK\",\n \"sector\": \"Technology\",\n \"timestamp\": 1767885880,\n \"unrealizedPnl\": -1878422.467854008\n }\n ]\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/portfolio2Positions\"\n }\n }\n },\n \"description\": \"response with position details\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Account Positions (NEW)\",\n \"tags\": [\n \"Trading Portfolio\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/sso/validate\": {\n \"get\": {\n \"description\": \"Validates the current session for the SSO user.\",\n \"operationId\": \"getSessionValidation\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"example\": {\n \"success\": {\n \"value\": {\n \"AUTH_TIME\": 1702580846836,\n \"CREDENTIAL\": \"user1234\",\n \"EXPIRES\": 415890,\n \"IP\": \"12.345.678.901\",\n \"IS_FREE_TRIAL\": false,\n \"IS_MASTER\": false,\n \"LANDING_APP\": \"UNIVERSAL\",\n \"LOGIN_TYPE\": 2,\n \"PAPER_USER_NAME\": \"user1234\",\n \"QUALIFIED_FOR_MOBILE_AUTH\": null,\n \"RESULT\": true,\n \"SF_ENABLED\": false,\n \"USER_ID\": 123456789,\n \"USER_NAME\": \"user1234\",\n \"features\": {\n \"bond\": true,\n \"calendar\": true,\n \"env\": \"PROD\",\n \"newMf\": true,\n \"optionChains\": true,\n \"realtime\": true,\n \"wlms\": true\n },\n \"lastAccessed\": 1702581069652,\n \"region\": \"NJ\"\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/ssoValidateResponse\"\n }\n }\n },\n \"description\": \"An array of objects detailing contract information.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n }\n },\n \"summary\": \"Validate SSO Web API Session\",\n \"tags\": [\n \"Trading Session\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/tickle\": {\n \"post\": {\n \"description\": \"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.\",\n \"operationId\": \"getSessionToken\",\n \"parameters\": [],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"example\": {\n \"fail\": {\n \"value\": {\n \"error\": \"failed to process request\"\n }\n },\n \"success\": {\n \"value\": {\n \"collission\": false,\n \"hmds\": {\n \"error\": \"no bridge\"\n },\n \"iserver\": {\n \"authStatus\": {\n \"MAC\": \"98:F2:B3:23:BF:A0\",\n \"authenticated\": true,\n \"competing\": false,\n \"connected\": true,\n \"established\": true,\n \"message\": \"\",\n \"serverInfo\": {\n \"serverName\": \"JifN19053\",\n \"serverVersion\": \"Build 10.25.0p, Dec 5, 2023 5:48:12 PM\"\n }\n }\n },\n \"session\": \"bb665d0f55b6289d70bc7380089fc96f\",\n \"ssoExpires\": 460311,\n \"userId\": 123456789\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/tickleResponse\"\n }\n }\n },\n \"description\": \"An array of objects detailing contract information.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n }\n },\n \"summary\": \"Brokerage Keep-Alive Ping\",\n \"tags\": [\n \"Trading Session\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/trsrv/all-conids\": {\n \"get\": {\n \"description\": \"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.\",\n \"operationId\": \"getConidsByExchange\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"exchange\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Exchange from which derivatives should be retrieved from.\",\n \"example\": \"AMEX\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"assetClass\",\n \"required\": false,\n \"schema\": {\n \"default\": \"STK\",\n \"description\": \"asset class\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"response\": {\n \"value\": [\n {\n \"conid\": 5094,\n \"exchange\": \"NYSE\",\n \"ticker\": \"BMO\"\n },\n {\n \"conid\": 15156975,\n \"exchange\": \"NYSE\",\n \"ticker\": \"BNS\"\n }\n ]\n }\n },\n \"schema\": {\n \"items\": {\n \"properties\": {\n \"conid\": {\n \"description\": \"The contract identifier of the returned contract.\",\n \"format\": \"int32\",\n \"type\": \"integer\"\n },\n \"exchange\": {\n \"description\": \"The primary exchange of the returned contract.\",\n \"type\": \"string\"\n },\n \"ticker\": {\n \"description\": \"The ticker symbol of the contract.\",\n \"type\": \"string\"\n }\n },\n \"type\": \"object\"\n },\n \"type\": \"array\"\n }\n }\n },\n \"description\": \"Successful response containing a contract\'s security definition.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"List All Stock Conids By Exchange\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/trsrv/futures\": {\n \"get\": {\n \"description\": \"Returns a list of non-expired future contracts for given symbol(s)\",\n \"operationId\": \"getFutureBySymbol\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"symbols\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Indicate the symbol(s) of the underlier you are trying to retrieve futures on. Accepts comma delimited string of symbols.\",\n \"example\": \"ES,MES\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"exchange\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Primary listing exchange for the Future.\",\n \"example\": \"CME\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"futures\": {\n \"value\": {\n \"ES\": [\n {\n \"conid\": 495512557,\n \"expirationDate\": 20241220,\n \"longFuturesCutOff\": 20241219,\n \"ltd\": 20241219,\n \"shortFuturesCutOff\": 20241219,\n \"symbol\": \"ES\",\n \"underlyingConid\": 11004968\n },\n {\n \"conid\": 495512563,\n \"expirationDate\": 20251219,\n \"longFuturesCutOff\": 20251218,\n \"ltd\": 20251218,\n \"shortFuturesCutOff\": 20251218,\n \"symbol\": \"ES\",\n \"underlyingConid\": 11004968\n }\n ]\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/features\"\n }\n }\n },\n \"description\": \"Successful response containing a contract\'s security definition.\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Search Futures By Symbol\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/trsrv/secdef\": {\n \"get\": {\n \"description\": \"Returns a list of security definitions for the given conids.\",\n \"operationId\": \"getInstrumentDefinition\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"conids\",\n \"required\": true,\n \"schema\": {\n \"description\": \"A comma separated series of contract IDs.\",\n \"example\": \"265598,8314\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"response\": {\n \"value\": {\n \"secdef\": [\n {\n \"allExchanges\": \"AMEX,NYSE,CBOE,PHLX,CHX,ARCA,ISLAND,ISE,IDEAL,NASDAQQ,REALNYSE,DRCTEDGE,BEX,BATS,NITEECN,EDGEA,CSFBALGO,PSX,BYX,ITG,PDQ,IBKRATS,NYSEFLOOR,CITADEL,NYSEDARK,MIAX,IBDARK,CITADELDP,NASDDARK,IEX,WEDBUSH,SUMMER,WINSLOW,FINRA,LIQITG,UBSDARK,BTIG,VIRTU,JEFF,OPCO,COWEN,DBK,JPMC,EDGX,JANE,NEEDHAM,FRACSHARE,RBCALGO,VIRTUDP,BAYCREST,FOXRIVER,MND,NITEEXST,PEARL,GSDARK,NITERTL,NYSENAT,IEXMID,HRT,FLOWTRADE,HRTDP,JANELP,PEAK6,CTDLZERO,HRTMID,JANEZERO,HRTEXST,IMCLP,LTSE,SOCGENDP,MEMX,INTELCROS,VIRTUBYIN,JUMPTRADE,NITEZERO,TPLUS1,XTXEXST,XTXDP,XTXMID,COWENLP,BARCDP,JUMPLP,OLDMCLP,RBCCMALP,WALLBETH,IBEOS,JONES,GSLP,BLUEOCEAN,USIBSILP,OVERNIGHT,JANEMID,IBATSEOS,HRTZERO,VIRTUALGO,G1XLP,VIRTUMID,GLOBALXLP,CTDLMID,TPLUS0\",\n \"assetClass\": \"STK\",\n \"chineseName\": \"国际商业机器\",\n \"conid\": 8314,\n \"countryCode\": \"US\",\n \"currency\": \"USD\",\n \"displayRule\": {\n \"displayRuleStep\": [\n {\n \"decimalDigits\": 2,\n \"lowerEdge\": 0.0,\n \"wholeDigits\": 4\n }\n ],\n \"magnification\": 0\n },\n \"expiry\": null,\n \"fullName\": \"IBM\",\n \"group\": \"Computers\",\n \"hasOptions\": true,\n \"incrementRules\": [\n {\n \"increment\": 0.01,\n \"lowerEdge\": 0.0\n }\n ],\n \"isEventContract\": false,\n \"isUS\": true,\n \"lastTradingDay\": null,\n \"listingExchange\": \"NYSE\",\n \"multiplier\": 0.0,\n \"name\": \"INTL BUSINESS MACHINES CORP\",\n \"putOrCall\": null,\n \"sector\": \"Technology\",\n \"sectorGroup\": \"Computer Services\",\n \"strike\": \"0\",\n \"ticker\": \"IBM\",\n \"time\": 770,\n \"type\": \"COMMON\",\n \"undConid\": 0\n }\n ]\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/trsrvSecDefResponse\"\n }\n }\n },\n \"description\": \"Successful response containing a contract\'s security definition.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Instrument Definition Detail\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/trsrv/secdef/schedule\": {\n \"get\": {\n \"description\": \"Returns the trading schedule up to a month for the requested contract.\",\n \"operationId\": \"getTradingSchedule_get_trsrv_secdef_schedule\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"assetClass\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Specify the security type of the given contract. Valid asset classes are:\\n * `STK` - Stock\\n * `OPT` - Option\\n * `FUT` - Future\\n * `CFD` - Contract for Difference\\n * `WAR` - Warrant\\n * `SWP` - Forex\\n * `FND` - Mutual Fund\\n * `BND` - Bond\\n * `ICS` - Inter-Commodity Spread\\n\",\n \"enum\": [\n \"STK\",\n \"OPT\",\n \"FUT\",\n \"CFD\",\n \"WAR\",\n \"SWP\",\n \"FND\",\n \"BND\",\n \"ICS\"\n ]\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"symbol\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Specify the symbol for your contract.\",\n \"example\": \"AAPL\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"exchange\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Specify the primary exchange of your contract.\",\n \"example\": \"NASDAQ\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n },\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"exchangeFilter\",\n \"required\": false,\n \"schema\": {\n \"description\": \"Specify all exchanges you want to retrieve data from.\",\n \"example\": \"AMEX,NASDAQ,NYSE\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"ibm-nyse\": {\n \"value\": [\n {\n \"description\": \"New York Stock Exchange\",\n \"exchange\": \"NYSE\",\n \"id\": \"p101781\",\n \"schedules\": [\n {\n \"clearingCycleEndTime\": \"0000\",\n \"sessions\": [],\n \"tradingScheduleDate\": \"20000101\",\n \"tradingtimes\": [\n {\n \"cancelDayOrders\": \"Y\",\n \"closingTime\": \"2330\",\n \"openingTime\": \"0035\"\n }\n ]\n },\n {\n \"clearingCycleEndTime\": \"0000\",\n \"sessions\": [],\n \"tradingScheduleDate\": \"20000102\",\n \"tradingtimes\": [\n {\n \"cancelDayOrders\": \"Y\",\n \"closingTime\": \"2330\",\n \"openingTime\": \"0035\"\n }\n ]\n },\n {\n \"clearingCycleEndTime\": \"1700\",\n \"sessions\": [],\n \"tradingScheduleDate\": \"20000103\",\n \"tradingtimes\": [\n {\n \"cancelDayOrders\": \"Y\",\n \"closingTime\": \"2330\",\n \"openingTime\": \"0035\",\n \"prop\": \"LIQUID\"\n }\n ]\n },\n {\n \"clearingCycleEndTime\": \"1700\",\n \"sessions\": [],\n \"tradingScheduleDate\": \"20000104\",\n \"tradingtimes\": [\n {\n \"cancelDayOrders\": \"Y\",\n \"closingTime\": \"2330\",\n \"openingTime\": \"0035\",\n \"prop\": \"LIQUID\"\n }\n ]\n },\n {\n \"clearingCycleEndTime\": \"1700\",\n \"sessions\": [],\n \"tradingScheduleDate\": \"20000105\",\n \"tradingtimes\": [\n {\n \"cancelDayOrders\": \"Y\",\n \"closingTime\": \"2330\",\n \"openingTime\": \"0035\",\n \"prop\": \"LIQUID\"\n }\n ]\n },\n {\n \"clearingCycleEndTime\": \"1700\",\n \"sessions\": [],\n \"tradingScheduleDate\": \"20000106\",\n \"tradingtimes\": [\n {\n \"cancelDayOrders\": \"Y\",\n \"closingTime\": \"2330\",\n \"openingTime\": \"0035\",\n \"prop\": \"LIQUID\"\n }\n ]\n },\n {\n \"clearingCycleEndTime\": \"1700\",\n \"sessions\": [],\n \"tradingScheduleDate\": \"20000107\",\n \"tradingtimes\": [\n {\n \"cancelDayOrders\": \"Y\",\n \"closingTime\": \"2330\",\n \"openingTime\": \"0035\",\n \"prop\": \"LIQUID\"\n }\n ]\n },\n {\n \"clearingCycleEndTime\": \"0000\",\n \"sessions\": [],\n \"tradingScheduleDate\": \"20240329\",\n \"tradingtimes\": [\n {\n \"cancelDayOrders\": \"Y\",\n \"closingTime\": \"2330\",\n \"openingTime\": \"0035\"\n }\n ]\n }\n ],\n \"timezone\": \"America/New_York\",\n \"tradeVenueId\": \"v13038\"\n }\n ]\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/tradingSchedule\"\n }\n }\n },\n \"description\": \"Returns the trading schedule up to a month for the requested contract.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Trading Schedule By Symbol\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n },\n \"/trsrv/stocks\": {\n \"get\": {\n \"description\": \"Returns an object contains all stock contracts for given symbol(s)\",\n \"operationId\": \"getStockBySymbol\",\n \"parameters\": [\n {\n \"explode\": false,\n \"in\": \"query\",\n \"name\": \"symbols\",\n \"required\": true,\n \"schema\": {\n \"description\": \"Comma-separated list of stock symbols. Symbols must contain only capitalized letters.\",\n \"example\": \"AAPL,IBKR\",\n \"type\": \"string\"\n },\n \"style\": \"form\"\n }\n ],\n \"responses\": {\n \"200\": {\n \"content\": {\n \"application/json\": {\n \"examples\": {\n \"ibm\": {\n \"value\": {\n \"IBM\": [\n {\n \"assetClass\": \"STK\",\n \"chineseName\": \"国际商业机器\",\n \"contracts\": [\n {\n \"conid\": 8314,\n \"exchange\": \"NYSE\",\n \"isUS\": true\n },\n {\n \"conid\": 1411277,\n \"exchange\": \"IBIS\",\n \"isUS\": false\n },\n {\n \"conid\": 38709473,\n \"exchange\": \"MEXI\",\n \"isUS\": false\n },\n {\n \"conid\": 41645598,\n \"exchange\": \"LSE\",\n \"isUS\": false\n }\n ],\n \"name\": \"INTL BUSINESS MACHINES CORP\"\n },\n {\n \"assetClass\": \"STK\",\n \"chineseName\": \"国际商业机器\",\n \"contracts\": [\n {\n \"conid\": 530091934,\n \"exchange\": \"AEQLIT\",\n \"isUS\": false\n }\n ],\n \"name\": \"INTL BUSINESS MACHINES C-CDR\"\n }\n ]\n }\n }\n },\n \"schema\": {\n \"$ref\": \"#/components/schemas/stocks\"\n }\n }\n },\n \"description\": \"Successful response containing a contract\'s security definition.\"\n },\n \"400\": {\n \"$ref\": \"#/components/responses/BadRequest\"\n },\n \"401\": {\n \"$ref\": \"#/components/responses/Unauthorized\"\n },\n \"500\": {\n \"$ref\": \"#/components/responses/InternalServerError\"\n },\n \"503\": {\n \"$ref\": \"#/components/responses/ServiceUnavailable\"\n }\n },\n \"servers\": [\n {\n \"description\": \"Trading Production Base URL\",\n \"url\": \"https://api.ibkr.com/v1/api\"\n },\n {\n \"description\": \"Trading Alpha Base URL\",\n \"url\": \"https://api.ibkr.com/alpha/api\"\n }\n ],\n \"summary\": \"Search Stocks By Symbol\",\n \"tags\": [\n \"Trading Contracts\"\n ],\n \"x-ib-provider\": \"iblink\"\n }\n }\n },\n \"servers\": [\n {\n \"description\": \"Production\",\n \"url\": \"https://api.ibkr.com\"\n },\n {\n \"description\": \"Sandbox\",\n \"url\": \"https://qa.interactivebrokers.com\"\n }\n ],\n \"tags\": [\n {\n \"name\": \"Account Management Accounts\",\n \"x-displayName\": \"Accounts\",\n \"x-ib-tag-group-name\": \"Account Management\"\n },\n {\n \"name\": \"Account Management Banking\",\n \"x-displayName\": \"Banking\",\n \"x-ib-tag-group-name\": \"Account Management\"\n },\n {\n \"name\": \"Account Management Reports\",\n \"x-displayName\": \"Reports\",\n \"x-ib-tag-group-name\": \"Account Management\"\n },\n {\n \"name\": \"Account Management Utilities\",\n \"x-displayName\": \"Utilities\",\n \"x-ib-tag-group-name\": \"Account Management\"\n },\n {\n \"name\": \"Authorization SSO Sessions\",\n \"x-displayName\": \"SSO Sessions\",\n \"x-ib-tag-group-name\": \"Authorization\"\n },\n {\n \"name\": \"Authorization Token\",\n \"x-displayName\": \"Token\",\n \"x-ib-tag-group-name\": \"Authorization\"\n },\n {\n \"name\": \"PreTrade Compliance Restrictions\",\n \"x-displayName\": \"Restrictions\",\n \"x-ib-tag-group-name\": \"PreTrade Compliance\"\n },\n {\n \"name\": \"Trading Accounts\",\n \"x-displayName\": \"Accounts\",\n \"x-ib-tag-group-name\": \"Trading\"\n },\n {\n \"name\": \"Trading Alerts\",\n \"x-displayName\": \"Alerts\",\n \"x-ib-tag-group-name\": \"Trading\"\n },\n {\n \"name\": \"Trading Contracts\",\n \"x-displayName\": \"Contracts\",\n \"x-ib-tag-group-name\": \"Trading\"\n },\n {\n \"name\": \"Trading Event Contracts\",\n \"x-displayName\": \"Event Contracts\",\n \"x-ib-tag-group-name\": \"Trading\"\n },\n {\n \"name\": \"Trading FA Allocation Management\",\n \"x-displayName\": \"FA Allocation Management\",\n \"x-ib-tag-group-name\": \"Trading\"\n },\n {\n \"name\": \"Trading FYIs and Notifications\",\n \"x-displayName\": \"FYIs and Notifications\",\n \"x-ib-tag-group-name\": \"Trading\"\n },\n {\n \"name\": \"Trading Market Data\",\n \"x-displayName\": \"Market Data\",\n \"x-ib-tag-group-name\": \"Trading\"\n },\n {\n \"name\": \"Trading OAuth 1.0a\",\n \"x-displayName\": \"OAuth 1.0a\",\n \"x-ib-tag-group-name\": \"Trading\"\n },\n {\n \"name\": \"Trading Orders\",\n \"x-displayName\": \"Orders\",\n \"x-ib-tag-group-name\": \"Trading\"\n },\n {\n \"name\": \"Trading Portfolio\",\n \"x-displayName\": \"Portfolio\",\n \"x-ib-tag-group-name\": \"Trading\"\n },\n {\n \"name\": \"Trading Portfolio Analyst\",\n \"x-displayName\": \"Portfolio Analyst\",\n \"x-ib-tag-group-name\": \"Trading\"\n },\n {\n \"name\": \"Trading Scanner\",\n \"x-displayName\": \"Scanner\",\n \"x-ib-tag-group-name\": \"Trading\"\n },\n {\n \"name\": \"Trading Session\",\n \"x-displayName\": \"Session\",\n \"x-ib-tag-group-name\": \"Trading\"\n },\n {\n \"name\": \"Trading Watchlists\",\n \"x-displayName\": \"Watchlists\",\n \"x-ib-tag-group-name\": \"Trading\"\n },\n {\n \"name\": \"Trading Websocket\",\n \"x-displayName\": \"Websocket\",\n \"x-ib-tag-group-name\": \"Trading\"\n },\n {\n \"name\": \"Utilities Echo\",\n \"x-displayName\": \"Echo\",\n \"x-ib-tag-group-name\": \"Utilities\"\n }\n ],\n \"x-tagGroups\": [\n {\n \"name\": \"Trading\",\n \"tags\": [\n \"Trading Accounts\",\n \"Trading Alerts\",\n \"Trading Contracts\",\n \"Trading Event Contracts\",\n \"Trading FA Allocation Management\",\n \"Trading FYIs and Notifications\",\n \"Trading Market Data\",\n \"Trading OAuth 1.0a\",\n \"Trading Orders\",\n \"Trading Portfolio\",\n \"Trading Portfolio Analyst\",\n \"Trading Scanner\",\n \"Trading Session\",\n \"Trading Watchlists\",\n \"Trading Websocket\"\n ]\n },\n {\n \"name\": \"Authorization\",\n \"tags\": [\n \"Authorization Token\",\n \"Authorization SSO Sessions\"\n ]\n },\n {\n \"name\": \"Account Management\",\n \"tags\": [\n \"Account Management Banking\",\n \"Account Management Utilities\",\n \"Account Management Accounts\",\n \"Account Management Reports\"\n ]\n },\n {\n \"name\": \"Utilities\",\n \"tags\": [\n \"Utilities Echo\"\n ]\n },\n {\n \"name\": \"PreTrade Compliance\",\n \"tags\": [\n \"PreTrade Compliance Restrictions\"\n ]\n }\n ]\n}\n";Expand description
The pinned IBKR OpenAPI 3.0 spec as a UTF-8 string — verbatim from upstream.
Use SPEC_JSON if you need the original 3.0 wording; use
SPEC_JSON_3_1 if you want the normalised-and-upgraded variant
bezant-api itself is generated from.