---
title: "Daily Crypto Briefing — NEAR price, portfolio P&L and Reddit news every morning"
description: "You are my daily crypto briefing agent. Every morning at 9 AM UTC send me a Telegram digest.\n\nDo the following steps:\n\n1. Fetch NEAR price from CoinCap:\nhttps://api.coincap.io/v2/assets/near-protocol\nExtract: current price, 24h change %, 24h volume\n\n2. Fetch prices for my other positions:\nhttps://api.coincap.io/v2/assets/hyperliquid\nhttps://api.coincap.io/v2/assets/zcash\n\n3. Read my portfolio from memory at defi/portfolio.md using memory_read.\nIf file does not exist, create it with:\n# My Portfolio\n- NEAR: 1000 tokens, entry price $2.00\n- HYPE: 50 tokens, entry price $50.00\n- ZEC: 1 token, entry price $400.00\n\n4. Fetch latest NEAR news from Reddit RSS:\nhttps://www.reddit.com/r/nearprotocol/new.rss\nExtract top 3 post titles.\n\n5. Calculate P&L for each position:\n- Current Value = holdings * current price\n- P&L % = (current price - entry price) / entry price * 100\n\n6. Send Telegram message in this format:\n\n\"🌅 Daily Crypto Briefing — [Date]\n\n═══════════════════════════════════\n\n📊 NEAR/USDT PRICE\nNEAR: $[price] ([24h change]%)\n24h Volume: $[volume]\n\n═══════════════════════════════════\n\n📰 TOP 3 NEAR NEWS (Reddit)\n1. [title]\n2. [title]\n3. [title]\n\n═══════════════════════════════════\n\n💼 YOUR POSITIONS\nToken | Entry | Current | Value | P&L\nNEAR  | $2.00 | $[x]   | $[x]  | [x]%\nHYPE  | $50   | $[x]   | $[x]  | [x]%\nZEC   | $400  | $[x]   | $[x]  | [x]%\n\n📈 Total Invested: $[x]\n📈 Current Value: $[x]\n📈 Total P&L: $[x] ([x]%)\n\n═══════════════════════════════════\n🔔 Next briefing: Tomorrow 9 AM UTC\"\n\nCreate a routine that runs every day at 9:00 AM UTC and executes this entire briefing automatically."
canonical: "https://hub.ironclaw.com/usecases/daily-crypto-briefing-near-price-portfolio-p-l-and-reddit-news-every-morning"
markdown: "https://hub.ironclaw.com/usecases/daily-crypto-briefing-near-price-portfolio-p-l-and-reddit-news-every-morning.md"
type: "use-case"
categories: ["Personal assistant","Web 3 / Crypto","Automation"]
author: "Evgeny"
---

# Daily Crypto Briefing — NEAR price, portfolio P&L and Reddit news every morning

## Example Prompt

> You are my daily crypto briefing agent. Every morning at 9 AM UTC send me a Telegram digest.
> 
> Do the following steps:
> 
> 1. Fetch NEAR price from CoinCap:
> https://api.coincap.io/v2/assets/near-protocol
> Extract: current price, 24h change %, 24h volume
> 
> 2. Fetch prices for my other positions:
> https://api.coincap.io/v2/assets/hyperliquid
> https://api.coincap.io/v2/assets/zcash
> 
> 3. Read my portfolio from memory at defi/portfolio.md using memory_read.
> If file does not exist, create it with:
> # My Portfolio
> - NEAR: 1000 tokens, entry price $2.00
> - HYPE: 50 tokens, entry price $50.00
> - ZEC: 1 token, entry price $400.00
> 
> 4. Fetch latest NEAR news from Reddit RSS:
> https://www.reddit.com/r/nearprotocol/new.rss
> Extract top 3 post titles.
> 
> 5. Calculate P&L for each position:
> - Current Value = holdings * current price
> - P&L % = (current price - entry price) / entry price * 100
> 
> 6. Send Telegram message in this format:
> 
> "🌅 Daily Crypto Briefing — [Date]
> 
> ═══════════════════════════════════
> 
> 📊 NEAR/USDT PRICE
> NEAR: $[price] ([24h change]%)
> 24h Volume: $[volume]
> 
> ═══════════════════════════════════
> 
> 📰 TOP 3 NEAR NEWS (Reddit)
> 1. [title]
> 2. [title]
> 3. [title]
> 
> ═══════════════════════════════════
> 
> 💼 YOUR POSITIONS
> Token | Entry | Current | Value | P&L
> NEAR  | $2.00 | $[x]   | $[x]  | [x]%
> HYPE  | $50   | $[x]   | $[x]  | [x]%
> ZEC   | $400  | $[x]   | $[x]  | [x]%
> 
> 📈 Total Invested: $[x]
> 📈 Current Value: $[x]
> 📈 Total P&L: $[x] ([x]%)
> 
> ═══════════════════════════════════
> 🔔 Next briefing: Tomorrow 9 AM UTC"
> 
> Create a routine that runs every day at 9:00 AM UTC and executes this entire briefing automatically.

## What the Agent Does

Every morning at 9 AM the agent fetches live prices for NEAR, HYPE, and ZEC from CoinCap (free, no API key), reads your portfolio positions from memory, and pulls the latest 3 posts from r/nearprotocol via RSS. It calculates real-time P&L for each position based on your entry prices, then sends a clean Telegram digest with price data, news headlines, and full portfolio performance. Your positions and entry prices are stored in persistent memory so you only set them up once.

![Image](https://github.com/user-attachments/assets/8b6546d8-56d9-4962-a696-5ff818c59661)

## Skills and Tools

- http
- memory_read
- memory_write
- message
- routine/cron

## Categories

- Personal assistant
- Web 3 / Crypto
- Automation

## Links

- [HTML page](https://hub.ironclaw.com/usecases/daily-crypto-briefing-near-price-portfolio-p-l-and-reddit-news-every-morning)

