|
@ -197,7 +197,10 @@ export class YahooFinanceDataEnhancerService implements DataEnhancerInterface { |
|
|
assetProfile.price.symbol |
|
|
assetProfile.price.symbol |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
if (assetSubClass in [AssetSubClass.ETF, AssetSubClass.MUTUALFUND]) { |
|
|
if ( |
|
|
|
|
|
assetSubClass === AssetSubClass.ETF || |
|
|
|
|
|
assetSubClass === AssetSubClass.MUTUALFUND |
|
|
|
|
|
) { |
|
|
response.sectors = []; |
|
|
response.sectors = []; |
|
|
|
|
|
|
|
|
for (const sectorWeighting of assetProfile.topHoldings |
|
|
for (const sectorWeighting of assetProfile.topHoldings |
|
|