Expand model tag support: add GLM-5.1, simplify Anthropic IDs, scan tags anywhere in message

- Flink update_bars debouncing
- update_bars subscription idempotency bugfix
- Price decimal correction bugfix of previous commit
- Add GLM-5.1 model tag alongside renamed GLM-5
- Use short Anthropic model IDs (sonnet/haiku/opus) instead of full version strings
- Allow @tags anywhere in message content, not just at start
- Return hasOtherContent flag instead of trimmed rest string
- Only trigger greeting stream when tag has no other content
- Update workspace knowledge base references to platform/workspace and platform/shapes
- Hierarchical knowledge base catalog
- 151 Trading Strategies knowledge base articles
- Shapes knowledge base article
- MutateShapes tool instead of workspace patch
This commit is contained in:
2026-04-28 15:05:15 -04:00
parent d41fcd0499
commit 47471b7700
184 changed files with 9044 additions and 170 deletions

View File

@@ -0,0 +1,50 @@
---
description: "Borrow at short-term taxable rates and buy tax-exempt municipal bonds, capturing the after-tax spread where tax deductibility of interest expense creates a net positive return."
tags: [tax-arbitrage, fixed-income, municipal-bonds]
---
# Municipal Bond Tax Arbitrage
**Section**: 13.1 | **Asset Class**: Fixed Income (Municipal Bonds) | **Type**: Tax Arbitrage
## Overview
One of the most common and simple forms of tax arbitrage. The strategy borrows money (short-term loan) and uses the proceeds to buy tax-exempt municipal bonds. It is attractive to companies in jurisdictions where tax rules allow both buying tax-exempt muni bonds and deducting interest expenses from taxable income (the "tax shield"), creating a positive after-tax spread.
## Construction / Mechanics
- **Long**: tax-exempt municipal bonds earning interest rate `r_long`
- **Short (borrowed funding)**: corporate loan at interest rate `r_short`
The strategy return is:
```
R = r_long - r_short × (1 - τ) (495)
```
- `r_long` = interest rate on the purchased municipal bonds
- `r_short` = interest rate on the loan
- `τ` = corporate tax rate
The loan interest is tax-deductible, so the effective borrowing cost is `r_short × (1 - τ)`. For `R > 0` (profitable), we need:
```
r_long > r_short × (1 - τ)
```
## Return Profile
The strategy profits as long as the municipal bond yield exceeds the after-tax borrowing cost. Returns are stable and bond-like in normal markets but exposed to credit events on the muni bonds and to changes in tax law. The tax shield on borrowing is the core structural advantage.
## Key Parameters / Signals
- **Corporate tax rate** `τ`: higher tax rates make the strategy more attractive (lower effective borrowing cost)
- **Muni yield** `r_long`: tax-exempt; higher quality munis yield less
- **Borrowing rate** `r_short`: short-term rates affect the after-tax funding cost
- **Jurisdiction**: only viable where tax rules permit both the tax-exempt income and the interest deduction simultaneously
## Variations
- **Leveraged muni carry**: increase leverage to amplify the spread, at the cost of higher interest rate and credit risk
- **Duration-matched**: match the duration of muni bonds and the borrowing to reduce interest rate risk
## Notes
- Regulatory and tax law risk: changes in tax law can eliminate the tax shield or the tax-exempt status of munis
- Credit risk: municipal bonds can default, though historically at low rates
- Liquidity risk: municipal bonds are less liquid than Treasuries
- Only practically accessible to corporate entities (not individuals) with sufficient tax liability and access to cheap funding