feat: done vibing

This commit is contained in:
ytshih committed 2026-09-05 09:55:24 +08:00
1 parent 3de31a57c3
commit 4352fd1ad1
27 files changed
+1922 -13

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
// Package report defines the shared shape produced by internal/analyze and
// consumed by internal/output, decoupling the two from each other.
package report
// Recommendation is a single buy/sell call with a short reason, surfaced
// separately from the main narrative report (e.g. as a Discord embed).
type Recommendation struct {
Symbol string `json:"symbol"`
Action string `json:"action"` // "buy" or "sell"
Reason string `json:"reason"`
}
// Report is the full output of one analysis run: the long-form narrative
// text plus an optional short list of buy/sell recommendations.
type Report struct {
Text string
Recommendations []Recommendation
}