ResearchSkybitOpen app

How do I reconcile prediction market fills, fees, positions and settlements?

By Skybit Research · Published
Sources verified Nov 26, 2026.

Reconcile from immutable fills, not orders or screenshots. Book each partial fill with native token, side, quantity, price, actual fee and timestamp; roll fills into positions and cash. Credit maker rebates at fill and treat taker rebates as receivables until paid. Add settlement only from the official resolution source, including rare 50/50 payouts, and keep locked order collateral separate from filled outcome exposure.

Start with an immutable fill ledger

Begin with an immutable fill event, not an order or a position screenshot. Store venue, account, native market or token ID, parent order ID, fill ID, side, quantity, price, actual fee, fee currency and timestamp. A partial fill is a new row; an order remains intent until fills arrive. Polymarket's CLOB user channel carries authenticated order and trade updates, while its Data API covers positions and activity; use the user channel as the fill-event source and the Data API as a secondary check, not proof of the other.

On Kalshi, balance changes only on fills, settlements and transfers; use the user fills channel as the event source rather than balance polling. Keep a parent-order table with requested quantity, filled quantity, average price, status and remaining quantity. Reconcile each fill ID once, then roll the parent from child fills. If a cancel arrives after a partial fill, the cancel changes remaining intent, not the booked position. Preserve native YES/NO legs and derive net economic exposure later.

Sources: [1] [2]

Reconcile fees and rebates at fill level

Compute expected fees from the venue formula, but decode and book the actual collected fee from the execution report. Polymarket US standard taker fee is Θ × C × p × (1 − p). Each fill is banker's-rounded, with an adjustment so total commission cannot exceed the rounded cumulative exact fee. From 21 Nov to 31 Dec 2026, API taker trades use Θ=0.0695 and receive a 70% rebate on straight trades. Execution reports encode prices, quantities and collected fees as scaled integers, so decode before arithmetic.

Keep rebates in the right account. Maker rebates are credited at the fill, so treat them as a cash or cost reduction at that point, not a receivable. Taker rebates are paid weekly, so model them as receivables with an expected payment date until cash arrives. Maker rebates use gross fee, not the post-rebate fee. Do not copy a Polymarket fee coefficient onto Kalshi; reconcile any Kalshi fee to its own venue records rather than assuming a formula.

Sources: [3]

Separate positions, locked cash and settlement

Positions and cash are separate reconciliations. Roll signed native token or contract quantities from fills; keep locked cash for open orders in a memo account; do not call locked cash outcome exposure. A filled contract is outcome exposure until the official payout. On Kalshi, balance changes on settlements as well as fills and transfers, so the cash ledger needs a settlement row distinct from any mark. Unresolved exposure remains exposure, not available cash.

Polymarket uses UMA for prediction markets and Chainlink TWAP for up-down markets; after resolution trading stops, winning tokens redeem for $1 and losing tokens for $0. A rare Unknown/50-50 UMA outcome redeems each token for $0.50, so settlement logic needs that branch. A settlement row should record resolution source, winning token, payout per token and settlement time. Do not infer settlement from the last traded price or a market end date; keep disputed or clarified resolutions flagged.

Sources: [4] [2]

Worked ledger and break checklist

Worked example, hypothetical: a Polymarket US API taker buys 100 YES contracts in two fills, 60 at $0.50 and 40 at $0.52, Θ=0.0695, straight trade, 70% taker rebate accrued. Fill fees are $1.04 and $0.69, total $1.73; 70% is $1.21, net fee $0.52. Purchase cash is $50.80; cash paid including fees is $52.53; net cost after the receivable is $51.32. If payout were $1 per contract (a hypothetical assumption), economic P&L after rebate is $48.68; cash before rebate is $47.47.

Reconcile in this order: fills to orders; fees to execution reports; maker rebates to cash and taker rebates to receivables; positions to fills; cash to deposits, purchases, sales, fees, rebates and settlements; then settlement to official resolution. Investigate any cash break above one cent or quantity break above the venue's minimum unit. The failure case is treating an unfilled order as a position or a pending taker rebate as cash, which overstates available capital and hides unresolved exposure.

Sources: [3]

Small reproducible fill-first ledger (hypothetical rows)
Ledger rowRequired fieldsReconciliation test
Fillfill_id, order_id, token/contract, side, qty, price, fee, timestampSum fill qty by order equals filled qty, not requested qty
Fee/rebatefee_charged, fee_currency, maker_rebate_credited, taker_rebate_receivable, payout_dateMaker rebate credited at fill; taker rebate receivable until paid
Positionnative token/contract, signed qty, avg cost, locked_cashFills roll to position; locked cash is not outcome exposure
Settlementresolution_source, winning_token, payout_per_token, settle_time, fifty_fifty_flagCash = qty × payout_per_token; include $0.50 50/50 payout

Assumptions and scope

  • The worked example is hypothetical and uses a Polymarket US straight API taker trade, Θ=0.0695, no combo, no maker rebate, and a 70% taker rebate accrued as a receivable until paid.
  • The $1-per-contract payout in the worked example is a hypothetical arithmetic assumption, not evidence of Polymarket US settlement terms; verify the venue's own rules.
  • Kalshi fees are outside the worked example; no Kalshi fee formula is assumed.
  • Native token or contract IDs are retained; net YES/NO economic exposure is a derived view. The example excludes network, deposit, withdrawal and intermediary fees.

Sources and verification

  1. Polymarket API surfaces
    Source checked Nov 26, 2026.
  2. Kalshi API rate limits
    Source checked Nov 26, 2026.
  3. Polymarket US fee schedule
    Source checked Nov 26, 2026.
  4. Polymarket resolution mechanisms
    Source checked Nov 26, 2026.

Prepared by Skybit Research with AI assistance and automated source checks. Examples and assumptions are identified in the article. No human reviewer is implied. Check the exact contract and current venue documentation before applying a method.