Brokerage Connect / usage

A reference for your next question.

Use ordinary Sheets formulas. There are no authenticated custom cell functions.

Start in a separate analysis tab

Cash balances in USD

=QUERY(ST_Balances!A1:J, "select B,D,E where D = 'USD'", 1)

Returns account name, currency, and cash. Buying power is a separate column.

USD positions excluding cash equivalents

=FILTER(ST_Positions!A2:X, ST_Positions!G2:G="USD", ST_Positions!N2:N<>TRUE)

Keeps different instrument kinds visible. Do not infer option values with an assumed multiplier.

USD dividends in the imported window

=SUMIFS(ST_Activities!I2:I, ST_Activities!E2:E, "DIVIDEND", ST_Activities!G2:G, "USD")

Uses activity amount, type, and currency. This is a cash-flow sum, not an investment return.

Examples use English function names and comma argument separators. Adjust separators for your spreadsheet locale. If you choose different destination names, update references. Empty FILTER results may produce #N/A; use IFNA if you prefer an empty message.

Pivots and charts

Select ST_Activities, insert a pivot in a new sheet, use type for rows, currency for columns, and SUM of amount for values. Filter to one currency before charting totals. For enabled history, chart ST_BalanceHistory date against estimated_total_value, filtered to one account and currency. Missing dates remain missing; estimates are not investment returns.

Values and precision

Null values stay blank; numeric zero stays zero. IDs are text. Every numeric measure has an adjacent _exact source column. Values beyond the conservative 15-significant-digit numeric limit remain only in the exact column, leaving the numeric cell blank. Formula totals exclude those blank numeric cells, so inspect exact columns before treating a sum as complete.

Dates and timestamps are written as Sheets serial values with explicit UTC formatting. Provider freshness is separate from import time and remains blank when unknown. Activity transaction-sync coverage is not substituted for a data-fetch timestamp.

Column dictionary · version 1

Account identity appears on every table. Enable raw JSON to preserve nested and unfamiliar source fields. Cells over 45,000 characters stop the import; no silent truncation occurs.

ST_Accounts · 15 columns
ColumnTypeSource
account_idtext$account.id
account_nametext$account.name
institutiontext$account.institution_name
account_numbertextnumber
statustextstatus
account_typetextraw_type
currencytextbalance.total.currency
total_valuenumberbalance.total.amount
total_value_exacttextbalance.total.amount
is_paperbooleanis_paper
holdings_unavailablebooleansync_status.holdings.holdings_unavailable
holdings_synced_attimestampsync_status.holdings.last_successful_sync
transactions_throughdatesync_status.transactions.last_successful_sync
source_as_oftimestamp$sourceAsOf
imported_attimestamp$importedAt
ST_Positions · 24 columns
ColumnTypeSource
account_idtext$account.id
account_nametext$account.name
institutiontext$account.institution_name
instrument_kindtextinstrument.kind
symboltextinstrument.symbol
descriptiontextinstrument.description
currencytextcurrency
unitsnumberunits
units_exacttextunits
pricenumberprice
price_exacttextprice
cost_basisnumbercost_basis
cost_basis_exacttextcost_basis
cash_equivalentbooleancash_equivalent
option_typetextinstrument.option_type
strike_pricenumberinstrument.strike_price
strike_price_exacttextinstrument.strike_price
expiration_datedateinstrument.expiration_date
multipliernumberinstrument.multiplier
multiplier_exacttextinstrument.multiplier
underlying_symboltextinstrument.underlying.symbol
exchangetextinstrument.exchange
source_as_oftimestamp$sourceAsOf
imported_attimestamp$importedAt
ST_Activities · 21 columns
ColumnTypeSource
account_idtext$account.id
account_nametext$account.name
institutiontext$account.institution_name
activity_idtextid
typetexttype
symboltextsymbol.symbol|option_symbol.ticker
currencytextcurrency.code
currency_instrumenttextcurrency_universal_symbol.symbol
amountnumberamount
amount_exacttextamount
unitsnumberunits
units_exacttextunits
pricenumberprice
price_exacttextprice
feenumberfee
fee_exacttextfee
trade_datetimestamptrade_date
settlement_datedatesettlement_date
descriptiontextdescription
source_as_oftimestamp$sourceAsOf
imported_attimestamp$importedAt
ST_Balances · 10 columns
ColumnTypeSource
account_idtext$account.id
account_nametext$account.name
institutiontext$account.institution_name
currencytextcurrency.code
cashnumbercash
cash_exacttextcash
buying_powernumberbuying_power
buying_power_exacttextbuying_power
source_as_oftimestamp$sourceAsOf
imported_attimestamp$importedAt
ST_Orders · 27 columns
ColumnTypeSource
account_idtext$account.id
account_nametext$account.name
institutiontext$account.institution_name
order_idtextbrokerage_order_id
statustextstatus
symboltextuniversal_symbol.symbol|option_symbol.ticker|symbol
currencytextquote_currency.code|universal_symbol.currency.code
currency_instrumenttextquote_universal_symbol.symbol
actiontextaction
order_typetextorder_type
total_quantitynumbertotal_quantity
total_quantity_exacttexttotal_quantity
filled_quantitynumberfilled_quantity
filled_quantity_exacttextfilled_quantity
open_quantitynumberopen_quantity
open_quantity_exacttextopen_quantity
execution_pricenumberexecution_price
execution_price_exacttextexecution_price
limit_pricenumberlimit_price
limit_price_exacttextlimit_price
stop_pricenumberstop_price
stop_price_exacttextstop_price
time_in_forcetexttime_in_force
placed_attimestamptime_placed
updated_attimestamptime_updated
source_as_oftimestamp$sourceAsOf
imported_attimestamp$importedAt
ST_BalanceHistory · 9 columns
ColumnTypeSource
account_idtext$account.id
account_nametext$account.name
institutiontext$account.institution_name
datedatedate
currencytext$metadata.currency
estimated_total_valuenumbertotal_value
estimated_total_value_exacttexttotal_value
source_as_oftimestamp$sourceAsOf
imported_attimestamp$importedAt