kalshi-typescript 3.8.0 → 3.9.0

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 (863) hide show
  1. package/.openapi-generator/FILES +6 -2
  2. package/README.md +8 -3
  3. package/api/account-api.ts +1 -1
  4. package/api/api-keys-api.ts +1 -1
  5. package/api/communications-api.ts +13 -13
  6. package/api/events-api.ts +1 -1
  7. package/api/exchange-api.ts +1 -1
  8. package/api/fcm-api.ts +5 -5
  9. package/api/historical-api.ts +108 -5
  10. package/api/incentive-programs-api.ts +1 -1
  11. package/api/live-data-api.ts +1 -1
  12. package/api/market-api.ts +17 -17
  13. package/api/milestone-api.ts +1 -1
  14. package/api/multivariate-api.ts +5 -5
  15. package/api/order-groups-api.ts +21 -21
  16. package/api/orders-api.ts +21 -21
  17. package/api/portfolio-api.ts +182 -29
  18. package/api/search-api.ts +1 -1
  19. package/api/structured-targets-api.ts +1 -1
  20. package/api.ts +1 -1
  21. package/base.ts +1 -1
  22. package/common.ts +1 -1
  23. package/configuration.ts +1 -1
  24. package/dist/api/account-api.d.ts +1 -1
  25. package/dist/api/account-api.js +1 -1
  26. package/dist/api/api-keys-api.d.ts +1 -1
  27. package/dist/api/api-keys-api.js +1 -1
  28. package/dist/api/communications-api.d.ts +13 -13
  29. package/dist/api/communications-api.js +13 -13
  30. package/dist/api/events-api.d.ts +1 -1
  31. package/dist/api/events-api.js +1 -1
  32. package/dist/api/exchange-api.d.ts +1 -1
  33. package/dist/api/exchange-api.js +1 -1
  34. package/dist/api/fcm-api.d.ts +5 -5
  35. package/dist/api/fcm-api.js +5 -5
  36. package/dist/api/historical-api.d.ts +54 -5
  37. package/dist/api/historical-api.js +98 -5
  38. package/dist/api/incentive-programs-api.d.ts +1 -1
  39. package/dist/api/incentive-programs-api.js +1 -1
  40. package/dist/api/live-data-api.d.ts +1 -1
  41. package/dist/api/live-data-api.js +1 -1
  42. package/dist/api/market-api.d.ts +17 -17
  43. package/dist/api/market-api.js +17 -17
  44. package/dist/api/milestone-api.d.ts +1 -1
  45. package/dist/api/milestone-api.js +1 -1
  46. package/dist/api/multivariate-api.d.ts +5 -5
  47. package/dist/api/multivariate-api.js +5 -5
  48. package/dist/api/order-groups-api.d.ts +21 -21
  49. package/dist/api/order-groups-api.js +21 -21
  50. package/dist/api/orders-api.d.ts +21 -21
  51. package/dist/api/orders-api.js +21 -21
  52. package/dist/api/portfolio-api.d.ts +91 -29
  53. package/dist/api/portfolio-api.js +165 -29
  54. package/dist/api/search-api.d.ts +1 -1
  55. package/dist/api/search-api.js +1 -1
  56. package/dist/api/structured-targets-api.d.ts +1 -1
  57. package/dist/api/structured-targets-api.js +1 -1
  58. package/dist/api.d.ts +1 -1
  59. package/dist/api.js +1 -1
  60. package/dist/base.d.ts +1 -1
  61. package/dist/base.js +1 -1
  62. package/dist/common.d.ts +1 -1
  63. package/dist/common.js +1 -1
  64. package/dist/configuration.d.ts +1 -1
  65. package/dist/configuration.js +1 -1
  66. package/dist/esm/api/account-api.d.ts +1 -1
  67. package/dist/esm/api/account-api.js +1 -1
  68. package/dist/esm/api/api-keys-api.d.ts +1 -1
  69. package/dist/esm/api/api-keys-api.js +1 -1
  70. package/dist/esm/api/communications-api.d.ts +13 -13
  71. package/dist/esm/api/communications-api.js +13 -13
  72. package/dist/esm/api/events-api.d.ts +1 -1
  73. package/dist/esm/api/events-api.js +1 -1
  74. package/dist/esm/api/exchange-api.d.ts +1 -1
  75. package/dist/esm/api/exchange-api.js +1 -1
  76. package/dist/esm/api/fcm-api.d.ts +5 -5
  77. package/dist/esm/api/fcm-api.js +5 -5
  78. package/dist/esm/api/historical-api.d.ts +54 -5
  79. package/dist/esm/api/historical-api.js +98 -5
  80. package/dist/esm/api/incentive-programs-api.d.ts +1 -1
  81. package/dist/esm/api/incentive-programs-api.js +1 -1
  82. package/dist/esm/api/live-data-api.d.ts +1 -1
  83. package/dist/esm/api/live-data-api.js +1 -1
  84. package/dist/esm/api/market-api.d.ts +17 -17
  85. package/dist/esm/api/market-api.js +17 -17
  86. package/dist/esm/api/milestone-api.d.ts +1 -1
  87. package/dist/esm/api/milestone-api.js +1 -1
  88. package/dist/esm/api/multivariate-api.d.ts +5 -5
  89. package/dist/esm/api/multivariate-api.js +5 -5
  90. package/dist/esm/api/order-groups-api.d.ts +21 -21
  91. package/dist/esm/api/order-groups-api.js +21 -21
  92. package/dist/esm/api/orders-api.d.ts +21 -21
  93. package/dist/esm/api/orders-api.js +21 -21
  94. package/dist/esm/api/portfolio-api.d.ts +91 -29
  95. package/dist/esm/api/portfolio-api.js +165 -29
  96. package/dist/esm/api/search-api.d.ts +1 -1
  97. package/dist/esm/api/search-api.js +1 -1
  98. package/dist/esm/api/structured-targets-api.d.ts +1 -1
  99. package/dist/esm/api/structured-targets-api.js +1 -1
  100. package/dist/esm/api.d.ts +1 -1
  101. package/dist/esm/api.js +1 -1
  102. package/dist/esm/base.d.ts +1 -1
  103. package/dist/esm/base.js +1 -1
  104. package/dist/esm/common.d.ts +1 -1
  105. package/dist/esm/common.js +1 -1
  106. package/dist/esm/configuration.d.ts +1 -1
  107. package/dist/esm/configuration.js +1 -1
  108. package/dist/esm/index.d.ts +1 -1
  109. package/dist/esm/index.js +1 -1
  110. package/dist/esm/models/accept-quote-request.d.ts +1 -1
  111. package/dist/esm/models/accept-quote-request.js +1 -1
  112. package/dist/esm/models/amend-order-request.d.ts +3 -3
  113. package/dist/esm/models/amend-order-request.js +1 -1
  114. package/dist/esm/models/amend-order-response.d.ts +1 -1
  115. package/dist/esm/models/amend-order-response.js +1 -1
  116. package/dist/esm/models/announcement.d.ts +1 -1
  117. package/dist/esm/models/announcement.js +1 -1
  118. package/dist/esm/models/api-key.d.ts +1 -1
  119. package/dist/esm/models/api-key.js +1 -1
  120. package/dist/esm/models/apply-subaccount-transfer-request.d.ts +1 -1
  121. package/dist/esm/models/apply-subaccount-transfer-request.js +1 -1
  122. package/dist/esm/models/associated-event.d.ts +1 -1
  123. package/dist/esm/models/associated-event.js +1 -1
  124. package/dist/esm/models/batch-cancel-orders-individual-response.d.ts +1 -5
  125. package/dist/esm/models/batch-cancel-orders-individual-response.js +1 -1
  126. package/dist/esm/models/batch-cancel-orders-request-order.d.ts +1 -1
  127. package/dist/esm/models/batch-cancel-orders-request-order.js +1 -1
  128. package/dist/esm/models/batch-cancel-orders-request.d.ts +1 -1
  129. package/dist/esm/models/batch-cancel-orders-request.js +1 -1
  130. package/dist/esm/models/batch-cancel-orders-response.d.ts +1 -1
  131. package/dist/esm/models/batch-cancel-orders-response.js +1 -1
  132. package/dist/esm/models/batch-create-orders-individual-response.d.ts +1 -1
  133. package/dist/esm/models/batch-create-orders-individual-response.js +1 -1
  134. package/dist/esm/models/batch-create-orders-request.d.ts +1 -1
  135. package/dist/esm/models/batch-create-orders-request.js +1 -1
  136. package/dist/esm/models/batch-create-orders-response.d.ts +1 -1
  137. package/dist/esm/models/batch-create-orders-response.js +1 -1
  138. package/dist/esm/models/batch-get-market-candlesticks-response.d.ts +1 -1
  139. package/dist/esm/models/batch-get-market-candlesticks-response.js +1 -1
  140. package/dist/esm/models/bid-ask-distribution-historical.d.ts +5 -5
  141. package/dist/esm/models/bid-ask-distribution-historical.js +1 -1
  142. package/dist/esm/models/bid-ask-distribution.d.ts +5 -21
  143. package/dist/esm/models/bid-ask-distribution.js +1 -1
  144. package/dist/esm/models/cancel-order-response.d.ts +1 -2
  145. package/dist/esm/models/cancel-order-response.js +1 -1
  146. package/dist/esm/models/create-api-key-request.d.ts +1 -1
  147. package/dist/esm/models/create-api-key-request.js +1 -1
  148. package/dist/esm/models/create-api-key-response.d.ts +1 -1
  149. package/dist/esm/models/create-api-key-response.js +1 -1
  150. package/dist/esm/models/create-market-in-multivariate-event-collection-request.d.ts +1 -1
  151. package/dist/esm/models/create-market-in-multivariate-event-collection-request.js +1 -1
  152. package/dist/esm/models/create-market-in-multivariate-event-collection-response.d.ts +1 -1
  153. package/dist/esm/models/create-market-in-multivariate-event-collection-response.js +1 -1
  154. package/dist/esm/models/create-order-group-request.d.ts +1 -1
  155. package/dist/esm/models/create-order-group-request.js +1 -1
  156. package/dist/esm/models/create-order-group-response.d.ts +1 -1
  157. package/dist/esm/models/create-order-group-response.js +1 -1
  158. package/dist/esm/models/create-order-request.d.ts +3 -3
  159. package/dist/esm/models/create-order-request.js +1 -1
  160. package/dist/esm/models/create-order-response.d.ts +1 -1
  161. package/dist/esm/models/create-order-response.js +1 -1
  162. package/dist/esm/models/create-quote-request.d.ts +3 -3
  163. package/dist/esm/models/create-quote-request.js +1 -1
  164. package/dist/esm/models/create-quote-response.d.ts +1 -1
  165. package/dist/esm/models/create-quote-response.js +1 -1
  166. package/dist/esm/models/create-rfqrequest.d.ts +2 -2
  167. package/dist/esm/models/create-rfqrequest.js +1 -1
  168. package/dist/esm/models/create-rfqresponse.d.ts +1 -1
  169. package/dist/esm/models/create-rfqresponse.js +1 -1
  170. package/dist/esm/models/create-subaccount-response.d.ts +1 -1
  171. package/dist/esm/models/create-subaccount-response.js +1 -1
  172. package/dist/esm/models/daily-schedule.d.ts +1 -1
  173. package/dist/esm/models/daily-schedule.js +1 -1
  174. package/dist/esm/models/decrease-order-request.d.ts +1 -1
  175. package/dist/esm/models/decrease-order-request.js +1 -1
  176. package/dist/esm/models/decrease-order-response.d.ts +1 -1
  177. package/dist/esm/models/decrease-order-response.js +1 -1
  178. package/dist/esm/models/error-response.d.ts +1 -1
  179. package/dist/esm/models/error-response.js +1 -1
  180. package/dist/esm/models/event-data.d.ts +1 -1
  181. package/dist/esm/models/event-data.js +1 -1
  182. package/dist/esm/models/event-position.d.ts +5 -25
  183. package/dist/esm/models/event-position.js +1 -1
  184. package/dist/esm/models/exchange-instance.d.ts +1 -1
  185. package/dist/esm/models/exchange-instance.js +1 -1
  186. package/dist/esm/models/exchange-status.d.ts +1 -1
  187. package/dist/esm/models/exchange-status.js +1 -1
  188. package/dist/esm/models/fill.d.ts +11 -17
  189. package/dist/esm/models/fill.js +1 -1
  190. package/dist/esm/models/forecast-percentiles-point.d.ts +1 -1
  191. package/dist/esm/models/forecast-percentiles-point.js +1 -1
  192. package/dist/esm/models/generate-api-key-request.d.ts +1 -1
  193. package/dist/esm/models/generate-api-key-request.js +1 -1
  194. package/dist/esm/models/generate-api-key-response.d.ts +1 -1
  195. package/dist/esm/models/generate-api-key-response.js +1 -1
  196. package/dist/esm/models/get-account-api-limits-response.d.ts +1 -1
  197. package/dist/esm/models/get-account-api-limits-response.js +1 -1
  198. package/dist/esm/models/get-api-keys-response.d.ts +1 -1
  199. package/dist/esm/models/get-api-keys-response.js +1 -1
  200. package/dist/esm/models/get-balance-response.d.ts +1 -1
  201. package/dist/esm/models/get-balance-response.js +1 -1
  202. package/dist/esm/models/get-communications-idresponse.d.ts +1 -1
  203. package/dist/esm/models/get-communications-idresponse.js +1 -1
  204. package/dist/esm/models/get-event-candlesticks-response.d.ts +1 -1
  205. package/dist/esm/models/get-event-candlesticks-response.js +1 -1
  206. package/dist/esm/models/get-event-forecast-percentiles-history-response.d.ts +1 -1
  207. package/dist/esm/models/get-event-forecast-percentiles-history-response.js +1 -1
  208. package/dist/esm/models/get-event-metadata-response.d.ts +1 -1
  209. package/dist/esm/models/get-event-metadata-response.js +1 -1
  210. package/dist/esm/models/get-event-response.d.ts +1 -1
  211. package/dist/esm/models/get-event-response.js +1 -1
  212. package/dist/esm/models/get-events-response.d.ts +1 -1
  213. package/dist/esm/models/get-events-response.js +1 -1
  214. package/dist/esm/models/get-exchange-announcements-response.d.ts +1 -1
  215. package/dist/esm/models/get-exchange-announcements-response.js +1 -1
  216. package/dist/esm/models/get-exchange-schedule-response.d.ts +1 -1
  217. package/dist/esm/models/get-exchange-schedule-response.js +1 -1
  218. package/dist/esm/models/get-fills-response.d.ts +1 -1
  219. package/dist/esm/models/get-fills-response.js +1 -1
  220. package/dist/esm/models/get-filters-by-sports-response.d.ts +1 -1
  221. package/dist/esm/models/get-filters-by-sports-response.js +1 -1
  222. package/dist/esm/models/get-historical-cutoff-response.d.ts +1 -1
  223. package/dist/esm/models/get-historical-cutoff-response.js +1 -1
  224. package/dist/esm/models/get-incentive-programs-response.d.ts +1 -1
  225. package/dist/esm/models/get-incentive-programs-response.js +1 -1
  226. package/dist/esm/models/get-live-data-response.d.ts +1 -1
  227. package/dist/esm/models/get-live-data-response.js +1 -1
  228. package/dist/esm/models/get-live-datas-response.d.ts +1 -1
  229. package/dist/esm/models/get-live-datas-response.js +1 -1
  230. package/dist/esm/models/get-market-candlesticks-historical-response.d.ts +1 -1
  231. package/dist/esm/models/get-market-candlesticks-historical-response.js +1 -1
  232. package/dist/esm/models/get-market-candlesticks-response.d.ts +1 -1
  233. package/dist/esm/models/get-market-candlesticks-response.js +1 -1
  234. package/dist/esm/models/get-market-orderbook-response.d.ts +1 -3
  235. package/dist/esm/models/get-market-orderbook-response.js +1 -1
  236. package/dist/esm/models/get-market-response.d.ts +1 -1
  237. package/dist/esm/models/get-market-response.js +1 -1
  238. package/dist/esm/models/get-markets-response.d.ts +1 -1
  239. package/dist/esm/models/get-markets-response.js +1 -1
  240. package/dist/esm/models/get-milestone-response.d.ts +1 -1
  241. package/dist/esm/models/get-milestone-response.js +1 -1
  242. package/dist/esm/models/get-milestones-response.d.ts +1 -1
  243. package/dist/esm/models/get-milestones-response.js +1 -1
  244. package/dist/esm/models/get-multivariate-event-collection-lookup-history-response.d.ts +1 -1
  245. package/dist/esm/models/get-multivariate-event-collection-lookup-history-response.js +1 -1
  246. package/dist/esm/models/get-multivariate-event-collection-response.d.ts +1 -1
  247. package/dist/esm/models/get-multivariate-event-collection-response.js +1 -1
  248. package/dist/esm/models/get-multivariate-event-collections-response.d.ts +1 -1
  249. package/dist/esm/models/get-multivariate-event-collections-response.js +1 -1
  250. package/dist/esm/models/get-multivariate-events-response.d.ts +1 -1
  251. package/dist/esm/models/get-multivariate-events-response.js +1 -1
  252. package/dist/esm/models/get-order-group-response.d.ts +1 -5
  253. package/dist/esm/models/get-order-group-response.js +1 -1
  254. package/dist/esm/models/get-order-groups-response.d.ts +1 -1
  255. package/dist/esm/models/get-order-groups-response.js +1 -1
  256. package/dist/esm/models/get-order-queue-position-response.d.ts +2 -6
  257. package/dist/esm/models/get-order-queue-position-response.js +1 -1
  258. package/dist/esm/models/get-order-queue-positions-response.d.ts +1 -1
  259. package/dist/esm/models/get-order-queue-positions-response.js +1 -1
  260. package/dist/esm/models/get-order-response.d.ts +1 -1
  261. package/dist/esm/models/get-order-response.js +1 -1
  262. package/dist/esm/models/get-orders-response.d.ts +1 -1
  263. package/dist/esm/models/get-orders-response.js +1 -1
  264. package/dist/esm/models/get-portfolio-resting-order-total-value-response.d.ts +1 -1
  265. package/dist/esm/models/get-portfolio-resting-order-total-value-response.js +1 -1
  266. package/dist/esm/models/get-positions-response.d.ts +1 -1
  267. package/dist/esm/models/get-positions-response.js +1 -1
  268. package/dist/esm/models/get-quote-response.d.ts +1 -1
  269. package/dist/esm/models/get-quote-response.js +1 -1
  270. package/dist/esm/models/get-quotes-response.d.ts +1 -1
  271. package/dist/esm/models/get-quotes-response.js +1 -1
  272. package/dist/esm/models/get-rfqresponse.d.ts +1 -1
  273. package/dist/esm/models/get-rfqresponse.js +1 -1
  274. package/dist/esm/models/get-rfqs-response.d.ts +1 -1
  275. package/dist/esm/models/get-rfqs-response.js +1 -1
  276. package/dist/esm/models/get-series-fee-changes-response.d.ts +1 -1
  277. package/dist/esm/models/get-series-fee-changes-response.js +1 -1
  278. package/dist/esm/models/get-series-list-response.d.ts +1 -1
  279. package/dist/esm/models/get-series-list-response.js +1 -1
  280. package/dist/esm/models/get-series-response.d.ts +1 -1
  281. package/dist/esm/models/get-series-response.js +1 -1
  282. package/dist/esm/models/get-settlements-response.d.ts +1 -1
  283. package/dist/esm/models/get-settlements-response.js +1 -1
  284. package/dist/esm/models/get-structured-target-response.d.ts +1 -1
  285. package/dist/esm/models/get-structured-target-response.js +1 -1
  286. package/dist/esm/models/get-structured-targets-response.d.ts +1 -1
  287. package/dist/esm/models/get-structured-targets-response.js +1 -1
  288. package/dist/esm/models/get-subaccount-balances-response.d.ts +1 -1
  289. package/dist/esm/models/get-subaccount-balances-response.js +1 -1
  290. package/dist/esm/models/get-subaccount-netting-response.d.ts +15 -0
  291. package/dist/esm/models/{orderbook.js → get-subaccount-netting-response.js} +1 -1
  292. package/dist/esm/models/get-subaccount-transfers-response.d.ts +1 -1
  293. package/dist/esm/models/get-subaccount-transfers-response.js +1 -1
  294. package/dist/esm/models/get-tags-for-series-categories-response.d.ts +1 -1
  295. package/dist/esm/models/get-tags-for-series-categories-response.js +1 -1
  296. package/dist/esm/models/get-trades-response.d.ts +1 -1
  297. package/dist/esm/models/get-trades-response.js +1 -1
  298. package/dist/esm/models/get-user-data-timestamp-response.d.ts +1 -1
  299. package/dist/esm/models/get-user-data-timestamp-response.js +1 -1
  300. package/dist/esm/models/incentive-program.d.ts +1 -5
  301. package/dist/esm/models/incentive-program.js +1 -1
  302. package/dist/esm/models/index.d.ts +3 -1
  303. package/dist/esm/models/index.js +3 -1
  304. package/dist/esm/models/intra-exchange-instance-transfer-request.d.ts +1 -1
  305. package/dist/esm/models/intra-exchange-instance-transfer-request.js +1 -1
  306. package/dist/esm/models/intra-exchange-instance-transfer-response.d.ts +1 -1
  307. package/dist/esm/models/intra-exchange-instance-transfer-response.js +1 -1
  308. package/dist/esm/models/live-data.d.ts +1 -1
  309. package/dist/esm/models/live-data.js +1 -1
  310. package/dist/esm/models/lookup-point.d.ts +1 -1
  311. package/dist/esm/models/lookup-point.js +1 -1
  312. package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-request.d.ts +1 -1
  313. package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-request.js +1 -1
  314. package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-response.d.ts +1 -1
  315. package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-response.js +1 -1
  316. package/dist/esm/models/maintenance-window.d.ts +1 -1
  317. package/dist/esm/models/maintenance-window.js +1 -1
  318. package/dist/esm/models/market-candlestick-historical.d.ts +1 -1
  319. package/dist/esm/models/market-candlestick-historical.js +1 -1
  320. package/dist/esm/models/market-candlestick.d.ts +1 -9
  321. package/dist/esm/models/market-candlestick.js +1 -1
  322. package/dist/esm/models/market-candlesticks-response.d.ts +1 -1
  323. package/dist/esm/models/market-candlesticks-response.js +1 -1
  324. package/dist/esm/models/market-metadata.d.ts +1 -1
  325. package/dist/esm/models/market-metadata.js +1 -1
  326. package/dist/esm/models/market-position.d.ts +5 -25
  327. package/dist/esm/models/market-position.js +1 -1
  328. package/dist/esm/models/market.d.ts +16 -68
  329. package/dist/esm/models/market.js +1 -1
  330. package/dist/esm/models/milestone.d.ts +7 -1
  331. package/dist/esm/models/milestone.js +1 -1
  332. package/dist/esm/models/multivariate-event-collection.d.ts +1 -1
  333. package/dist/esm/models/multivariate-event-collection.js +1 -1
  334. package/dist/esm/models/mve-selected-leg.d.ts +2 -2
  335. package/dist/esm/models/mve-selected-leg.js +1 -1
  336. package/dist/esm/models/order-group.d.ts +1 -5
  337. package/dist/esm/models/order-group.js +1 -1
  338. package/dist/esm/models/order-queue-position.d.ts +2 -6
  339. package/dist/esm/models/order-queue-position.js +1 -1
  340. package/dist/esm/models/order-status.d.ts +1 -1
  341. package/dist/esm/models/order-status.js +1 -1
  342. package/dist/esm/models/order.d.ts +9 -40
  343. package/dist/esm/models/order.js +1 -1
  344. package/dist/esm/models/orderbook-count-fp.d.ts +1 -1
  345. package/dist/esm/models/orderbook-count-fp.js +1 -1
  346. package/dist/esm/models/percentile-point.d.ts +1 -1
  347. package/dist/esm/models/percentile-point.js +1 -1
  348. package/dist/esm/models/price-distribution-historical.d.ts +1 -1
  349. package/dist/esm/models/price-distribution-historical.js +1 -1
  350. package/dist/esm/models/price-distribution.d.ts +9 -41
  351. package/dist/esm/models/price-distribution.js +1 -1
  352. package/dist/esm/models/price-range.d.ts +1 -1
  353. package/dist/esm/models/price-range.js +1 -1
  354. package/dist/esm/models/quote.d.ts +4 -21
  355. package/dist/esm/models/quote.js +1 -1
  356. package/dist/esm/models/rfq.d.ts +2 -11
  357. package/dist/esm/models/rfq.js +1 -1
  358. package/dist/esm/models/schedule.d.ts +1 -1
  359. package/dist/esm/models/schedule.js +1 -1
  360. package/dist/esm/models/scope-list.d.ts +1 -1
  361. package/dist/esm/models/scope-list.js +1 -1
  362. package/dist/esm/models/self-trade-prevention-type.d.ts +1 -1
  363. package/dist/esm/models/self-trade-prevention-type.js +1 -1
  364. package/dist/esm/models/series-fee-change.d.ts +1 -1
  365. package/dist/esm/models/series-fee-change.js +1 -1
  366. package/dist/esm/models/series.d.ts +1 -5
  367. package/dist/esm/models/series.js +1 -1
  368. package/dist/esm/models/settlement-source.d.ts +1 -1
  369. package/dist/esm/models/settlement-source.js +1 -1
  370. package/dist/esm/models/settlement.d.ts +12 -10
  371. package/dist/esm/models/settlement.js +1 -1
  372. package/dist/esm/models/sport-filter-details.d.ts +1 -1
  373. package/dist/esm/models/sport-filter-details.js +1 -1
  374. package/dist/esm/models/structured-target.d.ts +7 -1
  375. package/dist/esm/models/structured-target.js +1 -1
  376. package/dist/esm/models/subaccount-balance.d.ts +2 -2
  377. package/dist/esm/models/subaccount-balance.js +1 -1
  378. package/dist/esm/models/subaccount-netting-config.d.ts +21 -0
  379. package/dist/esm/models/subaccount-netting-config.js +14 -0
  380. package/dist/esm/models/subaccount-transfer.d.ts +1 -1
  381. package/dist/esm/models/subaccount-transfer.js +1 -1
  382. package/dist/esm/models/ticker-pair.d.ts +1 -1
  383. package/dist/esm/models/ticker-pair.js +1 -1
  384. package/dist/esm/models/trade.d.ts +3 -19
  385. package/dist/esm/models/trade.js +1 -1
  386. package/dist/esm/models/update-order-group-limit-request.d.ts +1 -1
  387. package/dist/esm/models/update-order-group-limit-request.js +1 -1
  388. package/dist/esm/models/update-subaccount-netting-request.d.ts +21 -0
  389. package/dist/esm/models/update-subaccount-netting-request.js +14 -0
  390. package/dist/esm/models/weekly-schedule.d.ts +1 -1
  391. package/dist/esm/models/weekly-schedule.js +1 -1
  392. package/dist/index.d.ts +1 -1
  393. package/dist/index.js +1 -1
  394. package/dist/models/accept-quote-request.d.ts +1 -1
  395. package/dist/models/accept-quote-request.js +1 -1
  396. package/dist/models/amend-order-request.d.ts +3 -3
  397. package/dist/models/amend-order-request.js +1 -1
  398. package/dist/models/amend-order-response.d.ts +1 -1
  399. package/dist/models/amend-order-response.js +1 -1
  400. package/dist/models/announcement.d.ts +1 -1
  401. package/dist/models/announcement.js +1 -1
  402. package/dist/models/api-key.d.ts +1 -1
  403. package/dist/models/api-key.js +1 -1
  404. package/dist/models/apply-subaccount-transfer-request.d.ts +1 -1
  405. package/dist/models/apply-subaccount-transfer-request.js +1 -1
  406. package/dist/models/associated-event.d.ts +1 -1
  407. package/dist/models/associated-event.js +1 -1
  408. package/dist/models/batch-cancel-orders-individual-response.d.ts +1 -5
  409. package/dist/models/batch-cancel-orders-individual-response.js +1 -1
  410. package/dist/models/batch-cancel-orders-request-order.d.ts +1 -1
  411. package/dist/models/batch-cancel-orders-request-order.js +1 -1
  412. package/dist/models/batch-cancel-orders-request.d.ts +1 -1
  413. package/dist/models/batch-cancel-orders-request.js +1 -1
  414. package/dist/models/batch-cancel-orders-response.d.ts +1 -1
  415. package/dist/models/batch-cancel-orders-response.js +1 -1
  416. package/dist/models/batch-create-orders-individual-response.d.ts +1 -1
  417. package/dist/models/batch-create-orders-individual-response.js +1 -1
  418. package/dist/models/batch-create-orders-request.d.ts +1 -1
  419. package/dist/models/batch-create-orders-request.js +1 -1
  420. package/dist/models/batch-create-orders-response.d.ts +1 -1
  421. package/dist/models/batch-create-orders-response.js +1 -1
  422. package/dist/models/batch-get-market-candlesticks-response.d.ts +1 -1
  423. package/dist/models/batch-get-market-candlesticks-response.js +1 -1
  424. package/dist/models/bid-ask-distribution-historical.d.ts +5 -5
  425. package/dist/models/bid-ask-distribution-historical.js +1 -1
  426. package/dist/models/bid-ask-distribution.d.ts +5 -21
  427. package/dist/models/bid-ask-distribution.js +1 -1
  428. package/dist/models/cancel-order-response.d.ts +1 -2
  429. package/dist/models/cancel-order-response.js +1 -1
  430. package/dist/models/create-api-key-request.d.ts +1 -1
  431. package/dist/models/create-api-key-request.js +1 -1
  432. package/dist/models/create-api-key-response.d.ts +1 -1
  433. package/dist/models/create-api-key-response.js +1 -1
  434. package/dist/models/create-market-in-multivariate-event-collection-request.d.ts +1 -1
  435. package/dist/models/create-market-in-multivariate-event-collection-request.js +1 -1
  436. package/dist/models/create-market-in-multivariate-event-collection-response.d.ts +1 -1
  437. package/dist/models/create-market-in-multivariate-event-collection-response.js +1 -1
  438. package/dist/models/create-order-group-request.d.ts +1 -1
  439. package/dist/models/create-order-group-request.js +1 -1
  440. package/dist/models/create-order-group-response.d.ts +1 -1
  441. package/dist/models/create-order-group-response.js +1 -1
  442. package/dist/models/create-order-request.d.ts +3 -3
  443. package/dist/models/create-order-request.js +1 -1
  444. package/dist/models/create-order-response.d.ts +1 -1
  445. package/dist/models/create-order-response.js +1 -1
  446. package/dist/models/create-quote-request.d.ts +3 -3
  447. package/dist/models/create-quote-request.js +1 -1
  448. package/dist/models/create-quote-response.d.ts +1 -1
  449. package/dist/models/create-quote-response.js +1 -1
  450. package/dist/models/create-rfqrequest.d.ts +2 -2
  451. package/dist/models/create-rfqrequest.js +1 -1
  452. package/dist/models/create-rfqresponse.d.ts +1 -1
  453. package/dist/models/create-rfqresponse.js +1 -1
  454. package/dist/models/create-subaccount-response.d.ts +1 -1
  455. package/dist/models/create-subaccount-response.js +1 -1
  456. package/dist/models/daily-schedule.d.ts +1 -1
  457. package/dist/models/daily-schedule.js +1 -1
  458. package/dist/models/decrease-order-request.d.ts +1 -1
  459. package/dist/models/decrease-order-request.js +1 -1
  460. package/dist/models/decrease-order-response.d.ts +1 -1
  461. package/dist/models/decrease-order-response.js +1 -1
  462. package/dist/models/error-response.d.ts +1 -1
  463. package/dist/models/error-response.js +1 -1
  464. package/dist/models/event-data.d.ts +1 -1
  465. package/dist/models/event-data.js +1 -1
  466. package/dist/models/event-position.d.ts +5 -25
  467. package/dist/models/event-position.js +1 -1
  468. package/dist/models/exchange-instance.d.ts +1 -1
  469. package/dist/models/exchange-instance.js +1 -1
  470. package/dist/models/exchange-status.d.ts +1 -1
  471. package/dist/models/exchange-status.js +1 -1
  472. package/dist/models/fill.d.ts +11 -17
  473. package/dist/models/fill.js +1 -1
  474. package/dist/models/forecast-percentiles-point.d.ts +1 -1
  475. package/dist/models/forecast-percentiles-point.js +1 -1
  476. package/dist/models/generate-api-key-request.d.ts +1 -1
  477. package/dist/models/generate-api-key-request.js +1 -1
  478. package/dist/models/generate-api-key-response.d.ts +1 -1
  479. package/dist/models/generate-api-key-response.js +1 -1
  480. package/dist/models/get-account-api-limits-response.d.ts +1 -1
  481. package/dist/models/get-account-api-limits-response.js +1 -1
  482. package/dist/models/get-api-keys-response.d.ts +1 -1
  483. package/dist/models/get-api-keys-response.js +1 -1
  484. package/dist/models/get-balance-response.d.ts +1 -1
  485. package/dist/models/get-balance-response.js +1 -1
  486. package/dist/models/get-communications-idresponse.d.ts +1 -1
  487. package/dist/models/get-communications-idresponse.js +1 -1
  488. package/dist/models/get-event-candlesticks-response.d.ts +1 -1
  489. package/dist/models/get-event-candlesticks-response.js +1 -1
  490. package/dist/models/get-event-forecast-percentiles-history-response.d.ts +1 -1
  491. package/dist/models/get-event-forecast-percentiles-history-response.js +1 -1
  492. package/dist/models/get-event-metadata-response.d.ts +1 -1
  493. package/dist/models/get-event-metadata-response.js +1 -1
  494. package/dist/models/get-event-response.d.ts +1 -1
  495. package/dist/models/get-event-response.js +1 -1
  496. package/dist/models/get-events-response.d.ts +1 -1
  497. package/dist/models/get-events-response.js +1 -1
  498. package/dist/models/get-exchange-announcements-response.d.ts +1 -1
  499. package/dist/models/get-exchange-announcements-response.js +1 -1
  500. package/dist/models/get-exchange-schedule-response.d.ts +1 -1
  501. package/dist/models/get-exchange-schedule-response.js +1 -1
  502. package/dist/models/get-fills-response.d.ts +1 -1
  503. package/dist/models/get-fills-response.js +1 -1
  504. package/dist/models/get-filters-by-sports-response.d.ts +1 -1
  505. package/dist/models/get-filters-by-sports-response.js +1 -1
  506. package/dist/models/get-historical-cutoff-response.d.ts +1 -1
  507. package/dist/models/get-historical-cutoff-response.js +1 -1
  508. package/dist/models/get-incentive-programs-response.d.ts +1 -1
  509. package/dist/models/get-incentive-programs-response.js +1 -1
  510. package/dist/models/get-live-data-response.d.ts +1 -1
  511. package/dist/models/get-live-data-response.js +1 -1
  512. package/dist/models/get-live-datas-response.d.ts +1 -1
  513. package/dist/models/get-live-datas-response.js +1 -1
  514. package/dist/models/get-market-candlesticks-historical-response.d.ts +1 -1
  515. package/dist/models/get-market-candlesticks-historical-response.js +1 -1
  516. package/dist/models/get-market-candlesticks-response.d.ts +1 -1
  517. package/dist/models/get-market-candlesticks-response.js +1 -1
  518. package/dist/models/get-market-orderbook-response.d.ts +1 -3
  519. package/dist/models/get-market-orderbook-response.js +1 -1
  520. package/dist/models/get-market-response.d.ts +1 -1
  521. package/dist/models/get-market-response.js +1 -1
  522. package/dist/models/get-markets-response.d.ts +1 -1
  523. package/dist/models/get-markets-response.js +1 -1
  524. package/dist/models/get-milestone-response.d.ts +1 -1
  525. package/dist/models/get-milestone-response.js +1 -1
  526. package/dist/models/get-milestones-response.d.ts +1 -1
  527. package/dist/models/get-milestones-response.js +1 -1
  528. package/dist/models/get-multivariate-event-collection-lookup-history-response.d.ts +1 -1
  529. package/dist/models/get-multivariate-event-collection-lookup-history-response.js +1 -1
  530. package/dist/models/get-multivariate-event-collection-response.d.ts +1 -1
  531. package/dist/models/get-multivariate-event-collection-response.js +1 -1
  532. package/dist/models/get-multivariate-event-collections-response.d.ts +1 -1
  533. package/dist/models/get-multivariate-event-collections-response.js +1 -1
  534. package/dist/models/get-multivariate-events-response.d.ts +1 -1
  535. package/dist/models/get-multivariate-events-response.js +1 -1
  536. package/dist/models/get-order-group-response.d.ts +1 -5
  537. package/dist/models/get-order-group-response.js +1 -1
  538. package/dist/models/get-order-groups-response.d.ts +1 -1
  539. package/dist/models/get-order-groups-response.js +1 -1
  540. package/dist/models/get-order-queue-position-response.d.ts +2 -6
  541. package/dist/models/get-order-queue-position-response.js +1 -1
  542. package/dist/models/get-order-queue-positions-response.d.ts +1 -1
  543. package/dist/models/get-order-queue-positions-response.js +1 -1
  544. package/dist/models/get-order-response.d.ts +1 -1
  545. package/dist/models/get-order-response.js +1 -1
  546. package/dist/models/get-orders-response.d.ts +1 -1
  547. package/dist/models/get-orders-response.js +1 -1
  548. package/dist/models/get-portfolio-resting-order-total-value-response.d.ts +1 -1
  549. package/dist/models/get-portfolio-resting-order-total-value-response.js +1 -1
  550. package/dist/models/get-positions-response.d.ts +1 -1
  551. package/dist/models/get-positions-response.js +1 -1
  552. package/dist/models/get-quote-response.d.ts +1 -1
  553. package/dist/models/get-quote-response.js +1 -1
  554. package/dist/models/get-quotes-response.d.ts +1 -1
  555. package/dist/models/get-quotes-response.js +1 -1
  556. package/dist/models/get-rfqresponse.d.ts +1 -1
  557. package/dist/models/get-rfqresponse.js +1 -1
  558. package/dist/models/get-rfqs-response.d.ts +1 -1
  559. package/dist/models/get-rfqs-response.js +1 -1
  560. package/dist/models/get-series-fee-changes-response.d.ts +1 -1
  561. package/dist/models/get-series-fee-changes-response.js +1 -1
  562. package/dist/models/get-series-list-response.d.ts +1 -1
  563. package/dist/models/get-series-list-response.js +1 -1
  564. package/dist/models/get-series-response.d.ts +1 -1
  565. package/dist/models/get-series-response.js +1 -1
  566. package/dist/models/get-settlements-response.d.ts +1 -1
  567. package/dist/models/get-settlements-response.js +1 -1
  568. package/dist/models/get-structured-target-response.d.ts +1 -1
  569. package/dist/models/get-structured-target-response.js +1 -1
  570. package/dist/models/get-structured-targets-response.d.ts +1 -1
  571. package/dist/models/get-structured-targets-response.js +1 -1
  572. package/dist/models/get-subaccount-balances-response.d.ts +1 -1
  573. package/dist/models/get-subaccount-balances-response.js +1 -1
  574. package/dist/models/get-subaccount-netting-response.d.ts +15 -0
  575. package/dist/models/{orderbook.js → get-subaccount-netting-response.js} +1 -1
  576. package/dist/models/get-subaccount-transfers-response.d.ts +1 -1
  577. package/dist/models/get-subaccount-transfers-response.js +1 -1
  578. package/dist/models/get-tags-for-series-categories-response.d.ts +1 -1
  579. package/dist/models/get-tags-for-series-categories-response.js +1 -1
  580. package/dist/models/get-trades-response.d.ts +1 -1
  581. package/dist/models/get-trades-response.js +1 -1
  582. package/dist/models/get-user-data-timestamp-response.d.ts +1 -1
  583. package/dist/models/get-user-data-timestamp-response.js +1 -1
  584. package/dist/models/incentive-program.d.ts +1 -5
  585. package/dist/models/incentive-program.js +1 -1
  586. package/dist/models/index.d.ts +3 -1
  587. package/dist/models/index.js +3 -1
  588. package/dist/models/intra-exchange-instance-transfer-request.d.ts +1 -1
  589. package/dist/models/intra-exchange-instance-transfer-request.js +1 -1
  590. package/dist/models/intra-exchange-instance-transfer-response.d.ts +1 -1
  591. package/dist/models/intra-exchange-instance-transfer-response.js +1 -1
  592. package/dist/models/live-data.d.ts +1 -1
  593. package/dist/models/live-data.js +1 -1
  594. package/dist/models/lookup-point.d.ts +1 -1
  595. package/dist/models/lookup-point.js +1 -1
  596. package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-request.d.ts +1 -1
  597. package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-request.js +1 -1
  598. package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-response.d.ts +1 -1
  599. package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-response.js +1 -1
  600. package/dist/models/maintenance-window.d.ts +1 -1
  601. package/dist/models/maintenance-window.js +1 -1
  602. package/dist/models/market-candlestick-historical.d.ts +1 -1
  603. package/dist/models/market-candlestick-historical.js +1 -1
  604. package/dist/models/market-candlestick.d.ts +1 -9
  605. package/dist/models/market-candlestick.js +1 -1
  606. package/dist/models/market-candlesticks-response.d.ts +1 -1
  607. package/dist/models/market-candlesticks-response.js +1 -1
  608. package/dist/models/market-metadata.d.ts +1 -1
  609. package/dist/models/market-metadata.js +1 -1
  610. package/dist/models/market-position.d.ts +5 -25
  611. package/dist/models/market-position.js +1 -1
  612. package/dist/models/market.d.ts +16 -68
  613. package/dist/models/market.js +1 -1
  614. package/dist/models/milestone.d.ts +7 -1
  615. package/dist/models/milestone.js +1 -1
  616. package/dist/models/multivariate-event-collection.d.ts +1 -1
  617. package/dist/models/multivariate-event-collection.js +1 -1
  618. package/dist/models/mve-selected-leg.d.ts +2 -2
  619. package/dist/models/mve-selected-leg.js +1 -1
  620. package/dist/models/order-group.d.ts +1 -5
  621. package/dist/models/order-group.js +1 -1
  622. package/dist/models/order-queue-position.d.ts +2 -6
  623. package/dist/models/order-queue-position.js +1 -1
  624. package/dist/models/order-status.d.ts +1 -1
  625. package/dist/models/order-status.js +1 -1
  626. package/dist/models/order.d.ts +9 -40
  627. package/dist/models/order.js +1 -1
  628. package/dist/models/orderbook-count-fp.d.ts +1 -1
  629. package/dist/models/orderbook-count-fp.js +1 -1
  630. package/dist/models/percentile-point.d.ts +1 -1
  631. package/dist/models/percentile-point.js +1 -1
  632. package/dist/models/price-distribution-historical.d.ts +1 -1
  633. package/dist/models/price-distribution-historical.js +1 -1
  634. package/dist/models/price-distribution.d.ts +9 -41
  635. package/dist/models/price-distribution.js +1 -1
  636. package/dist/models/price-range.d.ts +1 -1
  637. package/dist/models/price-range.js +1 -1
  638. package/dist/models/quote.d.ts +4 -21
  639. package/dist/models/quote.js +1 -1
  640. package/dist/models/rfq.d.ts +2 -11
  641. package/dist/models/rfq.js +1 -1
  642. package/dist/models/schedule.d.ts +1 -1
  643. package/dist/models/schedule.js +1 -1
  644. package/dist/models/scope-list.d.ts +1 -1
  645. package/dist/models/scope-list.js +1 -1
  646. package/dist/models/self-trade-prevention-type.d.ts +1 -1
  647. package/dist/models/self-trade-prevention-type.js +1 -1
  648. package/dist/models/series-fee-change.d.ts +1 -1
  649. package/dist/models/series-fee-change.js +1 -1
  650. package/dist/models/series.d.ts +1 -5
  651. package/dist/models/series.js +1 -1
  652. package/dist/models/settlement-source.d.ts +1 -1
  653. package/dist/models/settlement-source.js +1 -1
  654. package/dist/models/settlement.d.ts +12 -10
  655. package/dist/models/settlement.js +1 -1
  656. package/dist/models/sport-filter-details.d.ts +1 -1
  657. package/dist/models/sport-filter-details.js +1 -1
  658. package/dist/models/structured-target.d.ts +7 -1
  659. package/dist/models/structured-target.js +1 -1
  660. package/dist/models/subaccount-balance.d.ts +2 -2
  661. package/dist/models/subaccount-balance.js +1 -1
  662. package/dist/models/subaccount-netting-config.d.ts +21 -0
  663. package/dist/models/subaccount-netting-config.js +15 -0
  664. package/dist/models/subaccount-transfer.d.ts +1 -1
  665. package/dist/models/subaccount-transfer.js +1 -1
  666. package/dist/models/ticker-pair.d.ts +1 -1
  667. package/dist/models/ticker-pair.js +1 -1
  668. package/dist/models/trade.d.ts +3 -19
  669. package/dist/models/trade.js +1 -1
  670. package/dist/models/update-order-group-limit-request.d.ts +1 -1
  671. package/dist/models/update-order-group-limit-request.js +1 -1
  672. package/dist/models/update-subaccount-netting-request.d.ts +21 -0
  673. package/dist/models/update-subaccount-netting-request.js +15 -0
  674. package/dist/models/weekly-schedule.d.ts +1 -1
  675. package/dist/models/weekly-schedule.js +1 -1
  676. package/docs/AmendOrderRequest.md +2 -2
  677. package/docs/BatchCancelOrdersIndividualResponse.md +0 -2
  678. package/docs/BidAskDistribution.md +4 -12
  679. package/docs/BidAskDistributionHistorical.md +4 -4
  680. package/docs/CancelOrderResponse.md +0 -2
  681. package/docs/CommunicationsApi.md +3 -3
  682. package/docs/CreateOrderRequest.md +2 -2
  683. package/docs/CreateQuoteRequest.md +2 -2
  684. package/docs/CreateRFQRequest.md +1 -1
  685. package/docs/EventPosition.md +4 -14
  686. package/docs/FcmApi.md +1 -1
  687. package/docs/Fill.md +7 -11
  688. package/docs/GetMarketOrderbookResponse.md +0 -2
  689. package/docs/GetOrderGroupResponse.md +0 -2
  690. package/docs/GetOrderQueuePositionResponse.md +1 -3
  691. package/docs/GetSubaccountNettingResponse.md +20 -0
  692. package/docs/HistoricalApi.md +41 -1
  693. package/docs/IncentiveProgram.md +0 -2
  694. package/docs/Market.md +15 -39
  695. package/docs/MarketApi.md +4 -4
  696. package/docs/MarketCandlestick.md +0 -4
  697. package/docs/MarketPosition.md +4 -14
  698. package/docs/Milestone.md +2 -0
  699. package/docs/MultivariateApi.md +2 -1
  700. package/docs/MveSelectedLeg.md +1 -1
  701. package/docs/Order.md +6 -26
  702. package/docs/OrderGroup.md +0 -2
  703. package/docs/OrderGroupsApi.md +5 -5
  704. package/docs/OrderQueuePosition.md +1 -3
  705. package/docs/OrdersApi.md +5 -5
  706. package/docs/PortfolioApi.md +73 -7
  707. package/docs/PriceDistribution.md +8 -24
  708. package/docs/Quote.md +3 -11
  709. package/docs/RFQ.md +1 -5
  710. package/docs/Series.md +0 -2
  711. package/docs/Settlement.md +7 -7
  712. package/docs/StructuredTarget.md +2 -0
  713. package/docs/SubaccountBalance.md +1 -1
  714. package/docs/SubaccountNettingConfig.md +22 -0
  715. package/docs/Trade.md +2 -10
  716. package/docs/UpdateSubaccountNettingRequest.md +22 -0
  717. package/index.ts +1 -1
  718. package/models/accept-quote-request.ts +1 -1
  719. package/models/amend-order-request.ts +3 -3
  720. package/models/amend-order-response.ts +1 -1
  721. package/models/announcement.ts +1 -1
  722. package/models/api-key.ts +1 -1
  723. package/models/apply-subaccount-transfer-request.ts +1 -1
  724. package/models/associated-event.ts +1 -1
  725. package/models/batch-cancel-orders-individual-response.ts +1 -5
  726. package/models/batch-cancel-orders-request-order.ts +1 -1
  727. package/models/batch-cancel-orders-request.ts +1 -1
  728. package/models/batch-cancel-orders-response.ts +1 -1
  729. package/models/batch-create-orders-individual-response.ts +1 -1
  730. package/models/batch-create-orders-request.ts +1 -1
  731. package/models/batch-create-orders-response.ts +1 -1
  732. package/models/batch-get-market-candlesticks-response.ts +1 -1
  733. package/models/bid-ask-distribution-historical.ts +5 -5
  734. package/models/bid-ask-distribution.ts +5 -21
  735. package/models/cancel-order-response.ts +1 -2
  736. package/models/create-api-key-request.ts +1 -1
  737. package/models/create-api-key-response.ts +1 -1
  738. package/models/create-market-in-multivariate-event-collection-request.ts +1 -1
  739. package/models/create-market-in-multivariate-event-collection-response.ts +1 -1
  740. package/models/create-order-group-request.ts +1 -1
  741. package/models/create-order-group-response.ts +1 -1
  742. package/models/create-order-request.ts +3 -3
  743. package/models/create-order-response.ts +1 -1
  744. package/models/create-quote-request.ts +3 -3
  745. package/models/create-quote-response.ts +1 -1
  746. package/models/create-rfqrequest.ts +2 -2
  747. package/models/create-rfqresponse.ts +1 -1
  748. package/models/create-subaccount-response.ts +1 -1
  749. package/models/daily-schedule.ts +1 -1
  750. package/models/decrease-order-request.ts +1 -1
  751. package/models/decrease-order-response.ts +1 -1
  752. package/models/error-response.ts +1 -1
  753. package/models/event-data.ts +1 -1
  754. package/models/event-position.ts +5 -25
  755. package/models/exchange-instance.ts +1 -1
  756. package/models/exchange-status.ts +1 -1
  757. package/models/fill.ts +11 -17
  758. package/models/forecast-percentiles-point.ts +1 -1
  759. package/models/generate-api-key-request.ts +1 -1
  760. package/models/generate-api-key-response.ts +1 -1
  761. package/models/get-account-api-limits-response.ts +1 -1
  762. package/models/get-api-keys-response.ts +1 -1
  763. package/models/get-balance-response.ts +1 -1
  764. package/models/get-communications-idresponse.ts +1 -1
  765. package/models/get-event-candlesticks-response.ts +1 -1
  766. package/models/get-event-forecast-percentiles-history-response.ts +1 -1
  767. package/models/get-event-metadata-response.ts +1 -1
  768. package/models/get-event-response.ts +1 -1
  769. package/models/get-events-response.ts +1 -1
  770. package/models/get-exchange-announcements-response.ts +1 -1
  771. package/models/get-exchange-schedule-response.ts +1 -1
  772. package/models/get-fills-response.ts +1 -1
  773. package/models/get-filters-by-sports-response.ts +1 -1
  774. package/models/get-historical-cutoff-response.ts +1 -1
  775. package/models/get-incentive-programs-response.ts +1 -1
  776. package/models/get-live-data-response.ts +1 -1
  777. package/models/get-live-datas-response.ts +1 -1
  778. package/models/get-market-candlesticks-historical-response.ts +1 -1
  779. package/models/get-market-candlesticks-response.ts +1 -1
  780. package/models/get-market-orderbook-response.ts +1 -5
  781. package/models/get-market-response.ts +1 -1
  782. package/models/get-markets-response.ts +1 -1
  783. package/models/get-milestone-response.ts +1 -1
  784. package/models/get-milestones-response.ts +1 -1
  785. package/models/get-multivariate-event-collection-lookup-history-response.ts +1 -1
  786. package/models/get-multivariate-event-collection-response.ts +1 -1
  787. package/models/get-multivariate-event-collections-response.ts +1 -1
  788. package/models/get-multivariate-events-response.ts +1 -1
  789. package/models/get-order-group-response.ts +1 -5
  790. package/models/get-order-groups-response.ts +1 -1
  791. package/models/get-order-queue-position-response.ts +2 -6
  792. package/models/get-order-queue-positions-response.ts +1 -1
  793. package/models/get-order-response.ts +1 -1
  794. package/models/get-orders-response.ts +1 -1
  795. package/models/get-portfolio-resting-order-total-value-response.ts +1 -1
  796. package/models/get-positions-response.ts +1 -1
  797. package/models/get-quote-response.ts +1 -1
  798. package/models/get-quotes-response.ts +1 -1
  799. package/models/get-rfqresponse.ts +1 -1
  800. package/models/get-rfqs-response.ts +1 -1
  801. package/models/get-series-fee-changes-response.ts +1 -1
  802. package/models/get-series-list-response.ts +1 -1
  803. package/models/get-series-response.ts +1 -1
  804. package/models/get-settlements-response.ts +1 -1
  805. package/models/get-structured-target-response.ts +1 -1
  806. package/models/get-structured-targets-response.ts +1 -1
  807. package/models/get-subaccount-balances-response.ts +1 -1
  808. package/models/get-subaccount-netting-response.ts +23 -0
  809. package/models/get-subaccount-transfers-response.ts +1 -1
  810. package/models/get-tags-for-series-categories-response.ts +1 -1
  811. package/models/get-trades-response.ts +1 -1
  812. package/models/get-user-data-timestamp-response.ts +1 -1
  813. package/models/incentive-program.ts +1 -5
  814. package/models/index.ts +3 -1
  815. package/models/intra-exchange-instance-transfer-request.ts +1 -1
  816. package/models/intra-exchange-instance-transfer-response.ts +1 -1
  817. package/models/live-data.ts +1 -1
  818. package/models/lookup-point.ts +1 -1
  819. package/models/lookup-tickers-for-market-in-multivariate-event-collection-request.ts +1 -1
  820. package/models/lookup-tickers-for-market-in-multivariate-event-collection-response.ts +1 -1
  821. package/models/maintenance-window.ts +1 -1
  822. package/models/market-candlestick-historical.ts +1 -1
  823. package/models/market-candlestick.ts +1 -9
  824. package/models/market-candlesticks-response.ts +1 -1
  825. package/models/market-metadata.ts +1 -1
  826. package/models/market-position.ts +5 -25
  827. package/models/market.ts +16 -68
  828. package/models/milestone.ts +5 -1
  829. package/models/multivariate-event-collection.ts +1 -1
  830. package/models/mve-selected-leg.ts +2 -2
  831. package/models/order-group.ts +1 -5
  832. package/models/order-queue-position.ts +2 -6
  833. package/models/order-status.ts +1 -1
  834. package/models/order.ts +9 -40
  835. package/models/orderbook-count-fp.ts +1 -1
  836. package/models/percentile-point.ts +1 -1
  837. package/models/price-distribution-historical.ts +1 -1
  838. package/models/price-distribution.ts +9 -41
  839. package/models/price-range.ts +1 -1
  840. package/models/quote.ts +4 -21
  841. package/models/rfq.ts +2 -11
  842. package/models/schedule.ts +1 -1
  843. package/models/scope-list.ts +1 -1
  844. package/models/self-trade-prevention-type.ts +1 -1
  845. package/models/series-fee-change.ts +1 -1
  846. package/models/series.ts +1 -5
  847. package/models/settlement-source.ts +1 -1
  848. package/models/settlement.ts +12 -10
  849. package/models/sport-filter-details.ts +1 -1
  850. package/models/structured-target.ts +5 -1
  851. package/models/subaccount-balance.ts +2 -2
  852. package/models/subaccount-netting-config.ts +27 -0
  853. package/models/subaccount-transfer.ts +1 -1
  854. package/models/ticker-pair.ts +1 -1
  855. package/models/trade.ts +3 -19
  856. package/models/update-order-group-limit-request.ts +1 -1
  857. package/models/update-subaccount-netting-request.ts +27 -0
  858. package/models/weekly-schedule.ts +1 -1
  859. package/package.json +1 -1
  860. package/dist/esm/models/orderbook.d.ts +0 -20
  861. package/dist/models/orderbook.d.ts +0 -20
  862. package/docs/Orderbook.md +0 -27
  863. package/models/orderbook.ts +0 -26
@@ -5,22 +5,14 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **open** | **number** | 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. | [optional] [default to undefined]
9
- **open_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [optional] [default to undefined]
10
- **low** | **number** | 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. | [optional] [default to undefined]
11
- **low_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [optional] [default to undefined]
12
- **high** | **number** | 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. | [optional] [default to undefined]
13
- **high_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [optional] [default to undefined]
14
- **close** | **number** | 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. | [optional] [default to undefined]
15
- **close_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [optional] [default to undefined]
16
- **mean** | **number** | 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. | [optional] [default to undefined]
17
- **mean_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [optional] [default to undefined]
18
- **previous** | **number** | 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. | [optional] [default to undefined]
19
- **previous_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [optional] [default to undefined]
20
- **min** | **number** | Minimum close price of any market during the candlestick period (in cents). | [optional] [default to undefined]
21
- **min_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [optional] [default to undefined]
22
- **max** | **number** | Maximum close price of any market during the candlestick period (in cents). | [optional] [default to undefined]
23
- **max_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [optional] [default to undefined]
8
+ **open_dollars** | **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. | [optional] [default to undefined]
9
+ **low_dollars** | **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. | [optional] [default to undefined]
10
+ **high_dollars** | **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. | [optional] [default to undefined]
11
+ **close_dollars** | **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. | [optional] [default to undefined]
12
+ **mean_dollars** | **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. | [optional] [default to undefined]
13
+ **previous_dollars** | **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. | [optional] [default to undefined]
14
+ **min_dollars** | **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. | [optional] [default to undefined]
15
+ **max_dollars** | **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. | [optional] [default to undefined]
24
16
 
25
17
  ## Example
26
18
 
@@ -28,21 +20,13 @@ Name | Type | Description | Notes
28
20
  import { PriceDistribution } from 'kalshi-typescript';
29
21
 
30
22
  const instance: PriceDistribution = {
31
- open,
32
23
  open_dollars,
33
- low,
34
24
  low_dollars,
35
- high,
36
25
  high_dollars,
37
- close,
38
26
  close_dollars,
39
- mean,
40
27
  mean_dollars,
41
- previous,
42
28
  previous_dollars,
43
- min,
44
29
  min_dollars,
45
- max,
46
30
  max_dollars,
47
31
  };
48
32
  ```
package/docs/Quote.md CHANGED
@@ -10,12 +10,9 @@ Name | Type | Description | Notes
10
10
  **creator_id** | **string** | Public communications ID of the quote creator | [default to undefined]
11
11
  **rfq_creator_id** | **string** | Public communications ID of the RFQ creator | [default to undefined]
12
12
  **market_ticker** | **string** | The ticker of the market this quote is for | [default to undefined]
13
- **contracts** | **number** | Number of contracts in the quote | [default to undefined]
14
13
  **contracts_fp** | **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. | [default to undefined]
15
- **yes_bid** | **number** | Bid price for YES contracts, in cents | [default to undefined]
16
- **no_bid** | **number** | Bid price for NO contracts, in cents | [default to undefined]
17
- **yes_bid_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [default to undefined]
18
- **no_bid_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [default to undefined]
14
+ **yes_bid_dollars** | **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. | [default to undefined]
15
+ **no_bid_dollars** | **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. | [default to undefined]
19
16
  **created_ts** | **string** | Timestamp when the quote was created | [default to undefined]
20
17
  **updated_ts** | **string** | Timestamp when the quote was last updated | [default to undefined]
21
18
  **status** | **string** | Current status of the quote | [default to undefined]
@@ -28,8 +25,7 @@ Name | Type | Description | Notes
28
25
  **cancellation_reason** | **string** | Reason for quote cancellation if cancelled | [optional] [default to undefined]
29
26
  **creator_user_id** | **string** | User ID of the quote creator (private field) | [optional] [default to undefined]
30
27
  **rfq_creator_user_id** | **string** | User ID of the RFQ creator (private field) | [optional] [default to undefined]
31
- **rfq_target_cost_centi_cents** | **number** | DEPRECATED: Total value requested in the RFQ in centi-cents. Use rfq_target_cost_dollars instead. | [optional] [default to undefined]
32
- **rfq_target_cost_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [optional] [default to undefined]
28
+ **rfq_target_cost_dollars** | **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. | [optional] [default to undefined]
33
29
  **rfq_creator_order_id** | **string** | Order ID for the RFQ creator (private field) | [optional] [default to undefined]
34
30
  **creator_order_id** | **string** | Order ID for the quote creator (private field) | [optional] [default to undefined]
35
31
 
@@ -44,10 +40,7 @@ const instance: Quote = {
44
40
  creator_id,
45
41
  rfq_creator_id,
46
42
  market_ticker,
47
- contracts,
48
43
  contracts_fp,
49
- yes_bid,
50
- no_bid,
51
44
  yes_bid_dollars,
52
45
  no_bid_dollars,
53
46
  created_ts,
@@ -62,7 +55,6 @@ const instance: Quote = {
62
55
  cancellation_reason,
63
56
  creator_user_id,
64
57
  rfq_creator_user_id,
65
- rfq_target_cost_centi_cents,
66
58
  rfq_target_cost_dollars,
67
59
  rfq_creator_order_id,
68
60
  creator_order_id,
package/docs/RFQ.md CHANGED
@@ -8,10 +8,8 @@ Name | Type | Description | Notes
8
8
  **id** | **string** | Unique identifier for the RFQ | [default to undefined]
9
9
  **creator_id** | **string** | Public communications ID of the RFQ creator. Exposed post-execution to the creator. | [default to undefined]
10
10
  **market_ticker** | **string** | The ticker of the market this RFQ is for | [default to undefined]
11
- **contracts** | **number** | Number of contracts requested in the RFQ | [default to undefined]
12
11
  **contracts_fp** | **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. | [default to undefined]
13
- **target_cost_centi_cents** | **number** | DEPRECATED: Total value of the RFQ in centi-cents. Use target_cost_dollars instead. | [optional] [default to undefined]
14
- **target_cost_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [optional] [default to undefined]
12
+ **target_cost_dollars** | **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. | [optional] [default to undefined]
15
13
  **status** | **string** | Current status of the RFQ (open, closed) | [default to undefined]
16
14
  **created_ts** | **string** | Timestamp when the RFQ was created | [default to undefined]
17
15
  **mve_collection_ticker** | **string** | Ticker of the MVE collection this market belongs to | [optional] [default to undefined]
@@ -31,9 +29,7 @@ const instance: RFQ = {
31
29
  id,
32
30
  creator_id,
33
31
  market_ticker,
34
- contracts,
35
32
  contracts_fp,
36
- target_cost_centi_cents,
37
33
  target_cost_dollars,
38
34
  status,
39
35
  created_ts,
package/docs/Series.md CHANGED
@@ -17,7 +17,6 @@ Name | Type | Description | Notes
17
17
  **fee_type** | **string** | FeeType is a string representing the series\' fee structure. Fee structures can be found at https://kalshi.com/docs/kalshi-fee-schedule.pdf. \'quadratic\' is described by the General Trading Fees Table, \'quadratic_with_maker_fees\' is described by the General Trading Fees Table with maker fees described in the Maker Fees section, \'flat\' is described by the Specific Trading Fees Table. | [default to undefined]
18
18
  **fee_multiplier** | **number** | FeeMultiplier is a floating point multiplier applied to the fee calculations. | [default to undefined]
19
19
  **additional_prohibitions** | **Array<string>** | AdditionalProhibitions is a list of additional trading prohibitions for this series. | [default to undefined]
20
- **volume** | **number** | Total contracts traded across all events in this series. | [optional] [default to undefined]
21
20
  **volume_fp** | **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. | [optional] [default to undefined]
22
21
  **last_updated_ts** | **string** | Timestamp of when this series\' metadata was last updated. | [optional] [default to undefined]
23
22
 
@@ -39,7 +38,6 @@ const instance: Series = {
39
38
  fee_type,
40
39
  fee_multiplier,
41
40
  additional_prohibitions,
42
- volume,
43
41
  volume_fp,
44
42
  last_updated_ts,
45
43
  };
@@ -8,15 +8,15 @@ Name | Type | Description | Notes
8
8
  **ticker** | **string** | The ticker symbol of the market that was settled. | [default to undefined]
9
9
  **event_ticker** | **string** | The event ticker symbol of the market that was settled. | [default to undefined]
10
10
  **market_result** | **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. | [default to undefined]
11
- **yes_count** | **number** | Number of YES contracts owned at the time of settlement. | [default to undefined]
12
11
  **yes_count_fp** | **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. | [default to undefined]
13
- **yes_total_cost** | **number** | Total cost basis of all YES contracts in cents. | [default to undefined]
14
- **no_count** | **number** | Number of NO contracts owned at the time of settlement. | [default to undefined]
12
+ **yes_total_cost** | **number** | DEPRECATED: Use yes_total_cost_dollars. This cents field remains available for now for compatibility. Total cost basis of all YES contracts in cents. | [default to undefined]
13
+ **yes_total_cost_dollars** | **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. | [default to undefined]
15
14
  **no_count_fp** | **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. | [default to undefined]
16
- **no_total_cost** | **number** | Total cost basis of all NO contracts in cents. | [default to undefined]
15
+ **no_total_cost** | **number** | DEPRECATED: Use no_total_cost_dollars. This cents field remains available for now for compatibility. Total cost basis of all NO contracts in cents. | [default to undefined]
16
+ **no_total_cost_dollars** | **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. | [default to undefined]
17
17
  **revenue** | **number** | Total revenue earned from this settlement in cents (winning contracts pay out 100 cents each). | [default to undefined]
18
18
  **settled_time** | **string** | Timestamp when the market was settled and payouts were processed. | [default to undefined]
19
- **fee_cost** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [default to undefined]
19
+ **fee_cost** | **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. | [default to undefined]
20
20
  **value** | **number** | Payout of a single yes contract in cents. | [optional] [default to undefined]
21
21
 
22
22
  ## Example
@@ -28,12 +28,12 @@ const instance: Settlement = {
28
28
  ticker,
29
29
  event_ticker,
30
30
  market_result,
31
- yes_count,
32
31
  yes_count_fp,
33
32
  yes_total_cost,
34
- no_count,
33
+ yes_total_cost_dollars,
35
34
  no_count_fp,
36
35
  no_total_cost,
36
+ no_total_cost_dollars,
37
37
  revenue,
38
38
  settled_time,
39
39
  fee_cost,
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
10
10
  **type** | **string** | Type of the structured target. | [optional] [default to undefined]
11
11
  **details** | **object** | Additional details about the structured target. Contains flexible JSON data specific to the target type. | [optional] [default to undefined]
12
12
  **source_id** | **string** | External source identifier for the structured target, if available (e.g., third-party data provider ID). | [optional] [default to undefined]
13
+ **source_ids** | **{ [key: string]: string; }** | Source ids of structured target if available. | [optional] [default to undefined]
13
14
  **last_updated_ts** | **string** | Timestamp when this structured target was last updated. | [optional] [default to undefined]
14
15
 
15
16
  ## Example
@@ -23,6 +24,7 @@ const instance: StructuredTarget = {
23
24
  type,
24
25
  details,
25
26
  source_id,
27
+ source_ids,
26
28
  last_updated_ts,
27
29
  };
28
30
  ```
@@ -6,7 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **subaccount_number** | **number** | Subaccount number (0 for primary, 1-32 for subaccounts). | [default to undefined]
9
- **balance** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [default to undefined]
9
+ **balance** | **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. | [default to undefined]
10
10
  **updated_ts** | **number** | Unix timestamp of last balance update. | [default to undefined]
11
11
 
12
12
  ## Example
@@ -0,0 +1,22 @@
1
+ # SubaccountNettingConfig
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **subaccount_number** | **number** | Subaccount number (0 for primary, 1-32 for subaccounts). | [default to undefined]
9
+ **enabled** | **boolean** | Whether netting is enabled for this subaccount. | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { SubaccountNettingConfig } from 'kalshi-typescript';
15
+
16
+ const instance: SubaccountNettingConfig = {
17
+ subaccount_number,
18
+ enabled,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/Trade.md CHANGED
@@ -7,13 +7,9 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **trade_id** | **string** | Unique identifier for this trade | [default to undefined]
9
9
  **ticker** | **string** | Unique identifier for the market | [default to undefined]
10
- **price** | **number** | Trade price (deprecated - use yes_price or no_price) | [default to undefined]
11
- **count** | **number** | Number of contracts bought or sold in this trade | [default to undefined]
12
10
  **count_fp** | **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. | [default to undefined]
13
- **yes_price** | **number** | Yes price for this trade in cents | [default to undefined]
14
- **no_price** | **number** | No price for this trade in cents | [default to undefined]
15
- **yes_price_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [default to undefined]
16
- **no_price_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 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. | [default to undefined]
11
+ **yes_price_dollars** | **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. | [default to undefined]
12
+ **no_price_dollars** | **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. | [default to undefined]
17
13
  **taker_side** | **string** | Side for the taker of this trade | [default to undefined]
18
14
  **created_time** | **string** | Timestamp when this trade was executed | [optional] [default to undefined]
19
15
 
@@ -25,11 +21,7 @@ import { Trade } from 'kalshi-typescript';
25
21
  const instance: Trade = {
26
22
  trade_id,
27
23
  ticker,
28
- price,
29
- count,
30
24
  count_fp,
31
- yes_price,
32
- no_price,
33
25
  yes_price_dollars,
34
26
  no_price_dollars,
35
27
  taker_side,
@@ -0,0 +1,22 @@
1
+ # UpdateSubaccountNettingRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **subaccount_number** | **number** | Subaccount number (0 for primary, 1-32 for subaccounts). | [default to undefined]
9
+ **enabled** | **boolean** | Whether netting is enabled for this subaccount. | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { UpdateSubaccountNettingRequest } from 'kalshi-typescript';
15
+
16
+ const instance: UpdateSubaccountNettingRequest = {
17
+ subaccount_number,
18
+ enabled,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -48,11 +48,11 @@ export interface AmendOrderRequest {
48
48
  */
49
49
  'no_price'?: number;
50
50
  /**
51
- * US dollar amount as a fixed-point decimal string with up to 4 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.
51
+ * 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.
52
52
  */
53
53
  'yes_price_dollars'?: string;
54
54
  /**
55
- * US dollar amount as a fixed-point decimal string with up to 4 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.
55
+ * 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.
56
56
  */
57
57
  'no_price_dollars'?: string;
58
58
  /**
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/models/api-key.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,10 +26,6 @@ export interface BatchCancelOrdersIndividualResponse {
26
26
  */
27
27
  'order_id': string;
28
28
  'order'?: Order | null;
29
- /**
30
- * The number of contracts that were successfully canceled from this order
31
- */
32
- 'reduced_by': number;
33
29
  /**
34
30
  * 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.
35
31
  */
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,19 +16,19 @@
16
16
 
17
17
  export interface BidAskDistributionHistorical {
18
18
  /**
19
- * US dollar amount as a fixed-point decimal string with up to 4 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.
19
+ * 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.
20
20
  */
21
21
  'open': string;
22
22
  /**
23
- * US dollar amount as a fixed-point decimal string with up to 4 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.
23
+ * 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.
24
24
  */
25
25
  'low': string;
26
26
  /**
27
- * US dollar amount as a fixed-point decimal string with up to 4 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.
27
+ * 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.
28
28
  */
29
29
  'high': string;
30
30
  /**
31
- * US dollar amount as a fixed-point decimal string with up to 4 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.
31
+ * 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.
32
32
  */
33
33
  'close': string;
34
34
  }
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,35 +16,19 @@
16
16
 
17
17
  export interface BidAskDistribution {
18
18
  /**
19
- * Offer price on the market at the start of the candlestick period (in cents).
20
- */
21
- 'open': number;
22
- /**
23
- * US dollar amount as a fixed-point decimal string with up to 4 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.
19
+ * 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.
24
20
  */
25
21
  'open_dollars': string;
26
22
  /**
27
- * Lowest offer price on the market during the candlestick period (in cents).
28
- */
29
- 'low': number;
30
- /**
31
- * US dollar amount as a fixed-point decimal string with up to 4 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.
23
+ * 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.
32
24
  */
33
25
  'low_dollars': string;
34
26
  /**
35
- * Highest offer price on the market during the candlestick period (in cents).
36
- */
37
- 'high': number;
38
- /**
39
- * US dollar amount as a fixed-point decimal string with up to 4 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.
27
+ * 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.
40
28
  */
41
29
  'high_dollars': string;
42
30
  /**
43
- * Offer price on the market at the end of the candlestick period (in cents).
44
- */
45
- 'close': number;
46
- /**
47
- * US dollar amount as a fixed-point decimal string with up to 4 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.
31
+ * 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.
48
32
  */
49
33
  'close_dollars': string;
50
34
  }
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19,7 +19,6 @@ import type { Order } from './order';
19
19
 
20
20
  export interface CancelOrderResponse {
21
21
  'order': Order;
22
- 'reduced_by': number;
23
22
  /**
24
23
  * 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.
25
24
  */
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Kalshi Trade API Manual Endpoints
5
5
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
6
6
  *
7
- * The version of the OpenAPI document: 3.8.0
7
+ * The version of the OpenAPI document: 3.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).