kalshi-typescript 2.1.1 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) hide show
  1. package/.openapi-generator/FILES +4 -1
  2. package/.openapi-generator-ignore +9 -2
  3. package/README.md +200 -29
  4. package/api/api-keys-api.ts +5 -5
  5. package/api/communications-api.ts +12 -12
  6. package/api/events-api.ts +4 -4
  7. package/api/exchange-api.ts +9 -9
  8. package/api/markets-api.ts +10 -10
  9. package/api/milestones-api.ts +3 -3
  10. package/api/multivariate-collections-api.ts +4 -4
  11. package/api/portfolio-api.ts +95 -21
  12. package/api/series-api.ts +3 -3
  13. package/api/structured-targets-api.ts +3 -3
  14. package/auth.ts +38 -0
  15. package/base.ts +51 -17
  16. package/common.ts +1 -1
  17. package/configuration.ts +1 -1
  18. package/dist/api/api-keys-api.d.ts +4 -4
  19. package/dist/api/api-keys-api.js +8 -8
  20. package/dist/api/communications-api.d.ts +11 -11
  21. package/dist/api/communications-api.js +22 -22
  22. package/dist/api/events-api.d.ts +3 -3
  23. package/dist/api/events-api.js +6 -6
  24. package/dist/api/exchange-api.d.ts +8 -8
  25. package/dist/api/exchange-api.js +12 -12
  26. package/dist/api/markets-api.d.ts +9 -9
  27. package/dist/api/markets-api.js +14 -14
  28. package/dist/api/milestones-api.d.ts +2 -2
  29. package/dist/api/milestones-api.js +4 -4
  30. package/dist/api/multivariate-collections-api.d.ts +3 -3
  31. package/dist/api/multivariate-collections-api.js +6 -6
  32. package/dist/api/portfolio-api.d.ts +52 -19
  33. package/dist/api/portfolio-api.js +107 -39
  34. package/dist/api/series-api.d.ts +2 -2
  35. package/dist/api/series-api.js +4 -4
  36. package/dist/api/structured-targets-api.d.ts +2 -2
  37. package/dist/api/structured-targets-api.js +4 -4
  38. package/dist/auth.d.ts +7 -0
  39. package/dist/auth.js +33 -0
  40. package/dist/base.d.ts +25 -10
  41. package/dist/base.js +37 -6
  42. package/dist/esm/api/api-keys-api.d.ts +4 -4
  43. package/dist/esm/api/api-keys-api.js +9 -9
  44. package/dist/esm/api/communications-api.d.ts +11 -11
  45. package/dist/esm/api/communications-api.js +23 -23
  46. package/dist/esm/api/events-api.d.ts +3 -3
  47. package/dist/esm/api/events-api.js +7 -7
  48. package/dist/esm/api/exchange-api.d.ts +8 -8
  49. package/dist/esm/api/exchange-api.js +13 -13
  50. package/dist/esm/api/markets-api.d.ts +9 -9
  51. package/dist/esm/api/markets-api.js +15 -15
  52. package/dist/esm/api/milestones-api.d.ts +2 -2
  53. package/dist/esm/api/milestones-api.js +5 -5
  54. package/dist/esm/api/multivariate-collections-api.d.ts +3 -3
  55. package/dist/esm/api/multivariate-collections-api.js +7 -7
  56. package/dist/esm/api/portfolio-api.d.ts +52 -19
  57. package/dist/esm/api/portfolio-api.js +108 -40
  58. package/dist/esm/api/series-api.d.ts +2 -2
  59. package/dist/esm/api/series-api.js +5 -5
  60. package/dist/esm/api/structured-targets-api.d.ts +2 -2
  61. package/dist/esm/api/structured-targets-api.js +5 -5
  62. package/dist/esm/auth.d.ts +7 -0
  63. package/dist/esm/auth.js +29 -0
  64. package/dist/esm/base.d.ts +25 -10
  65. package/dist/esm/base.js +36 -5
  66. package/dist/esm/models/amend-order-request.d.ts +30 -0
  67. package/dist/esm/models/amend-order-request.js +8 -1
  68. package/dist/esm/models/create-order-group-request.d.ts +4 -1
  69. package/dist/esm/models/create-order-group-response.d.ts +4 -2
  70. package/dist/esm/models/create-order-request.d.ts +8 -0
  71. package/dist/esm/models/error-response-error.d.ts +1 -1
  72. package/dist/esm/models/event-position.d.ts +53 -0
  73. package/dist/esm/models/event-position.js +14 -0
  74. package/dist/esm/models/get-order-group-response.d.ts +21 -0
  75. package/dist/esm/models/get-order-group-response.js +14 -0
  76. package/dist/esm/models/get-order-response.d.ts +1 -1
  77. package/dist/esm/models/get-positions-response.d.ts +3 -1
  78. package/dist/esm/models/index.d.ts +2 -0
  79. package/dist/esm/models/index.js +2 -0
  80. package/dist/esm/models/order-group.d.ts +8 -4
  81. package/dist/esm/models/order.d.ts +16 -0
  82. package/dist/models/amend-order-request.d.ts +30 -0
  83. package/dist/models/amend-order-request.js +9 -0
  84. package/dist/models/create-order-group-request.d.ts +4 -1
  85. package/dist/models/create-order-group-response.d.ts +4 -2
  86. package/dist/models/create-order-request.d.ts +8 -0
  87. package/dist/models/error-response-error.d.ts +1 -1
  88. package/dist/models/event-position.d.ts +53 -0
  89. package/dist/models/event-position.js +15 -0
  90. package/dist/models/get-order-group-response.d.ts +21 -0
  91. package/dist/models/get-order-group-response.js +15 -0
  92. package/dist/models/get-order-response.d.ts +1 -1
  93. package/dist/models/get-positions-response.d.ts +3 -1
  94. package/dist/models/index.d.ts +2 -0
  95. package/dist/models/index.js +2 -0
  96. package/dist/models/order-group.d.ts +8 -4
  97. package/dist/models/order.d.ts +16 -0
  98. package/docs/AcceptQuoteRequest.md +1 -1
  99. package/docs/AmendOrderRequest.md +11 -1
  100. package/docs/AmendOrderResponse.md +1 -1
  101. package/docs/Announcement.md +1 -1
  102. package/docs/ApiKey.md +1 -1
  103. package/docs/ApiKeysApi.md +20 -8
  104. package/docs/BatchCancelOrdersRequest.md +1 -1
  105. package/docs/BatchCancelOrdersResponse.md +1 -1
  106. package/docs/BatchCancelOrdersResponseResponsesInner.md +1 -1
  107. package/docs/BatchCreateOrdersRequest.md +1 -1
  108. package/docs/BatchCreateOrdersResponse.md +1 -1
  109. package/docs/BatchCreateOrdersResponseResponsesInner.md +1 -1
  110. package/docs/CancelOrderResponse.md +1 -1
  111. package/docs/Candlestick.md +1 -1
  112. package/docs/CommunicationsApi.md +55 -22
  113. package/docs/CreateApiKeyRequest.md +1 -1
  114. package/docs/CreateApiKeyResponse.md +1 -1
  115. package/docs/CreateOrderGroupRequest.md +3 -3
  116. package/docs/CreateOrderGroupResponse.md +3 -3
  117. package/docs/CreateOrderRequest.md +5 -1
  118. package/docs/CreateOrderResponse.md +1 -1
  119. package/docs/CreateQuoteRequest.md +1 -1
  120. package/docs/CreateQuoteResponse.md +1 -1
  121. package/docs/CreateRFQRequest.md +1 -1
  122. package/docs/CreateRFQResponse.md +1 -1
  123. package/docs/DailySchedule.md +1 -1
  124. package/docs/DecreaseOrderRequest.md +1 -1
  125. package/docs/DecreaseOrderResponse.md +1 -1
  126. package/docs/ErrorResponse.md +1 -1
  127. package/docs/ErrorResponseError.md +2 -2
  128. package/docs/Event.md +1 -1
  129. package/docs/EventPosition.md +38 -0
  130. package/docs/EventsApi.md +15 -6
  131. package/docs/ExchangeApi.md +21 -9
  132. package/docs/ExchangeStatus.md +1 -1
  133. package/docs/Fill.md +1 -1
  134. package/docs/GenerateApiKeyRequest.md +1 -1
  135. package/docs/GenerateApiKeyResponse.md +1 -1
  136. package/docs/GetApiKeysResponse.md +1 -1
  137. package/docs/GetBalanceResponse.md +1 -1
  138. package/docs/GetCommunicationsIDResponse.md +1 -1
  139. package/docs/GetEventMetadataResponse.md +1 -1
  140. package/docs/GetEventResponse.md +1 -1
  141. package/docs/GetEventsResponse.md +1 -1
  142. package/docs/GetExchangeAnnouncementsResponse.md +1 -1
  143. package/docs/GetExchangeScheduleResponse.md +1 -1
  144. package/docs/GetExchangeScheduleResponseSchedule.md +1 -1
  145. package/docs/GetFillsResponse.md +1 -1
  146. package/docs/GetMarketCandlesticksResponse.md +1 -1
  147. package/docs/GetMarketOrderbookResponse.md +1 -1
  148. package/docs/GetMarketOrderbookResponseOrderbook.md +1 -1
  149. package/docs/GetMarketResponse.md +1 -1
  150. package/docs/GetMarketsResponse.md +1 -1
  151. package/docs/GetMilestoneResponse.md +1 -1
  152. package/docs/GetMilestonesResponse.md +1 -1
  153. package/docs/GetMultivariateEventCollectionResponse.md +1 -1
  154. package/docs/GetMultivariateEventCollectionsResponse.md +1 -1
  155. package/docs/GetOrderGroupResponse.md +22 -0
  156. package/docs/GetOrderGroupsResponse.md +1 -1
  157. package/docs/GetOrderQueuePositionResponse.md +1 -1
  158. package/docs/GetOrderResponse.md +2 -2
  159. package/docs/GetOrdersResponse.md +1 -1
  160. package/docs/GetPositionsResponse.md +5 -3
  161. package/docs/GetQueuePositionsRequest.md +1 -1
  162. package/docs/GetQueuePositionsResponse.md +1 -1
  163. package/docs/GetQuoteResponse.md +1 -1
  164. package/docs/GetQuotesResponse.md +1 -1
  165. package/docs/GetRFQResponse.md +1 -1
  166. package/docs/GetRFQsResponse.md +1 -1
  167. package/docs/GetSeriesByTickerResponse.md +1 -1
  168. package/docs/GetSeriesResponse.md +1 -1
  169. package/docs/GetSettlementsResponse.md +1 -1
  170. package/docs/GetStructuredTargetResponse.md +1 -1
  171. package/docs/GetStructuredTargetsResponse.md +1 -1
  172. package/docs/GetTotalRestingOrderValueResponse.md +1 -1
  173. package/docs/GetTradesResponse.md +1 -1
  174. package/docs/GetUserDataTimestampResponse.md +1 -1
  175. package/docs/LookupBundleRequest.md +1 -1
  176. package/docs/LookupBundleRequestBundleInner.md +1 -1
  177. package/docs/LookupBundleResponse.md +1 -1
  178. package/docs/Market.md +1 -1
  179. package/docs/MarketsApi.md +26 -11
  180. package/docs/Milestone.md +1 -1
  181. package/docs/MilestonesApi.md +10 -4
  182. package/docs/MultivariateCollectionsApi.md +15 -6
  183. package/docs/MultivariateEventCollection.md +1 -1
  184. package/docs/MultivariateEventCollectionEventsInner.md +1 -1
  185. package/docs/Order.md +9 -1
  186. package/docs/OrderGroup.md +5 -9
  187. package/docs/OrderbookLevel.md +1 -1
  188. package/docs/PortfolioApi.md +154 -39
  189. package/docs/Position.md +1 -1
  190. package/docs/Quote.md +1 -1
  191. package/docs/RFQ.md +1 -1
  192. package/docs/Series.md +1 -1
  193. package/docs/SeriesApi.md +10 -4
  194. package/docs/Settlement.md +1 -1
  195. package/docs/StructuredTarget.md +1 -1
  196. package/docs/StructuredTargetsApi.md +10 -4
  197. package/docs/Trade.md +1 -1
  198. package/models/amend-order-request.ts +34 -0
  199. package/models/create-order-group-request.ts +4 -1
  200. package/models/create-order-group-response.ts +4 -4
  201. package/models/create-order-request.ts +8 -0
  202. package/models/error-response-error.ts +1 -1
  203. package/models/event-position.ts +59 -0
  204. package/models/get-order-group-response.ts +27 -0
  205. package/models/get-order-response.ts +1 -1
  206. package/models/get-positions-response.ts +5 -1
  207. package/models/index.ts +2 -0
  208. package/models/order-group.ts +8 -4
  209. package/models/order.ts +16 -0
  210. package/package.json +4 -4
package/docs/SeriesApi.md CHANGED
@@ -18,9 +18,12 @@ Get all market series
18
18
  import {
19
19
  SeriesApi,
20
20
  Configuration
21
- } from '@kalshi/trading-api';
21
+ } from 'kalshi-typescript';
22
22
 
23
- const configuration = new Configuration();
23
+ const configuration = new Configuration({
24
+ apiKey: 'your-api-key-id',
25
+ privateKeyPath: '/path/to/private-key.pem' // or privateKeyPem: 'PEM string'
26
+ });
24
27
  const apiInstance = new SeriesApi(configuration);
25
28
 
26
29
  let status: string; //Filter by series status (optional) (default to undefined)
@@ -71,9 +74,12 @@ Get a single series by its ticker
71
74
  import {
72
75
  SeriesApi,
73
76
  Configuration
74
- } from '@kalshi/trading-api';
77
+ } from 'kalshi-typescript';
75
78
 
76
- const configuration = new Configuration();
79
+ const configuration = new Configuration({
80
+ apiKey: 'your-api-key-id',
81
+ privateKeyPath: '/path/to/private-key.pem' // or privateKeyPem: 'PEM string'
82
+ });
77
83
  const apiInstance = new SeriesApi(configuration);
78
84
 
79
85
  let ticker: string; //The series ticker (default to undefined)
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  ## Example
16
16
 
17
17
  ```typescript
18
- import { Settlement } from '@kalshi/trading-api';
18
+ import { Settlement } from 'kalshi-typescript';
19
19
 
20
20
  const instance: Settlement = {
21
21
  ticker,
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
12
12
  ## Example
13
13
 
14
14
  ```typescript
15
- import { StructuredTarget } from '@kalshi/trading-api';
15
+ import { StructuredTarget } from 'kalshi-typescript';
16
16
 
17
17
  const instance: StructuredTarget = {
18
18
  structured_target_id,
@@ -18,9 +18,12 @@ Get a single structured target by ID
18
18
  import {
19
19
  StructuredTargetsApi,
20
20
  Configuration
21
- } from '@kalshi/trading-api';
21
+ } from 'kalshi-typescript';
22
22
 
23
- const configuration = new Configuration();
23
+ const configuration = new Configuration({
24
+ apiKey: 'your-api-key-id',
25
+ privateKeyPath: '/path/to/private-key.pem' // or privateKeyPem: 'PEM string'
26
+ });
24
27
  const apiInstance = new StructuredTargetsApi(configuration);
25
28
 
26
29
  let structuredTargetId: string; //Structured target ID (default to undefined)
@@ -72,9 +75,12 @@ Get all structured targets
72
75
  import {
73
76
  StructuredTargetsApi,
74
77
  Configuration
75
- } from '@kalshi/trading-api';
78
+ } from 'kalshi-typescript';
76
79
 
77
- const configuration = new Configuration();
80
+ const configuration = new Configuration({
81
+ apiKey: 'your-api-key-id',
82
+ privateKeyPath: '/path/to/private-key.pem' // or privateKeyPem: 'PEM string'
83
+ });
78
84
  const apiInstance = new StructuredTargetsApi(configuration);
79
85
 
80
86
  let status: string; //Filter by structured target status (optional) (default to undefined)
package/docs/Trade.md CHANGED
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
15
15
  ## Example
16
16
 
17
17
  ```typescript
18
- import { Trade } from '@kalshi/trading-api';
18
+ import { Trade } from 'kalshi-typescript';
19
19
 
20
20
  const instance: Trade = {
21
21
  trade_id,
@@ -15,8 +15,42 @@
15
15
 
16
16
 
17
17
  export interface AmendOrderRequest {
18
+ /**
19
+ * Market ticker
20
+ */
21
+ 'ticker': string;
22
+ /**
23
+ * Side of the order
24
+ */
25
+ 'side': AmendOrderRequestSideEnum;
26
+ /**
27
+ * Buy or sell action
28
+ */
29
+ 'action': AmendOrderRequestActionEnum;
18
30
  'yes_price'?: number;
19
31
  'no_price'?: number;
20
32
  'count'?: number;
33
+ /**
34
+ * Current client order ID
35
+ */
36
+ 'client_order_id': string;
37
+ /**
38
+ * New client order ID after amendment
39
+ */
40
+ 'updated_client_order_id': string;
21
41
  }
22
42
 
43
+ export const AmendOrderRequestSideEnum = {
44
+ Yes: 'yes',
45
+ No: 'no'
46
+ } as const;
47
+
48
+ export type AmendOrderRequestSideEnum = typeof AmendOrderRequestSideEnum[keyof typeof AmendOrderRequestSideEnum];
49
+ export const AmendOrderRequestActionEnum = {
50
+ Buy: 'buy',
51
+ Sell: 'sell'
52
+ } as const;
53
+
54
+ export type AmendOrderRequestActionEnum = typeof AmendOrderRequestActionEnum[keyof typeof AmendOrderRequestActionEnum];
55
+
56
+
@@ -15,6 +15,9 @@
15
15
 
16
16
 
17
17
  export interface CreateOrderGroupRequest {
18
- 'name': string;
18
+ /**
19
+ * Specifies the maximum number of contracts that can be matched within this group.
20
+ */
21
+ 'contracts_limit'?: number;
19
22
  }
20
23
 
@@ -13,11 +13,11 @@
13
13
  */
14
14
 
15
15
 
16
- // May contain unused imports in some cases
17
- // @ts-ignore
18
- import type { OrderGroup } from './order-group';
19
16
 
20
17
  export interface CreateOrderGroupResponse {
21
- 'order_group'?: OrderGroup;
18
+ /**
19
+ * The unique identifier for the created order group
20
+ */
21
+ 'order_group_id'?: string;
22
22
  }
23
23
 
@@ -26,6 +26,14 @@ export interface CreateOrderRequest {
26
26
  'expiration_ts'?: number;
27
27
  'sell_position_floor'?: number;
28
28
  'buy_max_cost'?: number;
29
+ /**
30
+ * If set to true, the order will be rejected if it crosses the spread and executes immediately
31
+ */
32
+ 'post_only'?: boolean;
33
+ /**
34
+ * OrderGroupId specifies the order group this order is part of
35
+ */
36
+ 'order_group_id'?: string;
29
37
  }
30
38
 
31
39
  export const CreateOrderRequestSideEnum = {
@@ -26,6 +26,6 @@ export interface ErrorResponseError {
26
26
  /**
27
27
  * Additional error details
28
28
  */
29
- 'details'?: object;
29
+ 'details'?: string;
30
30
  }
31
31
 
@@ -0,0 +1,59 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kalshi Trading API
5
+ * Complete API for the Kalshi trading platform including all handlers for SDK generation
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ * Contact: support@kalshi.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface EventPosition {
18
+ /**
19
+ * Unique identifier for events.
20
+ */
21
+ 'event_ticker'?: string;
22
+ /**
23
+ * Total spent on this event in cents.
24
+ */
25
+ 'total_cost'?: number;
26
+ /**
27
+ * Total spent on this event in dollars.
28
+ */
29
+ 'total_cost_dollars'?: string;
30
+ /**
31
+ * Cost of the aggregate event position in cents.
32
+ */
33
+ 'event_exposure'?: number;
34
+ /**
35
+ * Cost of the aggregate event position in dollars.
36
+ */
37
+ 'event_exposure_dollars'?: string;
38
+ /**
39
+ * Locked in profit and loss, in cents.
40
+ */
41
+ 'realized_pnl'?: number;
42
+ /**
43
+ * Locked in profit and loss, in dollars.
44
+ */
45
+ 'realized_pnl_dollars'?: string;
46
+ /**
47
+ * Aggregate size of resting orders in contract units.
48
+ */
49
+ 'resting_order_count'?: number;
50
+ /**
51
+ * Fees paid on fill orders, in cents.
52
+ */
53
+ 'fees_paid'?: number;
54
+ /**
55
+ * Fees paid on fill orders, in dollars.
56
+ */
57
+ 'fees_paid_dollars'?: string;
58
+ }
59
+
@@ -0,0 +1,27 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Kalshi Trading API
5
+ * Complete API for the Kalshi trading platform including all handlers for SDK generation
6
+ *
7
+ * The version of the OpenAPI document: 2.0.0
8
+ * Contact: support@kalshi.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface GetOrderGroupResponse {
18
+ /**
19
+ * Whether auto-cancel is enabled for this order group
20
+ */
21
+ 'is_auto_cancel_enabled'?: boolean;
22
+ /**
23
+ * List of order IDs that belong to this order group
24
+ */
25
+ 'orders'?: Array<string>;
26
+ }
27
+
@@ -18,6 +18,6 @@
18
18
  import type { Order } from './order';
19
19
 
20
20
  export interface GetOrderResponse {
21
- 'order'?: Order;
21
+ 'order': Order;
22
22
  }
23
23
 
@@ -13,12 +13,16 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { EventPosition } from './event-position';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import type { Position } from './position';
19
22
 
20
23
  export interface GetPositionsResponse {
21
- 'positions'?: Array<Position>;
24
+ 'market_positions'?: Array<Position>;
25
+ 'event_positions'?: Array<EventPosition>;
22
26
  'cursor'?: string;
23
27
  }
24
28
 
package/models/index.ts CHANGED
@@ -27,6 +27,7 @@ export * from './decrease-order-response';
27
27
  export * from './error-response';
28
28
  export * from './error-response-error';
29
29
  export * from './event';
30
+ export * from './event-position';
30
31
  export * from './exchange-status';
31
32
  export * from './fill';
32
33
  export * from './generate-api-key-request';
@@ -50,6 +51,7 @@ export * from './get-milestone-response';
50
51
  export * from './get-milestones-response';
51
52
  export * from './get-multivariate-event-collection-response';
52
53
  export * from './get-multivariate-event-collections-response';
54
+ export * from './get-order-group-response';
53
55
  export * from './get-order-groups-response';
54
56
  export * from './get-order-queue-position-response';
55
57
  export * from './get-order-response';
@@ -15,9 +15,13 @@
15
15
 
16
16
 
17
17
  export interface OrderGroup {
18
- 'order_group_id'?: string;
19
- 'name'?: string;
20
- 'status'?: string;
21
- 'created_time'?: string;
18
+ /**
19
+ * Unique identifier for the order group
20
+ */
21
+ 'id': string;
22
+ /**
23
+ * Whether auto-cancel is enabled for this order group
24
+ */
25
+ 'is_auto_cancel_enabled'?: boolean;
22
26
  }
23
27
 
package/models/order.ts CHANGED
@@ -25,7 +25,23 @@ export interface Order {
25
25
  'yes_price'?: number;
26
26
  'no_price'?: number;
27
27
  'count'?: number;
28
+ /**
29
+ * The number of contracts that have been filled
30
+ */
31
+ 'fill_count'?: number;
28
32
  'remaining_count'?: number;
33
+ /**
34
+ * The initial size of the order (contract units)
35
+ */
36
+ 'initial_count'?: number;
37
+ /**
38
+ * Fees paid on filled taker contracts, in cents
39
+ */
40
+ 'taker_fees'?: number;
41
+ /**
42
+ * Fees paid on filled maker contracts, in cents
43
+ */
44
+ 'maker_fees'?: number;
29
45
  'expiration_time'?: string;
30
46
  'created_time'?: string;
31
47
  'updated_time'?: string;
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "kalshi-typescript",
3
- "version": "2.1.1",
4
- "description": "OpenAPI client for Kalshi Trading API",
3
+ "version": "2.1.3",
4
+ "description": "OpenAPI client for kalshi-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": ""
8
+ "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
9
9
  },
10
10
  "keywords": [
11
11
  "axios",
12
12
  "typescript",
13
13
  "openapi-client",
14
14
  "openapi-generator",
15
- "@kalshi/trading-api"
15
+ "kalshi-typescript"
16
16
  ],
17
17
  "license": "Unlicense",
18
18
  "main": "./dist/index.js",