BTCSWP
BTCSWP is a Hyperliquid market based on the excess BTC funding stream. It lets traders price, trade, and hedge BTC funding directly instead of carrying a basis basket or negotiating OTC funding exposure.
BTCSWP is not BTC spot exposure and it is not a claim on BTC. Its underlying is the spread between live core Hyperliquid BTC perpetual funding and a dynamic expected-funding baseline.
excess funding = f - K
Where:
fis live core Hyperliquid BTC perpetual funding.Kis the dynamic expected-funding baseline.vol_mult_l = L = 15is the embedded BTCSWP multiplier.
Long BTCSWP exposure is designed for traders who expect realized BTC funding to run above K. Short BTCSWP exposure is designed for traders who expect realized BTC funding to compress toward or below K.
Market Metadata
| Parameter | Value |
|---|---|
| Market | yex:BTCSWP |
| Instrument | BTCSWP-USDYP |
| Venue | Hyperliquid HIP-3, Nunchi YEX DEX |
| Collateral | USDYP |
| Collateral token ID | 1576 |
| Collateral contract | 0xb9c737ff4e40f3ab62deff08d54a6114 |
| Oracle updater | 0x2a1285253678490B28e81988C41147651fB420C3 |
| Reference asset | Core Hyperliquid BTC |
| Priced market context | { dex: "yex", assetName: "yex:BTCSWP", assetIndex: 2 } |
| Baseline price | 75,000 |
| Initial fixed leg | 0.0000029 hourly fraction |
| Expected-funding profile | K2, 7-day EMA |
| K2 EMA beta | 0.005935 per hour |
| K2 EMA time constant | 7 days (168 hours) |
vol_mult_l | 15 |
| Base scale | 1,000,000 |
| Per-update oracle clamp | +/-1% of previous BTCSWP oracle price |
| Open interest cap | $10,000,000 |
Open BTCSWP on Hyperliquid testnet.
How BTCSWP Works
BTCSWP packages core Hyperliquid BTC funding into a cumulative excess-funding index. The oracle uses core Hyperliquid mainnet BTC funding as the floating leg, even when the priced BTCSWP market context is on a HIP-3 builder DEX. It must not use yex:BTCSWP.funding as the BTC funding input.
During each hour, the oracle nowcasts pending BTC funding so the wire price moves smoothly. At the hourly boundary, it ingests realized core BTC funding, updates the K2 expected-funding baseline, and true-ups the cumulative index.
The current launch configuration:
- Historical BTC funding comes from core Hyperliquid mainnet
fundingHistory. - Current BTC funding comes from core Hyperliquid mainnet
metaAndAssetCtxs. - BTCSWP market data comes from
metaAndAssetCtxsfordex = "yex"and assetyex:BTCSWP. - Expected funding uses the 7-day K2 EMA profile.
- Wire price moves are clamped at
+/-1%against the previous BTCSWP oracle price. - Wire prices are rounded to 6 decimal places.
Because BTCSWP is a synthetic index market, MarkPx is designed to track OraclePx closely.
Hedge Ratio
BTCSWP embeds L = 15, so approximately 1 / 15 = 6.67% BTCSWP notional is needed to hedge the funding exposure of an equivalent BTC perp notional.
For example, $1,000,000 of BTC perp funding exposure maps to roughly $66,700 of BTCSWP notional.
BTCSWP hedge notional = BTC perp notional / 15
See Hedge Calculator for examples and sizing formulas.
Public Feed API
BTCSWP publishes a public read-only feed for latest ticks and streaming updates:
- Latest tick:
https://cfi-api-production.up.railway.app/api/latest - Stream:
https://cfi-api-production.up.railway.app/api/stream - Health:
https://cfi-api-production.up.railway.app/healthz
Use oracle_px as the headline BTCSWP index price. See the Feed API reference for endpoint details and streaming examples.
Related Pages
Risks
Funding is regime-dependent and can spike. BTCSWP is an index market, not BTC spot exposure, so its behavior can diverge from BTC spot or BTC perp price returns.
Use conservative leverage, understand liquidation behavior, and validate live market settings in the UI and onchain configuration before trading.