TradingView · Schema

PlaceModifyPreviewOrderCommon

CompanyConsumerChartsCharting LibraryFinancial DataMarket DataWidgetsTradingFintechEmbeddable Components

Properties

Name Type Description
qty number The number of units.
limitPrice number Limit Price for Limit or StopLimit order.
stopPrice number Stop Price for Stop or StopLimit order.
durationType string Duration ID (if supported).
durationDateTime number Expiration datetime Unix timestamp (if supported by duration type).
stopLoss number StopLoss price (if supported).
trailingStopPips number Distance from the stop loss level to the current market price in pips (if supported by the broker).
guaranteedStop number Stop price of Guaranteed Stop bracket (if supported).
takeProfit number TakeProfit price (if supported).
digitalSignature string Digital signature (if supported).
currentAsk number Current ask price for the instrument that the user sees in the order panel.
currentBid number Current bid price for the instrument that the user sees in the order panel.
instrument string The instrument name.
exitLevels array An array of all the exit levels attached to this parent.
View JSON Schema on GitHub

JSON Schema

tradingview-place-modify-preview-order-common-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tradingview/json-schema/tradingview-place-modify-preview-order-common-schema.json",
  "title": "PlaceModifyPreviewOrderCommon",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tradingview-broker-rest-api-openapi.yml#/components/schemas/PlaceModifyPreviewOrderCommon",
  "type": "object",
  "properties": {
    "qty": {
      "description": "The number of units.",
      "type": "number"
    },
    "limitPrice": {
      "description": "Limit Price for Limit or StopLimit order.",
      "type": "number"
    },
    "stopPrice": {
      "description": "Stop Price for Stop or StopLimit order.",
      "type": "number"
    },
    "durationType": {
      "description": "Duration ID (if supported).",
      "type": "string"
    },
    "durationDateTime": {
      "description": "Expiration datetime Unix timestamp (if supported by duration type).",
      "type": "number"
    },
    "stopLoss": {
      "description": "StopLoss price (if supported).",
      "type": "number"
    },
    "trailingStopPips": {
      "description": "Distance from the stop loss level to the current market price in pips (if supported by the broker).",
      "type": "number"
    },
    "guaranteedStop": {
      "description": "Stop price of Guaranteed Stop bracket (if supported).",
      "type": "number"
    },
    "takeProfit": {
      "description": "TakeProfit price (if supported).",
      "type": "number"
    },
    "digitalSignature": {
      "description": "Digital signature (if supported).",
      "type": "string"
    },
    "currentAsk": {
      "description": "Current ask price for the instrument that the user sees in the order panel.",
      "type": "number"
    },
    "currentBid": {
      "description": "Current bid price for the instrument that the user sees in the order panel.",
      "type": "number"
    },
    "instrument": {
      "description": "The instrument name.",
      "type": "string"
    },
    "exitLevels": {
      "type": "array",
      "description": "An array of all the exit levels attached to this parent.",
      "items": {
        "oneOf": [
          {
            "$ref": "#/$defs/ExitLevel"
          },
          {
            "$ref": "#/$defs/PlacedExitLevel"
          }
        ]
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "ExitLevel": {
      "title": "Exit Level",
      "type": "object",
      "properties": {
        "qty": {
          "description": "Quantity",
          "type": "number"
        },
        "takeProfit": {
          "description": "Take profit price.",
          "type": "number"
        },
        "stopLoss": {
          "description": "Stop loss price.",
          "type": "number"
        },
        "guaranteedStop": {
          "description": "Guaranteed stop price.",
          "type": "number"
        },
        "trailingStopPips": {
          "description": "Trailing stop distance in pips.",
          "type": "number"
        }
      },
      "required": [
        "qty"
      ],
      "additionalProperties": false
    },
    "PlacedExitLevel": {
      "allOf": [
        {
          "$ref": "#/$defs/ExitLevel"
        },
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "description": "Exit level id"
            }
          },
          "required": [
            "id"
          ]
        }
      ]
    }
  }
}

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/tradingview-place-modify-preview-order-common"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.