DeFi 原生收益策略(Looping / Delta-Neutral / Pendle)
Looping (recursive borrow)、Delta-neutral 多腿、Pendle PT/YT、Ethena USDe 模型
日期: 2026-08-09 方向: 量化 / 统计套利 / Alpha 阶段: Phase 2 - 统计套利与Alpha Research (Day 89-102) 标签: #DeFi #收益策略 #DeltaNeutral #Pendle #Looping
今日目标
| 类型 | 内容 |
|---|---|
| 学习 | Looping (recursive borrow)、Delta-neutral 多腿、Pendle PT/YT、Ethena USDe 模型 |
| 实操 | 设计一个完整的 Delta-neutral 收益策略,含风险量化 |
| 产出 | dn_strategy.md — Delta-neutral 策略设计文档(机构级 PRD) |
一、理论与模型
1.1 Looping(递归借贷)
经典 LST loop 结构(如 stETH on Aave):
- 存 ETH → 收 stETH yield (3.5% APR)
- 借 ETH(80% LTV)
- 卖 ETH → 买 stETH
- 存 stETH → 重复
杠杆率: $$ L = \frac{1}{1 - LTV} $$
LTV = 80% → L = 5x(理论),实操 3-4x(保留 buffer)
净 yield: $$ \text{Yield}{net} = L \cdot y{stETH} - (L - 1) \cdot y_{borrow} $$
例:y_stETH = 3.5%, y_borrow = 2% 时
- L=4: 14% - 6% = 8%(vs 不 loop 的 3.5%)
风险:
- ETH 涨 → stETH 涨同步,安全
- ETH 跌 → 抵押 stETH 跌,借的 ETH 不变 → HF 下降
- 如果 stETH 折价(2022-06)→ 即使 ETH 不跌 HF 也下降
1.2 Delta-Neutral 策略框架
去除 directional 风险,只保留 yield。
经典构造:
- Long spot stETH(收 staking yield)
- Short ETH perp(funding 收入或对冲 delta)
完整 P&L: $$ \text{PnL} = y_{staking} \cdot L - r_{borrow} \cdot (L - 1) + \text{funding} - \text{costs} $$
Delta-neutral 收益例子(2024):
- stETH 3.5% + funding 5% (年化) = 8.5%
- 减借贷成本 + fee = 净 6%
- 杠杆 3x → 18% 净 APR
1.3 Ethena USDe 模型
Ethena 是 delta-neutral 的"产品化":
- 用户存 ETH → mint USDe(同等 USD 价)
- Ethena 在 CEX short ETH perp 对冲 delta
- 收 staking yield (ETH staked) + funding rate
- 把收益分给 sUSDe 持有者
机制创新:
- USDe 1:1 等价 USD(结构化稳定币)
- sUSDe staking yield 历史 10-30%(funding 高时)
- 但 funding 反转风险存在
1.4 Pendle PT/YT 深度
Pendle 把 yield-bearing 资产拆分:
- PT (Principal Token):到期 1:1 兑底层
- YT (Yield Token):从现在到到期日的 yield 流
关键关系: $$ \text{Underlying} = \text{PT} + \text{YT} $$
价格关系(任意时刻): $$ P_{underlying} = P_{PT} + P_{YT} $$
PT 用途
- 锁定固定 yield(替代 basis trade)
- $P_{PT} < 1$,到期收 1,implied yield = (1 - $P_{PT}$) × 365 / days
YT 用途
- 做多 yield(看涨 yield)
- 杠杆化 yield 暴露:少量资金获得整个 underlying 的 yield 流
- 例:stETH YT 价格 = 0.05,对应 9 月剩余 stETH yield,~ 25x leveraged on yield
实战:Ethena USDe 上 Pendle
- 买 USDe PT @ 0.94 → 锁定 6 月后 1:1 收益
- 隐含 yield = 6/100 × 2 = 12%(年化)
- 远高于直接 staking sUSDe(如果 funding 反转,sUSDe yield 会跌)
1.5 多腿组合
LST + Aave + Curve:
- 在 Lido 质押 ETH → stETH(yield 3.5%)
- 在 Aave 用 stETH 做抵押借 ETH(80% LTV)
- 卖 ETH → stETH(loop)
- 同时在 Curve stETH/ETH 池做 LP(额外 trading fee)
收益栈叠:
- Staking: 3.5%
- Loop leverage: × 3 = 10.5%
- Curve LP: + 1% trading fee
- CRV emissions: + 2%(如果 incentivized)
- Convex/Aura boost: + 0.5%
- 总 ≈ 14% APR(净借贷成本前)
1.6 Restaking + LRT
EigenLayer:把 ETH/LST restake 给 actively validated services (AVS),赚额外 yield。
LRT (Liquid Restaking Token):
- ether.fi (eETH)
- Renzo (ezETH)
- Kelp (rsETH)
收益栈:
- ETH staking: 3.5%
- EigenLayer points / restaking yield: 0-5% (不确定)
- LRT protocol points: 不确定(视空投)
LRT loop 风险:
- 多重协议风险(Lido + EigenLayer + LRT)
- 流动性碎片
- AVS slashing(额外条款)
二、直觉与陷阱
陷阱 1:折价崩溃
stETH 在 2022-06 折价到 0.92 ETH:
- 5x loop 的 user:抵押品下跌 8% × 5 = 40% 净值损失
- HF 跌破 1,被清算
- 即使 ETH 没跌,loop 也爆仓
规则:折价资产 loop 必须比 1:1 资产更保守(max L = 2-3)。
陷阱 2:Funding 反转
Ethena 模型依赖正 funding。FTX/LUNA 后 funding 持续负 2 周,Ethena 类策略亏损。 解法:funding < 0 持续 1 周,自动减仓 50%。
陷阱 3:Pendle YT 的衰减
YT 是 decaying asset:到期日价格 → 0。 陷阱:买 YT 期望涨,但 yield 没涨,YT 自然衰减导致亏损。 解法:YT 仅做短期看涨 yield 时持有,不做长期持仓。
陷阱 4:多协议风险叠加
LST + EigenLayer + LRT + Aave = 4 个协议风险叠加。任一被黑,全军覆没。 解法:多协议总曝光 < 总仓位 30%。
陷阱 5:Smart contract upgrade
Aave V2 升级到 V3、Pendle V2 升级时,老仓位需手动迁移。 陷阱:忘记迁移 → 仓位被孤立。
陷阱 6:Slashing 风险
LST validator 被 slashing → underlying ETH 减少 → LST 价格永久 down。 Lido 历史:累计 slashing < 0.01% 但仍有风险。 EigenLayer:AVS-specific slashing,未知。
陷阱 7:LP impermanent loss
stETH/ETH 池:折价时 IL 显著。 2022-06 IL ≈ 0.4% on 8% depeg。
三、Delta-Neutral 策略设计文档(核心产出)
3.1 Strategy Spec
名称:ETH-LST Delta-Neutral Yield Strategy 类别:Multi-leg market-neutral 目标 APR:12-18%(净 fees) Capacity:$50M-$200M 最大回撤:< 8%
3.2 头寸构造
| Leg | 头寸 | 数量 | 用途 |
|---|---|---|---|
| 1 | Long stETH (Lido) | $1.5M | 收 staking yield |
| 2 | Borrow ETH on Aave V3 | $0.5M | 用 stETH 做抵押 (33% LTV) |
| 3 | Short ETH perp (Binance) | $0.5M notional | 对冲 borrow ETH 的 delta |
| 4 | Pendle PT-stETH 持仓 | $0.5M | 部分仓位锁定 yield |
净仓位:$1M USDC equivalent Delta: ~0 Notional 暴露: $1.5M (stETH) + $0.5M (perp short) = $2M gross
3.3 收益分解
| 来源 | APR | $/yr (on $1M) |
|---|---|---|
| stETH staking ($1.5M × 3.5%) | 5.25% | $52,500 |
| Aave borrow cost ($0.5M × 2.0%) | -1.0% | -$10,000 |
| ETH perp funding (avg 5% APR on $0.5M) | 2.5% | $25,000 |
| Pendle PT implied yield ($0.5M × 8%) | 4.0% | $40,000 |
| Trading costs | -0.5% | -$5,000 |
| Gas | -0.3% | -$3,000 |
| Net | ~10% | ~$99,500 |
加杠杆 1.5x 通过 Aave loop → 净 APR 15%
3.4 风险矩阵
| 风险 | 概率 | 损失 | 控制 |
|---|---|---|---|
| stETH 折价 | 中 | -5% to -10% | 减 LTV 至 30% |
| Funding 反转 | 高 | -2% APR shift | 监控 7d,自动减仓 |
| Lido slashing | 极低 | -0.01% (历史) | 多 LST 分散(不只 stETH) |
| Aave 漏洞 | 极低 | 100% | 协议保险 |
| Binance 倒闭 | 低 | 100% perp 仓位 | 用 dYdX 替代部分 |
| ETH 闪崩 | 中 | -3% (slippage) | Stop-loss + 减杠杆 |
3.5 操作流程
Day 1:建仓
1. 把 $1M USDC 转到执行账户
2. 在 Lido 质押 0.5 ETH 等价 → 得 0.5 stETH
3. 在 Aave V3 存入 stETH 作为抵押
4. 借 0.165 ETH(33% LTV)
5. 卖 ETH → buy stETH,回到第 3 步 loop 1 次
6. 在 Binance 转 USDT → ETHUSDT perp,short notional 等于 borrowed ETH
7. 部分 stETH 转 Pendle 做 PT
每日
- 监控 HF(要求 > 1.5)
- 监控 funding(要求 > 0)
- 监控 stETH/ETH 比价(要求 > 0.99)
触发条件
- HF < 1.4 → 减仓 20%
- HF < 1.2 → 紧急减仓 50%
- stETH < 0.97 → 减 LTV 至 25%
- Funding < 0 持续 24h → 减半 perp short
3.6 Capacity 估算
约束:
- Aave stETH supply ceiling: $200M
- Lido daily mint: 1000 ETH ≈ $3M
- Pendle PT-stETH liquidity: $50M
- Binance ETH perp depth: 不约束
实际 Capacity ≈ $50M(Pendle 流动性是瓶颈)
3.7 监控仪表板
KPIs:
- Net APR (rolling 7d)
- Total leverage
- Health factor (Aave)
- Funding rate (perp)
- stETH discount/premium
- Slippage on rebalance
四、相关代码片段
# delta_neutral_simulator.py
"""
Delta-Neutral Strategy Simulator
"""
import numpy as np
import pandas as pd
class DeltaNeutralStrategy:
def __init__(self,
stETH_yield: float = 0.035,
borrow_rate: float = 0.02,
funding_rate_apr: float = 0.05,
pendle_implied_yield: float = 0.08,
fee_pct: float = 0.005,
ltv: float = 0.33,
loops: int = 1):
self.stETH_yield = stETH_yield
self.borrow_rate = borrow_rate
self.funding_rate_apr = funding_rate_apr
self.pendle_implied_yield = pendle_implied_yield
self.fee_pct = fee_pct
self.ltv = ltv
self.loops = loops
def leverage_factor(self) -> float:
# Geometric series: 1 + ltv + ltv^2 + ... = (1 - ltv^(n+1)) / (1 - ltv)
return (1 - self.ltv ** (self.loops + 1)) / (1 - self.ltv)
def gross_yield(self) -> float:
L = self.leverage_factor()
# stETH yield × leverage
staking = self.stETH_yield * L
# Borrow cost on (L - 1) leverage
borrow_cost = self.borrow_rate * (L - 1)
# Funding on hedge
funding = self.funding_rate_apr * 0.33 # 部分仓位 hedge
# Pendle PT 上锁定的 yield
pendle = self.pendle_implied_yield * 0.33 # 部分仓位 PT
return staking - borrow_cost + funding + pendle - self.fee_pct
def stress_test(self, stETH_discount_pct: float = 0.03,
funding_drop_pct: float = 0.10) -> dict:
""" stETH 折价 + funding 下跌的损失模拟"""
L = self.leverage_factor()
loss_from_discount = stETH_discount_pct * L # 杠杆放大
loss_from_funding = funding_drop_pct * 0.33
return {
'leverage': L,
'gross_yield': self.gross_yield(),
'loss_from_stETH_discount': -loss_from_discount,
'loss_from_funding_drop': -loss_from_funding,
'net_after_stress': self.gross_yield() - loss_from_discount - loss_from_funding,
}
if __name__ == '__main__':
strat = DeltaNeutralStrategy(
stETH_yield=0.035, borrow_rate=0.020,
funding_rate_apr=0.05, pendle_implied_yield=0.08,
fee_pct=0.005, ltv=0.33, loops=2)
print("Strategy Yield Analysis")
print(f" Leverage: {strat.leverage_factor():.2f}x")
print(f" Gross APR: {strat.gross_yield():.2%}")
stress = strat.stress_test(stETH_discount_pct=0.05, funding_drop_pct=0.20)
print(f"\n Stress Test:")
for k, v in stress.items():
if isinstance(v, float):
print(f" {k}: {v:.4f}")
五、真实数据/案例
案例 1:Ethena (USDe) 的爆发与挑战
2024 上线后 USDe TVL 从 0 → $5B(4 月)。
- 牛市 funding 高位 sUSDe APR 20-30%
- 但 2024-04 后 funding 降到 5%, sUSDe APR 降到 8%
- 仍是 stable yield,但 spread 缩小
案例 2:stETH/ETH 折价案例
2022-06 stETH 折价 8%:
- 大量 loop user 抵押被清算
- Aave 上 $200M+ stETH 强平
- Curve stETH/ETH 池失衡到 78/22(应是 50/50)
教训:LST loop 必须 reserve buffer,stress test 包括 8-10% 折价场景。
案例 3:Pendle 暴涨(2024)
Pendle TVL 从 $50M → $5B(2024 年内 100x):
- LST/LRT 资产 yield 锁定需求大
- Implied yield 从 6-8% 升到 15-25%(点数+空投热)
- ezETH/eETH/ena 等成为 Pendle 顶级资产
案例 4:Renzo ezETH depeg(2024-04)
Renzo 上线 token ezETH,市场预期 1:1 ETH。 但 token 上线时被认为价值低,ezETH 折价 4%。 Pendle YT-ezETH 持有者损失 50%+(杠杆放大)。
教训:新 LRT 项目 narrative 风险高,PT 也不能 100% 安全。
案例 5:MakerDAO 收 RWA yield 案例
MakerDAO 把 USDC 收益部分配置到 T-bills(RWA):
- T-bill yield 5%
- 增加 DAI savings rate (DSR) 到 5-8%
- 用 sDAI 即可享 5%+ 无风险 yield
教训:DeFi 收益策略不一定要复杂,T-bill yield 化也是 option。
六、CEX vs DEX 策略差异
| 策略 | CEX | DEX |
|---|---|---|
| Carry trade | Funding arb | + LST staking 杠杆 |
| Loop | Margin trading | Aave/Compound recursive |
| Delta-neutral | Spot + perp | + LST + Pendle 多腿 |
| Yield stacking | 单层 | 多协议叠加 |
| DeFi 独有 | — | EigenLayer、LRT、Pendle、Curve LP |
DeFi 收益策略的本质优势:
- 可组合性:多协议叠加 yield
- 透明度:链上 yield 来源可验证
- 去许可:任何人可参与
- 创新速度:Pendle、Ethena 类创新只在 DeFi
七、风险管理(关键)
7.1 多协议风险量化
def aggregate_protocol_risk(positions):
"""
Total exposure = Σ position_size × protocol_risk_score
"""
risks = {
'lido': 0.02, # 2% chance of catastrophic
'aave_v3': 0.01,
'pendle': 0.03,
'binance': 0.01,
'eigen_layer': 0.05, # 新协议
}
total_exposure = 0
for protocol, position in positions.items():
risk = risks.get(protocol, 0.10)
total_exposure += position * risk
return total_exposure
7.2 单一仓位上限
| 协议 | 单仓上限 |
|---|---|
| Aave V3 | 30% |
| Lido | 25% |
| Pendle | 20% |
| EigenLayer | 10% |
| 新 LRT | 5% |
八、关键速查
Looping APR 公式
$$ \text{Net APR} = L \cdot y_{staking} - (L - 1) \cdot y_{borrow} - costs $$
Delta-Neutral 收益栈
Base staking yield (3-4%)
+ Funding rate (var, 5-15% in carry env)
+ Pendle PT implied yield (8-15% locked)
+ LP fees + emissions (1-3%)
- Borrow costs (1-3%)
- Trading + gas (0.5-1%)
= Net 8-25% APR
Pendle PT/YT 决策
| 你看法 | 操作 |
|---|---|
| Yield 会持平/跌 | 卖 YT 收 PT |
| Yield 会涨 | 买 YT |
| 想锁定 yield | 持 PT 到期 |
| 套利 | 买 PT @ implied > T-bill |
九、面试题
Q1:Ethena 模型在 funding 反转时怎么办?
答:
- Funding < 0 时 short perp 端付钱,蚕食 yield
- Ethena 储备金(2024 末 ~$50M)可吸收短期负 funding
- 长期负 funding 可能:
- 把储备金消耗光(约 1-2% APR 持续 6 月可耗)
- 调整 product 给 sUSDe 持有者更低 yield
- mint USDe 要 fee 抑制供给
- 极端:暂停 minting
- 风险:长期 1+ 月负 funding 是 Ethena 最大风险
Q2:LST loop 在 2022-06 stETH 折价为什么爆仓?
答:
- stETH 没有 1:1 赎回机制(Shapella 升级前),价值依赖 Curve 流动性
- Celsius/3AC 危机引发抛售压力
- stETH/ETH 跌到 0.92(-8% 折价)
- 5x loop user:抵押品价值跌 8% × 5 = 40% 杠杆敞口
- HF 一夜击穿 1,连锁清算
- 教训:loop 杠杆要保守,stETH 类资产 max 2x
Q3:Pendle PT 真的"无风险"吗?
答:不完全。
- 底层资产风险:PT 兑换的是 underlying,underlying 出问题 PT 也亏
- 协议风险:Pendle 合约被攻击
- 流动性风险:到期前想退出,可能折价更深
- 收益资产风险:如果 underlying 是 yield-bearing(如 sUSDe),其 yield 来源出问题 → underlying 也会有问题
- smart contract upgrades:Pendle V1 → V2 迁移期
- 但相对 perpetual 类策略,PT 的 directional risk 锁死,是相对安全的 yield strategy
Q4:你设计 delta-neutral 策略时怎么选杠杆?
答:考虑:
- Tail risk:8-10% stETH 折价的 stress test 不爆仓
- HF buffer:HF > 1.5 时 ETH 跌 30% 仍安全
- Funding stability:funding 持续 30 天负也能 break-even
- 流动性:减仓时 < 1 块时间能完成
- 经验值:DeFi 多腿策略 max leverage 2-3x;single-leg 永续 carry 可 5-10x
- Iterative:先低杠杆跑 1 月,若稳定再加
Q5:DeFi 收益策略的"年化 100%"宣传可信吗?
答:警惕:
- 新协议早期点数:Ethena 早期 30% APR 部分来自代币空投预期,不可持续
- 临时高 funding:2024-Q1 funding 30% APR 是牛市极端,下半年降到 5%
- 风险被低估:smart contract / protocol risk 在 yield 算法中往往被忽略
- Token emission:很多 100% APR 是 protocol token reward,token 卖出后实际 yield 远低
- 正确做法:
- 拆解 yield 来源(real yield vs token reward)
- 看可持续性(依赖外部条件 vs 内生)
- Stress test 极端场景
- 长期 (>1 yr) 持续 25%+ APR 罕见,多在牛市暴涨期
明日预告
Day 101: 策略组合与组合优化 — Risk parity、HRP(层次风险平价)、CVXPY 优化。今天单策略,明天多策略组合。