feat: done vibing
This commit is contained in:
27 files changed
+1922
-13
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user