Trading 212 · Schema

TimeValidity

Specifies how long the order remains active: * DAY: The order will automatically expire if not executed by midnight in the time zone of the instrument's exchange. * GOOD_TILL_CANCEL: The order remains active indefinitely until it is either filled or explicitly cancelled by you.

InvestingFinanceTradingStocksPortfolioCommission-FreeISA
View JSON Schema on GitHub

JSON Schema

TimeValidity.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/trading212/refs/heads/main/json-schema/TimeValidity.json",
  "title": "TimeValidity",
  "description": "Specifies how long the order remains active: \n* DAY: The order will automatically expire if not executed by midnight in the time zone of the instrument's exchange.\n* GOOD_TILL_CANCEL: The order remains active indefinitely until it is either filled or explicitly cancelled by you.",
  "enum": [
    "DAY",
    "GOOD_TILL_CANCEL"
  ],
  "type": "string"
}