tastytrade · Schema

CurrentPosition

CurrentPosition model

FinanceBrokerageTradingOptionsFuturesEquitiesCryptoMarket DataWebSocket

Properties

Name Type Description
account-number string
instrument-type string
streamer-symbol string
symbol string
underlying-symbol string
quantity object
average-daily-market-close-price number
average-open-price number
average-yearly-market-close-price number
close-price number
cost-effect string
is-frozen boolean
is-suppressed boolean
mark number
mark-price number
multiplier number
quantity-direction string
restricted-quantity object
expires-at string
deliverable-type string
fixing-price number
realized-day-gain number
realized-day-gain-date string
realized-day-gain-effect string
realized-today number
realized-today-date string
realized-today-effect string
face-value number
par-size number
created-at string
updated-at string
order-id integer
update-type string
View JSON Schema on GitHub

JSON Schema

balances-and-positions-CurrentPosition.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://developer.tastytrade.com/schemas/balances-and-positions/CurrentPosition",
  "title": "CurrentPosition",
  "type": "object",
  "properties": {
    "account-number": {
      "description": "",
      "type": "string"
    },
    "instrument-type": {
      "description": "",
      "type": "string"
    },
    "streamer-symbol": {
      "description": "",
      "type": "string"
    },
    "symbol": {
      "description": "",
      "type": "string"
    },
    "underlying-symbol": {
      "description": "",
      "type": "string"
    },
    "quantity": {
      "description": "",
      "type": "object"
    },
    "average-daily-market-close-price": {
      "description": "",
      "type": "number",
      "format": "double"
    },
    "average-open-price": {
      "description": "",
      "type": "number",
      "format": "double"
    },
    "average-yearly-market-close-price": {
      "description": "",
      "type": "number",
      "format": "double"
    },
    "close-price": {
      "description": "",
      "type": "number",
      "format": "double"
    },
    "cost-effect": {
      "description": "",
      "type": "string"
    },
    "is-frozen": {
      "description": "",
      "type": "boolean"
    },
    "is-suppressed": {
      "description": "",
      "type": "boolean"
    },
    "mark": {
      "description": "",
      "type": "number",
      "format": "double"
    },
    "mark-price": {
      "description": "",
      "type": "number",
      "format": "double"
    },
    "multiplier": {
      "description": "",
      "type": "number",
      "format": "double"
    },
    "quantity-direction": {
      "description": "",
      "type": "string"
    },
    "restricted-quantity": {
      "description": "",
      "type": "object"
    },
    "expires-at": {
      "description": "",
      "type": "string",
      "format": "date-time"
    },
    "deliverable-type": {
      "description": "",
      "type": "string"
    },
    "fixing-price": {
      "description": "",
      "type": "number",
      "format": "double"
    },
    "realized-day-gain": {
      "description": "",
      "type": "number",
      "format": "double"
    },
    "realized-day-gain-date": {
      "description": "",
      "type": "string",
      "format": "date"
    },
    "realized-day-gain-effect": {
      "description": "",
      "type": "string"
    },
    "realized-today": {
      "description": "",
      "type": "number",
      "format": "double"
    },
    "realized-today-date": {
      "description": "",
      "type": "string",
      "format": "date"
    },
    "realized-today-effect": {
      "description": "",
      "type": "string"
    },
    "face-value": {
      "description": "",
      "type": "number",
      "format": "double"
    },
    "par-size": {
      "description": "",
      "type": "number",
      "format": "double"
    },
    "created-at": {
      "description": "",
      "type": "string",
      "format": "date-time"
    },
    "updated-at": {
      "description": "",
      "type": "string",
      "format": "date-time"
    },
    "order-id": {
      "description": "",
      "type": "integer",
      "format": "int32"
    },
    "update-type": {
      "description": "",
      "type": "string"
    }
  },
  "description": "CurrentPosition model"
}