Tálamo
    Tálamo MCPv1.3

    journal_​summary

    Resume el rendimiento de operaciones cerradas; los escenarios planeados quedan excluidos.

    Journal
    Solo lectura
    Versión del contrato 1.0.0

    Permisos y seguridad

    Procedencia
    journal
    Requiere confirmación
    No
    openWorld
    false

    Esquema de entrada

    json
    {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "days": {
          "default": 90,
          "type": "integer",
          "minimum": 1,
          "maximum": 365
        }
      },
      "required": [
        "days"
      ],
      "additionalProperties": false
    }

    Esquema de salida

    json
    {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "source": {
          "type": "string",
          "const": "journal"
        },
        "period_days": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "executed_trades": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "wins": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "losses": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "win_rate": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "net_result": {
          "type": "number"
        },
        "profit_factor": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "source",
        "period_days",
        "executed_trades",
        "wins",
        "losses",
        "win_rate",
        "net_result",
        "profit_factor"
      ],
      "additionalProperties": {}
    }

    Ejemplo

    json
    {
      "title": "Last 30 days",
      "input": {
        "days": 30
      },
      "output": {
        "source": "journal",
        "period_days": 30,
        "executed_trades": 0,
        "wins": 0,
        "losses": 0,
        "win_rate": null,
        "net_result": 0,
        "profit_factor": null
      }
    }

    Límites

    • Period is limited to 365 days.
    • Only closed trades participate in performance metrics.

    Errores estables

    CodeDescription
    UNAUTHORIZEDThe OAuth token is missing, expired, revoked, or invalid for this resource.
    VALIDATION_ERRORThe arguments do not match the published input schema.
    TOOL_ERRORThe operation could not be completed without exposing internal details.