kalshi_fee_calculator
Calculates Kalshi exchange taker fees under CFTC Rule 40.2 and solves closed-form breakeven prices for cross-venue arbitrage pairs, helping traders compare costs and target net ROI.
Instructions
Calculates CFTC Rule 40.2 exchange taker fees for Kalshi contracts and solves closed-form quadratic breakeven prices for cross-venue arbitrage pairs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | Kalshi contract price in cents (e.g. 52 for 52¢) or dollars (e.g. 0.52). | |
| contracts | No | Number of binary event contracts to trade (default: 100). | |
| primary_price | No | Optional counterpart leg price (e.g. Polymarket YES price in cents or dollars) to solve for the maximum Kalshi NO price that satisfies the target net ROI. | |
| target_roi_pct | No | Target net return on investment percentage required after all exchange fees (default: 0.0%). | |
| primary_fee_cents | No | Primary venue execution fee/gas in cents (default: 0.8¢ for Polygon PoS gas). |