Tálamo MCPv1.3
journal_summary
Resume o desempenho de operações fechadas e exclui cenários planejados.
Journal
Somente leitura
Versão do contrato 1.0.0
Permissões e segurança
- Procedência
- journal
- Requer confirmação
- Não
- 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 saída
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": {}
}Exemplo
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
}
}Limites
- Period is limited to 365 days.
- Only closed trades participate in performance metrics.
Erros estáveis
| Code | Description |
|---|---|
UNAUTHORIZED | The OAuth token is missing, expired, revoked, or invalid for this resource. |
VALIDATION_ERROR | The arguments do not match the published input schema. |
TOOL_ERROR | The operation could not be completed without exposing internal details. |