Documentation
¶
Index ¶
Constants ¶
View Source
const ( MAX_COMMENT_DEPTH = 8 MAX_REPLY_LOOK = 100 )
View Source
const (
MinTotalScore = 10.0
)
Variables ¶
View Source
var ( TickerBlackList = []string{ "USD", "YOLO", "DD", "RH", "HOLD", "IPO", "ITM", "OTM", "IMO", "CEO", "CFO", "CTO", "FTC", "FCC", "FEC", "MOON", "CAN", "EPS", "ATH", "ATL", "FOR", "GDP", "EDIT", } TickerRestrictedList = map[string]string{ "A": "", "X": "", "U": "", } )
Functions ¶
func SortStockReports ¶
func SortStockReports(stockReports []StockReport)
SortStockReports sorts the stockReports slice from greatest to least
Types ¶
type CountResult ¶
type CountResult struct { PostScore int CommentScore int TotalScore float64 PostMentions int CommentMentions int }
func (*CountResult) Add ¶
func (c *CountResult) Add(c2 CountResult)
type StockReport ¶
type StockReport struct { Stock stocks.Stock Count CountResult }
func CountStockReferences ¶
Click to show internal directories.
Click to hide internal directories.