BTSE · Schema

Position

CompanyCryptocurrencyExchangeTradingDigital AssetsFuturesWebSocket

Properties

Name Type Description
symbol string Market symbol
side string Trade side
size integer Position size
entryPrice number Entry price
markPrice number Mark price
marginType integer `91`: Cross · `92`: Isolated
orderValue number Notional value
settleWithAsset string Settlement currency
totalMaintenanceMargin number Maintenance margin
unrealizedProfitLoss number Unrealized P&L
liquidationPrice number Liquidation price
isolatedLeverage number Isolated leverage
adlScoreBucket number ADL probability score
liquidationInProgress boolean Whether liquidation is in progress
currentLeverage number Current leverage
timestamp integer Query timestamp
takeProfitOrder object Take profit order info
stopLossOrder object Stop loss order info
positionMode string `ONE_WAY` · `HEDGE` · `ISOLATED`
positionDirection string Position direction: `LONG` · `SHORT` (only present in HEDGE/ISOLATED mode)
positionId string Position ID
View JSON Schema on GitHub

JSON Schema

btse-position-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/btse/main/json-schema/btse-position-schema.json",
  "title": "Position",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/btse-futures-legacy-openapi.yml#/components/schemas/Position",
  "type": "object",
  "properties": {
    "symbol": {
      "type": "string",
      "description": "Market symbol"
    },
    "side": {
      "type": "string",
      "description": "Trade side"
    },
    "size": {
      "type": "integer",
      "format": "int64",
      "description": "Position size"
    },
    "entryPrice": {
      "type": "number",
      "description": "Entry price"
    },
    "markPrice": {
      "type": "number",
      "description": "Mark price"
    },
    "marginType": {
      "type": "integer",
      "description": "`91`: Cross · `92`: Isolated"
    },
    "orderValue": {
      "type": "number",
      "description": "Notional value"
    },
    "settleWithAsset": {
      "type": "string",
      "description": "Settlement currency"
    },
    "totalMaintenanceMargin": {
      "type": "number",
      "description": "Maintenance margin"
    },
    "unrealizedProfitLoss": {
      "type": "number",
      "description": "Unrealized P&L"
    },
    "liquidationPrice": {
      "type": "number",
      "description": "Liquidation price"
    },
    "isolatedLeverage": {
      "type": "number",
      "description": "Isolated leverage"
    },
    "adlScoreBucket": {
      "type": "number",
      "description": "ADL probability score"
    },
    "liquidationInProgress": {
      "type": "boolean",
      "description": "Whether liquidation is in progress"
    },
    "currentLeverage": {
      "type": "number",
      "description": "Current leverage"
    },
    "timestamp": {
      "type": "integer",
      "format": "int64",
      "description": "Query timestamp"
    },
    "takeProfitOrder": {
      "type": "object",
      "description": "Take profit order info"
    },
    "stopLossOrder": {
      "type": "object",
      "description": "Stop loss order info"
    },
    "positionMode": {
      "type": "string",
      "description": "`ONE_WAY` · `HEDGE` · `ISOLATED`"
    },
    "positionDirection": {
      "type": "string",
      "description": "Position direction: `LONG` · `SHORT` (only present in HEDGE/ISOLATED mode)"
    },
    "positionId": {
      "type": "string",
      "description": "Position 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/btse-position"
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.