{
  "path": "/delivery/{settle}/trades",
  "operation_id": "listDeliveryTrades",
  "auth_required": false,
  "parameters": [
    {
      "name": "settle",
      "in": "path",
      "description": "Settle currency",
      "required": true,
      "schema": {
        "type": "string",
        "enum": [
          "usdt"
        ]
      },
      "example": "usdt"
    },
    {
      "name": "contract",
      "in": "query",
      "required": true,
      "description": "Futures contract",
      "schema": {
        "type": "string"
      },
      "example": "BTC_USDT_20200814"
    },
    {
      "name": "limit",
      "in": "query",
      "description": "Maximum number of records returned in a single list",
      "required": false,
      "schema": {
        "type": "integer",
        "default": 100,
        "minimum": 1,
        "maximum": 1000
      },
      "example": 100
    },
    {
      "name": "last_id",
      "in": "query",
      "deprecated": true,
      "description": "Use the ID of the last record in the previous list as the starting point for the next list.This field is no longer supported. For new requests, please use the fromand tofields to specify the time rang",
      "required": false,
      "schema": {
        "type": "string"
      },
      "example": "12345"
    },
    {
      "name": "from",
      "in": "query",
      "required": false,
      "description": "Specify starting time in Unix seconds. If not specified, `to` and `limit` will be used to limit response items.\nIf items between `from` and `to` are more than `limit`, only `limit` number will be returned.\n",
      "schema": {
        "type": "integer",
        "format": "int64"
      },
      "example": 1546905600
    },
    {
      "name": "to",
      "in": "query",
      "required": false,
      "description": "Specify end time in Unix seconds, default to current time.",
      "schema": {
        "type": "integer",
        "format": "int64"
      },
      "example": 1546935600
    }
  ],
  "response_fields": {
    "200": {
      "description": "List retrieved successfully",
      "fields": [
        {
          "path": "$",
          "type": "array<object>",
          "description": "",
          "constraints": ""
        },
        {
          "path": "$[]",
          "type": "object",
          "description": "",
          "constraints": ""
        },
        {
          "path": "$[].id",
          "type": "integer",
          "description": "Fill ID",
          "constraints": "格式：\"int64\""
        },
        {
          "path": "$[].create_time",
          "type": "number",
          "description": "Fill Time",
          "constraints": "格式：\"double\""
        },
        {
          "path": "$[].create_time_ms",
          "type": "number",
          "description": "Trade time, with millisecond precision to 3 decimal places",
          "constraints": "格式：\"double\""
        },
        {
          "path": "$[].contract",
          "type": "string",
          "description": "Futures contract",
          "constraints": ""
        },
        {
          "path": "$[].size",
          "type": "integer",
          "description": "Trading size",
          "constraints": "格式：\"int64\""
        },
        {
          "path": "$[].price",
          "type": "string",
          "description": "Trade price (quote currency)",
          "constraints": ""
        },
        {
          "path": "$[].is_internal",
          "type": "boolean",
          "description": "Deprecated",
          "constraints": ""
        }
      ]
    }
  },
  "source_version": "v4.106.132",
  "source_url": "https://github.com/gate/gateapi-python/blob/cd2cac4d339ec0734480787d23c020f467fd7b80/openapi.yaml",
  "local_tool_limits": [
    "仅检查必填、枚举和简单数值范围",
    "复杂类型序列化、条件必填、时间窗口等以官方规则为准",
    "不会发起 API 请求"
  ]
}
