Back to the catalog

io.github.stillmarcus24/stillos-edge-gate

Grade a track record before risking capital: REAL_EDGE/REGIME_LUCK/NEGATIVE_EV. Fail-closed.

Open source Repository Open in the app JSON README (API)

About

Grade a track record before risking capital: REAL_EDGE/REGIME_LUCK/NEGATIVE_EV. Fail-closed.

Details

Kind
MCP servers
Topic
No topic detected
Publisher
stillmarcus24
Origin
official
Category
ferramentas
Transport
http
Version
1.3.2
Last push
2026-06-28T00:54:38Z
Repository state
ativo
Language
JavaScript
License
MIT
Added
2026-08-29 04:01:29
Updated
2026-08-29 04:01:29
Origin id
io.github.stillmarcus24/stillos-edge-gate

README

# stillos-edge-gate

**A callable trust primitive. Grade a track record *before* you commit capital.**

A real edge is not a prediction — it is a repeatable, out-of-sample, fee-adjusted
decision advantage that survives a regime change. This tells you, in one word, whether
a strategy has one:

```
REAL_EDGE | REGIME_LUCK | NEGATIVE_EV | INSUFFICIENT_DATA
```

Fail-closed: anything that isn't a surviving, fee-adjusted, regime-stable edge is rejected.
Every verdict ships with a signed, independently verifiable receipt.

## Install
```bash
npx stillos-edge-gate grade trades.json
```
or add as an MCP server (Claude Desktop / any MCP client):
```json
{ "mcpServers": { "stillos-edge-gate": { "command": "npx", "args": ["stillos-edge-gate", "mcp"] } } }
```

## Input
```json
[ { "t": "2026-06-01T12:00:00Z", "price": 0.62, "side": "no", "outcome": 1 }, ... ]
```
`price` = entry price 0..1 · `side` = yes|no · `outcome` = 1 won / 0 lost.

## How it decides
- chronological **70/30 out-of-sample holdout** (most-recent 30% is the test)
- **fee + slippage** adjusted per trade
- **significance test** (t ≥ 1.5) on fee-adjusted EV
- `REAL_EDGE` only if +EV in **both** splits after fees, significant.

## Why trust it
We ran it on our own live trading book first. It returned **NEGATIVE_EV** — and we
published the signed receipt. We don't sell edges; we tell you whether yours is real.

## Library
```js
const { gradeStrategy } = require('stillos-edge-gate');
const v = gradeStrategy(trades); // { verdict, train, test, t_stat, reasons }
```

MIT. https://nolawealthfinancial.com/notary

More