etfHoldings abstract method
The etfHoldings method is used to get the ETF holdings for a given ETF symbol.
The id
argument is used to specify the ETF id e.g. symbol
// Get ETF holdings for SPY
final client = BavestRestClient(api_key);
final etfHoldings = client.etfHoldings('SPY');
Implementation
Future<EtfHoldings> etfHoldings(SecurityIdentifier id);