CB Arbitrage Desk Refinitiv · LSEG Eikon updated 2026-05-17 08:07
DEMO MODE · Static snapshot. The live version (running locally) pulls fresh Refinitiv data every weekday at 08:04. View code on GitHub.

How it works · the agentic workflow

A fully autonomous AI agent that runs every weekday at 8 AM. It pulls live market data, reprices the Japanese convertible bond universe, validates against real ratings + credit + yields, and surfaces the day's mispricings — without human intervention.

New here? Start with the Glossary for plain-English definitions of every term, then come back to read how the daily loop works.

The daily agent loop

What runs every weekday at 08:04

1 · Wake up

Scheduled Claude agent fires on a cron trigger. Checks if Refinitiv Workspace is reachable. If not, attempts to launch it via macOS computer-use; falls back to free sources (Yahoo Finance Japan, MoF JGB CSV) if Workspace can't be brought up.

2 · Pull universe

Refinitiv Search API enumerates currently-active JPY convertibles where IsConvertible=true and DocumentTitle matches "Convertible" (excludes structured products and Euro-yen notes). Result: ~70-90 real Japanese CBs.

3 · Pull bond terms

For each RIC: Mid/Bid/Ask, coupon, frequency, maturity, conversion price, call dates, issue size. Bid/Ask used as fallback when Mid is missing — recovers ~14 illiquid bonds per day.

4 · Pull underlyings

For each issuer, search-resolves the TSE ordinary-share RIC (e.g. 4385.T for Mercari), then pulls spot, 60-day realised vol, dividend yield, market cap, issuer credit rating.

5 · Pull JGB curve

Real yields via TR.MidYield on benchmark bonds (JP2YT=RR through JP30YT=RR). Used as the risk-free curve for discounting.

6 · Map ratings to spreads

Each issuer's rating (long-term, with short-term ratings normalised) maps to a JPY senior unsecured corporate spread table calibrated to current market levels. AAA → 25bp, BBB → 190bp, NR/WR → 430bp.

7 · Price each bond

Tsiveriotis-Fernandes binomial tree with 250+ steps for plain-vanilla bonds. The CB value splits into an equity component (discounted at risk-free) and a bond component (discounted at risk-free + credit spread). American conversion, soft calls with trigger %, puts, and discrete coupons all handled.

8 · MC for reset bonds

Bonds flagged as likely-reset (small-cap unrated zero-coupon) get re-priced with a Monte Carlo pricer (8000 paths, antithetic variates) that simulates the path-dependent downward conversion-price reset. Adds ~¥10 of value per ¥100 face for typical reset structures.

9 · Detect anomalies

Flag bonds where premium > 200% with bond price > 130 — almost certainly stale conversion price after a stock split or other corporate action. Backtest confirmed: 25%+ "cheap" signals had 0% hit rate. Now auto-suppressed from alerts.

10 · Save snapshot + alert

Day's pricing saved to snapshots/screen_YYYYMMDD_HHMM.csv. The agent diffs against yesterday's snapshot to detect new issuance and dropped illiquid bonds. Top high-confidence signals are flagged as BUY; reset-flagged are WATCH; deep-rich are AVOID.

The pricing model in one paragraph

A convertible bond is a bond plus an embedded equity option. We model the underlying stock with geometric Brownian motion, build a CRR binomial tree, and at each node decide: hold the bond, convert to equity, or exercise put. The issuer can call if conditions are met. Tsiveriotis-Fernandes (1998) splits the value into two components — equity-driven cashflows discounted at the risk-free rate, and debt-driven cashflows discounted at risk-free + credit spread — which correctly handles the asymmetric default risk between the two streams. For Japanese bonds with downward conversion-price reset clauses (path-dependent), we switch to Monte Carlo with explicit reset modelling (trigger 80% × current conversion price, floor 70% × original). Greeks come from finite differences; implied vol from bisection on the model price.

Backtest results

7,987 bond-day evaluations · Apr 2025 → Apr 2026
5–10% cheap, 60d horizon 71% hit rate, +7.4% avg fwd return
10–15% cheap, 60d horizon 78% hit rate, +7.6% avg fwd return
25%+ cheap (anomalies) 0% hit rate — auto-suppressed now

What the backtest shows

Honest limitations

Things to know before trading anything from this