sentiment abstract method

The sentiment method is used to get the sentiment for a given stock symbol.

The id argument is used to specify the stock id.

// Get sentiment for Apple
final client = BavestRestClient(api_key);
final sentiment = client.sentiment(SecurityIdentifier(symbol: "AAPL"));

Implementation

Future<Sentiment> sentiment(SecurityIdentifier id);