feat: Add VOO to portfolio and improve configuration comments
This commit is contained in:
1 parent
5687532c01
commit
f77b5f33b9
1 file changed
+8
-1
@@ -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]);
|
||||
|
||||
// -------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user