Turn market data into backtestable strategy.
MERIDIAN is a CoinMarketCap-powered market intelligence desk for BNB Hackathon Track 2 (Strategy Skills). Eight deterministic CMC skills feed Bull/Bear Court and Constitution — producing auditable verdicts, historical replay, and optional BSC testnet execution.
| Module | Purpose |
|---|---|
Strategy (/gate) |
CMC Strategy Skill desk — live evaluation, rules, 90-day replay |
NEXUS (/nexus) |
Trading terminal — wallet, swaps, agent console |
PRISM (/prism) |
Macro intelligence — under development |
- Production: https://trader-arc.vercel.app
- Strategy desk: https://trader-arc.vercel.app/gate
- Analytics: https://trader-arc.vercel.app/analytics
| Layer | Location |
|---|---|
| Product UI | /gate |
| Live evaluation | GET /api/gate/evaluate?symbol=BNB |
| Skills API | GET /api/gate/skills?symbol=CAKE |
| 90-day backtest | GET /api/gate/backtest?symbol=BNB&days=90 |
| Intelligence API | GET /api/meridian/intelligence?symbol=CAKE |
| CMC Skill | bnb-hack/skills/nexus-momentum-gate/SKILL.md |
| Strategy spec | bnb-hack/skills/nexus-momentum-gate/STRATEGY_SPEC.md |
| Submission guide | bnb-hack/SUBMIT.md |
| Judge one-pager | bnb-hack/JUDGE-ONE-PAGER.md |
Judge demo path: Open /gate → Overview + Rules → 90-day Replay → reproduce via curl.
curl "https://trader-arc.vercel.app/api/gate/evaluate?symbol=BNB"
curl "https://trader-arc.vercel.app/api/gate/skills?symbol=CAKE"
npm run bnb:backtest -- --symbol BNB --days 90CMC APIs → 8 Skills (evidence) → Bull/Bear Court → Constitution → Memory → Verdict
Golden rules: never hallucinate, prefer WAIT over fake certainty, skills provide evidence only — never BUY/SELL.
Full architecture: docs/MERIDIAN-TRACK2.md
npm install
cp .env.example .env.local
# Add CMC_API_KEY (required for live Gate data)
npm run devCopy .env.example to .env.local. Required for Strategy desk:
| Variable | Purpose |
|---|---|
CMC_API_KEY |
CoinMarketCap quotes, fear/greed, global metrics |
CMC_MCP_API_KEY |
CMC MCP tools (optional, same key often works) |
Optional — NEXUS / PRISM / execution:
| Variable | Purpose |
|---|---|
OPENAI_API_KEY |
NEXUS decision engine |
ANTHROPIC_API_KEY |
PRISM forecasting |
NEWS_API_KEY |
NewsAPI headlines |
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID |
Wallet connect |
Without API keys, Gate shows honest DATA UNAVAILABLE states. NEXUS runs in heuristic demo mode using DexScreener + GDELT.
npm run dev # Local dev server
npm run build # Production build
npm run health # Health check (production)
npm run health:local # Health check (localhost)
npm run bnb:backtest # 90-day constitution backtest
npm run bnb:smoke # Engine smoke test (no API key)
npm run bnb:evaluate # CLI evaluation- Push to github.com/ibrahim0-cursor/cursor-arc-circle
- Import at vercel.com/new
- Add environment variables from
.env.example—CMC_API_KEYis required - Deploy — Next.js auto-detected, root
/
- Run SQL in
supabase/schema.sql - Set
NEXT_PUBLIC_SUPABASE_URL,NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY,SUPABASE_SECRET_KEY - Verify:
npm run health—demoPortfolio.tableOkshould betrue
- Public GitHub repo with
SKILL.md+STRATEGY_SPEC.md - Live
/gateloads; Rules + Replay work - Demo video follows judge path (Strategy-first, not NEXUS-first)
- Vision text says backtestable spec, not "AI trading agent"
- Category = No for AI Agent
- Logo uploaded (480×480) —
public/meridian-logo-480.png
github.com/ibrahim0-cursor/cursor-arc-circle
Built for BNB Hackathon · Strategy Skills (CoinMarketCap) · 2026