This commit is contained in:
jmaslek
2022-10-31 21:10:47 +00:00
parent adf7381b82
commit 4a48898cfd
3 changed files with 1361 additions and 1360 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -11,7 +11,7 @@
<meta name="description" content="usage: holdings [-l LIMIT] [-h] [--export {csv,json,xlsx}] See what is inside an ETF holdings.
optional arguments: -l LIMIT, --limit LIMIT Number of holdings to get (default: 10) -h, --help show this help message (default: False) --export {csv,json,xlsx} Export raw data into csv, json, xlsx (default: ) Example:
2022 Feb 15, 04:15 (✨) /etf/ $ holdings ETF Holdings ┌───────┬──────────┬─────────────┐ │ │ % Of Etf │ Shares │ ├───────┼──────────┼─────────────┤ │ AAPL │ 6.">
2022 Oct 27, 08:21 (🦋) /etf/ $ holdings ETF Holdings ┏━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━┓ ┃ ┃ Name ┃ % Of Etf ┃ Shares ┃ ┡━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━┩ │ AAPL │ Apple Inc.">
@@ -47502,31 +47502,32 @@ code, img {
--export {csv,json,xlsx}
Export raw data into csv, json, xlsx (default: )
</code></pre><p>Example:</p>
<pre><code>2022 Feb 15, 04:15 (✨) /etf/ $ holdings
ETF Holdings
┌───────┬──────────┬─────────────┐
│ │ % Of Etf │ Shares │
├───────┼──────────┼─────────────┤
│ AAPL │ 6.83% │ 329,111,779 │
├───────┼──────────┼─────────────┤
│ MSFT │ 6.23% │ 158,536,434 │
├───────┼──────────┼─────────────┤
│ AMZN │ 3.59% │ 9,209,552 │
├───────┼──────────┼─────────────┤
│ GOOGL │ 2.15% │ 6,351,744 │
├───────┼──────────┼─────────────┤
│ TSLA │ 2.12% │ 17,176,682 │
├───────┼──────────┼─────────────┤
│ GOOG │ 2.00% │ 5,904,299 │
├───────┼──────────┼─────────────┤
│ FB │ 1.96% │ 49,965,809 │
├───────┼──────────┼─────────────┤
│ NVDA │ 1.81% │ 52,789,400 │
├───────┼──────────┼─────────────┤
│ BRK.B │ 1.35% │ 38,670,223 │
├───────┼──────────┼─────────────┤
│ UNH │ 1.17% │ 19,887,839 │
└───────┴──────────┴─────────────┘
<pre><code>2022 Oct 27, 08:21 (🦋) /etf/ $ holdings
ETF Holdings
┏━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━┓
┃ ┃ Name ┃ % Of Etf ┃ Shares ┃
┡━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━┩
│ AAPL │ Apple Inc. │ 7.06% │ 169672324 │
├───────┼─────────────────────────────────┼──────────┼───────────┤
│ MSFT │ Microsoft Corporation │ 5.74% │ 83765412 │
├───────┼─────────────────────────────────┼──────────┼───────────┤
│ AMZN │ Amazon.com, Inc. │ 3.28% │ 99548898 │
├───────┼─────────────────────────────────┼──────────┼───────────┤
│ GOOGL │ Alphabet, Inc. │ 1.92% │ 67345732 │
├───────┼─────────────────────────────────┼──────────┼───────────┤
│ TSLA │ Tesla, Inc. │ 1.82% │ 29915424 │
├───────┼─────────────────────────────────┼──────────┼───────────┤
│ GOOG │ Alphabet, Inc. │ 1.73% │ 60222505 │
├───────┼─────────────────────────────────┼──────────┼───────────┤
│ BRK.B │ Berkshire Hathaway Inc. │ 1.60% │ 20277701 │
├───────┼─────────────────────────────────┼──────────┼───────────┤
│ UNH │ UnitedHealth Group Incorporated │ 1.55% │ 10505922 │
├───────┼─────────────────────────────────┼──────────┼───────────┤
│ JNJ │ Johnson &amp; Johnson │ 1.38% │ 29530061 │
├───────┼─────────────────────────────────┼──────────┼───────────┤
│ XOM │ Exxon Mobil Corporation │ 1.35% │ 46810082 │
└───────┴─────────────────────────────────┴──────────┴───────────┘
</code></pre>
</article>