Files
aitrade/pkg/model/news.go
T
kaedwen ea141eb012
Build and Push Docker Image / build-and-push (push) Failing after 1m41s
initial
2026-07-02 20:09:44 +02:00

22 lines
481 B
Go

package model
import "time"
type NewsArticle struct {
ID int64
Source string
Title string
URL string
Content string
PublishedAt time.Time
FetchedAt time.Time
Symbols string
SentimentScore *float64
SentimentLabel string
// LLM sentiment fields
LLMSentimentScore *float64
LLMModel *string
LLMConfidence *float64
SentimentMethod string // "keyword", "llm", "ensemble", "keyword_fallback"
}