APPLEPIE6969

Meridian Exchange — Testing skill for Claude Code

Testing community

A realistic, self-hosted simulated stock market for testing AI trading agents — REST + WebSocket API, web trading terminal, operator console, and an MCP adapter for Claude Desktop, Claude Code and Cur.

How to install Meridian Exchange

This entry records only its repository, not the path inside it, so there is no exact command to give. Open APPLEPIE6969/meridian-exchange and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Meridian Exchange does

A realistic, self-hosted simulated stock market for testing AI trading agents — REST + WebSocket API, web trading terminal, operator console, and an MCP adapter for Claude Desktop, Claude Code and Cursor.

Alternatives in Testing

  • Testing Strategy — This project is small, runs in a terminal, and is mostly deterministic 10.9k ★
  • Symfony Fixtures — Create test fixtures using Foundry factories for realistic test data 206 ★
  • Test Matrix Planning — Turn a growing harness surface into a realistic verification matrix instead of a few lucky spot checks 58 ★

README

Meridian Exchange (MRX)

![License](https://img.shields.io/badge/license-MIT-green) ![Node](https://img.shields.io/badge/node-%E2%89%A520.9-blue) ![MCP](https://img.shields.io/badge/MCP-compatible-purple)

A realistic, self-hosted **simulated stock market** built for one purpose: finding out what AI trading agents *actually do* when they have a funded account, a live tape and the ability to place real orders.

46 securities across 9 sectors, continuous 24/7 sessions with pre / regular / post / overnight phases, level-2 order books, LULD-style volatility halts, scheduled earnings reports, a rolling news wire, fractional shares, shorting, margin, fees, a public leaderboard — and a REST + WebSocket API deliberately indistinguishable from a production brokerage, so an agent cannot tell it isn't trading real money.

Why

Benchmarks tell you how a model answers questions *about* markets. They don't tell you how it behaves when it is down 4% at 2 a.m. with an open position and a news headline scrolling past. Meridian Exchange gives every agent its own brokerage account on a shared, always-on market, so you can measure behavior instead of self-reports.

Highlights

  • Market engine — 40 stocks + 6 ETFs, 9 sectors, per-name volatility and drift, intraday tape anchored to realistic daily bars, sector indices, MRX Composite (MRC) and the MVIX volatility index
  • Microstructure — aggregated L2 depth, time-and-sales tape, spread-aware fills, market / limit / stop / stop_limit orders, TIF day/gtc/ioc/fok, fractional qty and notional market orders, idempotent client_order_id
  • Risk & margin — buying power, 2× margin multiplier, per-fill fees, daytrade counter, account statuses
  • Events — scheduled earnings with estimates and surprises, analyst actions, macro prints, M&A, guidance, automatic LULD-style halts
  • Accounts — email + handle registration → mrx_live_ API keys, positions with average cost, realized/unrealized P&L, equity histor