FUD Spike Alert
Notifies when a coin's FUD score crosses into high-fear territory above a configurable threshold.
// The Problem
What this recipe solves
FUD spikes often precede sharp moves but are easy to miss unless you're constantly watching the news feed. This script polls Guavy's briefs and fires a Slack notification when FUD exceeds your threshold.
// The Script
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.
# fud_alert.py (run every 15 min via cron)
import os, requests
API = "https://guavy.com/api/v1"
H = {"Authorization": f"Bearer {os.environ['GUAVY_KEY']}"}
THRESHOLD = 0.7 # configurable
briefs = requests.get(
f"{API}/newsroom/get-recent-briefs",
headers=H,
params={"limit": 20}
).json()["briefs"]
for b in briefs:
if b.get("fud_fomo_bias") == "FUD" and b.get("fud_fomo_score", 0) >= THRESHOLD:
print(f"FUD spike: {b['impacted_coins']} - {b['title']}")
# notify_slack(...)
// Guavy Tools in Play
1 tool, one script
This script calls 1 endpoint from the Guavy REST API. Every data point maps back to the endpoint it came from.
// Keep Exploring
Related recipes
Same API key, different job-to-be-done.
// Get started
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.