↓ Skip to main content
All methods

stakepd.kalshi_data.KalshiClient.get_fills

★ Most used API key → DataFrame
Signature
client.get_fills(*, ticker=None, order_id=None, start=None, end=None, max_results=None)

List your fills, newest first.

A fill is one execution of one of your orders, and an order can fill in several pieces. Times accept a str, datetime, date, pandas.Timestamp or Unix seconds. See Time arguments.

Parameters

ticker:str or list of str, optional
Only these markets (up to 100).
order_id:str, optional
Only fills of this order.
start, end:time, optional
Only fills within this window.
max_results:int, optional
Stop after this many fills. None (the default) fetches all of them, following Kalshi’s pages for you.

Returns

pandas.DataFrame
One row per fill.
Main columns
ColumnTypeDescription
fill_idstrUnique fill ID
order_idstrThe order that filled
tickerstrMarket ticker
created_timedatetime64[ns, UTC]When it filled
outcome_sidestr"yes" or "no"
book_sidestr"bid" (you bought) or "ask" (you sold)
countfloatContracts filled
yes_price, no_pricefloatFill price for each side, in dollars
is_takerboolTrue if your order took liquidity
fee_costfloatFee for this fill, in dollars

Raises

KalshiAuthError
If the client has no credentials. Raised before any request is sent.

See also

KalshiClient.get_orders
The orders behind the fills.
KalshiClient.get_trades
Every public trade, not just yours.
KalshiClient.get_positions
List your positions, one row per market.

Examples
#

from stakepd import kalshi_data as kd

client = kd.KalshiClient.from_env()   # portfolio data needs an API key

Daily notional and fees:

fills = client.get_fills(start="2026-11-01")
fills["notional"] = fills["count"] * fills.yes_price.where(fills.outcome_side == "yes", fills.no_price)
daily = fills.set_index("created_time").resample("D")[["notional", "fee_cost"]].sum()

This method is also covered, alongside the rest of the module, in the overview guide.