BANGER
Product status: Banger’s public beta is paper-only. References to live execution are future-looking. Venue rules and legal claims can change; verify current primary sources for your jurisdiction.
2026-11-09 · 6 min read · facts as of 2026-11-09

Reconcile a Small Paper Ledger by Hand

If you have ever stared at a paper backtest summary and wondered whether the P&L number is right, the cure is boring and effective: reconcile the ledger by hand. Take a handful of fills, write down every quantity and every cent, and re-derive the ending state yourself. If your by-hand number matches the simulator's number, you understand the accounting. If it does not, you have found either a bug or a modeling assumption worth knowing about.

This post is a worked, hypothetical reconciliation. It builds on the general treatment in our earlier piece on position tracking and P&L for event contracts and does not re-explain cost basis or mark-to-market from scratch. Here the single goal is the arithmetic: entry costs, fees, partial closes, and the ending marked inventory, with every unit named. Every number below is invented for the example. None of it is a market observation, a calibrated parameter, or a recommendation.

Name the units before you add anything

Reconciliation goes wrong when two quantities in different units get added together. Fix the vocabulary first. A contract is one unit of a binary market position. A price is dollars per contract, between 0 and 1. Cost basis is dollars. A fee is dollars. For a simple Kalshi binary market, settlement is clean: Yes contract holders receive $1 per contract on a Yes outcome, and No holders receive $1 per contract on a No outcome.

Do not universalize that payout. Kalshi documents scalar and special-rule markets whose outcomes can take non-standard values, so the $1/$0 shortcut is a property of simple binary markets, not every product. Confirm the specific market's rules before assuming a dollar settles the contract.

Also keep four dollar quantities mentally distinct, because the simulator does too: marked value (quantity times current mark), settlement claim (what a resolved contract would pay), credited cash (what actually hit the paper balance on a fill or close), and hypothetical executable proceeds (what you might get if you could cross the book right now). They are not interchangeable.

The fee line is a formula, not a flat percent

The dominant per-trade cost on Kalshi is the trading fee, and it is not a flat percentage. Kalshi's published formula for the standard taker fee is fees = round up (M x 0.07 x C x P x (1-P)), where M is a per-series fee multiplier, C is the number of contracts, and P is the price in dollars. The standard default taker multiplier is 1 on most markets. The maker-fee formula substitutes 0.0175 for 0.07, and on most markets the maker multiplier defaults to 0, meaning resting limit orders pay no maker fee; only specific series charge makers at all. The fee is largest near 50 cents and shrinks toward the price extremes.

Two rounding details matter for a hand check. A widely cited packaged helper rounds the fee up to a whole cent. Kalshi's own fee schedule, however, describes finer handling: the fee plus position cost rounds up to a centicent ($0.0001) for accounts held directly with the exchange. For this worksheet I will use the whole-cent round-up, because that is the simpler model to reproduce by hand and it matches the behavior of a common standard fee helper. If you are reconciling against the venue's own records, expect the finer rounding instead. State which model you are using before you add the column up.

A hypothetical worksheet

Invented scenario, one Yes market. Two opening fills, one partial close, one lot left open. All prices are dollars per contract. All fees use round up (0.07 x C x P x (1-P)) with taker multiplier M=1 and whole-cent round-up. Arithmetic shown so you can check each step.

Now the two choices that drive every reconciliation dispute: which lots did the close consume, and what is left marked at. Pick a lot convention and write it down. Using first-in-first-out, the 60 sold contracts come entirely from Open A. Average cost of the closed slice = 60 x 0.40 = $24.00. Realized gross = $33.00 - $24.00 = $9.00. Subtract the close fee ($1.04) and the entry fee attributable to those 60 contracts. Open A's entry fee was $1.68 for 100 contracts; a proportional 60-contract share is $1.008, which you may or may not allocate depending on whether your model books entry fees per-fill or per-contract. Decide the policy, apply it consistently, and note it.

Remaining inventory: 40 contracts from Open A at 0.40 plus 50 contracts from Open B at 0.50, so 90 contracts with remaining cost basis = 40 x 0.40 + 50 x 0.50 = $16.00 + $25.00 = $41.00. If the current mark is 0.52, marked value = 90 x 0.52 = $46.80, and unrealized mark-to-market versus remaining basis = $46.80 - $41.00 = $5.80. That $46.80 is marked value, not credited cash and not a settlement claim. Nothing has resolved.

Use Decimal, not float

Do the hand check in Python's decimal module, not binary floats. Prices like 0.40 and fee intermediates like 0.875 do not have exact binary representations, and the Python docs are explicit that numbers like 1.1 and 2.2 lack exact binary floating-point forms. A Decimal built from a string is exact, and the module supports an explicit rounding mode, which you need because the fee formula rounds up. ROUND_CEILING rounds toward positive infinity, which is the right mode for a round-up fee on positive amounts.

from decimal import Decimal, ROUND_CEILING

def taker_fee(contracts, price):
    # hypothetical, standard taker multiplier M=1, whole-cent round up
    raw = Decimal("0.07") * contracts * price * (Decimal("1") - price)
    return raw.quantize(Decimal("0.01"), rounding=ROUND_CEILING)

c = Decimal("60"); p = Decimal("0.55")
print(taker_fee(c, p))  # Decimal('1.04')

This snippet is a standalone conceptual illustration of the fee formula and Decimal rounding. It is not Banger SDK code and has not been run as a hosted journey. Reproduce it yourself before trusting it.

Reconciliation is evidence, not proof

When your by-hand ending state matches the simulator's, you have shown the two agree under one fee, fill, and valuation model. You have not proven the simulator matches venue accounting. A paper fill can rest and clear at an assumed limit, quote fallbacks can appear when data is missing, and a packaged whole-cent fee helper is coarser than the venue's centicent rounding. Treat a matching ledger as evidence under a stated model, and keep the open questions visible rather than rounding them away.

If you want to run this kind of bounded paper experiment against Kalshi binary markets and then inspect the result model line by line, Banger is a paper-research beta built for exactly that. It does not promise fills or returns, and public live trading is blocked. Read the current fee schedule from Kalshi's own documentation before you reconcile, and if you want to try the paper workflow you can start at bangertrades.com/sign-up.

Sources

Keep reading

Run your first strategy free

Paper-trade on Polymarket and Kalshi market data without venue keys.

Start free