Overview
The Bond Ratio Analyzer helps you identify opportunities for asset rotation by tracking the relative price relationship (ratio) between different bonds. When historically correlated bonds diverge in price, you can profit by selling the expensive one and buying the cheap one.Core Strategy: Asset rotation exploits mean reversion in bond price relationships. When the ratio between two bonds deviates from its historical average, it may revert, creating profit opportunities.
What is Asset Rotation?
Asset rotation (or ratio trading) involves:- Selling the relatively expensive asset
- Buying the relatively cheap asset for the same total amount
- Waiting for ratio reversion
- Closing the position when the ratio normalizes
How Bond Ratios Work
Ratio Calculation
The ratio is simply one bond’s price divided by another’s:Understanding the Ratio
- Ratio > historical average: Bond1 is relatively expensive
- Ratio < historical average: Bond1 is relatively cheap
- Ratio trend: Helps identify which asset is outperforming
The ratio itself doesn’t indicate absolute value—it only shows relative pricing between the two assets.
Operation Workflow
Opening a Ratio Position
Identify Ratio Divergence
Use TradingView or other charting tools to analyze the historical ratio. Identify when the current ratio significantly deviates from its mean.
Determine Expensive vs Cheap
If the ratio is high, Bond1 is relatively expensive. If low, Bond1 is relatively cheap.
Calculate Trade Size
Use ChuchoBot’s ratio calculator to determine the correct nominal amounts for equal peso values.
Closing a Ratio Position
Detailed Example: GD30/AL30 Rotation
Opening the Position
Market conditions:- GD30 price: $60,000
- AL30 price: $55,000
- Current ratio: 9.09%
- Historical average ratio: 8.00%
- Analysis: GD30 is expensive relative to AL30
Closing the Position
Market conditions later:- GD30 price: 1,000)
- AL30 price: 500)
- New ratio: 8.25%
- Analysis: Ratio converged toward average
Key insight: Both bonds fell in price, but we profited because AL30 fell less than GD30 in relative terms. The ratio is what matters!
Profit Source Analysis
Why did we profit?- GD30 fell 1.67% (from 59,000)
- AL30 fell 0.91% (from 54,500)
- Relative outperformance: AL30 fell less than GD30
- Ratio moved from 9.09% to 8.25% (9.2% compression)
Using the Ratio Calculator
ChuchoBot provides a built-in ratio trade calculator:Accessing the Calculator
- Dolar → Ratios (or similar menu option)
- Enter the two instruments you want to trade
- Select settlement terms for both
Calculator Features
- Current prices for both instruments
- Ratio percentage
- Required nominal amounts for equal peso values
- Available depth at current bid/offer
Visualizing Ratios in TradingView
To track historical ratios and identify opportunities:TradingView’s Ratio indicator plots the historical relationship, helping you identify when the current ratio is at extremes.
Common Bond Pairs for Rotation
Sovereign Dollar Bonds
GD30 / AL30
Most liquid pair, tight spreads, similar duration
GD38 / AL29
Longer duration, more volatile ratio
GD35 / GD41
Same issuer, different maturities (curve trade)
AL30 / AE38
Different issuance dates, duration mismatch
Dollar-Denominated vs Peso Bonds
- GD30D / GD30: Dollar vs peso version of same bond
- AL30D / AL30: Implicit MEP rate trading
Profit Calculation
The actual profit from ratio trading comes from the ratio change:Why Equal Peso Amounts Matter
Using equal total peso values ensures:- Market neutrality: You’re not betting on direction, only ratio
- Balanced exposure: Neither leg dominates the P&L
- True arbitrage: Profit comes purely from relative movement
If you use different amounts, you’re adding directional exposure, which changes the risk profile from pure ratio trading.
Risk Considerations
Ratio May Not Revert
Ratio May Not Revert
Historical relationships can break permanently due to fundamental changes (default risk, liquidity, etc.).
Divergence Can Worsen
Divergence Can Worsen
The ratio can move further against you before reverting. Ensure adequate margin.
Transaction Costs
Transaction Costs
Four legs (open buy, open sell, close buy, close sell) mean 4× commissions and fees.
Execution Risk
Execution Risk
You must execute both legs simultaneously. Partial fills can leave you with unwanted directional exposure.
Liquidity Risk
Liquidity Risk
Less liquid bonds can have wide spreads and difficulty exiting positions.
Correlation Breakdown
Correlation Breakdown
If the fundamental relationship between bonds changes, the ratio strategy fails.
Advanced: Ratio Statistics
For sophisticated ratio trading, track:- Mean ratio: Average over rolling period (e.g., 30/90 days)
- Standard deviation: Volatility of the ratio
- Z-score: How many standard deviations from mean
- Bollinger Bands: On the ratio itself
Best Practices
Trade Liquid Pairs
Trade Liquid Pairs
Stick to highly liquid bonds (GD30, AL30) for better execution and tighter spreads.
Use Historical Analysis
Use Historical Analysis
Don’t trade ratios blindly. Study the historical behavior in TradingView first.
Set Profit Targets
Set Profit Targets
Define your target ratio level before opening the position. Don’t chase perfection.
Consider Duration
Consider Duration
Bonds with similar durations tend to have more stable ratios. Mixing durations adds curve risk.
Execute Simultaneously
Execute Simultaneously
Use limit orders at the same time to lock in your target ratio. Sequential execution adds risk.
Account for All Costs
Account for All Costs
Calculate break-even ratio change including all commissions and market fees (typically 0.5-1% total).
Ratio Trading vs Directional Trading
| Aspect | Ratio Trading | Directional Trading |
|---|---|---|
| Market view | Relative value | Absolute direction |
| Profit from | Ratio change | Price movement |
| Market risk | Lower (market-neutral) | Higher |
| Complexity | Higher (2 legs) | Lower (1 leg) |
| Capital requirement | Higher (2 positions) | Lower |
| Transaction costs | 4× legs | 2× legs |
| Best for | Range-bound markets | Trending markets |
Related Features
Dollar MEP/CCL
Dollar-denominated bond pairs create implicit MEP ratios
Settlement Arbitrage
Arbitrage settlement terms instead of different instruments
Market Data
Real-time prices are essential for ratio tracking
Technical Reference
The bond ratio analyzer is implemented in:RatioTrade.cs- Core ratio calculation and profit logicFrmRatioTrade.cs- Ratio calculator UIFrmRatios.cs- Ratio scanner interfaceBuySellTrade.cs- Individual instrument pricing