Skip to content

Commit

Permalink
Remove "Account Total" symbol from Fidelity
Browse files Browse the repository at this point in the history
  • Loading branch information
marcpage committed Nov 8, 2023
1 parent ec788cb commit 19fa8ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions brokerage_equities_sum.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name Categorize Stocks
// @namespace https://ResolveToExcel.com/
// @version 1.1.8
// @version 1.1.9
// @description Group and summarize stocks by category in your brokerage account
// @author Marc Page
// @match https://oltx.fidelity.com/ftgw/fbc/*
Expand All @@ -22,6 +22,7 @@
1.1.6 Improved Fidelity input placement (11/5/2023)
1.1.7 Replaced TD Ameritrade with Schwab (11/5/2023)
1.1.8 Constantly entering and leaving the input area now longer adds more blank lines (11/7/2023)
1.1.9 Remove "Account Total" as a symbol from Fidelity (11/7/2023)
*/

/* Scrapes the symbols and the value of current value of equities in the positions tab on Fidelity's site.
Expand Down Expand Up @@ -51,7 +52,7 @@ function load_symbol_table_fidelity() {
value = value_text ? parseFloat(value_text.innerText.replace("$","").replace(",","")) : undefined;
}

if (symbol && value) {
if (symbol && value && !symbol.match(/Account Total/)) {
table[symbol] = value;
}
}
Expand Down

0 comments on commit 19fa8ed

Please sign in to comment.