package analyzer import ( "context" "github.com/Rhymond/go-money" ) type Analyzer interface { Analyze( ctx context.Context, symbol string, price *money.Money, rawAnalysis string, ) (*Analysis, error) } type ChartAction string const ( Buy ChartAction = "buy" Sell ChartAction = "sell" Hold ChartAction = "hold" Unknown ChartAction = "unknown" ) type Analysis struct { Action ChartAction Price *money.Money Reason string Confidence uint8 }