metric abstract method
The metric method is used to get the metric for a given stock symbol.
The id
argument is used to specify the stock id.
// Get metric for Apple
final client = BavestRestClient(api_key);
final metric = client.metric(SecurityIdentifier(symbol: "AAPL"));
Implementation
Future<Metric> metric(SecurityIdentifier id);