🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

stillos-edge-gate

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stillos-edge-gate

Quantitative diligence infrastructure for capital allocation. Submits a trading strategy's realized track record to statistical classification — genuine edge, regime-dependent variance, or negative expected value — prior to capital commitment. Engineered

latest
npmnpm
Version
1.3.3
Version published
Weekly downloads
213
-33.44%
Maintainers
1
Weekly downloads
 
Created
Source

stillos-edge-gate

npm downloads npm version

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.

Try it now — no file needed

npx stillos-edge-gate demo

Runs on bundled sample data and prints a real verdict + a real signed, verifiable receipt in one shot — nothing to set up first.

Install

npx stillos-edge-gate grade trades.json
# add --agent <name> to tag the receipt as you, not an anonymous caller
npx stillos-edge-gate grade trades.json --agent your-handle

or add as an MCP server (Claude Desktop / any MCP client):

{ "mcpServers": { "stillos-edge-gate": { "command": "npx", "args": ["stillos-edge-gate", "mcp"] } } }

Input

[ { "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.

Sample output

This is a real, live receipt from the free-tier /grade-strategy endpoint — not a mockup. Verify it yourself, no account needed:

{
  "verdict": "NEGATIVE_EV",
  "n": 120,
  "overall": { "wr": 0.55, "ev_net": -0.0718, "total_net": -8.62 },
  "train":   { "wr": 0.524, "ev_net": -0.098,  "total_net": -8.23 },
  "test":    { "wr": 0.611, "ev_net": -0.0107, "total_net": -0.38 },
  "t_stat": -1.57,
  "reasons": ["fee-adjusted EV negative overall (-0.0718/trade) and out-of-sample (-0.0107/trade) — loses money live"],
  "receipt_hash": "16ef2180d18359e1449062d0b6fb8cf780a2e6dfd2cb5ae201fce64cb4e7f59a",
  "verify": "https://nolawealthfinancial.com/notary/verify?hash=16ef2180d18359e1449062d0b6fb8cf780a2e6dfd2cb5ae201fce64cb4e7f59a"
}

verify resolves independently of us — hash_intact and signature_valid are recomputed on every request, not read from a cache.

Library

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

MIT. https://nolawealthfinancial.com/notary

Keywords

edge

FAQs

Package last updated on 31 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts