Guide · build · 24 November 2026

Crypto trend data in Google Sheets and Excel: one formula

Paste this into any cell of a Google Sheet and the state of every crypto asset TideTrade reads arrives as a table: its band (tide in, slack water or tide out), direction, close, trend line, distance from the line and last flip, on the last completed daily candle, refreshed after each night's run. No account, no key, no script.

=IMPORTDATA("https://tidetrade.app/snapshot.csv?class=crypto")

The file is the same free snapshot the scanner shows, as CSV: one row per asset, fifteen columns, listed below. It reads the rule's state; it does not forecast anything, and it is not advice.

Google Sheets

The formula above gives the 140 crypto assets on daily candles. Three variants:

  • Weekly candles instead of daily: =IMPORTDATA("https://tidetrade.app/snapshot.csv?class=crypto&tf=W")
  • Everything the site reads, the indices and commodities in alpha included (196 rows; filter by column D): =IMPORTDATA("https://tidetrade.app/snapshot.csv")
  • Only what you want to see, with QUERY. This one lists the Core 30 assets that are tide out, deepest below their line first: symbol, name, tier, band, distance in ATR and in percent, and the flip date.
=QUERY(IMPORTDATA("https://tidetrade.app/snapshot.csv?class=crypto"), "select Col3, Col2, Col5, Col6, Col10, Col11, Col14 where Col6 = 'OUT' and Col5 = 'core' order by Col10 desc", 1)

Your holdings against their lines. Put the import formula in cell A1 of a sheet named tide. On another sheet, list your tickers in column A and look each one up by symbol (column C of the import):

=XLOOKUP(A2, tide!C:C, tide!F:F, "not tracked")     band: IN, SLACK or OUT
=XLOOKUP(A2, tide!C:C, tide!K:K, "")                 distance from the line, %
=XLOOKUP(A2, tide!C:C, tide!N:N, "")                 the last flip

Or ask the file for your holdings only, by id, symbol or name: =IMPORTDATA("https://tidetrade.app/snapshot.csv?symbols=btc,eth,sol") returns those rows and nothing else. A symbol the rule does not track is simply absent, so count the rows that come back; the JSON form of the same request (/api/v1/snapshot?symbols=) also lists the untracked ones by name.

Breadth. How many are above their line today: =COUNTIF(tide!F:F, "IN"), and the same with "OUT" and "SLACK". The daily and weekly history of that count is on the market breadth page.

Excel

Windows, Excel 2016 or later and Microsoft 365: Data, then Get Data, then From Web; paste https://tidetrade.app/snapshot.csv?class=crypto; the file opens in Power Query as a table with its header row; Load. Data, then Refresh All brings the night's run in, and the query's properties can refresh it every hour or on opening. In Microsoft 365 for Windows one formula does the same without Power Query:

=TEXTSPLIT(SUBSTITUTE(WEBSERVICE("https://tidetrade.app/snapshot.csv?class=crypto"), CHAR(13), ""), ",", CHAR(10), TRUE)

Excel for Mac and Excel for the web have neither the web connector nor WEBSERVICE, by Microsoft's own documentation. There, open the file's address in a browser, save it, and use Data, then From Text/CSV; or use Google Sheets, which works everywhere. Any other tool that fetches a CSV by address works the same way.

The columns

ColFieldMeaning
AidThe asset's id on this site, as in /asset/{id}: btc, eth, sol.
BnameIts name.
CsymbolIts ticker: BTC, ETH, SOL.
Dclasscrypto, index or commodity. Indices and commodities are an alpha, not for decisions; ?class=crypto leaves them out.
Etiercore (the 30 liquid names) or extended.
FbandIN (tide in), SLACK (slack water) or OUT (tide out); empty while an asset is still warming up.
GdirUP or DOWN: the rule's direction on the last completed candle.
HcloseThe close of that candle, in the venue's dollar quote.
IlineThe Tideline on that candle: Supertrend(10, 3).
JdistanceAtrHow far the close sits from the line in ATR(10), in the direction's own sense: above the line for UP, below it for DOWN. The slack band is within 0.5.
KdistancePctThe same distance as a percentage of the close.
LcandleStartThe start date of the completed candle the row describes (UTC).
MsourceThe venue the candle came from: kraken, coinbase, yahoo, okx or bybit.
NflippedOnThe start date of the candle on which the direction last changed; empty when none is on record.
OflipPriceThe close of that flip candle.

Sheets and Excel read the dates as dates and the numbers as numbers. The same rows with the same names are in the JSON snapshot, and the field types are in the OpenAPI document.

When it changes, and what it costs

  • Once a day. Daily crypto candles close at 00:00 UTC and the run finishes within minutes of 00:05 UTC; eleven Yahoo-fed assets arrive at 08:30 UTC. Weekly rows refresh after the 14:00 UTC read on the day a weekly candle closes. Nothing is read on a forming candle, so there is nothing to poll for during the day.
  • Google Sheets refreshes an import formula on its own schedule, from minutes to about an hour, and when the formula is entered. By Google's note, reopening the sheet does not force it; deleting the formula and pasting it again does. A sheet built on this file is never more than a day behind.
  • Sixty requests a minute per address, which an import formula never approaches. The file is cached for a minute on our side.
  • Free, with one condition. The terms allow the data in your own sheets, tools and analyses, and in anything you share, with TideTrade named as the source and linked; not for resale, and never presented as advice.

With a Pro key: history as recorded

The free file is today's reading. The keyed endpoints add any asset's readings candle by candle as the ledger recorded them, the change feed of flips, breadth per daily candle and the 22:00 UTC forming read; they answer JSON, so in Google Sheets a short Apps Script function brings them in. Keep the key in the script's properties, not in a cell, and keep such a sheet private.

// Extensions → Apps Script. Put the key in Project Settings → Script properties as TIDETRADE_KEY.
function TIDETRADE_HISTORY(id, from) {
  const key = PropertiesService.getScriptProperties().getProperty('TIDETRADE_KEY');
  const url = 'https://tidetrade.app/api/v1/history/' + encodeURIComponent(id) + (from ? '?from=' + from : '');
  const r = JSON.parse(UrlFetchApp.fetch(url, { headers: { Authorization: 'Bearer ' + key } }).getContentText());
  const rows = r.states.map((s) => [s.candleStart, s.dir, s.band, s.close, s.line, s.distanceAtr, s.distancePct, s.source]);
  return [['candle', 'dir', 'band', 'close', 'line', 'distanceAtr', 'distancePct', 'source']].concat(rows);
}
// In a cell: =TIDETRADE_HISTORY("btc", "2026-01-01")

Rows whose candles come from Yahoo Finance carry their state and distances but not the close or the line in keyed answers (pricesWithheld: true); the API page says why. A key comes with a Pro account.

What a spreadsheet of this cannot do

It cannot show an intraday reading, because the rule is read on completed candles only. It cannot show history without a key. And it cannot tell you what happens next: a band is the mechanical state of one published rule on the last completed candle, and the study says how often that state was wrong in past data. Decision support, not financial advice.

Questions people ask

How do I get crypto trend signals into Google Sheets?
Paste =IMPORTDATA("https://tidetrade.app/snapshot.csv?class=crypto") into a cell. It returns one row per crypto asset with its band (tide in, slack water or tide out), direction, close, trend line, distance from the line and last flip on the last completed daily candle. No account or key is needed, and Sheets refreshes the formula on its own schedule.
Does it work in Excel?
On Windows, yes: Data, Get Data, From Web with the file's address loads it through Power Query, and Microsoft 365 for Windows can also do it in one formula with WEBSERVICE and TEXTSPLIT. Excel for Mac and Excel for the web have neither the web connector nor WEBSERVICE, by Microsoft's documentation; there, download the CSV and open it with From Text/CSV, or use Google Sheets.
How often does the spreadsheet update?
The file changes once a day: daily crypto candles close at 00:00 UTC and the run finishes minutes after 00:05 UTC, with eleven Yahoo-fed assets arriving at 08:30 UTC; weekly rows refresh after the 14:00 UTC read on the day a weekly candle closes. Google Sheets re-fetches an import formula on its own schedule, from minutes to about an hour, and when the formula is entered again; Excel refreshes when you ask it to, or on the schedule you set in the query's properties.
Can I get the full history into a spreadsheet?
With a Pro key. The keyed endpoints return any asset's readings candle by candle as the ledger recorded them, the change feed, breadth per daily candle and the forming read, as JSON; in Google Sheets a short Apps Script function, shown in the guide, brings them into a sheet with the key kept in the script's properties. Rows whose candles come from Yahoo Finance carry their state and distances but not the close or the line.
Is there a limit on how often I can fetch the file?
Sixty requests a minute per address, and the file is cached for a minute on the server. An import formula fetches it at most once an hour or so, and the data changes once a day, so a normal sheet never comes near the limit.
Can I share a sheet built on this data?
Yes, under the terms: in your own sheets, tools and analyses and in anything you share, with TideTrade named as the source and linked; not for resale, and never presented as advice. Every row is the mechanical state of one published rule on a completed candle, not a forecast or a recommendation.

Published · Updated

Decision support, not financial advice. The spreadsheet shows the mechanical state of a published rule on completed candles; it forecasts nothing. Disclaimer.