Add get_holdings method to MarketWatchClient #193
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add get_holdings method to MarketWatchClient
{ 'ticker': 'ONEQ', 'sector_allocation': { 'Technology': '58.15%', 'Consumer Services': '15.25%', 'Health Care': '6.02%', 'Consumer Goods': '5.45%', 'Industrials': '4.33%', 'Financials': '3.85%', 'Non Classified Equity': '3.07%', 'Basic Materials': '1.24%', 'Telecommunications': '0.81%', 'Oil & Gas': '0.72%' }, 'top_holdings': [ { 'company': 'Microsoft Corp.', 'symbol': 'MSFT', 'net_assets': '11.38%' }, { 'company': 'Apple Inc.', 'symbol': 'AAPL', 'net_assets': '10.35%' }, { 'company': 'NVIDIA Corp.', 'symbol': 'NVDA', 'net_assets': '8.49%' }, { 'company': 'Amazon.com Inc.', 'symbol': 'AMZN', 'net_assets': '7.15%' }, { 'company': 'Alphabet Inc. Cl A', 'symbol': 'GOOGL', 'net_assets': '3.77%' }, { 'company': 'Meta Platforms Inc.', 'symbol': 'META', 'net_assets': '3.72%' }, { 'company': 'Alphabet Inc. Cl C', 'symbol': 'GOOG', 'net_assets': '3.67%' }, { 'company': 'Fidelity Securities Lending Cash Central Fund', 'symbol': '', 'net_assets': '3.20%' }, { 'company': 'Broadcom Inc.', 'symbol': 'AVGO', 'net_assets': '2.37%' }, { 'company': 'Tesla Inc.', 'symbol': 'TSLA', 'net_assets': '2.30%' } ] }