ConScrap V1
Simple project to scan stock tickers forums for posts and post to discord.
Loading...
Searching...
No Matches
ConScrap.ConScrap Class Reference

Static Public Member Functions

static List< Types.YahooCommentGetYahooComments (string ticker="ACT.CN")
 
static string MkTexRpt ()
 
static string MkTexRpt (List< Types.YahooComment > yahooComments)
 
static bool isNewComment (Types.YahooComment comment)
 
static async Task ProcessStock (string stock, Types.FetchConfig fetchConfig)
 
static async Task FetchStocks (string[] stocks, bool sendDiscord=true, string dataPath="data")
 
static async Task twitFetchStocks (bool sendDiscord=true, string dataFolder="data/twits")
 
static async Task twitProcessStock (string stock, Types.FetchConfig fetchConfig)
 

Detailed Description

Todo:
get list of stocks

Member Function Documentation

◆ FetchStocks()

static async Task ConScrap.ConScrap.FetchStocks ( string[]  stocks,
bool  sendDiscord = true,
string  dataPath = "data" 
)
inlinestatic
Todo:
rate limit selenium instances to 10 see bser logic
Todo:
Todo:
skip failure tickers

◆ ProcessStock()

static async Task ConScrap.ConScrap.ProcessStock ( string  stock,
Types.FetchConfig  fetchConfig 
)
inlinestatic
Todo:
batch comments in 10 to send off

◆ twitFetchStocks()

static async Task ConScrap.ConScrap.twitFetchStocks ( bool  sendDiscord = true,
string  dataFolder = "data/twits" 
)
inlinestatic
Todo:
rate limit selenium instances to 10 see bser logic
Todo:
Todo:
skip failure tickers

The documentation for this class was generated from the following file: