Skip to main content
Glama
edgeradar

edgeradar

by ROy19012e
README.md
# EdgeRadar — Primary-Source Crypto & SEC Forensic Terminal

[![Live Terminal](https://img.shields.io/badge/live-terminal-58a6ff)](https://roy19012e.github.io/edgeradar/terminal.html)
[![Official MCP Registry](https://img.shields.io/badge/MCP%20Registry-io.github.ROy19012e%2Fedgeradar-8957e5)](https://registry.modelcontextprotocol.io/v0/servers?search=edgeradar)
[![Landing & Pro](https://img.shields.io/badge/portal-EdgeRadar-3fb950)](https://roy19012e.github.io/edgeradar/)
[![Zero Dependencies](https://img.shields.io/badge/dependencies-zero%20(Python%20stdlib)-brightgreen)](#quickstart)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue)](LICENSE)

> **Live Portal**: [https://roy19012e.github.io/edgeradar/](https://roy19012e.github.io/edgeradar/) · **Live 5-Source Terminal**: [https://roy19012e.github.io/edgeradar/terminal.html](https://roy19012e.github.io/edgeradar/terminal.html) · **Official MCP Registry**: [`io.github.ROy19012e/edgeradar` (v3.2.0)](https://registry.modelcontextprotocol.io/v0/servers?search=edgeradar) · **One-Click MCPB Bundle**: [v3.2.0 Release](https://github.com/ROy19012e/edgeradar/releases/tag/v3.2.0) · **Audit Scorecard**: [docs/audit_scorecard.md](docs/audit_scorecard.md)
>
> *Strictly objective primary-source market telemetry & SEC raw XML parsing. Zero trade calls, zero investment advice.*

## Why We Built This (Real 3–6 Year Empirical Proof)

Before publishing a single alert, we pre-registered and stress-tested **12 quantitative & corporate-event hypotheses (H1–H12)** across **240,000+ raw exchange observations (2020–2026 Bull + Chop + Bear)** and **274 real SEC EDGAR corporate filings vs SPY**:

1. **Instantaneous Funding-Arb APRs Are a Fee Trap**: Backtesting 15 major Hyperliquid/Binance perpetual pairs over 180d showed naive cross-venue funding arbitrage **loses money out-of-sample across every parameter** (OOS Sharpe `-2.25` to `-35.98`, `+0.79%` funding obliterated by `-3.78%` fees). What survives 3 full years (`2023–2026`, including BTC `-40.2%` crash) net of 20 bps Taker fees is low-churn, basis-aware Spot-vs-Perp Cash-and-Carry (`H6`: 1Y Bear OOS Sharpe **3.52**, DSR **0.966**, MaxDD **-0.09%**). See [docs/reports/](docs/reports/).
2. **SEC Form 4 Feeds Are 70–80% Noise**: Routine RSU vestings (`Code M`) and automatic tax withholdings (`Code F`) drown real insider cash conviction. EdgeRadar fetches and parses the **raw SEC EDGAR XML** directly to strip `M`/`F` noise, classify **`[10b5-1 PLAN]` vs `[DISCRETIONARY]`** from `<footnote>` tags, decode **8-K Item Codes**, and flag **S-3 / S-3ASR / 424B5** shelf filings.
3. **Mega-Cap S-3 Dilution Shorts Are a Myth**: Our 3-year 274-event study vs SPY showed mega-cap `S-3/424B5` +5d CAR was `-0.19%` (`p=0.87`, noise), while **`8-K Item 1.01 Material Agreements`** delivered **`+2.81%` +5d CAR (`p=0.036`, N=90)** and **`+15.96%` +60d CAR (`p=0.016`, N=85)**.

## What EdgeRadar v3 Scans (100% Free, Zero-Auth Public Endpoints)
- **Hyperliquid L2 Book vs Binance Futures Depth**: Simulates real `$10K` clip execution across live L2 orderbooks to expose fake illiquid APR traps (`THIN BOOK TRAP`) vs genuine `INSTITUTIONAL EXEC` funding spreads.
- **All-Market SEC EDGAR Raw XML Firehose (~10,000 US Issuers)**: Parses live Form 4 XML across the entire US market to strip Code `M`/`F` RSU/tax noise, tag `[10b5-1 PLAN]` vs `[DISCRETIONARY]` cash buys (`$M`), and decode 8-K `1.01/4.02/5.02` & `S-3` dilution shelves.
- **Deribit Options & DefiLlama Real Fees**: BTC/ETH ATM IV term slope, 25d put-call skew regimes, and multi-sigma on-chain protocol fee surges (`>$150k/24h`).

## Quickstart (Zero `pip install`, Python 3.9+)

### 1. CLI Mode
```bash
git clone https://github.com/ROy19012e/edgeradar.git
cd edgeradar
python3 edgeradar_cli.py --mode all
python3 edgeradar_cli.py --mode arb --min-spread 15
python3 edgeradar_cli.py --mode sec --tickers MSTR,COIN,NVDA,AMD,PLTR
python3 edgeradar_cli.py --mode all --json
```

### 2. MCP Server Mode (Claude Desktop / Cursor / Claude Code / Codex)
Zero-dependency Model Context Protocol server (`edgeradar_mcp.py`, JSON-RPC 2.0 over stdio) exposing 4 live institutional tools (`edgeradar_l2_funding_arb`, `edgeradar_sec_form4_xml`, `edgeradar_deribit_options`, `edgeradar_defillama_fees`):

```json
{
  "mcpServers": {
    "edgeradar": {
      "command": "python3",
      "args": ["/path/to/edgeradar/edgeradar_mcp.py"]
    }
  }
}
```

## Pro ($49/mo), Founding Desk ($990/yr + 3Y/6Y Archives) & Custom Quant Sprint ($2,500)
Instant 0-KYC on-chain settlement (**USDC on Base or Arbitrum**, verifiable on Basescan/Arbiscan) or Corporate Card Invoice:

- ⚡ **[Instant USDC / Card Checkout](https://roy19012e.github.io/edgeradar/checkout.html)**
- 📊 **[Inspect Free 100-Row Founding Desk Archive Sample CSV](https://roy19012e.github.io/edgeradar/sample_archive_preview.csv)**
- 🎫 **[Open Direct Onboarding / Custom Sprint Ticket](https://github.com/ROy19012e/edgeradar/issues/new?template=pro-access.md&title=%5BPro%2FDesk+Access%5D+API+%26+Alerts+Request)**

## Disclaimer
EdgeRadar is strictly an objective primary-source data aggregation and SEC filing parsing tool. Nothing produced by this software constitutes financial, legal, or investment advice.