Versions in this module Expand all Collapse all v1 v1.0.0 Oct 13, 2026 Changes in this version + const APIVersion + const DefaultBaseURL + const Version + type APIError struct + Detail string + Headers http.Header + Payload json.RawMessage + StatusCode int + func (e *APIError) Error() string + func (e *APIError) Unwrap() error + type Client struct + func NewClient(config Config) (*Client, error) + func (c *Client) Crypto() *CryptoService + func (c *Client) Health(ctx context.Context) (*RootHealthResponse, error) + func (c *Client) News() *NewsService + func (c *Client) Polymarket() *PolymarketService + func (c *Client) Reddit() *RedditService + func (c *Client) RedditCrypto() *CryptoService + func (c *Client) Sentiment() *SentimentService + func (c *Client) X() *XService + type CompareLimitError struct + Detail CompareLimitErrorDetail + type CompareLimitErrorDetail struct + Error string + ItemName string + MaxItems int64 + Message string + type CompareResponse struct + PeriodDays int64 + Stocks []CompareStockItem + type CompareStockItem struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + CompanyName *string + Mentions int64 + SentimentScore *float64 + SubredditCount int64 + Ticker string + TotalUpvotes int64 + Trend *string + TrendHistory []float64 + UniquePosts int64 + type Config struct + APIKey string + BaseURL string + HTTPClient *http.Client + Timeout time.Duration + type CryptoCompareResponse struct + PeriodDays int64 + Tokens []CryptoCompareTokenItem + type CryptoCompareTokenItem struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + Mentions int64 + Name *string + SentimentScore *float64 + SubredditCount int64 + Symbol string + TotalUpvotes int64 + Trend *string + TrendHistory []float64 + UniquePosts int64 + type CryptoDailyTrendItem struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + Date string + Mentions int64 + SentimentScore *float64 + type CryptoHealthResponse struct + Error *string + Scheduler *CryptoSchedulerStatus + Service *string + Status string + TokensTracked *int64 + TotalMentions *int64 + Version *string + type CryptoMarketSentimentDriver struct + BuzzScore *float64 + Mentions int64 + SentimentScore *float64 + Symbol string + type CryptoMarketSentimentResponse struct + ActiveTickers int64 + BearishPct int64 + BullishPct int64 + BuzzScore *float64 + Drivers []CryptoMarketSentimentDriver + Mentions int64 + NegativeCount int64 + NeutralCount int64 + PositiveCount int64 + SentimentScore *float64 + SubredditCount int64 + TotalUpvotes int64 + Trend *string + TrendHistory []float64 + UniquePosts int64 + type CryptoRawMentionItem struct + Author *string + CommentID *string + CreatedUTC string + IsInherited bool + PostID *string + SentimentLabel *string + SentimentScore *float64 + Subreddit *string + TextSnippet string + Upvotes int64 + type CryptoRawMentionsResponse struct + Count int64 + PeriodDays int64 + Results []CryptoRawMentionItem + Symbol string + type CryptoSchedulerStatus struct + ErrorCount *int64 + LastScrape *string + Note *string + Running bool + ScrapeCount *int64 + SuccessRate *float64 + TimedOutScrapeThreads *int64 + type CryptoSearchItem struct + Aliases []string + MarketCapRank *int64 + MarketCapUsd *float64 + Name string + Summary CryptoSearchSummary + Symbol string + type CryptoSearchResponse struct + Count int64 + PeriodDays int64 + Query string + Results []CryptoSearchItem + type CryptoSearchSummary struct + BuzzScore *float64 + Mentions int64 + SentimentScore *float64 + Trend *string + type CryptoService struct + func (s *CryptoService) Compare(ctx context.Context, symbols []string, o *PeriodOptions) (*CryptoCompareResponse, error) + func (s *CryptoService) Health(ctx context.Context) (*CryptoHealthResponse, error) + func (s *CryptoService) MarketSentiment(ctx context.Context, o *PeriodOptions) (*CryptoMarketSentimentResponse, error) + func (s *CryptoService) Mentions(ctx context.Context, symbol string, o *RedditMentionsOptions) (*CryptoRawMentionsResponse, error) + func (s *CryptoService) Search(ctx context.Context, query string, o *SearchOptions) (*CryptoSearchResponse, error) + func (s *CryptoService) Stats(ctx context.Context) (*CryptoStatsResponse, error) + func (s *CryptoService) Token(ctx context.Context, symbol string, o *PeriodOptions) (*CryptoTokenSentiment, error) + func (s *CryptoService) Trending(ctx context.Context, o *TrendingGroupOptions) ([]CryptoTrendingToken, error) + type CryptoStatsResponse struct + MentionsToday *int64 + SupportedTokens int64 + TotalMentions int64 + UniqueTokens int64 + UniqueTokensToday *int64 + type CryptoSubredditCount struct + BuzzScore *float64 + Count int64 + Mentions int64 + SentimentScore *float64 + Subreddit string + type CryptoTokenSentiment struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + DailyTrend []CryptoDailyTrendItem + Found bool + Mentions *int64 + Name *string + NegativeCount *int64 + NeutralCount *int64 + PeriodDays *int64 + PositiveCount *int64 + SentimentScore *float64 + SubredditCount *int64 + Symbol string + TopMentions []CryptoTopMention + TopSubreddits []CryptoSubredditCount + TotalUpvotes *int64 + Trend *string + UniquePosts *int64 + type CryptoTopMention struct + CreatedUTC string + SentimentLabel *string + SentimentScore *float64 + Subreddit *string + TextSnippet string + Upvotes int64 + type CryptoTrendingToken struct + BearishPct int64 + BullishPct int64 + BuzzScore float64 + Mentions int64 + Name *string + SentimentScore float64 + SubredditCount int64 + Symbol string + TotalUpvotes int64 + Trend string + TrendHistory []float64 + UniquePosts int64 + type DailyTrendItem struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + Date string + Mentions int64 + SentimentScore *float64 + type ErrorResponse struct + Detail string + type HTTPValidationError struct + Detail []ValidationError + type HealthResponse struct + Error *string + Scheduler *SchedulerStatus + Service *string + Status string + TickersTracked *int64 + TotalMentions *int64 + Version *string + type HistoricalLimitError struct + Detail HistoricalLimitErrorDetail + type HistoricalLimitErrorDetail struct + AccountType string + EnforcedQuantity *string + Error string + MaxDays int64 + Message string + RequestedDays int64 + type InvalidPeriodError struct + Detail InvalidPeriodErrorDetail + type InvalidPeriodErrorDetail struct + AvailableSince *string + Error string + Field *string + MaxDays *int64 + Message string + PeriodFrom *string + PeriodTo *string + Platform *string + RequestedDays *int64 + RetentionFrom *string + Today *string + Value json.RawMessage + type InvalidSearchParametersError struct + Detail json.RawMessage + type InvalidSearchParametersErrorDetail struct + Error string + Message string + UnsupportedParameters []string + type MentionsOptions struct + Days *int + From *string + Limit *int + Offset *int + To *string + type NewsCompareResponse struct + PeriodDays int64 + Stocks []NewsCompareStockItem + type NewsCompareStockItem struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + CompanyName *string + Mentions int64 + SentimentScore *float64 + SourceCount int64 + Ticker string + Trend *string + TrendHistory []float64 + type NewsMarketSentimentDriver struct + BuzzScore *float64 + Mentions int64 + SentimentScore *float64 + Ticker string + type NewsMarketSentimentResponse struct + ActiveTickers int64 + BearishPct int64 + BullishPct int64 + BuzzScore *float64 + Drivers []NewsMarketSentimentDriver + Mentions int64 + NegativeCount int64 + NeutralCount int64 + PositiveCount int64 + SentimentScore *float64 + SourceCount int64 + Trend *string + TrendHistory []float64 + UniqueArticles int64 + type NewsRawMentionItem struct + ArticleID *string + Author *string + CreatedUTC *string + SentimentLabel *string + SentimentScore *float64 + Source string + Summary *string + TextSnippet string + Title *string + URL *string + type NewsRawMentionsResponse struct + Count int64 + PeriodDays int64 + Results []NewsRawMentionItem + Ticker string + type NewsSearchResponse struct + Count int64 + PeriodDays int64 + Query string + Results []NewsSearchResultItem + type NewsSearchResultItem struct + Aliases []string + Country *string + Exchange *string + Name string + Sector *string + Summary NewsSearchSummary + Ticker string + Type *string + type NewsSearchSummary struct + BuzzScore *float64 + Mentions int64 + SentimentScore *float64 + Trend *string + type NewsService struct + func (s *NewsService) Compare(ctx context.Context, tickers []string, o *PeriodOptions) (*NewsCompareResponse, error) + func (s *NewsService) Explain(ctx context.Context, ticker string) (*StockExplanationResponse, error) + func (s *NewsService) Health(ctx context.Context) (*HealthResponse, error) + func (s *NewsService) MarketSentiment(ctx context.Context, o *PeriodOptions) (*NewsMarketSentimentResponse, error) + func (s *NewsService) Mentions(ctx context.Context, ticker string, o *MentionsOptions) (*NewsRawMentionsResponse, error) + func (s *NewsService) Search(ctx context.Context, query string, o *SearchOptions) (*NewsSearchResponse, error) + func (s *NewsService) Stats(ctx context.Context) (*NewsStatsResponse, error) + func (s *NewsService) Stock(ctx context.Context, ticker string, o *PeriodOptions) (*NewsStockSentiment, error) + func (s *NewsService) Trending(ctx context.Context, o *NewsTrendingOptions) ([]NewsTrendingStock, error) + func (s *NewsService) TrendingCountries(ctx context.Context, o *NewsTrendingGroupOptions) ([]NewsTrendingCountry, error) + func (s *NewsService) TrendingSectors(ctx context.Context, o *NewsTrendingGroupOptions) ([]NewsTrendingSector, error) + type NewsSourceCount struct + BuzzScore *float64 + Count int64 + Mentions int64 + SentimentScore *float64 + Source string + type NewsStatsResponse struct + MentionsToday *int64 + SupportedTickers int64 + TotalMentions int64 + UniqueTickers int64 + UniqueTickersToday *int64 + type NewsStockSentiment struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + CompanyName *string + DailyTrend []DailyTrendItem + Found bool + Mentions *int64 + NegativeCount *int64 + NeutralCount *int64 + PeriodDays *int64 + PositiveCount *int64 + SentimentScore *float64 + SourceCount *int64 + Ticker string + TopMentions []NewsTopMention + TopSources []NewsSourceCount + Trend *string + type NewsTopMention struct + CreatedUTC string + SentimentLabel string + SentimentScore float64 + Source string + TextSnippet string + type NewsTrendingCountry struct + BearishPct int64 + BullishPct int64 + BuzzScore float64 + Country string + Mentions int64 + SentimentScore float64 + SourceCount int64 + TopTickers []string + Trend string + TrendHistory []float64 + UniqueTickers int64 + type NewsTrendingGroupOptions struct + Days *int + From *string + Limit *int + Offset *int + Source *string + To *string + type NewsTrendingOptions struct + Days *int + From *string + Limit *int + Offset *int + Source *string + To *string + Type *string + type NewsTrendingSector struct + BearishPct int64 + BullishPct int64 + BuzzScore float64 + Mentions int64 + Sector string + SentimentScore float64 + SourceCount int64 + TopTickers []string + Trend string + TrendHistory []float64 + UniqueTickers int64 + type NewsTrendingStock struct + BearishPct int64 + BullishPct int64 + BuzzScore float64 + CompanyName *string + Mentions int64 + SentimentScore float64 + SourceCount int64 + Ticker string + Trend string + TrendHistory []float64 + type PeriodOptions struct + Days *int + From *string + To *string + type PolymarketCompareResponse struct + PeriodDays int64 + Stocks []PolymarketCompareStockItem + type PolymarketCompareStockItem struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + CompanyName *string + CurrentMarketCount int64 + MarketCount int64 + SentimentScore *float64 + Ticker string + TotalLiquidity float64 + TradeCount int64 + Trend *string + TrendHistory []float64 + UniqueTraders *int64 + type PolymarketDailyTrendItem struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + Date string + SentimentScore *float64 + TradeCount int64 + type PolymarketHealthResponse struct + Error *string + Scheduler *PolymarketSchedulerStatus + Service string + Status string + TickersTracked int64 + TotalMentions int64 + Version string + type PolymarketMarketSentimentDriver struct + BuzzScore *float64 + SentimentScore *float64 + Ticker string + TradeCount int64 + type PolymarketMarketSentimentResponse struct + ActiveTickers int64 + BearishPct int64 + BullishPct int64 + BuzzScore *float64 + CurrentMarketCount int64 + Drivers []PolymarketMarketSentimentDriver + MarketCount int64 + NegativeCount int64 + NeutralCount int64 + PositiveCount int64 + SentimentScore *float64 + TotalLiquidity float64 + TradeCount int64 + Trend *string + TrendHistory []float64 + UniqueTraders *int64 + type PolymarketPulseEvidence struct + AvgSpread *float64 + DirectionalCoverage *float64 + SnapshotAt *string + TradedMarketPct *float64 + ZeroTradeMarketPct *float64 + type PolymarketRawMentionItem struct + Active bool + BuyTrades int64 + ConditionID string + EndDate *string + EventID string + FetchedAt string + Liquidity float64 + MarketSlug *string + MarketStatus string + MarketType string + NoPrice *float64 + Question string + ReferencePrice *float64 + ReferencePriceTimestamp *string + SellTrades int64 + SentimentLabel *string + SentimentScore *float64 + StrikePrice *float64 + TradeCount int64 + UniqueTraders int64 + Volume24h float64 + YesPrice *float64 + type PolymarketRawMentionsResponse struct + Count int64 + PeriodDays int64 + Results []PolymarketRawMentionItem + Ticker string + type PolymarketSchedulerStatus struct + ErrorCount *int64 + LastScrape *string + Note *string + Running bool + ScrapeCount *int64 + SuccessRate *float64 + type PolymarketSearchResponse struct + Count int64 + PeriodDays int64 + Query string + Results []PolymarketSearchResultItem + type PolymarketSearchResultItem struct + Aliases []string + Country *string + Exchange *string + Name string + Sector *string + Summary PolymarketSearchSummary + Ticker string + Type *string + type PolymarketSearchSummary struct + BuzzScore *float64 + SentimentScore *float64 + TradeCount int64 + Trend *string + type PolymarketService struct + func (s *PolymarketService) Compare(ctx context.Context, tickers []string, o *PeriodOptions) (*PolymarketCompareResponse, error) + func (s *PolymarketService) Health(ctx context.Context) (*PolymarketHealthResponse, error) + func (s *PolymarketService) MarketSentiment(ctx context.Context, o *PeriodOptions) (*PolymarketMarketSentimentResponse, error) + func (s *PolymarketService) Mentions(ctx context.Context, ticker string, o *MentionsOptions) (*PolymarketRawMentionsResponse, error) + func (s *PolymarketService) Search(ctx context.Context, query string, o *SearchOptions) (*PolymarketSearchResponse, error) + func (s *PolymarketService) Stats(ctx context.Context) (*PolymarketStatsResponse, error) + func (s *PolymarketService) Stock(ctx context.Context, ticker string, o *PeriodOptions) (*PolymarketStockDetailResponse, error) + func (s *PolymarketService) Trending(ctx context.Context, o *TrendingOptions) ([]PolymarketTrendingStock, error) + func (s *PolymarketService) TrendingCountries(ctx context.Context, o *TrendingGroupOptions) ([]PolymarketTrendingCountry, error) + func (s *PolymarketService) TrendingSectors(ctx context.Context, o *TrendingGroupOptions) ([]PolymarketTrendingSector, error) + type PolymarketStatsResponse struct + OpenMarketsCurrent *int64 + OpenTickersCurrent *int64 + SupportedTickers int64 + TotalMarkets int64 + TotalTrades int64 + TradedMarketsToday *int64 + TradedTickersToday *int64 + TradesToday *int64 + UniqueTickers int64 + type PolymarketStockDetailResponse struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + CompanyName *string + CurrentMarketCount *int64 + DailyTrend []PolymarketDailyTrendItem + Found bool + MarketCount *int64 + NegativeCount *int64 + NeutralCount *int64 + PeriodDays *int64 + PositiveCount *int64 + Pulse *PolymarketTickerPulse + SentimentScore *float64 + Ticker string + TopMentions []PolymarketTopMention + TotalLiquidity *float64 + TradeCount *int64 + Trend *string + UniqueTraders *int64 + type PolymarketTickerPulse struct + Confidence float64 + Evidence PolymarketPulseEvidence + Mood string + ThinData bool + Warnings []string + Why []string + type PolymarketTopMention struct + Active bool + BuzzScore *float64 + ConditionID string + EndDate *string + Liquidity float64 + MarketStatus string + MarketType string + NoPrice *float64 + Question string + SentimentScore float64 + TradeCount *int64 + Volume24h float64 + YesPrice *float64 + type PolymarketTrendingCountry struct + BearishPct int64 + BullishPct int64 + BuzzScore *float64 + Country string + CurrentMarketCount int64 + MarketCount int64 + SentimentScore *float64 + TopTickers []string + TotalLiquidity float64 + TradeCount int64 + Trend string + TrendHistory []float64 + UniqueTickers int64 + UniqueTraders *int64 + type PolymarketTrendingSector struct + BearishPct int64 + BullishPct int64 + BuzzScore *float64 + CurrentMarketCount int64 + MarketCount int64 + Sector string + SentimentScore *float64 + TopTickers []string + TotalLiquidity float64 + TradeCount int64 + Trend string + TrendHistory []float64 + UniqueTickers int64 + UniqueTraders *int64 + type PolymarketTrendingStock struct + BearishPct int64 + BullishPct int64 + BuzzScore *float64 + CompanyName *string + CurrentMarketCount int64 + MarketCount int64 + SentimentScore *float64 + Ticker string + TotalLiquidity float64 + TradeCount int64 + Trend string + TrendHistory []float64 + UniqueTraders *int64 + type RateLimitError struct + Detail RateLimitErrorDetail + type RateLimitErrorDetail struct + AccountType string + Contact *string + Error string + Limit *int64 + Message string + Remaining *int64 + ResetAt *string + Used *int64 + type RedditMarketSentimentDriver struct + BuzzScore *float64 + Mentions int64 + SentimentScore *float64 + Ticker string + type RedditMarketSentimentResponse struct + ActiveTickers int64 + BearishPct int64 + BullishPct int64 + BuzzScore *float64 + Drivers []RedditMarketSentimentDriver + Mentions int64 + NegativeCount int64 + NeutralCount int64 + PositiveCount int64 + SentimentScore *float64 + SubredditCount int64 + TotalUpvotes int64 + Trend *string + TrendHistory []float64 + UniquePosts int64 + type RedditMentionsOptions struct + Days *int + From *string + IncludeInherited *bool + Limit *int + Offset *int + To *string + type RedditRawMentionItem struct + Author *string + CommentID *string + CreatedUTC string + IsInherited bool + PostID *string + SentimentLabel *string + SentimentScore *float64 + Subreddit *string + TextSnippet string + Upvotes int64 + type RedditRawMentionsResponse struct + Count int64 + PeriodDays int64 + Results []RedditRawMentionItem + Ticker string + type RedditService struct + func (s *RedditService) Compare(ctx context.Context, tickers []string, o *PeriodOptions) (*CompareResponse, error) + func (s *RedditService) Explain(ctx context.Context, ticker string) (*StockExplanationResponse, error) + func (s *RedditService) Health(ctx context.Context) (*HealthResponse, error) + func (s *RedditService) MarketSentiment(ctx context.Context, o *PeriodOptions) (*RedditMarketSentimentResponse, error) + func (s *RedditService) Mentions(ctx context.Context, ticker string, o *RedditMentionsOptions) (*RedditRawMentionsResponse, error) + func (s *RedditService) Search(ctx context.Context, query string, o *SearchOptions) (*SearchResponse, error) + func (s *RedditService) Stats(ctx context.Context) (*RedditStatsResponse, error) + func (s *RedditService) Stock(ctx context.Context, ticker string, o *PeriodOptions) (*StockSentiment, error) + func (s *RedditService) Trending(ctx context.Context, o *TrendingOptions) ([]TrendingStock, error) + func (s *RedditService) TrendingCountries(ctx context.Context, o *TrendingGroupOptions) ([]TrendingCountry, error) + func (s *RedditService) TrendingSectors(ctx context.Context, o *TrendingGroupOptions) ([]TrendingSector, error) + type RedditStatsResponse struct + MentionsToday *int64 + SupportedTickers int64 + TotalMentions int64 + UniqueTickers int64 + UniqueTickersToday *int64 + type RootHealthResponse struct + Service *string + Services map[string]map[string]json.RawMessage + Status string + Summary RootHealthSummary + Version string + type RootHealthSummary struct + Healthy int64 + Total int64 + Unhealthy int64 + UnhealthyServices []string + type SchedulerStatus struct + ErrorCount *int64 + LastScrape *string + Note *string + Running bool + ScrapeCount *int64 + SuccessRate *float64 + type SearchOptions struct + Limit *int + type SearchResponse struct + Count int64 + PeriodDays int64 + Query string + Results []SearchResultItem + type SearchResultItem struct + Aliases []string + Country *string + Exchange *string + Name string + Sector *string + Summary StockSearchSummary + Ticker string + Type *string + type SentimentAnalyzeOptions struct + Target *string + type SentimentAnalyzeRequest struct + Target *string + Text string + type SentimentAnalyzeResponse struct + Components SentimentComponents + SentimentLabel string + SentimentScore float64 + Text string + type SentimentComponents struct + ContextualFinanceMatches []string + EmojiScore float64 + EngineVersion string + ModelScore *float64 + PhraseAdjustment float64 + PhraseMatches []SentimentPhraseMatch + RobertaScore *float64 + VaderCompound *float64 + type SentimentPhraseMatch struct + Phrase string + Score float64 + type SentimentService struct + func (s *SentimentService) Analyze(ctx context.Context, text string, o *SentimentAnalyzeOptions) (*SentimentAnalyzeResponse, error) + type StockExplanationResponse struct + Cached bool + CompanyName *string + Explanation string + GeneratedAt string + Model *string + Ticker string + type StockSearchSummary struct + BuzzScore *float64 + Mentions int64 + SentimentScore *float64 + Trend *string + type StockSentiment struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + CompanyName *string + DailyTrend []DailyTrendItem + Found bool + Mentions *int64 + NegativeCount *int64 + NeutralCount *int64 + PeriodDays *int64 + PositiveCount *int64 + SentimentScore *float64 + SubredditCount *int64 + Ticker string + TopMentions []TopMention + TopSubreddits []SubredditCount + TotalUpvotes *int64 + Trend *string + UniquePosts *int64 + type SubredditCount struct + BuzzScore *float64 + Count int64 + Mentions int64 + SentimentScore *float64 + Subreddit string + type TopMention struct + CreatedUTC string + SentimentLabel string + SentimentScore float64 + Subreddit string + TextSnippet string + Upvotes int64 + type TrendingCountry struct + BearishPct int64 + BullishPct int64 + BuzzScore float64 + Country string + Mentions int64 + SentimentScore float64 + SubredditCount int64 + TopTickers []string + TotalUpvotes int64 + Trend string + TrendHistory []float64 + UniqueTickers int64 + type TrendingGroupOptions struct + Days *int + From *string + Limit *int + Offset *int + To *string + type TrendingOptions struct + Days *int + From *string + Limit *int + Offset *int + To *string + Type *string + type TrendingSector struct + BearishPct int64 + BullishPct int64 + BuzzScore float64 + Mentions int64 + Sector string + SentimentScore float64 + SubredditCount int64 + TopTickers []string + TotalUpvotes int64 + Trend string + TrendHistory []float64 + UniqueTickers int64 + type TrendingStock struct + BearishPct int64 + BullishPct int64 + BuzzScore float64 + CompanyName *string + Mentions int64 + SentimentScore float64 + SubredditCount int64 + Ticker string + TotalUpvotes int64 + Trend string + TrendHistory []float64 + UniquePosts int64 + type UnsupportedAssetError struct + Detail UnsupportedAssetErrorDetail + type UnsupportedAssetErrorDetail struct + ErrorCode string + Message string + type ValidationError struct + Loc []json.RawMessage + Msg string + Type string + type XCompareResponse struct + PeriodDays int64 + Stocks []XCompareStockItem + type XCompareStockItem struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + CompanyName *string + Mentions int64 + SentimentScore *float64 + Ticker string + TotalUpvotes int64 + Trend *string + TrendHistory []float64 + UniqueTweets int64 + type XDailyTrendItem struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + Date string + Mentions int64 + SentimentScore *float64 + type XHealthResponse struct + Error *string + Scheduler *XSchedulerStatus + Service string + Status string + TickersTracked int64 + TotalMentions int64 + Version string + type XMarketSentimentDriver struct + BuzzScore *float64 + Mentions int64 + SentimentScore *float64 + Ticker string + type XMarketSentimentResponse struct + ActiveTickers int64 + BearishPct int64 + BullishPct int64 + BuzzScore *float64 + Drivers []XMarketSentimentDriver + Mentions int64 + NegativeCount int64 + NeutralCount int64 + PositiveCount int64 + SentimentScore *float64 + TotalUpvotes int64 + Trend *string + TrendHistory []float64 + UniqueAuthors int64 + UniqueTweets int64 + type XRawMentionItem struct + Author *string + CreatedUTC *string + IsReply bool + Likes int64 + ParentTweetID *string + Retweets int64 + SentimentLabel *string + SentimentScore *float64 + TextSnippet string + TweetID string + Views *int64 + type XRawMentionsResponse struct + Count int64 + PeriodDays int64 + Results []XRawMentionItem + Ticker string + type XSchedulerStatus struct + ErrorCount *int64 + LastScrape *string + Note *string + Running bool + ScrapeCount *int64 + SuccessRate *float64 + type XSearchResponse struct + Count int64 + PeriodDays int64 + Query string + Results []XSearchResultItem + type XSearchResultItem struct + Aliases []string + Country *string + Exchange *string + Name string + Sector *string + Summary XSearchSummary + Ticker string + Type *string + type XSearchSummary struct + BuzzScore *float64 + Mentions int64 + SentimentScore *float64 + Trend *string + type XService struct + func (s *XService) Compare(ctx context.Context, tickers []string, o *PeriodOptions) (*XCompareResponse, error) + func (s *XService) Explain(ctx context.Context, ticker string) (*StockExplanationResponse, error) + func (s *XService) Health(ctx context.Context) (*XHealthResponse, error) + func (s *XService) MarketSentiment(ctx context.Context, o *PeriodOptions) (*XMarketSentimentResponse, error) + func (s *XService) Mentions(ctx context.Context, ticker string, o *MentionsOptions) (*XRawMentionsResponse, error) + func (s *XService) Search(ctx context.Context, query string, o *SearchOptions) (*XSearchResponse, error) + func (s *XService) Stats(ctx context.Context) (*XStatsResponse, error) + func (s *XService) Stock(ctx context.Context, ticker string, o *PeriodOptions) (*XStockDetailResponse, error) + func (s *XService) Trending(ctx context.Context, o *TrendingOptions) ([]XTrendingStock, error) + func (s *XService) TrendingCountries(ctx context.Context, o *TrendingGroupOptions) ([]XTrendingCountry, error) + func (s *XService) TrendingSectors(ctx context.Context, o *TrendingGroupOptions) ([]XTrendingSector, error) + type XStatsResponse struct + MentionsToday *int64 + SupportedTickers *int64 + TotalMentions *int64 + UniqueTickers *int64 + UniqueTickersToday *int64 + type XStockDetailResponse struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + CompanyName *string + DailyTrend []XDailyTrendItem + Found *bool + Mentions *int64 + NegativeCount *int64 + NeutralCount *int64 + PeriodDays *int64 + PositiveCount *int64 + SentimentScore *float64 + Ticker string + TopAuthors []XTopAuthor + TopTweets []XTopTweet + TotalUpvotes *int64 + Trend *string + UniqueTweets *int64 + type XTopAuthor struct + Author string + BuzzScore *float64 + Count int64 + Mentions int64 + SentimentScore *float64 + type XTopTweet struct + Author *string + CreatedAt *string + Likes int64 + Retweets int64 + SentimentLabel *string + SentimentScore *float64 + TextSnippet string + Views *int64 + type XTrendingCountry struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + Country string + Mentions int64 + SentimentScore *float64 + TopTickers []string + TotalUpvotes *int64 + Trend string + TrendHistory []float64 + UniqueAuthors int64 + UniqueTickers int64 + type XTrendingSector struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + Mentions int64 + Sector string + SentimentScore *float64 + TopTickers []string + TotalUpvotes *int64 + Trend string + TrendHistory []float64 + UniqueAuthors int64 + UniqueTickers int64 + type XTrendingStock struct + BearishPct *int64 + BullishPct *int64 + BuzzScore *float64 + CompanyName *string + Mentions int64 + SentimentScore *float64 + Ticker string + TotalUpvotes *int64 + Trend string + TrendHistory []float64 + UniqueTweets *int64