Skip to main content

Trades Sheet

The Trades sheet is the master table of all your investment trades in the Portfolio Tracker Add-on. It aggregates and displays detailed data for every buy/sell transaction across equities, cryptocurrencies, and options, including metrics like profit/loss, ROI, and taxes. This sheet is automatically generated from your Transactions sheet and serves as the core data source for summaries, dashboards, and analysis.

Purpose and How It Works

  • Master Data Source: It contains comprehensive details for each trade, such as volumes, prices, dates, currencies, fees, and calculated values like P&L and ROI.
  • Filtering and Analysis: Use Google Sheets' filter feature on the headers to slice data by asset, type, date, or other criteria for in-depth analysis.
  • Automatic Regeneration: Every time you click "Generate trades" in the Portfolio Tracker menu, the sheet is cleared and repopulated with fresh data. Do not make manual changes, as they will be overwritten.
  • Utility Function: A helper function TT() ("T" for Trades column) allows easy access to column ranges in formulas. Pass a column ID prefixed with c_, e.g., TT(c_ticker), TT(c_open_date), TT(c_pnl). This is useful for advanced Google Sheets users creating custom analyses.
  • Data Flow: Pulled from the Transactions sheet, with calculations based on your accounting method (FIFO/LIFO) and API/live prices.

Key Columns

The sheet includes columns for detailed trade information. Below is a table describing each key column:

ColumnDescription
AssetThe name or identifier of the asset.
TypeThe asset type: "equity", "crypto", or "options".
TickerThe symbol of the asset (e.g., AAPL for Apple stock).
Root symbolFor options, the underlying asset symbol (e.g., AAPL for an AAPL option).
Option typeFor options, the type: "call" or "put".
StrikeFor options, the strike price.
Exp. dateFor options, the expiration date.
StatusThe trade status: "open" or "closed".
Dir.The direction: "long" (buy) or "short" (sell).
VolumeThe number of shares, coins, or contracts traded.
Open dateThe date the trade was opened.
Open priceThe price per unit at opening.
Open currencyThe currency of the open price.
Open feesFees associated with opening the trade.
Open conv. rateExchange rate for the open transaction (if multi-currency).
Open amountTotal amount for the open trade in its currency.
Open amount (b. curr.)Total amount for the open trade converted to your base currency.
Close dateThe date the trade was closed (if applicable).
Close/curr. priceThe closing or current price per unit.
Close currencyThe currency of the close/current price.
Close feesFees associated with closing the trade.
Close conv. rateExchange rate for the close transaction (if multi-currency).
Close/curr. amountTotal amount for the close/current trade in its currency.
Close amount (b. curr.)Total amount for the close/current trade converted to your base currency.
Year closeThe year the trade was closed.
TermThe duration the trade was open (long or short).
P&LProfit or loss for the trade.
ROIReturn on investment percentage.
AccountThe account associated with the trade.
Tax rateThe applicable tax rate.
Tax valueThe calculated tax amount.
Reentry if closedIndicates the price at which you can re-enter the position without realizing a loss, after accounting for taxes due.

Tips and Best Practices

  • Data Integrity: Since the sheet regenerates, rely on the Transactions sheet for inputs. Use filters to explore subsets without editing.
  • Advanced Analysis: Leverage TT() for custom formulas, e.g., summing P&L by asset: SUMIF(TT(c_ticker), "AAPL", TT(c_pnl)).
  • Performance Monitoring: Sort by P&L or ROI to identify top performers. For options, filter by expiration or strike.
  • Currency Handling: Base currency columns ensure consistency; hide them if not needed.
  • Troubleshooting: If data seems incorrect, verify Transactions entries and rerun "Generate trades".
  • Integration: This sheet feeds into Summary and Dashboard sheets for overviews.

This sheet is essential for detailed trade analysis—use it to track performance and inform decisions.