ScavioScavio
ProductoPreciosDocumentación
Iniciar sesionComenzar
  1. Inicio
  2. Flujos de trabajo
  3. Reddit Stock Sentiment Tracker Workflow
Flujo de trabajo

Reddit Stock Sentiment Tracker Workflow

Rastrear stock ticker menciones on Reddit, puntuacion sentiment con un LLM, plot tendencias sobre time. Diario automatizado pipeline.

Comenzar gratisDocumentacion API

Resumen

Search Reddit for stock ticker menciones diario, puntuacion cada thread's sentiment con un LLM, agregar by ticker, y rastrear sentiment tendencias sobre un rolling 30-dia window.

Desencadenador

Diario cron (e.g. 18:00 UTC, despues de mercado close)

Programación

Diario despues de mercado close

Pasos del flujo de trabajo

1

Define ticker watchlist

List of tickers to rastrear: AAPL, TSLA, NVDA, etc.

2

Search Scavio Reddit endpoint per ticker

POST /api/v1/search con plataforma=reddit, consulta='$TICKER'. Top-20 threads.

3

Puntuacion sentiment per thread

Enviar thread titulo + top comentario to LLM: 'Rate sentiment -1 to +1 for este stock discussion. Return JSON {puntuacion, reasoning}.'

4

Agregar diario puntuacion per ticker

Average sentiment puntuaciones a traves de todos threads for ese ticker.

5

Agregar to rolling 30-dia registro

Almacenar in SQLite o CSV: date, ticker, avg_sentiment, thread_count.

6

Optional: alerta on sentiment spikes

Si today's puntuacion deviates > 0.5 de 7-dia promedio, enviar Slack alerta.

Implementacion en Python

Python
import requests, os, json

key = os.environ["SCAVIO_API_KEY"]
tickers = ["AAPL", "TSLA", "NVDA"]

for ticker in tickers:
    resp = requests.post("https://api.scavio.dev/api/v1/search",
        headers={"x-api-key": key},
        json={"query": f"${ticker}", "platform": "reddit", "limit": 20})
    threads = resp.json().get("results", [])
    scores = []
    for t in threads:
        result = call_llm(f"Rate sentiment -1 to +1: {t['title']}. JSON: score, reasoning.")
        scores.append(json.loads(result)["score"])
    avg = sum(scores) / len(scores) if scores else 0
    print(f"{ticker}: avg sentiment {avg:.2f} across {len(threads)} threads")

Implementacion en JavaScript

JavaScript
const tickers = ["AAPL", "TSLA", "NVDA"];
for (const ticker of tickers) {
  const resp = await fetch("https://api.scavio.dev/api/v1/search", {
    method: "POST",
    headers: { "x-api-key": process.env.SCAVIO_API_KEY, "Content-Type": "application/json" },
    body: JSON.stringify({ query: `$${ticker}`, platform: "reddit", limit: 20 })
  });
  const threads = (await resp.json()).results;
  const scores = [];
  for (const t of threads) {
    const r = await callLLM(`Rate sentiment -1 to +1: ${t.title}. JSON: {score, reasoning}.`);
    scores.push(JSON.parse(r).score);
  }
  const avg = scores.reduce((a, b) => a + b, 0) / (scores.length || 1);
  console.log(`${ticker}: avg sentiment ${avg.toFixed(2)} across ${threads.length} threads`);
}

Plataformas utilizadas

Reddit

Comunidad, publicaciones y comentarios en hilos de cualquier subreddit

Preguntas frecuentes

Search Reddit for stock ticker menciones diario, puntuacion cada thread's sentiment con un LLM, agregar by ticker, y rastrear sentiment tendencias sobre un rolling 30-dia window.

Este flujo de trabajo usa un diario cron (e.g. 18:00 utc, despues de mercado close). Diario despues de mercado close.

Este flujo de trabajo usa las siguientes plataformas de Scavio: reddit. Cada plataforma se llama a traves del mismo endpoint de API unificado.

Si. El plan gratuito de Scavio incluye 50 creditos al registrarte sin tarjeta de credito. Es suficiente para probar y validar este flujo de trabajo antes de escalarlo.

Reddit Stock Sentiment Tracker Workflow

Rastrear stock ticker menciones on Reddit, puntuacion sentiment con un LLM, plot tendencias sobre time. Diario automatizado pipeline.

Obtener tu clave APILeer la documentacion
ScavioScavio

API de busqueda en tiempo real para agentes de IA. Busca en todas las plataformas, no solo en Google.

Producto

  • Funciones
  • Precios
  • Panel
  • Afiliados

Desarrolladores

  • Documentacion
  • Referencia de API
  • Inicio rapido
  • Integracion MCP
  • Python SDK

Alternativas

  • Alternativa a Tavily
  • Alternativa a SerpAPI
  • Alternativa a Firecrawl
  • Alternativa a Exa

Herramientas

  • Formateador JSON
  • cURL a codigo
  • Contador de tokens
  • Todas las herramientas

© 2026 Scavio. Todos los derechos reservados.

Featured on TAAFT
Terminos de servicioPolitica de privacidad