UNPKG

kalshi-typescript

Version:
33 lines (25 loc) 2 kB
# Trade ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **trade_id** | **string** | Unique identifier for this trade | [default to undefined] **ticker** | **string** | Unique identifier for the market | [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] **taker_side** | **string** | Side for the taker of this trade | [default to undefined] **created_time** | **string** | Timestamp when this trade was executed | [default to undefined] ## Example ```typescript import { Trade } from 'kalshi-typescript'; const instance: Trade = { trade_id, ticker, count_fp, yes_price_dollars, no_price_dollars, taker_side, created_time, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)