Perp Carry
perp_carryCarry screener for perpetual futures: pairs of venues for one symbol, long one leg and short the other (perp x perp, or spot bought and a perp shorted), scored by what the price gap captures plus the funding the pair earns over horizon_h hours, before costs (gross_apr) and after them (net_apr). The defaults are the list on vike.io/perp/carry: both kinds of pair (legs), legs chosen by funding (direction: long the lower funding rate, short the higher; convergence longs the cheaper price instead), no minimum gap. APRs are fractions of the capital on both legs (0.25 = 25 % a year); fees_usd, net_usd and the other USD fields are for $1,000 on each leg. breakeven_h is the hours of funding needed to pay the costs the gap does not cover (0: the gap covers them; null: funding does not pay). costs: none (net equals gross), fees (each venue's taker fee, entry and exit on both legs, or fee_bps for every venue) or fees_slippage (default: fees plus slippage_bps on each of the four fills). Only legs with $1M or more of 24-hour volume and a gap between min_spread_pct and 25 % are listed, and a pair whose perp leg has no current funding rate is left out. A spot leg's funding fields are null. Each perp leg carries long_/short_market_status and _delist_ts, as in perp_funding: a leg the venue is delisting may close before the hold ends. Same answer as GET /v1/marketdata/perp/carry.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "perp_carry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legs | No | perp_perp (a perp on each of two venues), perp_spot (spot bought, a perp shorted) or all (default). | |
| sort | No | Rank by net_apr (default) or gross_apr, highest first. | |
| costs | No | Which costs `net_apr` subtracts. Default fees_slippage. | |
| limit | No | Rows, 1 to 500. Default 50. | |
| fee_bps | No | Taker fee in basis points for every venue, per fill (0 to 100). Omit for each venue's own fee. Not with costs=none. | |
| direction | No | funding (default: long the lower funding rate, short the higher) or convergence (long the cheaper price, short the dearer). | |
| horizon_h | No | Hours the pair is held, over which funding accrues and the APR is annualised (1 to 720). Default 48. | |
| slippage_bps | No | Slippage in basis points per fill, four fills (0 to 100). Default 2. Only with costs=fees_slippage. | |
| min_spread_pct | No | Smallest price gap between the legs, in percent, either sign (0 to 25). Default 0. |