Skip to main content

infer

Load tweets from twitter API and analyzes using VADER.

Source Code: [link]

openbb.stocks.ba.infer(symbol: str, limit: int = 100, start_date: Optional[str] = "", end_date: Optional[str] = "")

Parameters

NameTypeDescriptionDefaultOptional
symbolstrTicker symbol to search twitter forNoneFalse
limitintNumber of tweets to analyze100True
start_dateOptional[str]If given, the start time to get tweets fromTrue
end_dateOptional[str]If given, the end time to get tweets fromTrue

Returns

TypeDescription
pd.DataFrameDataframe of tweets and sentiment