TD Ameritrade Accounts and Trading API

The Accounts and Trading API from TD Ameritrade — 7 operation(s) for accounts and trading.

Operations 13

DELETE /accounts/{accountId}/orders/{orderId} Cancel Order #
PUT /accounts/{accountId}/orders/{orderId} Replace Order #
GET /accounts/{accountId}/orders/{orderId} Get Order #
GET /accounts/{accountId}/orders Get Orders By Path #
POST /accounts/{accountId}/orders Place Order #
GET /orders Get Orders By Query #
GET /accounts/{accountId}/savedorders Get Saved Orders by Path #
POST /accounts/{accountId}/savedorders Create Saved Order #
DELETE /accounts/{accountId}/savedorders/{savedOrderId} Delete Saved Order #
GET /accounts/{accountId}/savedorders/{savedOrderId} Get Saved Order #
PUT /accounts/{accountId}/savedorders/{savedOrderId} Replace Saved Order #
GET /accounts/{accountId} Get Account #
GET /accounts Get Accounts #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/td-ameritrade-accounts-and-trading-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

td-ameritrade-accounts-and-trading-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: TD Ameritrade API
  version: 3.0.1
  title: TD Ameritrade Accounts and Trading API
  termsOfService: https://developer.tdameritrade.com/legal
  contact:
    email: austin.millan@protonmail.com
servers:
- url: https://api.tdameritrade.com/v2
- url: http://api.tdameritrade.com/v2
tags:
- name: Accounts and Trading
paths:
  /accounts/{accountId}/orders/{orderId}:
    delete:
      tags:
      - Accounts and Trading
      summary: Cancel Order
      description: 'Cancel a specific order for a specific account. '
      operationId: cancelOrder
      parameters:
      - name: accountId
        in: path
        description: Account Number
        required: true
        schema:
          type: integer
          format: string
      - name: orderId
        in: path
        description: Order Number
        required: true
        schema:
          type: integer
          format: int64
          maximum: 0
      responses:
        '400':
          description: An error message indicating the validation problem with the request.
        '401':
          description: An error message indicating the caller must pass a valid AuthToken in the HTTP authorization request header.
        '403':
          description: An error message indicating the caller is forbidden from accessing this page.
        '404':
          description: An error message if the order was not found.
        '500':
          description: An error message indicating there was an unexpected server error.
      security:
      - Bearer: []
    put:
      tags:
      - Accounts and Trading
      summary: Replace Order
      description: Replace an existing order for an account. The existing order will be replaced by the new order. Once replaced, the old order will be canceled and a new order will be created.
      operationId: replaceOrder
      parameters:
      - name: accountId
        in: path
        description: Account Number
        required: true
        schema:
          type: integer
          format: string
      - name: orderId
        in: path
        description: Order Number
        required: true
        schema:
          type: integer
          format: int64
          maximum: 0
      requestBody:
        $ref: '#/components/requestBodies/Order'
      responses:
        '400':
          description: An error message indicating the validation problem with the request.
        '401':
          description: An error message indicating the caller must pass a valid AuthToken in the HTTP authorization request header.
        '403':
          description: An error message indicating the caller is forbidden from accessing this page.
        '404':
          description: An error message if the order was not found.
        '500':
          description: An error message indicating there was an unexpected server error.
      security:
      - Bearer: []
    get:
      tags:
      - Accounts and Trading
      summary: Get Order
      description: Get a specific order for a specific account.
      operationId: getOrder
      parameters:
      - name: accountId
        in: path
        description: Account Number
        required: true
        schema:
          type: integer
          format: string
      - name: orderId
        in: path
        description: Order Number
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: A Order object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
        '400':
          description: An error message indicating the validation problem with the request.
        '401':
          description: An error message indicating the caller must pass a valid AuthToken in the HTTP authorization request header.
        '403':
          description: An error message indicating the caller is forbidden from accessing this page.
        '500':
          description: An error message indicating there was an unexpected server error.
      security:
      - Bearer: []
  /accounts/{accountId}/orders:
    get:
      tags:
      - Accounts and Trading
      summary: Get Orders By Path
      description: Orders for a specific account.
      operationId: getOrdersByPath
      parameters:
      - name: accountId
        in: path
        description: Account Number
        required: true
        schema:
          type: integer
          format: string
      - name: maxResults
        in: query
        description: The maximum number of orders to retrieve.
        required: true
        schema:
          type: integer
      - name: fromEnteredTime
        in: query
        description: Specifies that no orders entered before this time should be returned. Valid ISO-8601 formats are  yyyy-MM-dd and yyyy-MM-dd'T'HH:mm:ssz Date must be within 60 days from today's date. 'toEnteredTime' must also be set.
        required: true
        schema:
          type: string
      - name: toEnteredTime
        in: query
        description: Specifies that no orders entered after this time should be returned.Valid ISO-8601 formats are :yyyy-MM-dd and yyyy-MM-dd'T'HH:mm:ssz. 'fromEnteredTime' must also be set.
        required: true
        schema:
          type: string
          format: string
          maximum: 0
      - name: status
        in: query
        description: The maximum number of orders to retrieve.
        required: true
        schema:
          type: integer
          format: int64
          maximum: 0
      responses:
        '200':
          description: A Order object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
        '400':
          description: An error message indicating the validation problem with the request.
        '401':
          description: An error message indicating the caller must pass a valid AuthToken in the HTTP authorization request header.
        '403':
          description: An error message indicating the caller is forbidden from accessing this page.
        '500':
          description: An error message indicating there was an unexpected server error.
      security:
      - Bearer: []
    post:
      tags:
      - Accounts and Trading
      summary: Place Order
      description: Place an order for a specific account.
      operationId: placeOrder
      parameters:
      - name: accountId
        in: path
        description: Account Number
        required: true
        schema:
          type: integer
          format: string
      requestBody:
        $ref: '#/components/requestBodies/Order'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
        '400':
          description: An error message indicating the validation problem with the request.
        '401':
          description: An error message indicating the caller must pass a valid AuthToken in the HTTP authorization request header.
        '403':
          description: An error message indicating the caller is forbidden from accessing this page.
        '500':
          description: An error message indicating there was an unexpected server error.
      security:
      - Bearer: []
  /orders:
    get:
      tags:
      - Accounts and Trading
      summary: Get Orders By Query
      description: All orders for a specific account or, if account ID isn't specified, orders will be returned for all linked accounts
      operationId: getOrdersByQuery
      parameters:
      - name: accountId
        in: query
        description: Account Number
        required: true
        schema:
          type: integer
          format: string
      - name: maxResults
        in: query
        description: The maximum number of orders to retrieve.
        required: true
        schema:
          type: integer
      - name: fromEnteredTime
        in: query
        description: Specifies that no orders entered before this time should be returned. Valid ISO-8601 formats are  yyyy-MM-dd and yyyy-MM-dd'T'HH:mm:ssz Date must be within 60 days from today's date. 'toEnteredTime' must also be set.
        required: true
        schema:
          type: string
      - name: toEnteredTime
        in: query
        description: Specifies that no orders entered after this time should be returned.Valid ISO-8601 formats are :yyyy-MM-dd and yyyy-MM-dd'T'HH:mm:ssz. 'fromEnteredTime' must also be set.
        required: true
        schema:
          type: string
          format: string
          maximum: 0
      - name: status
        in: query
        description: The maximum number of orders to retrieve.
        required: true
        schema:
          type: integer
          format: int64
          maximum: 0
      responses:
        '400':
          description: An error message indicating the validation problem with the request.
        '401':
          description: An error message indicating the caller must pass a valid AuthToken in the HTTP authorization request header.
        '403':
          description: An error message indicating the caller is forbidden from accessing this page.
        '500':
          description: An error message indicating there was an unexpected server error.
      security:
      - Bearer: []
  /accounts/{accountId}/savedorders:
    get:
      tags:
      - Accounts and Trading
      summary: Get Saved Orders by Path
      description: Saved orders for a specific account.
      operationId: getSavedOrdersByPath
      parameters:
      - name: accountId
        in: path
        description: Account Number
        required: true
        schema:
          type: integer
          format: string
      responses:
        '200':
          description: A Order object
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SavedOrder'
        '400':
          description: An error message indicating the validation problem with the request.
        '401':
          description: An error message indicating the caller must pass a valid AuthToken in the HTTP authorization request header.
        '403':
          description: An error message indicating the caller is forbidden from accessing this page.
        '500':
          description: An error message indicating there was an unexpected server error.
      security:
      - Bearer: []
    post:
      tags:
      - Accounts and Trading
      summary: Create Saved Order
      description: 'Save an order for a specific account. '
      operationId: saveOrder
      parameters:
      - name: accountId
        in: path
        description: Account Number
        required: true
        schema:
          type: integer
          format: string
      - name: orderId
        in: path
        description: Order Number
        required: true
        schema:
          type: integer
          format: int64
          maximum: 0
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SavedOrder'
        description: The order to save.
      responses:
        '400':
          description: An error message indicating the validation problem with the request.
        '401':
          description: An error message indicating the caller must pass a valid AuthToken in the HTTP authorization request header.
        '403':
          description: An error message indicating the caller is forbidden from accessing this page.
        '500':
          description: An error message indicating there was an unexpected server error.
      security:
      - Bearer: []
  /accounts/{accountId}/savedorders/{savedOrderId}:
    delete:
      tags:
      - Accounts and Trading
      summary: Delete Saved Order
      description: Delete a specific saved order for a specific account.
      operationId: deleteSavedOrder
      parameters:
      - name: accountId
        in: path
        description: Account Number
        required: true
        schema:
          type: integer
          format: string
      - name: savedOrderId
        in: path
        description: Order Number
        required: true
        schema:
          type: integer
          format: int64
          maximum: 0
      responses:
        '400':
          description: An error message indicating the validation problem with the request.
        '401':
          description: An error message indicating the caller must pass a valid AuthToken in the HTTP authorization request header.
        '403':
          description: An error message indicating the caller is forbidden from accessing this page.
        '500':
          description: An error message indicating there was an unexpected server error.
      security:
      - Bearer: []
    get:
      tags:
      - Accounts and Trading
      summary: Get Saved Order
      description: Specific saved order by its ID, for a specific account.
      operationId: getSavedOrder
      parameters:
      - name: accountId
        in: path
        description: Account Number
        required: true
        schema:
          type: integer
          format: string
      - name: savedOrderId
        in: path
        description: Order Number
        required: true
        schema:
          type: integer
          format: int64
          maximum: 0
      responses:
        '200':
          description: A Order object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
        '400':
          description: An error message indicating the validation problem with the request.
        '401':
          description: An error message indicating the caller must pass a valid AuthToken in the HTTP authorization request header.
        '403':
          description: An error message indicating the caller is forbidden from accessing this page.
        '500':
          description: An error message indicating there was an unexpected server error.
      security:
      - Bearer: []
    put:
      tags:
      - Accounts and Trading
      summary: Replace Saved Order
      description: Replace an existing saved order for an account. The existing saved order will be replaced by the new order.
      operationId: replaceSavedOrder
      parameters:
      - name: accountId
        in: path
        description: Account Number
        required: true
        schema:
          type: integer
          format: string
      - name: savedOrderId
        in: path
        description: Order Number
        required: true
        schema:
          type: integer
          format: int64
          maximum: 0
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SavedOrder'
        description: The order to place.
      responses:
        '400':
          description: An error message indicating the validation problem with the request.
        '401':
          description: An error message indicating the caller must pass a valid AuthToken in the HTTP authorization request header.
        '403':
          description: An error message indicating the caller is forbidden from accessing this page.
        '404':
          description: An error message if the order was not found.
        '500':
          description: An error message indicating there was an unexpected server error.
      security:
      - Bearer: []
  /accounts/{accountId}:
    get:
      tags:
      - Accounts and Trading
      summary: Get Account
      description: Account balances, positions, and orders for a specific account.
      operationId: getAccount
      parameters:
      - name: accountId
        in: path
        description: Account Number
        required: true
        schema:
          type: integer
          format: string
      responses:
        '200':
          description: A Account Object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
        '400':
          description: An error message indicating the validation problem with the request.
        '401':
          description: An error message indicating the caller must pass a valid AuthToken in the HTTP authorization request header.
        '403':
          description: An error message indicating the caller is forbidden from accessing this page.
        '500':
          description: An error message indicating there was an unexpected server error.
      security:
      - Bearer: []
  /accounts:
    get:
      tags:
      - Accounts and Trading
      summary: Get Accounts
      description: Account balances, positions, and orders for a specific account.
      operationId: getAccounts
      responses:
        '200':
          description: A Account Object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
        '207':
          description: Indicates there was a problem getting account data for one or more linked accounts, but the accounts who's data returned successfully is in the response. Do not aggregate balances and positions for this case.
        '400':
          description: An error message indicating the validation problem with the request.
        '401':
          description: An error message indicating the caller must pass a valid AuthToken in the HTTP authorization request header.
        '403':
          description: An error message indicating the caller is forbidden from accessing this page.
        '500':
          description: An error message indicating there was an unexpected server error.
      security:
      - Bearer: []
components:
  schemas:
    Session:
      enum:
      - NORMAL
      - SEAMLESS
      - AM
      - PM
      example: '''NORMAL'' or ''AM'' or ''PM'' or ''SEAMLESS'''
      type: string
    AccountType:
      oneOf:
      - $ref: '#/components/schemas/CashAccount'
      - $ref: '#/components/schemas/MarginAccount'
      type: object
    SavedOrder:
      properties:
        accountId:
          example: 0
          type: number
        activationPrice:
          example: 0
          type: number
        cancelTime:
          properties:
            date:
              example: string
              type: string
            shortFormat:
              type: boolean
          type: object
        cancelable:
          type: boolean
        childOrderStrategies:
          items:
            properties:
              accountId:
                example: 0
                type: number
              activationPrice:
                example: 0
                type: number
              cancelTime:
                properties:
                  date:
                    example: string
                    type: string
                  shortFormat:
                    type: boolean
                type: object
              cancelable:
                type: boolean
              closeTime:
                example: string
                type: string
              complexOrderStrategyType:
                $ref: '#/components/schemas/ComplexOrderStrategyType'
              destinationLinkName:
                example: string
                type: string
              duration:
                $ref: '#/components/schemas/Duration'
              editable:
                type: boolean
              enteredTime:
                example: string
                type: string
              filledQuantity:
                example: 0
                type: number
              orderActivityCollection:
                items:
                  $ref: '#/components/schemas/Execution'
                type: array
              orderId:
                example: 0
                type: number
              orderLegCollection:
                items:
                  properties:
                    instruction:
                      $ref: '#/components/schemas/Instruction'
                    instrument:
                      $ref: '#/components/schemas/InstrumentType'
                    legId:
                      example: 0
                      type: number
                    orderLegType:
                      $ref: '#/components/schemas/AssetType'
                    positionEffect:
                      $ref: '#/components/schemas/PositionEffect'
                    quantity:
                      example: 0
                      type: number
                    quantityType:
                      $ref: '#/components/schemas/QuantityType'
                  type: object
                type: array
              orderStrategyType:
                $ref: '#/components/schemas/OrderStrategyType'
              orderType:
                $ref: '#/components/schemas/OrderType'
              price:
                example: 0
                type: number
              priceLinkBasis:
                $ref: '#/components/schemas/PriceLinkBasis'
              priceLinkType:
                $ref: '#/components/schemas/PriceLinkType'
              quantity:
                example: 0
                type: number
              releaseTime:
                example: string
                type: string
              remainingQuantity:
                example: 0
                type: number
              replacingOrderCollection:
                items:
                  type: object
                type: array
              requestedDestination:
                $ref: '#/components/schemas/DestinationExchange'
              session:
                $ref: '#/components/schemas/Session'
              specialInstruction:
                $ref: '#/components/schemas/SpecialInstruction'
              status:
                $ref: '#/components/schemas/OrderStatus'
              stopPrice:
                example: 0
                type: number
              stopPriceLinkBasis:
                $ref: '#/components/schemas/PriceLinkBasis'
              stopPriceLinkType:
                $ref: '#/components/schemas/PriceLinkType'
              stopPriceOffset:
                example: 0
                type: number
              stopType:
                $ref: '#/components/schemas/StopType'
              tag:
                example: string
                type: string
              taxLotMethod:
                $ref: '#/components/schemas/TaxLotMethod'
            type: object
          type: array
        closeTime:
          example: string
          type: string
        complexOrderStrategyType:
          $ref: '#/components/schemas/ComplexOrderStrategyType'
        destinationLinkName:
          example: string
          type: string
        duration:
          $ref: '#/components/schemas/Duration'
        editable:
          type: boolean
        enteredTime:
          example: string
          type: string
        filledQuantity:
          example: 0
          type: number
        orderActivityCollection:
          items:
            $ref: '#/components/schemas/Execution'
          type: array
        orderId:
          example: 0
          type: number
        orderLegCollection:
          items:
            properties:
              instruction:
                $ref: '#/components/schemas/Instruction'
              instrument:
                $ref: '#/components/schemas/InstrumentType'
              legId:
                example: 0
                type: number
              orderLegType:
                $ref: '#/components/schemas/AssetType'
              positionEffect:
                $ref: '#/components/schemas/PositionEffect'
              quantity:
                example: 0
                type: number
              quantityType:
                $ref: '#/components/schemas/QuantityType'
            type: object
          type: array
        orderStrategyType:
          $ref: '#/components/schemas/OrderStrategyType'
        orderType:
          $ref: '#/components/schemas/OrderType'
        price:
          example: 0
          type: number
        priceLinkBasis:
          $ref: '#/components/schemas/PriceLinkBasis'
        priceLinkType:
          $ref: '#/components/schemas/PriceLinkType'
        quantity:
          example: 0
          type: number
        releaseTime:
          example: string
          type: string
        remainingQuantity:
          example: 0
          type: number
        requestedDestination:
          $ref: '#/components/schemas/DestinationExchange'
        savedOrderId:
          example: 0
          type: number
        savedTime:
          example: string
          type: string
        session:
          $ref: '#/components/schemas/Session'
        specialInstruction:
          $ref: '#/components/schemas/SpecialInstruction'
        status:
          $ref: '#/components/schemas/OrderStatus'
        statusDescription:
          example: string
          type: string
        stopPrice:
          example: 0
          type: number
        stopPriceLinkBasis:
          $ref: '#/components/schemas/PriceLinkBasis'
        stopPriceLinkType:
          $ref: '#/components/schemas/PriceLinkType'
        stopPriceOffset:
          example: 0
          type: number
        stopType:
          $ref: '#/components/schemas/StopType'
        tag:
          example: string
          type: string
        taxLotMethod:
          $ref: '#/components/schemas/TaxLotMethod'
      type: object
    InstrumentType:
      oneOf:
      - $ref: '#/components/schemas/Option'
      - $ref: '#/components/schemas/MutualFund'
      - $ref: '#/components/schemas/CashEquivalent'
      - $ref: '#/components/schemas/Equity'
      - $ref: '#/components/schemas/FixedIncome'
      type: object
    PriceLinkType:
      enum:
      - VALUE
      - PERCENT
      - TICK
      example: '''VALUE'' or ''PERCENT'' or ''TICK'''
      type: string
    MarginAccount:
      properties:
        accountId:
          example: string
          type: string
        currentBalances:
          properties:
            accruedInterest:
              example: 0
              type: number
            availableFunds:
              example: 0
              type: number
            availableFundsNonMarginableTrade:
              example: 0
              type: number
            bondValue:
              example: 0
              type: number
            buyingPower:
              example: 0
              type: number
            buyingPowerNonMarginableTrade:
              example: 0
              type: number
            cashBalance:
              example: 0
              type: number
            cashReceipts:
              example: 0
              type: number
            dayTradingBuyingPower:
              example: 0
              type: number
            dayTradingBuyingPowerCall:
              example: 0
              type: number
            equity:
              example: 0
              type: number
            equityPercentage:
              example: 0
              type: number
            isInCall:
              type: boolean
            liquidationValue:
              example: 0
              type: number
            longMarginValue:
              example: 0
              type: number
            longMarketValue:
              example: 0
              type: number
            longOptionMarketValue:
              example: 0
              type: number
            maintenanceCall:
              example: 0
              type: number
            maintenanceRequirement:
              example: 0
              type: number
            marginBalance:
              example: 0
              type: number
            moneyMarketFund:
              example: 0
              type: number
            mutualFundValue:
              example: 0
              type: number
            optionBuyingPower:
              example: 0
              type: number
            pendingDeposits:
              example: 0
              type: number
            regTCall:
              example: 0
              type: number
            savings:
              example: 0
              type: number
            shortBalance:
              example: 0
              type: number
            shortMarginValue:
              example: 0
              type: number
            shortMarketValue:
              example: 0
              type: number
            shortOptionMarketValue:
              example: 0
              type: number
            sma:
              example: 0
              type: number
            stockBuyingPower:
              example: 0
              type: number
          type: object
        initialBalances:
          properties:
            accountValue:
              example: 0
              type: number
            accruedInterest:
              example: 0
              type: number
            availableFundsNonMarginableTrade:
              example: 0
              type: number
            bondValue:
              example: 0
              type: number
            buyingPower:
              example: 0
              type: number
            cashAvailableForTrading:
              example: 0
              type: number
            cashBalance:
              example: 0
              type: number
            cashReceipts:
              example: 0
              type: number
            dayTradingBuyingPower:
              example: 0
              type: number
            dayTradingBuyingPowerCall:
              example: 0
              type: number
            dayTradingEquityCall:
              example: 0
              type: number
            equity:
              example: 0
              type: number
            equityPercentage:
              example: 0
              type: number
            isInCall:
              type: boolean
            liquidationValue:
              example: 0
              type: number
            longMarginValue:
              example: 0
              type: number
            longOptionMarketValue:
              example: 0
              type: number
            longStockValue:
              example: 0
              type: number
            maintenanceCall:
              example: 0
              type: number
            maintenanceRequirement:
              example: 0
              type: number
            margin:
              example: 0
              type: number
            marginBalance:
              example: 0
              type: number
            marginEquity:
              example: 0
              type: number
            moneyMarketFund:
              example: 0
              type: number
            mutualFundValue:
              example: 0
              type: number
            pendingDeposits:
              example: 0
              type: number
            regTCall:
              example: 0
              type: number
            shortBalance:
              example: 0
              type: number
            shortMarginValue:
              example: 0
              type: number
            shortOptionMarketValue:
              example: 0
              type: number
            shortStockValue:
              example: 0
              type: number
            totalCash:
              example: 0
              type: number
            unsettledCash:
              example: 0
              type: number
          type: object
        isClosingOnlyRestricted:
          type: boolean
        isDayTrader:
          type: boolean
        orderStrategies:
          items:
            properties:
              accountId:
                example: 0
                type: number
              activationPrice:
                example: 0
                type: number
              cancelTime:
                properties:
                  date:
                    example: string
                    type: string
                  shortFormat:
                    type: boolean
                type: object
              cancelable:
                type: boolean
              childOrderStrategies:
                items:
                  type: object
                type: array
              closeTime:
                example: string
                type: string
              complexOrderStrategyType:
                $ref: '#/components/schemas/ComplexOrderStrategyType'
              destinationLinkName:
                example: string
                type: string
              duration:
                $ref: '#/components/schemas/Duration'
              editable:
                type: boolean
              enteredTime:
                example: string
                ty

# --- truncated at 32 KB (63 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/td-ameritrade/refs/heads/main/openapi/td-ameritrade-accounts-and-trading-api-openapi.yml