Below is a “hiring-pack” you can hand straight to candidates or adapt for an on-site/Take-Home test.
It keeps your original spirit (rule-based, no ML) but nails down the inevitable ambiguities around data hygiene, fees, slippage, evaluation and deliverables.
1. One-pager you share with candidates
Objective
Design a deterministic, rule-based BTC-USD strategy and back-test it from 2012-01-01 to 2024-XX-XX on 1-minute candles.
Start with an initial notional of 100 000 USD and demonstrate:
• Consistent value extraction in favourable regimes (bull / high vol).
• Controlled losses in choppy or bearish regimes.
Absolute constraints
- NO predictive modelling (no ML, no statistical forecasting).
- May use any deterministic transforms/indicators derived strictly from past data (SMA, ATR, VWAP, micro-structure stats, etc.).
- Sim must include:
• Exchange trading fee: 0.04 % per side (taker)
• Funding fee (if leveraged perpetuals): ±0.01 % every 8 h (apply only when position open).
• Linear slippage model: ±0.5 bp per 1 BTC traded, capped at 4 bp.
• Automation “error” shock: every 10 000 trades randomly skip one order or delay it by ≥1 min (you decide mechanics, but make it reproducible via RNG seed).
- Leverage allowed ≤ 5×. Liquidations must be modelled.
- Re-run back-test on the following, without re-optimising parameters:
a) 2012-2016 (early bull)
b) 2017 (parabolic)
c) 2018-2019 (crypto-winter)
d) 2020-2021 (Covid + bull)
e) 2022 (bear)
f) 2023-present (sideways-ish)
What to deliver
- Re-usable back-test engine (Python, Rust, C++, Julia, etc.).
- Strategy code (modular).
- Config/params file.
- ONE script/notebook called
run_all.py|ipynb that:
• Pulls data (or reads supplied parquet),
• Cleans & resamples if needed,
• Runs the 6 periods,
• Saves results to /results/ and prints summary table.
- PDF/Markdown report (≤ 4 pages) covering:
• Intuition behind rules,
• Risk controls,
• Key metrics (see §2),
• Equity curves & drawdowns,
• Strengths / weaknesses / future work.
- RNG seed so we can reproduce automation-error shocks.
Submission
Git repo or zipped archive; must build/run on Ubuntu 22.04 with make test or conda env create -f environment.yml.
2. Evaluation grid (internal)
| Bucket | Weight | Details |
|---|
| Risk-adjusted performance | 25 % | CAGR, Sharpe, max DD, MAR, P&L heat-map across 6 regimes |
| Robustness / Generalisation | 20 % | Same params across periods, walk-forward deterioration ≤ 30 % |
| Code architecture & clarity | 20 % | Readability, modularity, tests, comments |
| Realism of execution model | 15 % | Correct fee math, funding accrual, slippage, liquidation logic |
| Research reasoning | 10 % | Clear explanation of idea & failure modes |
| Documentation / Reproducibility | 10 % | One-command run, environment lock, seeded randomness |
Pass-Mark: 70 / 100 overall and ≥ 50 % in each bucket.
3. Data & infra notes you should prep
- Data volume: 12+ yrs × 365 × 24 × 60 ≈ 6.3 M rows → 250-300 MB zipped parquet. Host on S3/GDrive.
- Funding-rate history: Deribit / BitMEX CSV or approximate flat 0.01 %/8h to keep test lighter.
- Provide skeleton loader (+ sample) so candidates don’t waste time parsing odd CSVs.
- Publish a small “baseline strategy” (e.g., 5/20 EMA cross with ATR-based stop) that achieves modest Sharpe ~0.5. Lets you quickly smoke-test their engine accuracy.
4. FAQ you can forward to candidates
• Q: “Can I optimise parameters separately per regime?”
A: No. Optimise on one period of your choice, then freeze.
• Q: “Can I use additional data (order book, Google trends, etc.)?”
A: Not for this assignment; stick to OHLCV 1-min only.
• Q: “May I net positions (short ↔ long flip) within same candle?”
A: Yes, but account for two fee events (exit + entry).
• Q: “What’s the max runtime?”
A: Full run on a 4-core laptop should finish < 10 min.
5. Tips for making grading painless
- Create a Dockerfile yourself; when repo arrives, just
docker build and docker run.
- Use a tiny pytest on your side that spot-checks:
• Fee ≈ expected;
• Funding kicks every 480 candles;
• Automation-error actually triggers given seed.
Candidates that blow these checks get an auto-deduction in “Realism”.
6. Optional stretch goal (clearly label “bonus”)
Implement one of:
• Position sizing via Kelly fraction (but parameters fixed pre-2016).
• Multi-timeframe logic (1-min entries, 1-h trend filter).
• Portfolio of two independent rule sets blended by volatility weighting.
Adds +10 bonus points but cannot offset failing buckets.
Why this spec works
• Removes the “black-box ML” temptation—forces ingenuity in rule-crafting & execution realism.
• Splits markets into clearly different regimes, highlighting over-fitting fast.
• Evaluation grid is transparent; lets strong candidates hedge time between research vs. engineering.
• You, the recruiter, end up with cleaner apples-to-apples comparisons and a codebase you can run in <15 min.
Good luck hunting your next quant 🦾