kalshi-typescript
Version:
OpenAPI client for kalshi-typescript
65 lines (64 loc) • 3.37 kB
TypeScript
/**
* 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.
*/
export interface Settlement {
/**
* The ticker symbol of the market that was settled.
*/
'ticker': string;
/**
* 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, \'void\' = market was voided/cancelled and all positions returned at original cost.
*/
'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. 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.
*/
'yes_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_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. 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.
*/
'no_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.
*/
'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;
/**
* 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.
*/
'fee_cost': string;
/**
* Payout of a single yes contract in cents.
*/
'value'?: number | null;
}
export declare const SettlementMarketResultEnum: {
readonly Yes: "yes";
readonly No: "no";
readonly Scalar: "scalar";
readonly Void: "void";
};
export type SettlementMarketResultEnum = typeof SettlementMarketResultEnum[keyof typeof SettlementMarketResultEnum];