Skip to content

feat(web): RWA market-making simulator dashboard#17

Merged
abhicris merged 1 commit intomainfrom
feat/web-dashboard
Apr 13, 2026
Merged

feat(web): RWA market-making simulator dashboard#17
abhicris merged 1 commit intomainfrom
feat/web-dashboard

Conversation

@abhicris
Copy link
Copy Markdown
Contributor

Adds a zero-build single-page interactive simulator for the meridian agent.

What it shows

  • Switch between constant_spread and adaptive_spread and watch quotes / fills / inventory / PnL respond live.
  • Four asset presets (private credit, T-bill, real estate, long-tail ERC-20) — each sets a sane default vol regime.
  • Sliders for base spread, order size, max inventory skew, inventory penalty, market vol, fill probability, toxic-flow share, tick speed.
  • KPIs: realised PnL, inventory PnL, effective spread, fill rate, adverse-selection rate, sharpe-ish over a 30-tick window.
  • Live quote ladder, recent-fills table.
  • Strategy roadmap section: compliance_gated and geo_priced stubs that point at the dependency on kcolbchain/rwa-toolkit.

Design

  • Single web/index.html, no build, no backend.
  • Same dark palette + layout family as the other kcolbchain dashboards.
  • Auto-runs a Brownian mid simulation so first-time visitors see motion.
  • Hosts at kcolbchain.com/meridian/ once deployed.

Out of scope (Python codebase still owns)

  • Live venue connectivity.
  • Historical backtesting (src/backtest/engine.py).
  • The richer Avellaneda-Stoikov / inventory-skew math — the in-browser adaptive_spread is a teaching simplification.

Test plan

  • Open locally; quotes + ladder render within 1 tick.
  • Adverse-selection KPI rises as toxic-flow slider moves up.
  • Inventory PnL flips sign when inventory crosses zero.
  • No console errors in modern Chrome/Safari.

Adds web/index.html — interactive single-asset book runner that
mirrors the conceptual loop of src/agents/rwa_market_maker.py:
- Strategy switch (constant_spread vs adaptive_spread).
- Asset preset (private credit, T-bill, real estate, long-tail).
- Market regime sliders (volatility, fill probability, toxic flow).
- Live KPIs (inventory, realised + inventory PnL, fill rate,
  adverse selection, sharpe-ish).
- Quote ladder, recent fills, mid+bid+ask plot, PnL plot.
- Strategy registry with two roadmap stubs (compliance_gated,
  geo_priced) pointing at rwa-toolkit dependencies.

No build, no backend. Auto-runs on load so first-time visitors
see motion. Real backtesting + venue connectivity stays in the
Python codebase.
@abhicris abhicris merged commit 0a0cb06 into main Apr 13, 2026
0 of 4 checks passed
@abhicris abhicris deleted the feat/web-dashboard branch April 13, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant