Daily Trade Journal

Auto-generates a dated journal entry capturing today's signals, sentiment shifts, and market tone.

Trade 3 Tools 43 Tokens / Run Python · Node.js

What This Recipe Solves

Keeping a trade journal is one of the highest-value habits in trading and one of the first to slip. This script generates a structured daily entry from live Guavy data so the journal writes itself.

Copy, Run, Ship

Drop this script into your project and run it locally or on a cron. Set GUAVY_KEY in your environment, swap the symbols, and go.

Python
# journal.py  (run at 5pm daily via cron)
import os, requests
from datetime import date

API       = "https://data.guavy.com/api/v1"
H         = {"Authorization": f"Bearer {os.environ['GUAVY_KEY']}"}
WATCHLIST = ["BTC", "ETH", "SOL", "AVAX", "LINK"]
today     = date.today().isoformat()

entry = [f"# Trade Journal — {today}\n"]

# Signals
entry.append("## Signals")
for s in WATCHLIST:
    a = requests.get(f"{API}/trades/get-current-action/{s}/aggressive", headers=H).json()
    entry.append(f"- {s}: {a['action']}")

# Sentiment shifts
entry.append("\n## Sentiment")
for s in WATCHLIST:
    d = requests.get(
        f"{API}/sentiment/get-sentiment-history/{s}",
        headers=H, params={"limit": 2}
    ).json()["sentiment"]
    entry.append(f"- {s}: pos={d[0]['positive']} neg={d[0]['negative']}")

# Market tone
tone = requests.get(f"{API}/newsroom/get-market-summary", headers=H).json()
entry.append(f"\n## Market Tone\n{tone.get('summary', 'N/A')}")

with open(f"journal/{today}.md", "w") as f:
    f.write("\n".join(entry))

print(f"Journal entry written: journal/{today}.md")

3 Tools, One Script

This script calls 3 endpoints from the Guavy REST API. Every data point maps back to the endpoint it came from.

Run This Recipe in Under 2 Minutes

Grab a free API key, set it as an env var, and run the script. Free sandbox forever.

Disclaimer: Guavy is a data and market intelligence provider, not an investment advisor. The information, signals, and market analysis provided by the Guavy mobile application, API, and related services are for informational purposes only and are not intended as financial advice, investment recommendations, or an endorsement of any particular trading strategy. Cryptocurrency trading is highly volatile, carries significant risk, and may not be suitable for all investors. Past performance is not indicative of future results. Users should consult with a qualified financial professional before making any investment decisions. Guavy makes no guarantee of trading profits or financial returns.

Real-Time Market Intelligence for Apps, Funds & Agents

Location

729 55 Ave SW
Calgary AB T2V 0G4
Canada

Get Your Daily Crypto Market Update

Receive the most important news, market sentiment, and prices for leading instruments. Delivered straight to your inbox.

No spam, unsubscribe anytime

© 2025 Guavy Inc