funding_carry_breakeven
Normalize cross-venue perpetual funding intervals (e.g., 1h vs 8h), compute net hourly funding spread, gross APR %, fee+slippage breakeven hours/days, and projected 7d/30d net PnL USD.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"long_funding_rate": "<long_funding_rate>",
"long_interval_hours": "<long_interval_hours>",
"short_funding_rate": "<short_funding_rate>",
"short_interval_hours": "<short_interval_hours>",
"entry_exit_total_fee_bps": "<entry_exit_total_fee_bps>",
"notional_usd": "<notional_usd>"
},
"name": "funding_carry_breakeven"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notional_usd | Yes | Notional size per leg in USD. | |
| slippage_bps | No | Total round-trip slippage cost in bps of notional_usd. | |
| long_funding_rate | Yes | Long leg per-interval funding rate as decimal (e.g., 0.0001 for 0.01%). Positive means longs pay shorts. | |
| short_funding_rate | Yes | Short leg per-interval funding rate as decimal (e.g., 0.0005 for 0.05%). Positive means longs pay shorts (short receives). | |
| long_interval_hours | Yes | Funding settlement interval in hours for the long leg (e.g., 8 or 1). | |
| short_interval_hours | Yes | Funding settlement interval in hours for the short leg (e.g., 8 or 1). | |
| entry_exit_total_fee_bps | Yes | Total round-trip trading fees (entry + exit across both legs) in bps of notional_usd. |