Log smart money vs retail crypto divergences to Notion

By General Input

Every 8 hours, an agent scans BTC, ETH, and SOL for moments when top traders and the retail crowd disagree, then logs each clean contrarian setup as a new row in your Notion research database.

Integrations

  • CoinGlass
  • Notion

Type

Agentic Task

Categories

  • Finance
  • Personal Productivity

Build me an agent workflow that maintains a research log of smart money vs retail divergences on crypto perpetuals. Trigger is cron every 8 hours, aligned roughly with the standard perp funding intervals (00:00, 08:00, 16:00 UTC).

For each of BTC, ETH, and SOL on Binance, call CoinGlass "Get Global Long/Short Account Ratio History" (this is the retail-crowd LSR) and "Get Top Trader Long/Short Position Ratio History" (this is the smart-money LSR) for the last few snapshots at a reasonable interval like 4h. For each coin, compute the divergence as (top trader LSR minus global LSR) on each snapshot.

A signal fires for a coin when the most recent snapshot shows the absolute divergence is at least 0.25, AND the divergence has the same sign across at least two consecutive snapshots, so we are not logging noise from a single print. Direction is "smart-money-long-vs-retail-short" when top traders are net long while retail is net short, or the reverse.

When a signal fires, pull current price, funding rate, and open interest for the coin from CoinGlass "Get Futures Coins Markets" for context. Then write a one-sentence agent-authored read on what the setup implies (e.g. "Smart money is positioned long against a heavily short retail book on BTC, a classic short squeeze setup if price holds").

Before writing, dedupe against the existing log: for the coin, use Notion "Query a Data Source" on the user-configured database, sorted by timestamp descending, page size 1, to fetch the most recent row for that coin. If that row already has the same direction and the divergence has not changed materially (say, within 0.05), skip writing for this cycle. Otherwise, append a new row via Notion "Create a Page" with these properties: timestamp (now, ISO 8601), coin (BTC / ETH / SOL), direction (smart-money-long-vs-retail-short or smart-money-short-vs-retail-long), top trader LSR (number), global retail LSR (number), divergence gap (number, signed), price (number, USD), funding rate (number, percent), open interest (number, USD), and a short notes field with the one-sentence read.

If no coin clears the threshold this cycle, the agent should stay quiet and write nothing. Do not post to Slack, do not send email, do not create empty rows.

At setup time, ask the user for: the Notion database ID for the "Smart Money Signals" log (must already exist with the columns above and be shared with the Notion connection), the coin list (default BTC, ETH, SOL), the divergence threshold (default 0.25), the consecutive-snapshot requirement (default 2), and the exchange (default Binance).

Integrations: CoinGlass (long/short ratio history and futures coins markets) and Notion (query data source, create page).

Related prompts

Explore more prompts
Screen chartered vessels for AIS gaps and sanctions red flagsCompare candidate store locations with drive time trade areasBrowse every competitor ad and build a Notion swipe fileAudience persona studio for brand and product marketersArtwork desk for the Notion posts still missing an imageShare of voice dashboard for your brand and competitorsInfluencer campaign roster board with AI creator briefsSmart home entity health cockpit for Home AssistantOpen model approval desk for your production AI stackBid board that watches every procurement portal for you