From f77b5f33b9dfeac60b89bde552d1b0aca03c05c6 Mon Sep 17 00:00:00 2001 From: C <0xicl33n@gmail.com> Date: Thu, 2 Jul 2026 18:56:25 -0700 Subject: [PATCH] feat: Add VOO to portfolio and improve configuration comments --- m5paper-stockticker.ino | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/m5paper-stockticker.ino b/m5paper-stockticker.ino index c291490..970835d 100644 --- a/m5paper-stockticker.ino +++ b/m5paper-stockticker.ino @@ -25,12 +25,19 @@ struct Stock { const char* symbol; float shares; float costBasis; bool useAV; }; Stock myPortfolio[] = { { "AMD", 2.0000f, 53.02f, false }, - { "SWPPX", 41.2180f, 743.39f, true }, // mutual fund -> Alpha Vantage + { "SWPPX", 41.2180f, 743.39f, true }, { "TSLA", 1.0000f, 370.50f, false }, { "SPYI", 6.0000f, 313.15f, false }, { "JEPQ", 3.0000f, 178.52f, false }, { "SCHD", 3.0000f, 95.97f, false }, + {"VOO", 1.0000f, 684.60f, true }, }; +// To add an entry: { "SYMBOL", shares, costBasis, useAV } +// useAV = false -> Finnhub (stocks & ETFs) +// useAV = true -> Alpha Vantage (mutual funds e.g. SWPPX) +// costBasis -> total amount paid (Value $ - Total Gain $ from your broker CSV) +// The display auto-scales font size to fit all entries on one page. + const int NUM_STOCKS = sizeof(myPortfolio) / sizeof(myPortfolio[0]); // -------------------------------------------------------