buffett-signal
InvokeAnalyse tickers using Warren Buffett-style fundamentals and return bullish/bearish/neutral signals.
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"tickers": {
"description": "One or more ticker symbols to analyse.",
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"endDate": {
"description": "Optional end date (YYYY-MM-DD). Defaults to today.",
"type": "string"
},
"showReasoning": {
"description": "Include the model reasoning in the response.",
"type": "boolean"
}
},
"required": [
"tickers"
],
"additionalProperties": false
}
Output Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"endDate": {
"type": "string"
},
"analystSignals": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"signal": {
"type": "string",
"enum": [
"bullish",
"neutral",
"bearish"
]
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"reasoning": {
"type": "string"
},
"score": {
"type": "number"
},
"maxScore": {
"type": "number"
},
"marginOfSafety": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"intrinsicValue": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"marketCap": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"breakdown": {
"type": "object",
"properties": {
"fundamentals": {
"type": "object",
"properties": {
"score": {
"type": "number"
},
"maxScore": {
"type": "number"
}
},
"required": [
"score",
"maxScore"
],
"additionalProperties": false
},
"consistency": {
"type": "object",
"properties": {
"score": {
"type": "number"
},
"maxScore": {
"type": "number"
}
},
"required": [
"score",
"maxScore"
],
"additionalProperties": false
},
"moat": {
"type": "object",
"properties": {
"score": {
"type": "number"
},
"maxScore": {
"type": "number"
}
},
"required": [
"score",
"maxScore"
],
"additionalProperties": false
},
"pricingPower": {
"type": "object",
"properties": {
"score": {
"type": "number"
},
"maxScore": {
"type": "number"
}
},
"required": [
"score",
"maxScore"
],
"additionalProperties": false
},
"bookValue": {
"type": "object",
"properties": {
"score": {
"type": "number"
},
"maxScore": {
"type": "number"
}
},
"required": [
"score",
"maxScore"
],
"additionalProperties": false
},
"management": {
"type": "object",
"properties": {
"score": {
"type": "number"
},
"maxScore": {
"type": "number"
}
},
"required": [
"score",
"maxScore"
],
"additionalProperties": false
}
},
"required": [
"fundamentals",
"consistency",
"moat",
"pricingPower",
"bookValue",
"management"
],
"additionalProperties": false
},
"details": {
"type": "object",
"properties": {
"fundamentals": {
"type": "array",
"items": {
"type": "string"
}
},
"consistency": {
"type": "array",
"items": {
"type": "string"
}
},
"moat": {
"type": "array",
"items": {
"type": "string"
}
},
"pricingPower": {
"type": "array",
"items": {
"type": "string"
}
},
"bookValue": {
"type": "array",
"items": {
"type": "string"
}
},
"management": {
"type": "array",
"items": {
"type": "string"
}
},
"valuation": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"fundamentals",
"consistency",
"moat",
"pricingPower",
"bookValue",
"management",
"valuation"
],
"additionalProperties": false
}
},
"required": [
"signal",
"confidence",
"reasoning",
"score",
"maxScore",
"marginOfSafety",
"intrinsicValue",
"marketCap",
"breakdown",
"details"
],
"additionalProperties": false
}
},
"errors": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"endDate",
"analystSignals"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'http://buffet.daydreams.systems/entrypoints/buffett-signal/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"tickers": [
"string"
]
}
}
'