retrospective
Qué hace
Esta skill retrocede una acción a un momento pasado y muestra cómo estaba en ese momento, junto con las noticias que la movieron. Está pensada para quien quiere poner a prueba con honestidad una decisión pasada o una idea hipotética.
Cuándo usarla
- ✓Cuando quieres saber cómo estaba una acción antes de un suceso pasado, como unos resultados trimestrales.
- ✓Cuando preguntas si comprar en una fecha anterior habría funcionado.
- ✓Cuando quieres alinear noticias con la trayectoria del precio de una acción en un periodo concreto.
Link de la skill
https://github.com/TraderAlice/OpenAlice/blob/master/default/skills/retrospective/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Retrocede Nvidia a la semana anterior a sus últimos resultados y dime cómo estaba entonces.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente comprueba primero lo actualizado que está cada precio y luego reconstruye la situación usando solo la información que existía en ese momento. Después compara las noticias con los movimientos del precio.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Retrospective / Time-Machine analysis
Rewind a name to a moment, see it as it was THEN, attribute the move to catalysts, and test whether a tradeable edge actually existed. The whole value is honesty: no lookahead (never use a price the moment didn't yet know) and no stale data (never report yesterday's close as "now").
alice analysis snapshot provides dated market summaries; the alice-analysis
skill describes quantitative queries. Choose historical news sources with
coverage of the period being studied.
The freshness gate — DO THIS FIRST, every time
Every snapshot/quant result carries a freshness contract:
asOf, isLatestActual, staleTradingDays, and a freshnessWarning when the
data does not reach the anchor. Before you state any "current" number, check
it.
isLatestActual: false→ the close you're holding is STALE. Do not call it the current price. Say "as of <date>, N trading days behind" and, for anything live, pull a realtime broker source.- A free vendor (yfinance) lags a day or two and a free broker tier (alpaca SIP) may not have today yet. An overnight catalyst can land in exactly that blind spot — the classic trap is reporting a flat green close while the real reaction already happened after the bar you can see.
snapshot --query <SYM>auto-picks the freshest source (realtime broker > delayed vendor). Prefer it over hand-fetching from a delayed vendor.
Procedure
Snapshot the anchor (no lookahead). Reconstruct the moment with
asOf— bars never run past it.alice analysis snapshot --query XLE --asOf 2026-04-03 # summary alice analysis snapshot --query XLE --asOf 2026-04-03 --bars 30 # + dated pathRead the
latestprint (close, vs-prevClose, day high/low, amplitude — a sleepy vs-prevClose number hides an intraday plunge-and-recover) andlevels(sma20/50, rsi14, distance from the period high — the "how far off the top" feel). The snapshot is summary-only by default (the dated path can be large); add--bars Nwhen you actually need the per-day series.windowBarstells you how many are available.Align the catalysts to the price. Build a dated event timeline from relevant sources and compare it with the bars. Distinguish evidence of a catalyst from a coincident headline, and note material gaps in coverage.
Test the hypothesis in Workspace research code. If the question needs a hypothetical trade, save the dated inputs and write an inspectable script with the native Coding Agent. Pin the source and evaluation window. State signal timing, executable entry/exit prices, position sizing, fees and slippage explicitly. Do not use a closing-price signal to assume an executable fill at that same close. Exclude pre-entry price extremes from holding-period MFE/MAE. Save the script, inputs and results together so the assumptions can be changed and the calculation reproduced.
Map the index to dates when you need the path in a quant script. Most reads are covered by snapshot; when you must compute over the series and want the date axis, add
--datestoalice analysis quant(it returnsdates[barId]for one interval, ordates["barId@interval"]when the same barId appears at multiple intervals, so you can map each value to its day).
Write it down honestly
A retro is only worth as much as its weakest assumption. State, every time:
- the asOf and that the analysis used no later data,
- the source + freshness of every "current" number,
- what you couldn't see (feeds didn't cover it / cookie-gated / SIP didn't have the latest day) — name the gap rather than paper over it.
The failure mode this skill exists to prevent: a confident call built on a stale or future-leaking price. When in doubt, distrust the data before the market.
Preguntas frecuentes
¿Usará precios posteriores a esa fecha?
No. La skill indica que nunca debe usar un precio que aún no era conocido en ese momento.
¿Por qué comprueba primero lo actualizados que están los datos?
Los datos gratuitos pueden tener un retraso de uno o dos días, así que un cierre que parece actual puede ser antiguo.
¿Puede probar una entrada hipotética?
Sí. Puede comprobar si entrar en un punto anterior habría funcionado.
Detalles
Descripción original del autor
Subjective retrospective / time-machine analysis: rewind a name to a past point, reconstruct what it looked like THEN (no future knowledge), align the news catalysts to the price path, and pressure-test "if I'd entered there, would it have worked?". Use when the question is about a past moment or a hypothetical entry: "rewind XLE to early April", "what did NVDA look like before earnings", "if we'd bought energy after the Iran headline, easy money?", "replay the SMH spike — policy or earnings?", "was there an entry signal at the time", "would an 8% trailing stop have saved me", "event study on
repo: TraderAlice/OpenAlice
Popularidad
- Estrellas en GitHub
- 7,4 mil
- Posición en el ranking
- #13267
- Licencia
- AGPL-3.0
- Actualizada
- 23/10/2026
Comentarios
- …
Más skills de este repositorio
alice-analysis
7,4 milAyuda a tu agente a calcular indicadores bursátiles, como las medias móviles, ejecutando fórmulas cortas y seguras sobre el historial de precios.
alice-uta
7,4 milAyuda a tu agente a revisar las cuentas de tu bróker, las posiciones, los precios y el historial de órdenes, y a gestionar las operaciones con mucho cuidado.
alice
7,4 milAyuda a tu agente a buscar acciones, obtener datos de investigación y trabajar con el Inbox e Issues de tu equipo mediante la herramienta alice.
build-thesis
7,4 milAyuda a tu agente a construir una tesis de inversión equilibrada sobre una acción, probando tanto las cifras como la tendencia del mercado, con formas claras de que estuviera equivocada.
Skills parecidas
gitcrawl
394 milPermite que tu agente busque en un archivo guardado de incidencias y pull requests de GitHub, agrupe duplicados y revise su estado actual en GitHub.
slacrawl
394 milPermite que tu agente busque y cuente mensajes en un archivo local de Slack, revise qué tan reciente es y lo actualice cuando haga falta.
goplaces
394 milAyuda a tu agente a buscar lugares, obtener sus detalles y reseñas, y resolver nombres de lugares usando Google Places, con salida JSON para scripts.