Kalshi Integration

Kalshi is a CFTC regulated Designated Contract Market (DCM) based in the United States. It settles in USD (Fiat). Integration here requires strict adherence to traditional financial standards.

Connectivity (FIX Protocol) For high volume corporate hedging, FaaSFi connects via the Financial Information eXchange (FIX) protocol rather than the standard REST API.

  • Why FIX? It uses persistent TCP tunnels, reducing latency significantly compared to HTTP requests.

  • Message Format: Orders are sent as Tag-Value pairs. Example: 35=D (New Order Single) and 54=1 (Buy Side).

  • Security: Authentication is handled via RSA 2048-bit key pairs signed during the logon sequence.

Market Data (REST API v2) While execution uses FIX, market discovery uses the HTTP API.

  • Rate Limits: Kalshi imposes strict limits (default 20 requests/second on Basic Tier). FaaSFi implements aggressive caching (Redis) for order book snapshots to prevent throttling.

Compliance Model: Introducing Broker (IB) FaaSFi operates under an Introducing Broker structure.

  • Sub-Accounts: We utilize the POST /portfolio/sub_accounts endpoint. Every corporate client has a distinct sub-account ID (448=PartyID in FIX).

  • Funds Segregation: Client funds are never commingled with FaaSFi's operational funds, satisfying CFTC segregation requirements.

Last updated