curl --request GET \
--url https://www.sharpe.ai/api/v1/arbitrage/fixed-floating-funding \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.sharpe.ai/api/v1/arbitrage/fixed-floating-funding', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.sharpe.ai/api/v1/arbitrage/fixed-floating-funding"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"rows": [
{
"marketId": 123,
"market": "<string>",
"venue": "<string>",
"coin": "<string>",
"fundingExchange": "<string>",
"fundingContract": "<string>",
"collateral": "<string>",
"maturity": "2023-11-07T05:31:56Z",
"daysToMaturity": 123,
"settlementIntervalHours": 123,
"settlementsToMaturity": 123,
"nextSettlementAt": "2023-11-07T05:31:56Z",
"status": "trading",
"impliedApr": 123,
"midApr": 123,
"bestBidApr": 123,
"bestAskApr": 123,
"floatingApr": 123,
"realised7dApr": 123,
"realised7dNullReason": "venue_not_covered",
"realised30dApr": 123,
"realised30dNullReason": "venue_not_covered",
"spread7dApr": 123,
"spread30dApr": 123,
"edge7dApr": 123,
"edge30dApr": 123,
"edge30dSide": "receive_fixed",
"takerFeeApr": 123,
"settleFeeApr": 123,
"netEdge30dApr": 123,
"openInterestUsd": 123,
"volume24hUsd": 123,
"tradeUrl": "<string>",
"borosAsOf": "2023-11-07T05:31:56Z",
"fundingAsOf": "2023-11-07T05:31:56Z"
}
],
"summary": {
"markets": 123,
"matched": 123,
"unmatched": {},
"borosSyncedAt": "2023-11-07T05:31:56Z",
"fundingAccumulatedAt": "2023-11-07T05:31:56Z"
}
},
"meta": {
"request_id": "req_a1b2c3d4e5f6g7h8i9j0",
"timestamp": "2023-11-07T05:31:56Z",
"elapsed_ms": 1,
"dataset_id": "funding_rates_current",
"as_of": "2023-11-07T05:31:56Z",
"stale_after": "2023-11-07T05:31:56Z",
"freshness_sla_seconds": 123,
"freshness_status": "fresh",
"runtime_status": "ok",
"served_from": "snapshot",
"generated_at": "2023-11-07T05:31:56Z",
"source": [
"<string>"
],
"coverage": {
"expected": 123,
"used": 123,
"dropped": {},
"missing": [
"<string>"
]
},
"warnings": [
"<string>"
],
"truncated": true
}
}Fixed vs floating funding (Pendle Boros)
Returns every live Pendle Boros funding-rate market (one per venue perp and maturity: Binance, OKX, Bybit, Gate, KuCoin, Hyperliquid incl. the xyz builder dex, Lighter) with its implied (fixed) APR, the floating APR Boros reports, and Sharpe’s own realised 7-day and 30-day funding for the same venue contract, annualised (acc × 365 / days). spread7dApr and spread30dApr are implied − realised: positive means locking the fixed rate beats what the floating leg has paid (the lock-fixed-carry signal); the spreads are gross of Boros and venue fees. A market whose venue contract is not in the funding store keeps its Boros figures and serves realised null with a reason, never 0. Ranked with markets under 3 days to maturity last, then by the 30-day executable edge net of Boros’s taker and settlement fees (netEdge30dApr; edge30dApr is bestBidApr − realised30dApr to receive fixed, realised30dApr − bestAskApr to pay fixed, the larger), then the 7-day one: the spread is a valuation at the mark, the edge is what a fill earns.
curl --request GET \
--url https://www.sharpe.ai/api/v1/arbitrage/fixed-floating-funding \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.sharpe.ai/api/v1/arbitrage/fixed-floating-funding', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.sharpe.ai/api/v1/arbitrage/fixed-floating-funding"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"rows": [
{
"marketId": 123,
"market": "<string>",
"venue": "<string>",
"coin": "<string>",
"fundingExchange": "<string>",
"fundingContract": "<string>",
"collateral": "<string>",
"maturity": "2023-11-07T05:31:56Z",
"daysToMaturity": 123,
"settlementIntervalHours": 123,
"settlementsToMaturity": 123,
"nextSettlementAt": "2023-11-07T05:31:56Z",
"status": "trading",
"impliedApr": 123,
"midApr": 123,
"bestBidApr": 123,
"bestAskApr": 123,
"floatingApr": 123,
"realised7dApr": 123,
"realised7dNullReason": "venue_not_covered",
"realised30dApr": 123,
"realised30dNullReason": "venue_not_covered",
"spread7dApr": 123,
"spread30dApr": 123,
"edge7dApr": 123,
"edge30dApr": 123,
"edge30dSide": "receive_fixed",
"takerFeeApr": 123,
"settleFeeApr": 123,
"netEdge30dApr": 123,
"openInterestUsd": 123,
"volume24hUsd": 123,
"tradeUrl": "<string>",
"borosAsOf": "2023-11-07T05:31:56Z",
"fundingAsOf": "2023-11-07T05:31:56Z"
}
],
"summary": {
"markets": 123,
"matched": 123,
"unmatched": {},
"borosSyncedAt": "2023-11-07T05:31:56Z",
"fundingAccumulatedAt": "2023-11-07T05:31:56Z"
}
},
"meta": {
"request_id": "req_a1b2c3d4e5f6g7h8i9j0",
"timestamp": "2023-11-07T05:31:56Z",
"elapsed_ms": 1,
"dataset_id": "funding_rates_current",
"as_of": "2023-11-07T05:31:56Z",
"stale_after": "2023-11-07T05:31:56Z",
"freshness_sla_seconds": 123,
"freshness_status": "fresh",
"runtime_status": "ok",
"served_from": "snapshot",
"generated_at": "2023-11-07T05:31:56Z",
"source": [
"<string>"
],
"coverage": {
"expected": 123,
"used": 123,
"dropped": {},
"missing": [
"<string>"
]
},
"warnings": [
"<string>"
],
"truncated": true
}
}
