UNPKG

kalshi-typescript

Version:
49 lines (41 loc) 3.28 kB
# Fill ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **fill_id** | **string** | Unique identifier for this fill | [default to undefined] **trade_id** | **string** | Unique identifier for this fill (legacy field name, same as fill_id) | [default to undefined] **order_id** | **string** | Unique identifier for the order that resulted in this fill | [default to undefined] **ticker** | **string** | Unique identifier for the market | [default to undefined] **market_ticker** | **string** | Unique identifier for the market (legacy field name, same as ticker) | [default to undefined] **side** | **string** | Specifies if this is a \'yes\' or \'no\' fill | [default to undefined] **action** | **string** | Specifies if this is a buy or sell order | [default to undefined] **count_fp** | **string** | Fixed-point contract count string (2 decimals, e.g., \"10.00\"; referred to as \"fp\" in field names). Requests accept 0–2 decimal places (e.g., \"10\", \"10.0\", \"10.00\"); responses always emit 2 decimals. Currently only whole contract values are permitted, but the format supports future fractional precision. Integer contract count fields are legacy and will be deprecated; when both integer and fp fields are provided, they must match. | [default to undefined] **yes_price_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined] **no_price_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined] **is_taker** | **boolean** | If true, this fill was a taker (removed liquidity from the order book) | [default to undefined] **created_time** | **string** | Timestamp when this fill was executed | [optional] [default to undefined] **fee_cost** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined] **subaccount_number** | **number** | Subaccount number (0 for primary, 1-32 for subaccounts). Present for direct users. | [optional] [default to undefined] **ts** | **number** | Unix timestamp when this fill was executed (legacy field name) | [optional] [default to undefined] ## Example ```typescript import { Fill } from 'kalshi-typescript'; const instance: Fill = { fill_id, trade_id, order_id, ticker, market_ticker, side, action, count_fp, yes_price_dollars, no_price_dollars, is_taker, created_time, fee_cost, subaccount_number, ts, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)