UNPKG

kalshi-typescript

Version:
76 lines (75 loc) 2.54 kB
/** * Kalshi Trade API Manual Endpoints * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach * * The version of the OpenAPI document: 3.11.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { MveSelectedLeg } from './mve-selected-leg'; export interface RFQ { /** * Unique identifier for the RFQ */ 'id': string; /** * Public communications ID of the RFQ creator. */ 'creator_id': string; /** * The ticker of the market this RFQ is for */ '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. 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. */ 'contracts_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. */ 'target_cost_dollars'?: string; /** * Current status of the RFQ (open, closed) */ 'status': RFQStatusEnum; /** * Timestamp when the RFQ was created */ 'created_ts': string; /** * Ticker of the MVE collection this market belongs to */ 'mve_collection_ticker'?: string; /** * Selected legs for the MVE collection */ 'mve_selected_legs'?: Array<MveSelectedLeg>; /** * Whether to rest the remainder of the RFQ after execution */ 'rest_remainder'?: boolean; /** * Reason for RFQ cancellation if cancelled */ 'cancellation_reason'?: string; /** * User ID of the RFQ creator (private field) */ 'creator_user_id'?: string; /** * Timestamp when the RFQ was cancelled */ 'cancelled_ts'?: string; /** * Timestamp when the RFQ was last updated */ 'updated_ts'?: string; } export declare const RFQStatusEnum: { readonly Open: "open"; readonly Closed: "closed"; }; export type RFQStatusEnum = typeof RFQStatusEnum[keyof typeof RFQStatusEnum];