/* 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.36.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 Settlement { /** * The ticker symbol of the market that was settled. */ 'ticker': string; /** * Identifier for an exchange shard. */ 'exchange_index': number; /** * The event ticker symbol of the market that was settled. */ 'event_ticker': string; /** * The outcome of the market settlement. \'yes\' = market resolved to YES, \'no\' = market resolved to NO, \'scalar\' = scalar market settled at a specific value. */ 'market_result': SettlementMarketResultEnum; /** * 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; the minimum granularity is 0.01 contracts. */ 'yes_count_fp': string; /** * Fixed-point US dollar string. Most request fields accept 2-4 decimal places (e.g., \"0.56\", \"0.5600\"); responses emit up to 6. Valid quote intervals for a given market are constrained by that market\'s price level structure. */ 'yes_total_cost_dollars': 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; the minimum granularity is 0.01 contracts. */ 'no_count_fp': string; /** * Fixed-point US dollar string. Most request fields accept 2-4 decimal places (e.g., \"0.56\", \"0.5600\"); responses emit up to 6. Valid quote intervals for a given market are constrained by that market\'s price level structure. */ 'no_total_cost_dollars': string; /** * Total revenue earned from this settlement in cents (winning contracts pay out 100 cents each). */ 'revenue': number; /** * Timestamp when the market was settled and payouts were processed. */ 'settled_time': string; /** * Fixed-point US dollar string. Most request fields accept 2-4 decimal places (e.g., \"0.56\", \"0.5600\"); responses emit up to 6. Valid quote intervals for a given market are constrained by that market\'s price level structure. */ 'fee_cost': string; /** * Payout of a single yes contract in cents. */ 'value'?: number | null; } export const SettlementMarketResultEnum = { Yes: 'yes', No: 'no', Scalar: 'scalar', Empty: '' } as const; export type SettlementMarketResultEnum = typeof SettlementMarketResultEnum[keyof typeof SettlementMarketResultEnum];