Quant Research Engine
Every test type runs on the same data, the same cost model and the same reports, so results are comparable by construction.
Flagship systemBuilt
The research and automation platform behind every strategy I build.
It connects market data, strategy development, automated experiments, validation, risk control and broker execution into one repeatable pipeline. A strategy goes in as an idea and comes out either validated and running, or rejected with a reason.
How it works
Most candidates are rejected, and that's the point. Every rejection is a strategy you didn't lose money on.
Deterministic boundary: risk limits are code, not suggestions. Nothing probabilistic can override them.
Modules
Each module is a complete system on its own. Together they form the engine. Open one to see inside.
Every test type runs on the same data, the same cost model and the same reports, so results are comparable by construction.
Turns a written trading rule into strategy code, sets up experiments, writes tests and summarises results. It drafts; the engine decides.
Strategy code talks to one adapter interface. Paper and live brokers plug in behind it, and every order is checked by deterministic risk rules first.
Headlines are cleaned, tagged by entity and topic, scored for sentiment and event type, and stamped with the time they became available.
Validation
Each method answers a different question. None guarantees the future. Together they make it very hard for a weak strategy to look strong.
The orange section is data the strategy was never tuned on. That is the part that matters.
Tune (in-sample)Test on unseen data
SimpleReplay the rules over history.
TechnicalThe baseline. Says nothing about the future on its own.
In the engineFirst gate for every candidate.
SimpleTest thousands of variants with array maths.
TechnicalFast parameter scans. Less realistic about execution.
In the engineScreening with VectorBT.
SimpleSimulate the market one event at a time.
TechnicalModels order handling, fills and timing faithfully.
In the engineRun on candidates that pass screening, with Backtrader.
SimpleCharge every trade what it really costs.
TechnicalBrokerage, exchange fees, statutory charges and taxes, by market.
In the engineOne cost model shared by all test types.
SimpleAssume you don't get the exact price.
TechnicalFixed, spread-based or volatility-scaled slippage.
In the engineEvery report is rerun at 2–3x expected slippage.
SimpleLock some data away until the end.
TechnicalTuning data and evaluation data never mix.
In the engineSplits are fixed in config before the first run.
SimpleTune, test the next slice, repeat.
TechnicalRolling windows give a stitched out-of-sample record.
In the engineStandard report for every candidate.
SimpleNudge every setting and watch.
TechnicalA broad plateau means robust; a spike means overfit.
In the enginePermutation grids with stability heatmaps.
SimpleShuffle the trades many times.
TechnicalA distribution of drawdowns instead of one path.
In the engineRun on every trade list after backtesting.
SimpleTrade live data with fake money.
TechnicalExposes latency, rejections and wrong assumptions.
In the engineFinal gate before any capital.
Risk engine
Strategy logic decides what it would like to do. The risk engine decides what is allowed. They live in separate code, so a strategy bug can never switch off a limit.
Rule, in plain EnglishGo long when the 20 EMA crosses above the 50 EMA and RSI(14) is below 70. Exit when the 20 EMA crosses back below. Act on the next bar.
class EmaRsiTrend(Strategy):
params = {"fast": 20, "slow": 50, "rsi_max": 70}
def signals(self, df):
fast = df.close.ewm(span=self.p.fast).mean()
slow = df.close.ewm(span=self.p.slow).mean()
rsi = indicators.rsi(df.close, 14)
entry = cross_above(fast, slow) & (rsi < self.p.rsi_max)
exit_ = cross_below(fast, slow)
return entry.shift(1), exit_.shift(1) # next bar only
6 tests generated · 6 passed · look-ahead check passed
AI layer
Hermes AI turns a plain-English rule into strategy code, writes its tests and sets up experiments. Every line it produces passes the same tests as hand-written code, and it has no route to place an order.
What you get
Send me your rules, rough or exact. You'll get a specification, validated code and an honest verdict.