FxSocket · Schema

PostV1OrdersCloseRequest

CompanyFinTechTradingAPICloud

Properties

Name Type Description
defaults object Selector values every account inherits: symbol, symbol_match, side, kind, magic, volume, slippage.
accounts array One entry per account.
accounts[].account_id string Account identifier.
accounts[].symbol string Symbol to close for this account.
accounts[].symbol_match string Match mode for symbol (exact or base).
accounts[].side string long, short, or any.
accounts[].kind string position, pending, or any.
accounts[].volume number Partial close volume.
accounts[].tickets array Exact tickets to close on this account.
accounts[].require_reachable boolean Reject batch if any account has no terminal.
View JSON Schema on GitHub

JSON Schema

fxsocket-com-post-v1-orders-close-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fxsocket-com/json-schema/fxsocket-com-post-v1-orders-close-request-schema.json",
  "title": "PostV1OrdersCloseRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/fxsocket-com-openapi-generated.yml#/components/schemas/PostV1OrdersCloseRequest",
  "type": "object",
  "properties": {
    "defaults": {
      "type": "object",
      "description": "Selector values every account inherits: symbol, symbol_match, side, kind, magic, volume, slippage."
    },
    "accounts": {
      "type": "array",
      "description": "One entry per account."
    },
    "accounts[].account_id": {
      "type": "string",
      "description": "Account identifier."
    },
    "accounts[].symbol": {
      "type": "string",
      "description": "Symbol to close for this account."
    },
    "accounts[].symbol_match": {
      "type": "string",
      "description": "Match mode for symbol (exact or base)."
    },
    "accounts[].side": {
      "type": "string",
      "description": "long, short, or any."
    },
    "accounts[].kind": {
      "type": "string",
      "description": "position, pending, or any."
    },
    "accounts[].volume": {
      "type": "number",
      "description": "Partial close volume."
    },
    "accounts[].tickets": {
      "type": "array",
      "description": "Exact tickets to close on this account."
    },
    "accounts[].require_reachable": {
      "type": "boolean",
      "description": "Reject batch if any account has no terminal."
    }
  },
  "required": [
    "accounts",
    "accounts[].account_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/fxsocket-com-post-v1-orders-close-request"
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 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.