retrospective
Fungsinya
Skill ini memutar mundur sebuah saham ke momen di masa lalu dan menunjukkan bagaimana tampilannya saat itu, beserta berita yang menggerakkannya. Skill ini untuk orang yang ingin menguji keputusan masa lalu atau ide what-if secara jujur.
Kapan dipakai
- βSaat Anda ingin tahu bagaimana sebuah saham terlihat sebelum peristiwa masa lalu seperti laporan laba.
- βKetika Anda bertanya apakah membeli di tanggal sebelumnya akan berhasil.
- βSaat Anda ingin berita disejajarkan dengan jalur harga saham selama periode tertentu.
Link skill
https://github.com/TraderAlice/OpenAlice/blob/master/default/skills/retrospective/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βPutar mundur Nvidia ke minggu sebelum laporan laba terakhirnya dan beri tahu saya bagaimana tampilannya saat itu.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent memeriksa kesegaran setiap harga terlebih dulu, lalu membangun ulang situasi hanya dengan informasi yang sudah ada pada saat itu. Setelah itu agent membandingkan berita dengan pergerakan harga.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.
Pertanyaan umum
Apakah agent memakai harga dari setelah tanggal itu?
Tidak. Skill ini menyatakan tidak boleh memakai harga yang belum diketahui pada saat itu.
Mengapa memeriksa kesegaran dulu?
Data gratis bisa tertinggal satu atau dua hari, sehingga penutupan yang tampak terkini bisa jadi sudah lama.
Bisakah skill ini menguji entri hipotetis?
Bisa. Skill ini bisa memeriksa apakah masuk lebih awal akan berhasil.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 7.4k
- Peringkat
- #13267
- Lisensi
- AGPL-3.0
- Diperbarui
- 23/10/2026
Komentar
- β¦
Skill lain dari repositori ini
alice-analysis
7.4kMembantu agent Anda menghitung indikator saham, seperti rata-rata bergerak, dengan menjalankan rumus singkat dan aman pada riwayat harga.
alice-uta
7.4kMembantu agent Anda memeriksa akun broker, kepemilikan, harga, dan riwayat pesanan Anda, serta mengelola perdagangan dengan kehati-hatian ekstra.
alice
7.4kMembantu agent Anda mencari saham, mengambil data riset, dan bekerja dengan Kotak Masuk serta Isu tim Anda lewat alat alice.
build-thesis
7.4kMembantu agent Anda membangun kasus investasi yang seimbang untuk satu saham, menguji angka bisnis dan tren pasar, dengan cara yang jelas bagaimana ia bisa salah.
Skill serupa
gitcrawl
394kMemungkinkan agent Anda mencari arsip issue dan pull request GitHub yang tersimpan, mengelompokkan yang duplikat, dan memeriksa status terkininya di GitHub.
slacrawl
394kMemungkinkan agent Anda mencari dan menghitung pesan di arsip Slack lokal, memeriksa seberapa baru arsip itu, dan menyegarkannya bila diperlukan.
goplaces
394kMembantu agent Anda mencari tempat, mendapatkan detail dan ulasannya, serta menentukan nama tempat memakai Google Places, dengan keluaran JSON untuk skrip.