kalshi-typescript
Version:
Official TypeScript SDK for the Kalshi API
78 lines (77 loc) • 2.85 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.6.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 PriceDistribution {
/**
* First traded YES contract price on the market during the candlestick period (in cents). May be null if there was no trade during the period.
*/
'open'?: number | null;
/**
* US dollar amount as a fixed-point decimal string with exactly 4 decimal places
*/
'open_dollars'?: string;
/**
* Lowest traded YES contract price on the market during the candlestick period (in cents). May be null if there was no trade during the period.
*/
'low'?: number | null;
/**
* US dollar amount as a fixed-point decimal string with exactly 4 decimal places
*/
'low_dollars'?: string;
/**
* Highest traded YES contract price on the market during the candlestick period (in cents). May be null if there was no trade during the period.
*/
'high'?: number | null;
/**
* US dollar amount as a fixed-point decimal string with exactly 4 decimal places
*/
'high_dollars'?: string;
/**
* Last traded YES contract price on the market during the candlestick period (in cents). May be null if there was no trade during the period.
*/
'close'?: number | null;
/**
* US dollar amount as a fixed-point decimal string with exactly 4 decimal places
*/
'close_dollars'?: string;
/**
* Mean traded YES contract price on the market during the candlestick period (in cents). May be null if there was no trade during the period.
*/
'mean'?: number | null;
/**
* US dollar amount as a fixed-point decimal string with exactly 4 decimal places
*/
'mean_dollars'?: string;
/**
* Last traded YES contract price on the market before the candlestick period (in cents). May be null if there were no trades before the period.
*/
'previous'?: number | null;
/**
* US dollar amount as a fixed-point decimal string with exactly 4 decimal places
*/
'previous_dollars'?: string;
/**
* Minimum close price of any market during the candlestick period (in cents).
*/
'min'?: number | null;
/**
* US dollar amount as a fixed-point decimal string with exactly 4 decimal places
*/
'min_dollars'?: string;
/**
* Maximum close price of any market during the candlestick period (in cents).
*/
'max'?: number | null;
/**
* US dollar amount as a fixed-point decimal string with exactly 4 decimal places
*/
'max_dollars'?: string;
}