/* tslint:disable */ /* eslint-disable */ /** * Kalshi Trade API Manual Endpoints * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach * * The version of the OpenAPI document: 3.13.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ export interface Trade { /** * Unique identifier for this trade */ 'trade_id': string; /** * Unique identifier for the market */ 'ticker': 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. Fractional contract values (e.g., \"2.50\") are supported on markets with fractional trading enabled; the minimum granularity is 0.01 contracts. Integer contract count fields are legacy and will be deprecated; when both integer and fp fields are provided, they must match. */ 'count_fp': 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. */ '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. */ 'no_price_dollars': string; /** * Side for the taker of this trade */ 'taker_side': TradeTakerSideEnum; /** * Timestamp when this trade was executed */ 'created_time': string; } export const TradeTakerSideEnum = { TradeTakerSideYes: 'yes', TradeTakerSideNo: 'no' } as const; export type TradeTakerSideEnum = typeof TradeTakerSideEnum[keyof typeof TradeTakerSideEnum];