AI Tools & Scripts
Listing Exit Backtest: Walk-Forward and Holdout
A method plus a runnable simulator for exit rules (time stop, take-profit, stop, trailing, volume-based) on listing and delisting events, with walk-forward selection, a sealed holdout, controls and a too-good-to-be-true checklist.
What you get: 1 file · 9.22 KB · ZIP
See purchase optionsProduct description
Choose exits for listing and delisting trades without fooling yourself.
What is inside:
- SKILL.md: the protocol, in order. Freeze the question and objective first, split events in time, search exits only in-sample, report a walk-forward estimate, and open the sealed holdout once. It covers tape data traps (whole-second timestamps, entries before the pump, fake take-profit fills), realistic entry premium, mirroring prices for delisting shorts, and a checklist for backtests that look too good.
- scripts/exit_sim.py: a standard-library simulator that grid-searches time stop, take-profit, stop-loss and trailing exits on trade tapes. It prints the in-sample best (optimistic), the walk-forward estimate (honest), a hold-only control and a random-exit control, and keeps the last 30 percent of events sealed until you pass --open-holdout. A --demo flag runs on synthetic data to show the output format.
It deliberately ships no best parameters. The right ones depend on your venues, latency and data, and the point is to find them honestly.
It is for traders and quants who already have a listing or delisting signal and want an exit that survives out-of-sample. It needs Python 3 and millisecond tape data from the 10 seconds before to a few minutes after each event.
This skill is also part of the Crypto Listing & Announcement Research Kit pack at a lower per-skill price.
Example request
I have tapes for 60 past listings on two exchanges. Pick a take-profit and time stop for them and tell me honestly if the result is overfit.
Example result
Example output on a fictional setup with synthetic numbers (illustrative, not a benchmark).
Objective frozen before running: mean return times win rate, entry slip 2 percent, fees included.
Split by time: 42 events in sample, 18 sealed holdout.
exit_sim.py results: - in-sample best: time stop 90 s, TP 12 percent, trail off; mean +4.1 percent (optimistic by design) - walk-forward estimate (6 folds): mean +1.3 percent - hold-only control: mean -0.8 percent - random-exit control: mean -0.4 percent, so the walk-forward result beats noise, but modestly
Too-good-to-be-true checklist: tapes had whole-second timestamps on one venue, so entries there were moved to the next tick; 7 of 42 events had a take-profit fill printed at a price the tape never traded, now excluded.
Holdout opened once with --open-holdout: mean +0.6 percent over 18 events.
Verdict: a small positive edge, not the in-sample number. Small samples per venue; report venues separately and do not re-tune after seeing the holdout.
Requirements
- Python 3 (standard library only)
- Millisecond trade tapes around each event you backtest
- Your own event list with the time your system received each signal
How to install
Unzip into your Claude Code skills folder (~/.claude/skills/ or .claude/skills/ in a project) and start a new session; the skill loads by its description.
What you get
1 file · 9.22 KB
- listing-exit-backtest.zipZIP · 9.22 KB
AI Tools & Scripts
Listing Exit Backtest: Walk-Forward and Holdout
A method plus a runnable simulator for exit rules (time stop, take-profit, stop, trailing, volume-based) on listing and delisting events, with walk-forward selection, a sealed holdout, controls and a too-good-to-be-true checklist.
Tags
Frequently asked questions
Do I get access instantly?
Yes. This is a digital product - you can download it right after checkout, straight from your library.
Can I use it for commercial projects?
Yes. Commercial use is allowed: use it in your own business and in things you sell. You may not resell or redistribute the file itself.
What's your refund policy?
You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.
What file formats and sizes will I get?
You'll download 1 file - ZIP - 9.22 KB in total.
Do I get free updates?
Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.
Price
$6.00



