tastytrade · Schema

postAccountsAccountNumberOrdersIdDryRun

Runs through preflights for cancel-replace and edit without routing

FinanceBrokerageTradingOptionsFuturesEquitiesCryptoMarket DataWebSocket

Properties

Name Type Description
gtc-date string The date in which a GTD order will expire. Can only be provided if time-in-force is GTD.
order-type string The type of order in regards to the price. i.e. `Limit`, `Market`, `Marketable Limit`, `Notional Market`, `Stop` or `Stop Limit`
stop-trigger number The price trigger at which a stop or stop-limit order becomes valid.
time-in-force string The length in time before the order expires. i.e. `Day`, `Ext`, `Ext Overnight`, `GTC`, `GTC Ext`, `GTC Ext Overnight`, `GTD` or `IOC`
price number The price of the Order. Required for limit and stop-limit orders.
price-effect string If pay or receive payment for placing the order. i.e. `Credit` or `Debit`
value number The notional value of the Order, required for notional market orders.
value-effect string If pay or receive payment for placing the notional market order. i.e. `Credit` or `Debit`
automated-source boolean If the order was placed from an automated source
external-identifier string External identifier for the order
partition-key string Account partition key
preflight-id string Transient order identifier used for matching preflight errors to an individual order
source string The source the order is coming from
legs array
View JSON Schema on GitHub

JSON Schema

orders-postAccountsAccountNumberOrdersIdDryRun.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://developer.tastytrade.com/schemas/orders/postAccountsAccountNumberOrdersIdDryRun",
  "title": "postAccountsAccountNumberOrdersIdDryRun",
  "type": "object",
  "properties": {
    "gtc-date": {
      "type": "string",
      "format": "date",
      "description": "The date in which a GTD order will expire. Can only be provided if time-in-force is GTD."
    },
    "order-type": {
      "type": "string",
      "description": "The type of order in regards to the price. i.e.\n                                    `Limit`, `Market`, `Marketable Limit`, `Notional Market`, `Stop` or `Stop Limit`",
      "enum": [
        "Limit",
        "Market",
        "Marketable Limit",
        "Notional Market",
        "Stop",
        "Stop Limit"
      ]
    },
    "stop-trigger": {
      "type": "number",
      "format": "double",
      "description": "The price trigger at which a stop or stop-limit order becomes valid."
    },
    "time-in-force": {
      "type": "string",
      "description": "The length in time before the order expires. i.e.\n                                       `Day`, `Ext`, `Ext Overnight`, `GTC`, `GTC Ext`, `GTC Ext Overnight`, `GTD` or `IOC`",
      "enum": [
        "Day",
        "Ext",
        "Ext Overnight",
        "GTC",
        "GTC Ext",
        "GTC Ext Overnight",
        "GTD",
        "IOC"
      ]
    },
    "price": {
      "type": "number",
      "format": "double",
      "description": "The price of the Order. Required for limit and stop-limit orders."
    },
    "price-effect": {
      "type": "string",
      "description": "If pay or receive payment for placing the order. i.e. `Credit` or `Debit`",
      "enum": [
        "Credit",
        "Debit"
      ]
    },
    "value": {
      "type": "number",
      "format": "double",
      "description": "The notional value of the Order, required for notional market orders."
    },
    "value-effect": {
      "type": "string",
      "description": "If pay or receive payment for placing the notional market order. i.e. `Credit` or `Debit`",
      "enum": [
        "Credit",
        "Debit"
      ]
    },
    "automated-source": {
      "type": "boolean",
      "description": "If the order was placed from an automated source",
      "default": false
    },
    "external-identifier": {
      "type": "string",
      "description": "External identifier for the order"
    },
    "partition-key": {
      "type": "string",
      "description": "Account partition key"
    },
    "preflight-id": {
      "type": "string",
      "description": "Transient order identifier used for matching preflight errors to an individual order"
    },
    "source": {
      "type": "string",
      "description": "The source the order is coming from"
    },
    "legs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "description": "TODO",
            "enum": [
              "Allocate",
              "Buy",
              "Buy to Close",
              "Buy to Open",
              "Sell",
              "Sell to Close",
              "Sell to Open"
            ]
          },
          "instrument-type": {
            "type": "string",
            "description": "The type of Instrument.",
            "enum": [
              "Cryptocurrency",
              "Equity",
              "Equity Option",
              "Event Contract",
              "Fixed Income Security",
              "Future",
              "Future Option",
              "Liquidity Pool"
            ]
          },
          "quantity": {
            "type": "number",
            "format": "double",
            "description": "TODO"
          },
          "symbol": {
            "type": "string",
            "description": "Symbol for stock, specific option symbol in the\n          OCC symbology or specific future symbol. e.g. \"AAPL\", \"AAPL  150515C00120000\", \"/ESM5\""
          }
        },
        "required": [
          "action",
          "instrument-type",
          "symbol"
        ]
      }
    }
  },
  "required": [
    "order-type",
    "stop-trigger",
    "time-in-force",
    "price-effect",
    "value-effect"
  ],
  "description": "Runs through preflights for cancel-replace and edit without routing"
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/orders-postAccountsAccountNumberOrdersIdDryRun"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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

Get an API key

Free tier, no email required.

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