StockSentiment class
StockSentiment class initialized with String ticker ticker is a space seperated string with different stock tickers
Constructors
- StockSentiment(String tickers)
Properties
Methods
-
getArticleContent(
String url) → Future< String> - getArticleContent gets the actual articles content unless status code is not 200
-
getDailySentiment(
Map< String, List< map) → Map<Headline> >String, Map< ?DateTime, SentimentResult> > - getDailySentiment method returns a sentiment result for each day worth of headlines
-
getHeadlines(
int days) → Future< Map< String, List< ?>Headline> > - getHeadlines method gets all of the headlines for the given tickers returns null if any of the tickers are invalid
-
getSingleSentiment(
String text) → Map< String, dynamic> - getSingleSentiment takes a String of text to have sentiment analysis ran on returns score and other mapped data about the sentiment
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited