Given the vast number of posts every hour and large % of shit posts (ass fucking, dick sucking comments), I feel reading every post and then parsing out the tickers (matching against a pre-gathered ticker table?) can be rather heavy.
How does the logic work in the parsing?
#put all stock tickers into a tuple called tickerList = ("AAPL", "MSFT", "TXN", ...)
#mentionedTickers is a list [0, 0, 0, 0, ...] corresponding to the tickerList
#assuming all ticker mentions are properly capitalized <--too big an assumption?
#read each post individually, post = posts.readLine()
#parse out all capitalized 2-letter, 3-letter, 4-letter words into a list var called potentialTickers
#loop through potentialTickers one by one to check if potentialTickers[j] in tickerList
#find out which ticker matches, then increment the corresponding mentionedTickers by 1
How would he know that when he just copied and pasted a screenshot.
