- Home
- Skills
- Trading & Investing
- Listing Exit Backtest: Walk-Forward and Holdout
Listing Exit Backtest: Walk-Forward and Holdout
Choose exits for listing and delisting trades without fooling yourself.
$6
What it does
- Grid-searches time stop, take-profit, stop-loss and trailing exits on trade tapes
- Reports a walk-forward estimate and opens a sealed holdout only once
- Compares against hold-only and random-exit controls to catch overfitting
Listing Exit Backtest: Walk-Forward and Holdout
Example session with this skill installed
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.
- Read your context and instructions
- Compiled the listing exit backtest
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.
Connects securely to your tools. The creator never sees your data.
About this skill
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--demoflag 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.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
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.
Permissions
What's inside
Frequently Asked Questions
New in Trading & Investing
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Trading & Investing.