kalshi-typescript 3.4.0 → 3.5.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 (626) hide show
  1. package/README.md +13 -2
  2. package/dist/api/api-keys-api.d.ts +1 -1
  3. package/dist/api/api-keys-api.js +1 -1
  4. package/dist/api/communications-api.d.ts +1 -1
  5. package/dist/api/communications-api.js +1 -1
  6. package/dist/api/events-api.d.ts +1 -1
  7. package/dist/api/events-api.js +1 -1
  8. package/dist/api/exchange-api.d.ts +1 -1
  9. package/dist/api/exchange-api.js +1 -1
  10. package/dist/api/fcm-api.d.ts +1 -1
  11. package/dist/api/fcm-api.js +1 -1
  12. package/dist/api/incentive-programs-api.d.ts +1 -1
  13. package/dist/api/incentive-programs-api.js +1 -1
  14. package/dist/api/live-data-api.d.ts +1 -1
  15. package/dist/api/live-data-api.js +1 -1
  16. package/dist/api/market-api.d.ts +25 -13
  17. package/dist/api/market-api.js +43 -22
  18. package/dist/api/milestone-api.d.ts +1 -1
  19. package/dist/api/milestone-api.js +1 -1
  20. package/dist/api/multivariate-api.d.ts +1 -1
  21. package/dist/api/multivariate-api.js +1 -1
  22. package/dist/api/order-groups-api.d.ts +1 -1
  23. package/dist/api/order-groups-api.js +1 -1
  24. package/dist/api/orders-api.d.ts +9 -5
  25. package/dist/api/orders-api.js +15 -8
  26. package/dist/api/portfolio-api.d.ts +145 -9
  27. package/dist/api/portfolio-api.js +307 -15
  28. package/dist/api/search-api.d.ts +1 -1
  29. package/dist/api/search-api.js +1 -1
  30. package/dist/api/structured-targets-api.d.ts +1 -1
  31. package/dist/api/structured-targets-api.js +1 -1
  32. package/dist/api.d.ts +1 -1
  33. package/dist/api.js +1 -1
  34. package/dist/base.d.ts +1 -1
  35. package/dist/base.js +1 -1
  36. package/dist/common.d.ts +1 -1
  37. package/dist/common.js +1 -1
  38. package/dist/configuration.d.ts +1 -1
  39. package/dist/configuration.js +1 -1
  40. package/dist/esm/api/api-keys-api.d.ts +1 -1
  41. package/dist/esm/api/api-keys-api.js +1 -1
  42. package/dist/esm/api/communications-api.d.ts +1 -1
  43. package/dist/esm/api/communications-api.js +1 -1
  44. package/dist/esm/api/events-api.d.ts +1 -1
  45. package/dist/esm/api/events-api.js +1 -1
  46. package/dist/esm/api/exchange-api.d.ts +1 -1
  47. package/dist/esm/api/exchange-api.js +1 -1
  48. package/dist/esm/api/fcm-api.d.ts +1 -1
  49. package/dist/esm/api/fcm-api.js +1 -1
  50. package/dist/esm/api/incentive-programs-api.d.ts +1 -1
  51. package/dist/esm/api/incentive-programs-api.js +1 -1
  52. package/dist/esm/api/live-data-api.d.ts +1 -1
  53. package/dist/esm/api/live-data-api.js +1 -1
  54. package/dist/esm/api/market-api.d.ts +25 -13
  55. package/dist/esm/api/market-api.js +43 -22
  56. package/dist/esm/api/milestone-api.d.ts +1 -1
  57. package/dist/esm/api/milestone-api.js +1 -1
  58. package/dist/esm/api/multivariate-api.d.ts +1 -1
  59. package/dist/esm/api/multivariate-api.js +1 -1
  60. package/dist/esm/api/order-groups-api.d.ts +1 -1
  61. package/dist/esm/api/order-groups-api.js +1 -1
  62. package/dist/esm/api/orders-api.d.ts +9 -5
  63. package/dist/esm/api/orders-api.js +15 -8
  64. package/dist/esm/api/portfolio-api.d.ts +145 -9
  65. package/dist/esm/api/portfolio-api.js +308 -16
  66. package/dist/esm/api/search-api.d.ts +1 -1
  67. package/dist/esm/api/search-api.js +1 -1
  68. package/dist/esm/api/structured-targets-api.d.ts +1 -1
  69. package/dist/esm/api/structured-targets-api.js +1 -1
  70. package/dist/esm/api.d.ts +1 -1
  71. package/dist/esm/api.js +1 -1
  72. package/dist/esm/base.d.ts +1 -1
  73. package/dist/esm/base.js +1 -1
  74. package/dist/esm/common.d.ts +1 -1
  75. package/dist/esm/common.js +1 -1
  76. package/dist/esm/configuration.d.ts +1 -1
  77. package/dist/esm/configuration.js +1 -1
  78. package/dist/esm/index.d.ts +1 -1
  79. package/dist/esm/index.js +1 -1
  80. package/dist/esm/models/accept-quote-request.d.ts +1 -1
  81. package/dist/esm/models/accept-quote-request.js +1 -1
  82. package/dist/esm/models/amend-order-request.d.ts +6 -2
  83. package/dist/esm/models/amend-order-request.js +1 -1
  84. package/dist/esm/models/amend-order-response.d.ts +1 -1
  85. package/dist/esm/models/amend-order-response.js +1 -1
  86. package/dist/esm/models/announcement.d.ts +1 -1
  87. package/dist/esm/models/announcement.js +1 -1
  88. package/dist/esm/models/api-key.d.ts +1 -1
  89. package/dist/esm/models/api-key.js +1 -1
  90. package/dist/esm/models/apply-subaccount-transfer-request.d.ts +29 -0
  91. package/dist/esm/models/apply-subaccount-transfer-request.js +14 -0
  92. package/dist/esm/models/associated-event.d.ts +1 -1
  93. package/dist/esm/models/associated-event.js +1 -1
  94. package/dist/esm/models/batch-cancel-orders-individual-response.d.ts +5 -1
  95. package/dist/esm/models/batch-cancel-orders-individual-response.js +1 -1
  96. package/dist/esm/models/batch-cancel-orders-request.d.ts +1 -1
  97. package/dist/esm/models/batch-cancel-orders-request.js +1 -1
  98. package/dist/esm/models/batch-cancel-orders-response.d.ts +1 -1
  99. package/dist/esm/models/batch-cancel-orders-response.js +1 -1
  100. package/dist/esm/models/batch-create-orders-individual-response.d.ts +1 -1
  101. package/dist/esm/models/batch-create-orders-individual-response.js +1 -1
  102. package/dist/esm/models/batch-create-orders-request.d.ts +1 -1
  103. package/dist/esm/models/batch-create-orders-request.js +1 -1
  104. package/dist/esm/models/batch-create-orders-response.d.ts +1 -1
  105. package/dist/esm/models/batch-create-orders-response.js +1 -1
  106. package/dist/esm/models/batch-get-market-candlesticks-response.d.ts +1 -1
  107. package/dist/esm/models/batch-get-market-candlesticks-response.js +1 -1
  108. package/dist/esm/models/bid-ask-distribution.d.ts +1 -1
  109. package/dist/esm/models/bid-ask-distribution.js +1 -1
  110. package/dist/esm/models/cancel-order-response.d.ts +5 -1
  111. package/dist/esm/models/cancel-order-response.js +1 -1
  112. package/dist/esm/models/create-api-key-request.d.ts +1 -1
  113. package/dist/esm/models/create-api-key-request.js +1 -1
  114. package/dist/esm/models/create-api-key-response.d.ts +1 -1
  115. package/dist/esm/models/create-api-key-response.js +1 -1
  116. package/dist/esm/models/create-market-in-multivariate-event-collection-request.d.ts +1 -1
  117. package/dist/esm/models/create-market-in-multivariate-event-collection-request.js +1 -1
  118. package/dist/esm/models/create-market-in-multivariate-event-collection-response.d.ts +1 -1
  119. package/dist/esm/models/create-market-in-multivariate-event-collection-response.js +1 -1
  120. package/dist/esm/models/create-order-group-request.d.ts +7 -3
  121. package/dist/esm/models/create-order-group-request.js +1 -1
  122. package/dist/esm/models/create-order-group-response.d.ts +1 -1
  123. package/dist/esm/models/create-order-group-response.js +1 -1
  124. package/dist/esm/models/create-order-request.d.ts +13 -2
  125. package/dist/esm/models/create-order-request.js +1 -1
  126. package/dist/esm/models/create-order-response.d.ts +1 -1
  127. package/dist/esm/models/create-order-response.js +1 -1
  128. package/dist/esm/models/create-quote-request.d.ts +1 -1
  129. package/dist/esm/models/create-quote-request.js +1 -1
  130. package/dist/esm/models/create-quote-response.d.ts +1 -1
  131. package/dist/esm/models/create-quote-response.js +1 -1
  132. package/dist/esm/models/create-rfqrequest.d.ts +6 -2
  133. package/dist/esm/models/create-rfqrequest.js +1 -1
  134. package/dist/esm/models/create-rfqresponse.d.ts +1 -1
  135. package/dist/esm/models/create-rfqresponse.js +1 -1
  136. package/dist/esm/models/create-subaccount-response.d.ts +17 -0
  137. package/dist/esm/models/create-subaccount-response.js +14 -0
  138. package/dist/esm/models/daily-schedule.d.ts +1 -1
  139. package/dist/esm/models/daily-schedule.js +1 -1
  140. package/dist/esm/models/decrease-order-request.d.ts +15 -1
  141. package/dist/esm/models/decrease-order-request.js +1 -1
  142. package/dist/esm/models/decrease-order-response.d.ts +1 -1
  143. package/dist/esm/models/decrease-order-response.js +1 -1
  144. package/dist/esm/models/error-response.d.ts +1 -1
  145. package/dist/esm/models/error-response.js +1 -1
  146. package/dist/esm/models/event-data.d.ts +1 -1
  147. package/dist/esm/models/event-data.js +1 -1
  148. package/dist/esm/models/event-position.d.ts +5 -1
  149. package/dist/esm/models/event-position.js +1 -1
  150. package/dist/esm/models/exchange-instance.d.ts +1 -1
  151. package/dist/esm/models/exchange-instance.js +1 -1
  152. package/dist/esm/models/exchange-status.d.ts +1 -1
  153. package/dist/esm/models/exchange-status.js +1 -1
  154. package/dist/esm/models/fill.d.ts +5 -1
  155. package/dist/esm/models/fill.js +1 -1
  156. package/dist/esm/models/forecast-percentiles-point.d.ts +1 -1
  157. package/dist/esm/models/forecast-percentiles-point.js +1 -1
  158. package/dist/esm/models/generate-api-key-request.d.ts +1 -1
  159. package/dist/esm/models/generate-api-key-request.js +1 -1
  160. package/dist/esm/models/generate-api-key-response.d.ts +1 -1
  161. package/dist/esm/models/generate-api-key-response.js +1 -1
  162. package/dist/esm/models/get-api-keys-response.d.ts +1 -1
  163. package/dist/esm/models/get-api-keys-response.js +1 -1
  164. package/dist/esm/models/get-balance-response.d.ts +1 -1
  165. package/dist/esm/models/get-balance-response.js +1 -1
  166. package/dist/esm/models/get-communications-idresponse.d.ts +1 -1
  167. package/dist/esm/models/get-communications-idresponse.js +1 -1
  168. package/dist/esm/models/get-event-candlesticks-response.d.ts +1 -1
  169. package/dist/esm/models/get-event-candlesticks-response.js +1 -1
  170. package/dist/esm/models/get-event-forecast-percentiles-history-response.d.ts +1 -1
  171. package/dist/esm/models/get-event-forecast-percentiles-history-response.js +1 -1
  172. package/dist/esm/models/get-event-metadata-response.d.ts +1 -1
  173. package/dist/esm/models/get-event-metadata-response.js +1 -1
  174. package/dist/esm/models/get-event-response.d.ts +1 -1
  175. package/dist/esm/models/get-event-response.js +1 -1
  176. package/dist/esm/models/get-events-response.d.ts +1 -1
  177. package/dist/esm/models/get-events-response.js +1 -1
  178. package/dist/esm/models/get-exchange-announcements-response.d.ts +1 -1
  179. package/dist/esm/models/get-exchange-announcements-response.js +1 -1
  180. package/dist/esm/models/get-exchange-schedule-response.d.ts +1 -1
  181. package/dist/esm/models/get-exchange-schedule-response.js +1 -1
  182. package/dist/esm/models/get-fills-response.d.ts +1 -1
  183. package/dist/esm/models/get-fills-response.js +1 -1
  184. package/dist/esm/models/get-filters-by-sports-response.d.ts +1 -1
  185. package/dist/esm/models/get-filters-by-sports-response.js +1 -1
  186. package/dist/esm/models/get-incentive-programs-response.d.ts +1 -1
  187. package/dist/esm/models/get-incentive-programs-response.js +1 -1
  188. package/dist/esm/models/get-live-data-response.d.ts +1 -1
  189. package/dist/esm/models/get-live-data-response.js +1 -1
  190. package/dist/esm/models/get-live-datas-response.d.ts +1 -1
  191. package/dist/esm/models/get-live-datas-response.js +1 -1
  192. package/dist/esm/models/get-market-candlesticks-response.d.ts +1 -1
  193. package/dist/esm/models/get-market-candlesticks-response.js +1 -1
  194. package/dist/esm/models/get-market-orderbook-response.d.ts +3 -1
  195. package/dist/esm/models/get-market-orderbook-response.js +1 -1
  196. package/dist/esm/models/get-market-response.d.ts +1 -1
  197. package/dist/esm/models/get-market-response.js +1 -1
  198. package/dist/esm/models/get-markets-response.d.ts +1 -1
  199. package/dist/esm/models/get-markets-response.js +1 -1
  200. package/dist/esm/models/get-milestone-response.d.ts +1 -1
  201. package/dist/esm/models/get-milestone-response.js +1 -1
  202. package/dist/esm/models/get-milestones-response.d.ts +1 -1
  203. package/dist/esm/models/get-milestones-response.js +1 -1
  204. package/dist/esm/models/get-multivariate-event-collection-lookup-history-response.d.ts +1 -1
  205. package/dist/esm/models/get-multivariate-event-collection-lookup-history-response.js +1 -1
  206. package/dist/esm/models/get-multivariate-event-collection-response.d.ts +1 -1
  207. package/dist/esm/models/get-multivariate-event-collection-response.js +1 -1
  208. package/dist/esm/models/get-multivariate-event-collections-response.d.ts +1 -1
  209. package/dist/esm/models/get-multivariate-event-collections-response.js +1 -1
  210. package/dist/esm/models/get-multivariate-events-response.d.ts +1 -1
  211. package/dist/esm/models/get-multivariate-events-response.js +1 -1
  212. package/dist/esm/models/get-order-group-response.d.ts +1 -1
  213. package/dist/esm/models/get-order-group-response.js +1 -1
  214. package/dist/esm/models/get-order-groups-response.d.ts +1 -1
  215. package/dist/esm/models/get-order-groups-response.js +1 -1
  216. package/dist/esm/models/get-order-queue-position-response.d.ts +1 -1
  217. package/dist/esm/models/get-order-queue-position-response.js +1 -1
  218. package/dist/esm/models/get-order-queue-positions-response.d.ts +1 -1
  219. package/dist/esm/models/get-order-queue-positions-response.js +1 -1
  220. package/dist/esm/models/get-order-response.d.ts +1 -1
  221. package/dist/esm/models/get-order-response.js +1 -1
  222. package/dist/esm/models/get-orders-response.d.ts +1 -1
  223. package/dist/esm/models/get-orders-response.js +1 -1
  224. package/dist/esm/models/get-portfolio-resting-order-total-value-response.d.ts +1 -1
  225. package/dist/esm/models/get-portfolio-resting-order-total-value-response.js +1 -1
  226. package/dist/esm/models/get-positions-response.d.ts +1 -1
  227. package/dist/esm/models/get-positions-response.js +1 -1
  228. package/dist/esm/models/get-quote-response.d.ts +1 -1
  229. package/dist/esm/models/get-quote-response.js +1 -1
  230. package/dist/esm/models/get-quotes-response.d.ts +1 -1
  231. package/dist/esm/models/get-quotes-response.js +1 -1
  232. package/dist/esm/models/get-rfqresponse.d.ts +1 -1
  233. package/dist/esm/models/get-rfqresponse.js +1 -1
  234. package/dist/esm/models/get-rfqs-response.d.ts +1 -1
  235. package/dist/esm/models/get-rfqs-response.js +1 -1
  236. package/dist/esm/models/get-series-fee-changes-response.d.ts +1 -1
  237. package/dist/esm/models/get-series-fee-changes-response.js +1 -1
  238. package/dist/esm/models/get-series-list-response.d.ts +1 -1
  239. package/dist/esm/models/get-series-list-response.js +1 -1
  240. package/dist/esm/models/get-series-response.d.ts +1 -1
  241. package/dist/esm/models/get-series-response.js +1 -1
  242. package/dist/esm/models/get-settlements-response.d.ts +1 -1
  243. package/dist/esm/models/get-settlements-response.js +1 -1
  244. package/dist/esm/models/get-structured-target-response.d.ts +1 -1
  245. package/dist/esm/models/get-structured-target-response.js +1 -1
  246. package/dist/esm/models/get-structured-targets-response.d.ts +1 -1
  247. package/dist/esm/models/get-structured-targets-response.js +1 -1
  248. package/dist/esm/models/get-subaccount-balance-response.d.ts +21 -0
  249. package/dist/esm/models/get-subaccount-balance-response.js +14 -0
  250. package/dist/esm/models/get-subaccount-balances-response.d.ts +15 -0
  251. package/dist/esm/models/get-subaccount-balances-response.js +14 -0
  252. package/dist/esm/models/get-subaccount-transfers-response.d.ts +19 -0
  253. package/dist/esm/models/get-subaccount-transfers-response.js +14 -0
  254. package/dist/esm/models/get-tags-for-series-categories-response.d.ts +1 -1
  255. package/dist/esm/models/get-tags-for-series-categories-response.js +1 -1
  256. package/dist/esm/models/get-trades-response.d.ts +1 -1
  257. package/dist/esm/models/get-trades-response.js +1 -1
  258. package/dist/esm/models/get-user-data-timestamp-response.d.ts +1 -1
  259. package/dist/esm/models/get-user-data-timestamp-response.js +1 -1
  260. package/dist/esm/models/incentive-program.d.ts +5 -1
  261. package/dist/esm/models/incentive-program.js +1 -1
  262. package/dist/esm/models/index.d.ts +7 -0
  263. package/dist/esm/models/index.js +7 -0
  264. package/dist/esm/models/intra-exchange-instance-transfer-request.d.ts +1 -1
  265. package/dist/esm/models/intra-exchange-instance-transfer-request.js +1 -1
  266. package/dist/esm/models/intra-exchange-instance-transfer-response.d.ts +1 -1
  267. package/dist/esm/models/intra-exchange-instance-transfer-response.js +1 -1
  268. package/dist/esm/models/live-data.d.ts +1 -1
  269. package/dist/esm/models/live-data.js +1 -1
  270. package/dist/esm/models/lookup-point.d.ts +1 -1
  271. package/dist/esm/models/lookup-point.js +1 -1
  272. package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-request.d.ts +1 -1
  273. package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-request.js +1 -1
  274. package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-response.d.ts +1 -1
  275. package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-response.js +1 -1
  276. package/dist/esm/models/maintenance-window.d.ts +1 -1
  277. package/dist/esm/models/maintenance-window.js +1 -1
  278. package/dist/esm/models/market-candlestick.d.ts +9 -1
  279. package/dist/esm/models/market-candlestick.js +1 -1
  280. package/dist/esm/models/market-candlesticks-response.d.ts +1 -1
  281. package/dist/esm/models/market-candlesticks-response.js +1 -1
  282. package/dist/esm/models/market-metadata.d.ts +1 -1
  283. package/dist/esm/models/market-metadata.js +1 -1
  284. package/dist/esm/models/market-position.d.ts +5 -1
  285. package/dist/esm/models/market-position.js +1 -1
  286. package/dist/esm/models/market.d.ts +17 -1
  287. package/dist/esm/models/market.js +1 -1
  288. package/dist/esm/models/milestone.d.ts +1 -1
  289. package/dist/esm/models/milestone.js +1 -1
  290. package/dist/esm/models/multivariate-event-collection.d.ts +1 -1
  291. package/dist/esm/models/multivariate-event-collection.js +1 -1
  292. package/dist/esm/models/mve-selected-leg.d.ts +5 -1
  293. package/dist/esm/models/mve-selected-leg.js +1 -1
  294. package/dist/esm/models/order-group.d.ts +1 -1
  295. package/dist/esm/models/order-group.js +1 -1
  296. package/dist/esm/models/order-queue-position.d.ts +1 -1
  297. package/dist/esm/models/order-queue-position.js +1 -1
  298. package/dist/esm/models/order-status.d.ts +1 -1
  299. package/dist/esm/models/order-status.js +1 -1
  300. package/dist/esm/models/order.d.ts +13 -1
  301. package/dist/esm/models/order.js +1 -1
  302. package/dist/esm/models/orderbook-count-fp.d.ts +18 -0
  303. package/dist/esm/models/orderbook-count-fp.js +14 -0
  304. package/dist/esm/models/orderbook-level-count-fp-inner.d.ts +15 -0
  305. package/dist/esm/models/orderbook-level-count-fp-inner.js +14 -0
  306. package/dist/esm/models/orderbook.d.ts +4 -1
  307. package/dist/esm/models/orderbook.js +1 -1
  308. package/dist/esm/models/percentile-point.d.ts +1 -1
  309. package/dist/esm/models/percentile-point.js +1 -1
  310. package/dist/esm/models/price-distribution.d.ts +1 -1
  311. package/dist/esm/models/price-distribution.js +1 -1
  312. package/dist/esm/models/price-level-count-fp-inner.d.ts +15 -0
  313. package/dist/esm/models/price-level-count-fp-inner.js +14 -0
  314. package/dist/esm/models/price-level-dollars-inner.d.ts +15 -0
  315. package/dist/esm/models/price-level-dollars-inner.js +14 -0
  316. package/dist/esm/models/price-range.d.ts +1 -1
  317. package/dist/esm/models/price-range.js +1 -1
  318. package/dist/esm/models/quote.d.ts +5 -1
  319. package/dist/esm/models/quote.js +1 -1
  320. package/dist/esm/models/rfq.d.ts +6 -2
  321. package/dist/esm/models/rfq.js +1 -1
  322. package/dist/esm/models/schedule.d.ts +1 -1
  323. package/dist/esm/models/schedule.js +1 -1
  324. package/dist/esm/models/scope-list.d.ts +1 -1
  325. package/dist/esm/models/scope-list.js +1 -1
  326. package/dist/esm/models/self-trade-prevention-type.d.ts +1 -1
  327. package/dist/esm/models/self-trade-prevention-type.js +1 -1
  328. package/dist/esm/models/series-fee-change.d.ts +1 -1
  329. package/dist/esm/models/series-fee-change.js +1 -1
  330. package/dist/esm/models/series.d.ts +9 -1
  331. package/dist/esm/models/series.js +1 -1
  332. package/dist/esm/models/settlement-source.d.ts +1 -1
  333. package/dist/esm/models/settlement-source.js +1 -1
  334. package/dist/esm/models/settlement.d.ts +9 -1
  335. package/dist/esm/models/settlement.js +1 -1
  336. package/dist/esm/models/sport-filter-details.d.ts +1 -1
  337. package/dist/esm/models/sport-filter-details.js +1 -1
  338. package/dist/esm/models/structured-target.d.ts +1 -1
  339. package/dist/esm/models/structured-target.js +1 -1
  340. package/dist/esm/models/subaccount-balance.d.ts +25 -0
  341. package/dist/esm/models/subaccount-balance.js +14 -0
  342. package/dist/esm/models/subaccount-transfer.d.ts +33 -0
  343. package/dist/esm/models/subaccount-transfer.js +14 -0
  344. package/dist/esm/models/ticker-pair.d.ts +1 -1
  345. package/dist/esm/models/ticker-pair.js +1 -1
  346. package/dist/esm/models/trade.d.ts +5 -1
  347. package/dist/esm/models/trade.js +1 -1
  348. package/dist/esm/models/transfer-between-subaccounts-request.d.ts +25 -0
  349. package/dist/esm/models/transfer-between-subaccounts-request.js +14 -0
  350. package/dist/esm/models/weekly-schedule.d.ts +1 -1
  351. package/dist/esm/models/weekly-schedule.js +1 -1
  352. package/dist/index.d.ts +1 -1
  353. package/dist/index.js +1 -1
  354. package/dist/models/accept-quote-request.d.ts +1 -1
  355. package/dist/models/accept-quote-request.js +1 -1
  356. package/dist/models/amend-order-request.d.ts +6 -2
  357. package/dist/models/amend-order-request.js +1 -1
  358. package/dist/models/amend-order-response.d.ts +1 -1
  359. package/dist/models/amend-order-response.js +1 -1
  360. package/dist/models/announcement.d.ts +1 -1
  361. package/dist/models/announcement.js +1 -1
  362. package/dist/models/api-key.d.ts +1 -1
  363. package/dist/models/api-key.js +1 -1
  364. package/dist/models/apply-subaccount-transfer-request.d.ts +29 -0
  365. package/dist/models/apply-subaccount-transfer-request.js +15 -0
  366. package/dist/models/associated-event.d.ts +1 -1
  367. package/dist/models/associated-event.js +1 -1
  368. package/dist/models/batch-cancel-orders-individual-response.d.ts +5 -1
  369. package/dist/models/batch-cancel-orders-individual-response.js +1 -1
  370. package/dist/models/batch-cancel-orders-request.d.ts +1 -1
  371. package/dist/models/batch-cancel-orders-request.js +1 -1
  372. package/dist/models/batch-cancel-orders-response.d.ts +1 -1
  373. package/dist/models/batch-cancel-orders-response.js +1 -1
  374. package/dist/models/batch-create-orders-individual-response.d.ts +1 -1
  375. package/dist/models/batch-create-orders-individual-response.js +1 -1
  376. package/dist/models/batch-create-orders-request.d.ts +1 -1
  377. package/dist/models/batch-create-orders-request.js +1 -1
  378. package/dist/models/batch-create-orders-response.d.ts +1 -1
  379. package/dist/models/batch-create-orders-response.js +1 -1
  380. package/dist/models/batch-get-market-candlesticks-response.d.ts +1 -1
  381. package/dist/models/batch-get-market-candlesticks-response.js +1 -1
  382. package/dist/models/bid-ask-distribution.d.ts +1 -1
  383. package/dist/models/bid-ask-distribution.js +1 -1
  384. package/dist/models/cancel-order-response.d.ts +5 -1
  385. package/dist/models/cancel-order-response.js +1 -1
  386. package/dist/models/create-api-key-request.d.ts +1 -1
  387. package/dist/models/create-api-key-request.js +1 -1
  388. package/dist/models/create-api-key-response.d.ts +1 -1
  389. package/dist/models/create-api-key-response.js +1 -1
  390. package/dist/models/create-market-in-multivariate-event-collection-request.d.ts +1 -1
  391. package/dist/models/create-market-in-multivariate-event-collection-request.js +1 -1
  392. package/dist/models/create-market-in-multivariate-event-collection-response.d.ts +1 -1
  393. package/dist/models/create-market-in-multivariate-event-collection-response.js +1 -1
  394. package/dist/models/create-order-group-request.d.ts +7 -3
  395. package/dist/models/create-order-group-request.js +1 -1
  396. package/dist/models/create-order-group-response.d.ts +1 -1
  397. package/dist/models/create-order-group-response.js +1 -1
  398. package/dist/models/create-order-request.d.ts +13 -2
  399. package/dist/models/create-order-request.js +1 -1
  400. package/dist/models/create-order-response.d.ts +1 -1
  401. package/dist/models/create-order-response.js +1 -1
  402. package/dist/models/create-quote-request.d.ts +1 -1
  403. package/dist/models/create-quote-request.js +1 -1
  404. package/dist/models/create-quote-response.d.ts +1 -1
  405. package/dist/models/create-quote-response.js +1 -1
  406. package/dist/models/create-rfqrequest.d.ts +6 -2
  407. package/dist/models/create-rfqrequest.js +1 -1
  408. package/dist/models/create-rfqresponse.d.ts +1 -1
  409. package/dist/models/create-rfqresponse.js +1 -1
  410. package/dist/models/create-subaccount-response.d.ts +17 -0
  411. package/dist/models/create-subaccount-response.js +15 -0
  412. package/dist/models/daily-schedule.d.ts +1 -1
  413. package/dist/models/daily-schedule.js +1 -1
  414. package/dist/models/decrease-order-request.d.ts +15 -1
  415. package/dist/models/decrease-order-request.js +1 -1
  416. package/dist/models/decrease-order-response.d.ts +1 -1
  417. package/dist/models/decrease-order-response.js +1 -1
  418. package/dist/models/error-response.d.ts +1 -1
  419. package/dist/models/error-response.js +1 -1
  420. package/dist/models/event-data.d.ts +1 -1
  421. package/dist/models/event-data.js +1 -1
  422. package/dist/models/event-position.d.ts +5 -1
  423. package/dist/models/event-position.js +1 -1
  424. package/dist/models/exchange-instance.d.ts +1 -1
  425. package/dist/models/exchange-instance.js +1 -1
  426. package/dist/models/exchange-status.d.ts +1 -1
  427. package/dist/models/exchange-status.js +1 -1
  428. package/dist/models/fill.d.ts +5 -1
  429. package/dist/models/fill.js +1 -1
  430. package/dist/models/forecast-percentiles-point.d.ts +1 -1
  431. package/dist/models/forecast-percentiles-point.js +1 -1
  432. package/dist/models/generate-api-key-request.d.ts +1 -1
  433. package/dist/models/generate-api-key-request.js +1 -1
  434. package/dist/models/generate-api-key-response.d.ts +1 -1
  435. package/dist/models/generate-api-key-response.js +1 -1
  436. package/dist/models/get-api-keys-response.d.ts +1 -1
  437. package/dist/models/get-api-keys-response.js +1 -1
  438. package/dist/models/get-balance-response.d.ts +1 -1
  439. package/dist/models/get-balance-response.js +1 -1
  440. package/dist/models/get-communications-idresponse.d.ts +1 -1
  441. package/dist/models/get-communications-idresponse.js +1 -1
  442. package/dist/models/get-event-candlesticks-response.d.ts +1 -1
  443. package/dist/models/get-event-candlesticks-response.js +1 -1
  444. package/dist/models/get-event-forecast-percentiles-history-response.d.ts +1 -1
  445. package/dist/models/get-event-forecast-percentiles-history-response.js +1 -1
  446. package/dist/models/get-event-metadata-response.d.ts +1 -1
  447. package/dist/models/get-event-metadata-response.js +1 -1
  448. package/dist/models/get-event-response.d.ts +1 -1
  449. package/dist/models/get-event-response.js +1 -1
  450. package/dist/models/get-events-response.d.ts +1 -1
  451. package/dist/models/get-events-response.js +1 -1
  452. package/dist/models/get-exchange-announcements-response.d.ts +1 -1
  453. package/dist/models/get-exchange-announcements-response.js +1 -1
  454. package/dist/models/get-exchange-schedule-response.d.ts +1 -1
  455. package/dist/models/get-exchange-schedule-response.js +1 -1
  456. package/dist/models/get-fills-response.d.ts +1 -1
  457. package/dist/models/get-fills-response.js +1 -1
  458. package/dist/models/get-filters-by-sports-response.d.ts +1 -1
  459. package/dist/models/get-filters-by-sports-response.js +1 -1
  460. package/dist/models/get-incentive-programs-response.d.ts +1 -1
  461. package/dist/models/get-incentive-programs-response.js +1 -1
  462. package/dist/models/get-live-data-response.d.ts +1 -1
  463. package/dist/models/get-live-data-response.js +1 -1
  464. package/dist/models/get-live-datas-response.d.ts +1 -1
  465. package/dist/models/get-live-datas-response.js +1 -1
  466. package/dist/models/get-market-candlesticks-response.d.ts +1 -1
  467. package/dist/models/get-market-candlesticks-response.js +1 -1
  468. package/dist/models/get-market-orderbook-response.d.ts +3 -1
  469. package/dist/models/get-market-orderbook-response.js +1 -1
  470. package/dist/models/get-market-response.d.ts +1 -1
  471. package/dist/models/get-market-response.js +1 -1
  472. package/dist/models/get-markets-response.d.ts +1 -1
  473. package/dist/models/get-markets-response.js +1 -1
  474. package/dist/models/get-milestone-response.d.ts +1 -1
  475. package/dist/models/get-milestone-response.js +1 -1
  476. package/dist/models/get-milestones-response.d.ts +1 -1
  477. package/dist/models/get-milestones-response.js +1 -1
  478. package/dist/models/get-multivariate-event-collection-lookup-history-response.d.ts +1 -1
  479. package/dist/models/get-multivariate-event-collection-lookup-history-response.js +1 -1
  480. package/dist/models/get-multivariate-event-collection-response.d.ts +1 -1
  481. package/dist/models/get-multivariate-event-collection-response.js +1 -1
  482. package/dist/models/get-multivariate-event-collections-response.d.ts +1 -1
  483. package/dist/models/get-multivariate-event-collections-response.js +1 -1
  484. package/dist/models/get-multivariate-events-response.d.ts +1 -1
  485. package/dist/models/get-multivariate-events-response.js +1 -1
  486. package/dist/models/get-order-group-response.d.ts +1 -1
  487. package/dist/models/get-order-group-response.js +1 -1
  488. package/dist/models/get-order-groups-response.d.ts +1 -1
  489. package/dist/models/get-order-groups-response.js +1 -1
  490. package/dist/models/get-order-queue-position-response.d.ts +1 -1
  491. package/dist/models/get-order-queue-position-response.js +1 -1
  492. package/dist/models/get-order-queue-positions-response.d.ts +1 -1
  493. package/dist/models/get-order-queue-positions-response.js +1 -1
  494. package/dist/models/get-order-response.d.ts +1 -1
  495. package/dist/models/get-order-response.js +1 -1
  496. package/dist/models/get-orders-response.d.ts +1 -1
  497. package/dist/models/get-orders-response.js +1 -1
  498. package/dist/models/get-portfolio-resting-order-total-value-response.d.ts +1 -1
  499. package/dist/models/get-portfolio-resting-order-total-value-response.js +1 -1
  500. package/dist/models/get-positions-response.d.ts +1 -1
  501. package/dist/models/get-positions-response.js +1 -1
  502. package/dist/models/get-quote-response.d.ts +1 -1
  503. package/dist/models/get-quote-response.js +1 -1
  504. package/dist/models/get-quotes-response.d.ts +1 -1
  505. package/dist/models/get-quotes-response.js +1 -1
  506. package/dist/models/get-rfqresponse.d.ts +1 -1
  507. package/dist/models/get-rfqresponse.js +1 -1
  508. package/dist/models/get-rfqs-response.d.ts +1 -1
  509. package/dist/models/get-rfqs-response.js +1 -1
  510. package/dist/models/get-series-fee-changes-response.d.ts +1 -1
  511. package/dist/models/get-series-fee-changes-response.js +1 -1
  512. package/dist/models/get-series-list-response.d.ts +1 -1
  513. package/dist/models/get-series-list-response.js +1 -1
  514. package/dist/models/get-series-response.d.ts +1 -1
  515. package/dist/models/get-series-response.js +1 -1
  516. package/dist/models/get-settlements-response.d.ts +1 -1
  517. package/dist/models/get-settlements-response.js +1 -1
  518. package/dist/models/get-structured-target-response.d.ts +1 -1
  519. package/dist/models/get-structured-target-response.js +1 -1
  520. package/dist/models/get-structured-targets-response.d.ts +1 -1
  521. package/dist/models/get-structured-targets-response.js +1 -1
  522. package/dist/models/get-subaccount-balance-response.d.ts +21 -0
  523. package/dist/models/get-subaccount-balance-response.js +15 -0
  524. package/dist/models/get-subaccount-balances-response.d.ts +15 -0
  525. package/dist/models/get-subaccount-balances-response.js +15 -0
  526. package/dist/models/get-subaccount-transfers-response.d.ts +19 -0
  527. package/dist/models/get-subaccount-transfers-response.js +15 -0
  528. package/dist/models/get-tags-for-series-categories-response.d.ts +1 -1
  529. package/dist/models/get-tags-for-series-categories-response.js +1 -1
  530. package/dist/models/get-trades-response.d.ts +1 -1
  531. package/dist/models/get-trades-response.js +1 -1
  532. package/dist/models/get-user-data-timestamp-response.d.ts +1 -1
  533. package/dist/models/get-user-data-timestamp-response.js +1 -1
  534. package/dist/models/incentive-program.d.ts +5 -1
  535. package/dist/models/incentive-program.js +1 -1
  536. package/dist/models/index.d.ts +7 -0
  537. package/dist/models/index.js +7 -0
  538. package/dist/models/intra-exchange-instance-transfer-request.d.ts +1 -1
  539. package/dist/models/intra-exchange-instance-transfer-request.js +1 -1
  540. package/dist/models/intra-exchange-instance-transfer-response.d.ts +1 -1
  541. package/dist/models/intra-exchange-instance-transfer-response.js +1 -1
  542. package/dist/models/live-data.d.ts +1 -1
  543. package/dist/models/live-data.js +1 -1
  544. package/dist/models/lookup-point.d.ts +1 -1
  545. package/dist/models/lookup-point.js +1 -1
  546. package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-request.d.ts +1 -1
  547. package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-request.js +1 -1
  548. package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-response.d.ts +1 -1
  549. package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-response.js +1 -1
  550. package/dist/models/maintenance-window.d.ts +1 -1
  551. package/dist/models/maintenance-window.js +1 -1
  552. package/dist/models/market-candlestick.d.ts +9 -1
  553. package/dist/models/market-candlestick.js +1 -1
  554. package/dist/models/market-candlesticks-response.d.ts +1 -1
  555. package/dist/models/market-candlesticks-response.js +1 -1
  556. package/dist/models/market-metadata.d.ts +1 -1
  557. package/dist/models/market-metadata.js +1 -1
  558. package/dist/models/market-position.d.ts +5 -1
  559. package/dist/models/market-position.js +1 -1
  560. package/dist/models/market.d.ts +17 -1
  561. package/dist/models/market.js +1 -1
  562. package/dist/models/milestone.d.ts +1 -1
  563. package/dist/models/milestone.js +1 -1
  564. package/dist/models/multivariate-event-collection.d.ts +1 -1
  565. package/dist/models/multivariate-event-collection.js +1 -1
  566. package/dist/models/mve-selected-leg.d.ts +5 -1
  567. package/dist/models/mve-selected-leg.js +1 -1
  568. package/dist/models/order-group.d.ts +1 -1
  569. package/dist/models/order-group.js +1 -1
  570. package/dist/models/order-queue-position.d.ts +1 -1
  571. package/dist/models/order-queue-position.js +1 -1
  572. package/dist/models/order-status.d.ts +1 -1
  573. package/dist/models/order-status.js +1 -1
  574. package/dist/models/order.d.ts +13 -1
  575. package/dist/models/order.js +1 -1
  576. package/dist/models/orderbook-count-fp.d.ts +18 -0
  577. package/dist/models/orderbook-count-fp.js +15 -0
  578. package/dist/models/orderbook-level-count-fp-inner.d.ts +15 -0
  579. package/dist/models/orderbook-level-count-fp-inner.js +15 -0
  580. package/dist/models/orderbook.d.ts +4 -1
  581. package/dist/models/orderbook.js +1 -1
  582. package/dist/models/percentile-point.d.ts +1 -1
  583. package/dist/models/percentile-point.js +1 -1
  584. package/dist/models/price-distribution.d.ts +1 -1
  585. package/dist/models/price-distribution.js +1 -1
  586. package/dist/models/price-level-count-fp-inner.d.ts +15 -0
  587. package/dist/models/price-level-count-fp-inner.js +15 -0
  588. package/dist/models/price-level-dollars-inner.d.ts +15 -0
  589. package/dist/models/price-level-dollars-inner.js +15 -0
  590. package/dist/models/price-range.d.ts +1 -1
  591. package/dist/models/price-range.js +1 -1
  592. package/dist/models/quote.d.ts +5 -1
  593. package/dist/models/quote.js +1 -1
  594. package/dist/models/rfq.d.ts +6 -2
  595. package/dist/models/rfq.js +1 -1
  596. package/dist/models/schedule.d.ts +1 -1
  597. package/dist/models/schedule.js +1 -1
  598. package/dist/models/scope-list.d.ts +1 -1
  599. package/dist/models/scope-list.js +1 -1
  600. package/dist/models/self-trade-prevention-type.d.ts +1 -1
  601. package/dist/models/self-trade-prevention-type.js +1 -1
  602. package/dist/models/series-fee-change.d.ts +1 -1
  603. package/dist/models/series-fee-change.js +1 -1
  604. package/dist/models/series.d.ts +9 -1
  605. package/dist/models/series.js +1 -1
  606. package/dist/models/settlement-source.d.ts +1 -1
  607. package/dist/models/settlement-source.js +1 -1
  608. package/dist/models/settlement.d.ts +9 -1
  609. package/dist/models/settlement.js +1 -1
  610. package/dist/models/sport-filter-details.d.ts +1 -1
  611. package/dist/models/sport-filter-details.js +1 -1
  612. package/dist/models/structured-target.d.ts +1 -1
  613. package/dist/models/structured-target.js +1 -1
  614. package/dist/models/subaccount-balance.d.ts +25 -0
  615. package/dist/models/subaccount-balance.js +15 -0
  616. package/dist/models/subaccount-transfer.d.ts +33 -0
  617. package/dist/models/subaccount-transfer.js +15 -0
  618. package/dist/models/ticker-pair.d.ts +1 -1
  619. package/dist/models/ticker-pair.js +1 -1
  620. package/dist/models/trade.d.ts +5 -1
  621. package/dist/models/trade.js +1 -1
  622. package/dist/models/transfer-between-subaccounts-request.d.ts +25 -0
  623. package/dist/models/transfer-between-subaccounts-request.js +15 -0
  624. package/dist/models/weekly-schedule.d.ts +1 -1
  625. package/dist/models/weekly-schedule.js +1 -1
  626. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## kalshi-typescript@3.4.0
1
+ ## kalshi-typescript@3.5.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install kalshi-typescript@3.4.0 --save
39
+ npm install kalshi-typescript@3.5.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -112,11 +112,15 @@ Class | Method | HTTP request | Description
112
112
  *OrdersApi* | [**getOrderQueuePosition**](docs/OrdersApi.md#getorderqueueposition) | **GET** /portfolio/orders/{order_id}/queue_position | Get Order Queue Position
113
113
  *OrdersApi* | [**getOrderQueuePositions**](docs/OrdersApi.md#getorderqueuepositions) | **GET** /portfolio/orders/queue_positions | Get Queue Positions for Orders
114
114
  *OrdersApi* | [**getOrders**](docs/OrdersApi.md#getorders) | **GET** /portfolio/orders | Get Orders
115
+ *PortfolioApi* | [**applySubaccountTransfer**](docs/PortfolioApi.md#applysubaccounttransfer) | **POST** /portfolio/subaccounts/transfer | Transfer Between Subaccounts
116
+ *PortfolioApi* | [**createSubaccount**](docs/PortfolioApi.md#createsubaccount) | **POST** /portfolio/subaccounts | Create Subaccount
115
117
  *PortfolioApi* | [**getBalance**](docs/PortfolioApi.md#getbalance) | **GET** /portfolio/balance | Get Balance
116
118
  *PortfolioApi* | [**getFills**](docs/PortfolioApi.md#getfills) | **GET** /portfolio/fills | Get Fills
117
119
  *PortfolioApi* | [**getPortfolioRestingOrderTotalValue**](docs/PortfolioApi.md#getportfoliorestingordertotalvalue) | **GET** /portfolio/summary/total_resting_order_value | Get Total Resting Order Value
118
120
  *PortfolioApi* | [**getPositions**](docs/PortfolioApi.md#getpositions) | **GET** /portfolio/positions | Get Positions
119
121
  *PortfolioApi* | [**getSettlements**](docs/PortfolioApi.md#getsettlements) | **GET** /portfolio/settlements | Get Settlements
122
+ *PortfolioApi* | [**getSubaccountBalances**](docs/PortfolioApi.md#getsubaccountbalances) | **GET** /portfolio/subaccounts/balances | Get All Subaccount Balances
123
+ *PortfolioApi* | [**getSubaccountTransfers**](docs/PortfolioApi.md#getsubaccounttransfers) | **GET** /portfolio/subaccounts/transfers | Get Subaccount Transfers
120
124
  *SearchApi* | [**getFiltersForSports**](docs/SearchApi.md#getfiltersforsports) | **GET** /search/filters_by_sport | Get Filters for Sports
121
125
  *SearchApi* | [**getTagsForSeriesCategories**](docs/SearchApi.md#gettagsforseriescategories) | **GET** /search/tags_by_categories | Get Tags for Series Categories
122
126
  *StructuredTargetsApi* | [**getStructuredTarget**](docs/StructuredTargetsApi.md#getstructuredtarget) | **GET** /structured_targets/{structured_target_id} | Get Structured Target
@@ -130,6 +134,7 @@ Class | Method | HTTP request | Description
130
134
  - [AmendOrderResponse](docs/AmendOrderResponse.md)
131
135
  - [Announcement](docs/Announcement.md)
132
136
  - [ApiKey](docs/ApiKey.md)
137
+ - [ApplySubaccountTransferRequest](docs/ApplySubaccountTransferRequest.md)
133
138
  - [AssociatedEvent](docs/AssociatedEvent.md)
134
139
  - [BatchCancelOrdersIndividualResponse](docs/BatchCancelOrdersIndividualResponse.md)
135
140
  - [BatchCancelOrdersRequest](docs/BatchCancelOrdersRequest.md)
@@ -152,6 +157,7 @@ Class | Method | HTTP request | Description
152
157
  - [CreateQuoteResponse](docs/CreateQuoteResponse.md)
153
158
  - [CreateRFQRequest](docs/CreateRFQRequest.md)
154
159
  - [CreateRFQResponse](docs/CreateRFQResponse.md)
160
+ - [CreateSubaccountResponse](docs/CreateSubaccountResponse.md)
155
161
  - [DailySchedule](docs/DailySchedule.md)
156
162
  - [DecreaseOrderRequest](docs/DecreaseOrderRequest.md)
157
163
  - [DecreaseOrderResponse](docs/DecreaseOrderResponse.md)
@@ -207,6 +213,8 @@ Class | Method | HTTP request | Description
207
213
  - [GetSettlementsResponse](docs/GetSettlementsResponse.md)
208
214
  - [GetStructuredTargetResponse](docs/GetStructuredTargetResponse.md)
209
215
  - [GetStructuredTargetsResponse](docs/GetStructuredTargetsResponse.md)
216
+ - [GetSubaccountBalancesResponse](docs/GetSubaccountBalancesResponse.md)
217
+ - [GetSubaccountTransfersResponse](docs/GetSubaccountTransfersResponse.md)
210
218
  - [GetTagsForSeriesCategoriesResponse](docs/GetTagsForSeriesCategoriesResponse.md)
211
219
  - [GetTradesResponse](docs/GetTradesResponse.md)
212
220
  - [GetUserDataTimestampResponse](docs/GetUserDataTimestampResponse.md)
@@ -231,6 +239,7 @@ Class | Method | HTTP request | Description
231
239
  - [OrderQueuePosition](docs/OrderQueuePosition.md)
232
240
  - [OrderStatus](docs/OrderStatus.md)
233
241
  - [Orderbook](docs/Orderbook.md)
242
+ - [OrderbookCountFp](docs/OrderbookCountFp.md)
234
243
  - [PercentilePoint](docs/PercentilePoint.md)
235
244
  - [PriceDistribution](docs/PriceDistribution.md)
236
245
  - [PriceRange](docs/PriceRange.md)
@@ -245,6 +254,8 @@ Class | Method | HTTP request | Description
245
254
  - [SettlementSource](docs/SettlementSource.md)
246
255
  - [SportFilterDetails](docs/SportFilterDetails.md)
247
256
  - [StructuredTarget](docs/StructuredTarget.md)
257
+ - [SubaccountBalance](docs/SubaccountBalance.md)
258
+ - [SubaccountTransfer](docs/SubaccountTransfer.md)
248
259
  - [TickerPair](docs/TickerPair.md)
249
260
  - [Trade](docs/Trade.md)
250
261
  - [WeeklySchedule](docs/WeeklySchedule.md)
@@ -2,7 +2,7 @@
2
2
  * Kalshi Trade API Manual Endpoints
3
3
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
4
4
  *
5
- * The version of the OpenAPI document: 3.4.0
5
+ * The version of the OpenAPI document: 3.5.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Kalshi Trade API Manual Endpoints
6
6
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
7
7
  *
8
- * The version of the OpenAPI document: 3.4.0
8
+ * The version of the OpenAPI document: 3.5.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Kalshi Trade API Manual Endpoints
3
3
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
4
4
  *
5
- * The version of the OpenAPI document: 3.4.0
5
+ * The version of the OpenAPI document: 3.5.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Kalshi Trade API Manual Endpoints
6
6
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
7
7
  *
8
- * The version of the OpenAPI document: 3.4.0
8
+ * The version of the OpenAPI document: 3.5.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Kalshi Trade API Manual Endpoints
3
3
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
4
4
  *
5
- * The version of the OpenAPI document: 3.4.0
5
+ * The version of the OpenAPI document: 3.5.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Kalshi Trade API Manual Endpoints
6
6
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
7
7
  *
8
- * The version of the OpenAPI document: 3.4.0
8
+ * The version of the OpenAPI document: 3.5.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Kalshi Trade API Manual Endpoints
3
3
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
4
4
  *
5
- * The version of the OpenAPI document: 3.4.0
5
+ * The version of the OpenAPI document: 3.5.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Kalshi Trade API Manual Endpoints
6
6
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
7
7
  *
8
- * The version of the OpenAPI document: 3.4.0
8
+ * The version of the OpenAPI document: 3.5.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Kalshi Trade API Manual Endpoints
3
3
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
4
4
  *
5
- * The version of the OpenAPI document: 3.4.0
5
+ * The version of the OpenAPI document: 3.5.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Kalshi Trade API Manual Endpoints
6
6
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
7
7
  *
8
- * The version of the OpenAPI document: 3.4.0
8
+ * The version of the OpenAPI document: 3.5.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Kalshi Trade API Manual Endpoints
3
3
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
4
4
  *
5
- * The version of the OpenAPI document: 3.4.0
5
+ * The version of the OpenAPI document: 3.5.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Kalshi Trade API Manual Endpoints
6
6
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
7
7
  *
8
- * The version of the OpenAPI document: 3.4.0
8
+ * The version of the OpenAPI document: 3.5.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Kalshi Trade API Manual Endpoints
3
3
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
4
4
  *
5
- * The version of the OpenAPI document: 3.4.0
5
+ * The version of the OpenAPI document: 3.5.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Kalshi Trade API Manual Endpoints
6
6
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
7
7
  *
8
- * The version of the OpenAPI document: 3.4.0
8
+ * The version of the OpenAPI document: 3.5.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Kalshi Trade API Manual Endpoints
3
3
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
4
4
  *
5
- * The version of the OpenAPI document: 3.4.0
5
+ * The version of the OpenAPI document: 3.5.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -52,10 +52,11 @@ export declare const MarketApiAxiosParamCreator: (configuration?: Configuration)
52
52
  * @param {number} startTs Start timestamp (Unix timestamp). Candlesticks will include those ending on or after this time.
53
53
  * @param {number} endTs End timestamp (Unix timestamp). Candlesticks will include those ending on or before this time.
54
54
  * @param {GetMarketCandlesticksPeriodIntervalEnum} periodInterval Time period length of each candlestick in minutes. Valid values are 1 (1 minute), 60 (1 hour), or 1440 (1 day).
55
+ * @param {boolean} [includeLatestBeforeStart] If true, prepends the latest candlestick available before the start_ts. This synthetic candlestick is created by: 1. Finding the most recent real candlestick before start_ts 2. Projecting it forward to the first period boundary (calculated as the next period interval after start_ts) 3. Setting all OHLC prices to null, and `previous_price` to the close price from the real candlestick
55
56
  * @param {*} [options] Override http request option.
56
57
  * @throws {RequiredError}
57
58
  */
58
- getMarketCandlesticks: (seriesTicker: string, ticker: string, startTs: number, endTs: number, periodInterval: GetMarketCandlesticksPeriodIntervalEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
59
+ getMarketCandlesticks: (seriesTicker: string, ticker: string, startTs: number, endTs: number, periodInterval: GetMarketCandlesticksPeriodIntervalEnum, includeLatestBeforeStart?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
59
60
  /**
60
61
  * Endpoint for getting the current order book for a specific market. The order book shows all active bid orders for both yes and no sides of a binary market. It returns yes bids and no bids only (no asks are returned). This is because in binary markets, a bid for yes at price X is equivalent to an ask for no at price (100-X). For example, a yes bid at 7¢ is the same as a no ask at 93¢, with identical contract sizes. Each side shows price levels with their corresponding quantities and order counts, organized from best to worst prices.
61
62
  * @summary Get Market Orderbook
@@ -89,20 +90,22 @@ export declare const MarketApiAxiosParamCreator: (configuration?: Configuration)
89
90
  * Endpoint for getting data about a specific series by its ticker. A series represents a template for recurring events that follow the same format and rules (e.g., \"Monthly Jobs Report\", \"Weekly Initial Jobless Claims\", \"Daily Weather in NYC\"). Series define the structure, settlement sources, and metadata that will be applied to each recurring event instance within that series.
90
91
  * @summary Get Series
91
92
  * @param {string} seriesTicker The ticker of the series to retrieve
93
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in this series.
92
94
  * @param {*} [options] Override http request option.
93
95
  * @throws {RequiredError}
94
96
  */
95
- getSeries: (seriesTicker: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
97
+ getSeries: (seriesTicker: string, includeVolume?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
96
98
  /**
97
99
  * Endpoint for getting data about multiple series with specified filters. A series represents a template for recurring events that follow the same format and rules (e.g., \"Monthly Jobs Report\", \"Weekly Initial Jobless Claims\", \"Daily Weather in NYC\"). This endpoint allows you to browse and discover available series templates by category.
98
100
  * @summary Get Series List
99
101
  * @param {string} [category]
100
102
  * @param {string} [tags]
101
103
  * @param {boolean} [includeProductMetadata]
104
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in each series.
102
105
  * @param {*} [options] Override http request option.
103
106
  * @throws {RequiredError}
104
107
  */
105
- getSeriesList: (category?: string, tags?: string, includeProductMetadata?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
108
+ getSeriesList: (category?: string, tags?: string, includeProductMetadata?: boolean, includeVolume?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
106
109
  /**
107
110
  * Endpoint for getting all trades for all markets. A trade represents a completed transaction between two users on a specific market. Each trade includes the market ticker, price, quantity, and timestamp information. This endpoint returns a paginated response. Use the \'limit\' parameter to control page size (1-1000, defaults to 100). The response includes a \'cursor\' field - pass this value in the \'cursor\' parameter of your next request to get the next page. An empty cursor indicates no more pages are available.
108
111
  * @summary Get Trades
@@ -148,10 +151,11 @@ export declare const MarketApiFp: (configuration?: Configuration) => {
148
151
  * @param {number} startTs Start timestamp (Unix timestamp). Candlesticks will include those ending on or after this time.
149
152
  * @param {number} endTs End timestamp (Unix timestamp). Candlesticks will include those ending on or before this time.
150
153
  * @param {GetMarketCandlesticksPeriodIntervalEnum} periodInterval Time period length of each candlestick in minutes. Valid values are 1 (1 minute), 60 (1 hour), or 1440 (1 day).
154
+ * @param {boolean} [includeLatestBeforeStart] If true, prepends the latest candlestick available before the start_ts. This synthetic candlestick is created by: 1. Finding the most recent real candlestick before start_ts 2. Projecting it forward to the first period boundary (calculated as the next period interval after start_ts) 3. Setting all OHLC prices to null, and &#x60;previous_price&#x60; to the close price from the real candlestick
151
155
  * @param {*} [options] Override http request option.
152
156
  * @throws {RequiredError}
153
157
  */
154
- getMarketCandlesticks(seriesTicker: string, ticker: string, startTs: number, endTs: number, periodInterval: GetMarketCandlesticksPeriodIntervalEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMarketCandlesticksResponse>>;
158
+ getMarketCandlesticks(seriesTicker: string, ticker: string, startTs: number, endTs: number, periodInterval: GetMarketCandlesticksPeriodIntervalEnum, includeLatestBeforeStart?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMarketCandlesticksResponse>>;
155
159
  /**
156
160
  * Endpoint for getting the current order book for a specific market. The order book shows all active bid orders for both yes and no sides of a binary market. It returns yes bids and no bids only (no asks are returned). This is because in binary markets, a bid for yes at price X is equivalent to an ask for no at price (100-X). For example, a yes bid at 7¢ is the same as a no ask at 93¢, with identical contract sizes. Each side shows price levels with their corresponding quantities and order counts, organized from best to worst prices.
157
161
  * @summary Get Market Orderbook
@@ -185,20 +189,22 @@ export declare const MarketApiFp: (configuration?: Configuration) => {
185
189
  * Endpoint for getting data about a specific series by its ticker. A series represents a template for recurring events that follow the same format and rules (e.g., \"Monthly Jobs Report\", \"Weekly Initial Jobless Claims\", \"Daily Weather in NYC\"). Series define the structure, settlement sources, and metadata that will be applied to each recurring event instance within that series.
186
190
  * @summary Get Series
187
191
  * @param {string} seriesTicker The ticker of the series to retrieve
192
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in this series.
188
193
  * @param {*} [options] Override http request option.
189
194
  * @throws {RequiredError}
190
195
  */
191
- getSeries(seriesTicker: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSeriesResponse>>;
196
+ getSeries(seriesTicker: string, includeVolume?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSeriesResponse>>;
192
197
  /**
193
198
  * Endpoint for getting data about multiple series with specified filters. A series represents a template for recurring events that follow the same format and rules (e.g., \"Monthly Jobs Report\", \"Weekly Initial Jobless Claims\", \"Daily Weather in NYC\"). This endpoint allows you to browse and discover available series templates by category.
194
199
  * @summary Get Series List
195
200
  * @param {string} [category]
196
201
  * @param {string} [tags]
197
202
  * @param {boolean} [includeProductMetadata]
203
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in each series.
198
204
  * @param {*} [options] Override http request option.
199
205
  * @throws {RequiredError}
200
206
  */
201
- getSeriesList(category?: string, tags?: string, includeProductMetadata?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSeriesListResponse>>;
207
+ getSeriesList(category?: string, tags?: string, includeProductMetadata?: boolean, includeVolume?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSeriesListResponse>>;
202
208
  /**
203
209
  * Endpoint for getting all trades for all markets. A trade represents a completed transaction between two users on a specific market. Each trade includes the market ticker, price, quantity, and timestamp information. This endpoint returns a paginated response. Use the \'limit\' parameter to control page size (1-1000, defaults to 100). The response includes a \'cursor\' field - pass this value in the \'cursor\' parameter of your next request to get the next page. An empty cursor indicates no more pages are available.
204
210
  * @summary Get Trades
@@ -244,10 +250,11 @@ export declare const MarketApiFactory: (configuration?: Configuration, basePath?
244
250
  * @param {number} startTs Start timestamp (Unix timestamp). Candlesticks will include those ending on or after this time.
245
251
  * @param {number} endTs End timestamp (Unix timestamp). Candlesticks will include those ending on or before this time.
246
252
  * @param {GetMarketCandlesticksPeriodIntervalEnum} periodInterval Time period length of each candlestick in minutes. Valid values are 1 (1 minute), 60 (1 hour), or 1440 (1 day).
253
+ * @param {boolean} [includeLatestBeforeStart] If true, prepends the latest candlestick available before the start_ts. This synthetic candlestick is created by: 1. Finding the most recent real candlestick before start_ts 2. Projecting it forward to the first period boundary (calculated as the next period interval after start_ts) 3. Setting all OHLC prices to null, and &#x60;previous_price&#x60; to the close price from the real candlestick
247
254
  * @param {*} [options] Override http request option.
248
255
  * @throws {RequiredError}
249
256
  */
250
- getMarketCandlesticks(seriesTicker: string, ticker: string, startTs: number, endTs: number, periodInterval: GetMarketCandlesticksPeriodIntervalEnum, options?: RawAxiosRequestConfig): AxiosPromise<GetMarketCandlesticksResponse>;
257
+ getMarketCandlesticks(seriesTicker: string, ticker: string, startTs: number, endTs: number, periodInterval: GetMarketCandlesticksPeriodIntervalEnum, includeLatestBeforeStart?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<GetMarketCandlesticksResponse>;
251
258
  /**
252
259
  * Endpoint for getting the current order book for a specific market. The order book shows all active bid orders for both yes and no sides of a binary market. It returns yes bids and no bids only (no asks are returned). This is because in binary markets, a bid for yes at price X is equivalent to an ask for no at price (100-X). For example, a yes bid at 7¢ is the same as a no ask at 93¢, with identical contract sizes. Each side shows price levels with their corresponding quantities and order counts, organized from best to worst prices.
253
260
  * @summary Get Market Orderbook
@@ -281,20 +288,22 @@ export declare const MarketApiFactory: (configuration?: Configuration, basePath?
281
288
  * Endpoint for getting data about a specific series by its ticker. A series represents a template for recurring events that follow the same format and rules (e.g., \"Monthly Jobs Report\", \"Weekly Initial Jobless Claims\", \"Daily Weather in NYC\"). Series define the structure, settlement sources, and metadata that will be applied to each recurring event instance within that series.
282
289
  * @summary Get Series
283
290
  * @param {string} seriesTicker The ticker of the series to retrieve
291
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in this series.
284
292
  * @param {*} [options] Override http request option.
285
293
  * @throws {RequiredError}
286
294
  */
287
- getSeries(seriesTicker: string, options?: RawAxiosRequestConfig): AxiosPromise<GetSeriesResponse>;
295
+ getSeries(seriesTicker: string, includeVolume?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<GetSeriesResponse>;
288
296
  /**
289
297
  * Endpoint for getting data about multiple series with specified filters. A series represents a template for recurring events that follow the same format and rules (e.g., \"Monthly Jobs Report\", \"Weekly Initial Jobless Claims\", \"Daily Weather in NYC\"). This endpoint allows you to browse and discover available series templates by category.
290
298
  * @summary Get Series List
291
299
  * @param {string} [category]
292
300
  * @param {string} [tags]
293
301
  * @param {boolean} [includeProductMetadata]
302
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in each series.
294
303
  * @param {*} [options] Override http request option.
295
304
  * @throws {RequiredError}
296
305
  */
297
- getSeriesList(category?: string, tags?: string, includeProductMetadata?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<GetSeriesListResponse>;
306
+ getSeriesList(category?: string, tags?: string, includeProductMetadata?: boolean, includeVolume?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<GetSeriesListResponse>;
298
307
  /**
299
308
  * Endpoint for getting all trades for all markets. A trade represents a completed transaction between two users on a specific market. Each trade includes the market ticker, price, quantity, and timestamp information. This endpoint returns a paginated response. Use the \'limit\' parameter to control page size (1-1000, defaults to 100). The response includes a \'cursor\' field - pass this value in the \'cursor\' parameter of your next request to get the next page. An empty cursor indicates no more pages are available.
300
309
  * @summary Get Trades
@@ -340,10 +349,11 @@ export declare class MarketApi extends BaseAPI {
340
349
  * @param {number} startTs Start timestamp (Unix timestamp). Candlesticks will include those ending on or after this time.
341
350
  * @param {number} endTs End timestamp (Unix timestamp). Candlesticks will include those ending on or before this time.
342
351
  * @param {GetMarketCandlesticksPeriodIntervalEnum} periodInterval Time period length of each candlestick in minutes. Valid values are 1 (1 minute), 60 (1 hour), or 1440 (1 day).
352
+ * @param {boolean} [includeLatestBeforeStart] If true, prepends the latest candlestick available before the start_ts. This synthetic candlestick is created by: 1. Finding the most recent real candlestick before start_ts 2. Projecting it forward to the first period boundary (calculated as the next period interval after start_ts) 3. Setting all OHLC prices to null, and &#x60;previous_price&#x60; to the close price from the real candlestick
343
353
  * @param {*} [options] Override http request option.
344
354
  * @throws {RequiredError}
345
355
  */
346
- getMarketCandlesticks(seriesTicker: string, ticker: string, startTs: number, endTs: number, periodInterval: GetMarketCandlesticksPeriodIntervalEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMarketCandlesticksResponse, any, {}>>;
356
+ getMarketCandlesticks(seriesTicker: string, ticker: string, startTs: number, endTs: number, periodInterval: GetMarketCandlesticksPeriodIntervalEnum, includeLatestBeforeStart?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMarketCandlesticksResponse, any, {}>>;
347
357
  /**
348
358
  * Endpoint for getting the current order book for a specific market. The order book shows all active bid orders for both yes and no sides of a binary market. It returns yes bids and no bids only (no asks are returned). This is because in binary markets, a bid for yes at price X is equivalent to an ask for no at price (100-X). For example, a yes bid at 7¢ is the same as a no ask at 93¢, with identical contract sizes. Each side shows price levels with their corresponding quantities and order counts, organized from best to worst prices.
349
359
  * @summary Get Market Orderbook
@@ -377,20 +387,22 @@ export declare class MarketApi extends BaseAPI {
377
387
  * Endpoint for getting data about a specific series by its ticker. A series represents a template for recurring events that follow the same format and rules (e.g., \"Monthly Jobs Report\", \"Weekly Initial Jobless Claims\", \"Daily Weather in NYC\"). Series define the structure, settlement sources, and metadata that will be applied to each recurring event instance within that series.
378
388
  * @summary Get Series
379
389
  * @param {string} seriesTicker The ticker of the series to retrieve
390
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in this series.
380
391
  * @param {*} [options] Override http request option.
381
392
  * @throws {RequiredError}
382
393
  */
383
- getSeries(seriesTicker: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSeriesResponse, any, {}>>;
394
+ getSeries(seriesTicker: string, includeVolume?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSeriesResponse, any, {}>>;
384
395
  /**
385
396
  * Endpoint for getting data about multiple series with specified filters. A series represents a template for recurring events that follow the same format and rules (e.g., \"Monthly Jobs Report\", \"Weekly Initial Jobless Claims\", \"Daily Weather in NYC\"). This endpoint allows you to browse and discover available series templates by category.
386
397
  * @summary Get Series List
387
398
  * @param {string} [category]
388
399
  * @param {string} [tags]
389
400
  * @param {boolean} [includeProductMetadata]
401
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in each series.
390
402
  * @param {*} [options] Override http request option.
391
403
  * @throws {RequiredError}
392
404
  */
393
- getSeriesList(category?: string, tags?: string, includeProductMetadata?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSeriesListResponse, any, {}>>;
405
+ getSeriesList(category?: string, tags?: string, includeProductMetadata?: boolean, includeVolume?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSeriesListResponse, any, {}>>;
394
406
  /**
395
407
  * Endpoint for getting all trades for all markets. A trade represents a completed transaction between two users on a specific market. Each trade includes the market ticker, price, quantity, and timestamp information. This endpoint returns a paginated response. Use the \'limit\' parameter to control page size (1-1000, defaults to 100). The response includes a \'cursor\' field - pass this value in the \'cursor\' parameter of your next request to get the next page. An empty cursor indicates no more pages are available.
396
408
  * @summary Get Trades
@@ -5,7 +5,7 @@
5
5
  * Kalshi Trade API Manual Endpoints
6
6
  * Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
7
7
  *
8
- * The version of the OpenAPI document: 3.4.0
8
+ * The version of the OpenAPI document: 3.5.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -127,10 +127,11 @@ const MarketApiAxiosParamCreator = function (configuration) {
127
127
  * @param {number} startTs Start timestamp (Unix timestamp). Candlesticks will include those ending on or after this time.
128
128
  * @param {number} endTs End timestamp (Unix timestamp). Candlesticks will include those ending on or before this time.
129
129
  * @param {GetMarketCandlesticksPeriodIntervalEnum} periodInterval Time period length of each candlestick in minutes. Valid values are 1 (1 minute), 60 (1 hour), or 1440 (1 day).
130
+ * @param {boolean} [includeLatestBeforeStart] If true, prepends the latest candlestick available before the start_ts. This synthetic candlestick is created by: 1. Finding the most recent real candlestick before start_ts 2. Projecting it forward to the first period boundary (calculated as the next period interval after start_ts) 3. Setting all OHLC prices to null, and &#x60;previous_price&#x60; to the close price from the real candlestick
130
131
  * @param {*} [options] Override http request option.
131
132
  * @throws {RequiredError}
132
133
  */
133
- getMarketCandlesticks: (seriesTicker_1, ticker_1, startTs_1, endTs_1, periodInterval_1, ...args_1) => __awaiter(this, [seriesTicker_1, ticker_1, startTs_1, endTs_1, periodInterval_1, ...args_1], void 0, function* (seriesTicker, ticker, startTs, endTs, periodInterval, options = {}) {
134
+ getMarketCandlesticks: (seriesTicker_1, ticker_1, startTs_1, endTs_1, periodInterval_1, includeLatestBeforeStart_1, ...args_1) => __awaiter(this, [seriesTicker_1, ticker_1, startTs_1, endTs_1, periodInterval_1, includeLatestBeforeStart_1, ...args_1], void 0, function* (seriesTicker, ticker, startTs, endTs, periodInterval, includeLatestBeforeStart, options = {}) {
134
135
  // verify required parameter 'seriesTicker' is not null or undefined
135
136
  (0, common_1.assertParamExists)('getMarketCandlesticks', 'seriesTicker', seriesTicker);
136
137
  // verify required parameter 'ticker' is not null or undefined
@@ -162,6 +163,9 @@ const MarketApiAxiosParamCreator = function (configuration) {
162
163
  if (periodInterval !== undefined) {
163
164
  localVarQueryParameter['period_interval'] = periodInterval;
164
165
  }
166
+ if (includeLatestBeforeStart !== undefined) {
167
+ localVarQueryParameter['include_latest_before_start'] = includeLatestBeforeStart;
168
+ }
165
169
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
166
170
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
167
171
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -290,10 +294,11 @@ const MarketApiAxiosParamCreator = function (configuration) {
290
294
  * Endpoint for getting data about a specific series by its ticker. A series represents a template for recurring events that follow the same format and rules (e.g., \"Monthly Jobs Report\", \"Weekly Initial Jobless Claims\", \"Daily Weather in NYC\"). Series define the structure, settlement sources, and metadata that will be applied to each recurring event instance within that series.
291
295
  * @summary Get Series
292
296
  * @param {string} seriesTicker The ticker of the series to retrieve
297
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in this series.
293
298
  * @param {*} [options] Override http request option.
294
299
  * @throws {RequiredError}
295
300
  */
296
- getSeries: (seriesTicker_1, ...args_1) => __awaiter(this, [seriesTicker_1, ...args_1], void 0, function* (seriesTicker, options = {}) {
301
+ getSeries: (seriesTicker_1, includeVolume_1, ...args_1) => __awaiter(this, [seriesTicker_1, includeVolume_1, ...args_1], void 0, function* (seriesTicker, includeVolume, options = {}) {
297
302
  // verify required parameter 'seriesTicker' is not null or undefined
298
303
  (0, common_1.assertParamExists)('getSeries', 'seriesTicker', seriesTicker);
299
304
  const localVarPath = `/series/{series_ticker}`
@@ -307,6 +312,9 @@ const MarketApiAxiosParamCreator = function (configuration) {
307
312
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
308
313
  const localVarHeaderParameter = {};
309
314
  const localVarQueryParameter = {};
315
+ if (includeVolume !== undefined) {
316
+ localVarQueryParameter['include_volume'] = includeVolume;
317
+ }
310
318
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
311
319
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
312
320
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -321,10 +329,11 @@ const MarketApiAxiosParamCreator = function (configuration) {
321
329
  * @param {string} [category]
322
330
  * @param {string} [tags]
323
331
  * @param {boolean} [includeProductMetadata]
332
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in each series.
324
333
  * @param {*} [options] Override http request option.
325
334
  * @throws {RequiredError}
326
335
  */
327
- getSeriesList: (category_1, tags_1, includeProductMetadata_1, ...args_1) => __awaiter(this, [category_1, tags_1, includeProductMetadata_1, ...args_1], void 0, function* (category, tags, includeProductMetadata, options = {}) {
336
+ getSeriesList: (category_1, tags_1, includeProductMetadata_1, includeVolume_1, ...args_1) => __awaiter(this, [category_1, tags_1, includeProductMetadata_1, includeVolume_1, ...args_1], void 0, function* (category, tags, includeProductMetadata, includeVolume, options = {}) {
328
337
  const localVarPath = `/series`;
329
338
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
330
339
  const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -344,6 +353,9 @@ const MarketApiAxiosParamCreator = function (configuration) {
344
353
  if (includeProductMetadata !== undefined) {
345
354
  localVarQueryParameter['include_product_metadata'] = includeProductMetadata;
346
355
  }
356
+ if (includeVolume !== undefined) {
357
+ localVarQueryParameter['include_volume'] = includeVolume;
358
+ }
347
359
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
348
360
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
349
361
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -450,13 +462,14 @@ const MarketApiFp = function (configuration) {
450
462
  * @param {number} startTs Start timestamp (Unix timestamp). Candlesticks will include those ending on or after this time.
451
463
  * @param {number} endTs End timestamp (Unix timestamp). Candlesticks will include those ending on or before this time.
452
464
  * @param {GetMarketCandlesticksPeriodIntervalEnum} periodInterval Time period length of each candlestick in minutes. Valid values are 1 (1 minute), 60 (1 hour), or 1440 (1 day).
465
+ * @param {boolean} [includeLatestBeforeStart] If true, prepends the latest candlestick available before the start_ts. This synthetic candlestick is created by: 1. Finding the most recent real candlestick before start_ts 2. Projecting it forward to the first period boundary (calculated as the next period interval after start_ts) 3. Setting all OHLC prices to null, and &#x60;previous_price&#x60; to the close price from the real candlestick
453
466
  * @param {*} [options] Override http request option.
454
467
  * @throws {RequiredError}
455
468
  */
456
- getMarketCandlesticks(seriesTicker, ticker, startTs, endTs, periodInterval, options) {
469
+ getMarketCandlesticks(seriesTicker, ticker, startTs, endTs, periodInterval, includeLatestBeforeStart, options) {
457
470
  return __awaiter(this, void 0, void 0, function* () {
458
471
  var _a;
459
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getMarketCandlesticks(seriesTicker, ticker, startTs, endTs, periodInterval, options);
472
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getMarketCandlesticks(seriesTicker, ticker, startTs, endTs, periodInterval, includeLatestBeforeStart, options);
460
473
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
461
474
  const localVarOperationServerBasePath = undefined;
462
475
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -511,13 +524,14 @@ const MarketApiFp = function (configuration) {
511
524
  * Endpoint for getting data about a specific series by its ticker. A series represents a template for recurring events that follow the same format and rules (e.g., \"Monthly Jobs Report\", \"Weekly Initial Jobless Claims\", \"Daily Weather in NYC\"). Series define the structure, settlement sources, and metadata that will be applied to each recurring event instance within that series.
512
525
  * @summary Get Series
513
526
  * @param {string} seriesTicker The ticker of the series to retrieve
527
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in this series.
514
528
  * @param {*} [options] Override http request option.
515
529
  * @throws {RequiredError}
516
530
  */
517
- getSeries(seriesTicker, options) {
531
+ getSeries(seriesTicker, includeVolume, options) {
518
532
  return __awaiter(this, void 0, void 0, function* () {
519
533
  var _a;
520
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeries(seriesTicker, options);
534
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeries(seriesTicker, includeVolume, options);
521
535
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
522
536
  const localVarOperationServerBasePath = undefined;
523
537
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -529,13 +543,14 @@ const MarketApiFp = function (configuration) {
529
543
  * @param {string} [category]
530
544
  * @param {string} [tags]
531
545
  * @param {boolean} [includeProductMetadata]
546
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in each series.
532
547
  * @param {*} [options] Override http request option.
533
548
  * @throws {RequiredError}
534
549
  */
535
- getSeriesList(category, tags, includeProductMetadata, options) {
550
+ getSeriesList(category, tags, includeProductMetadata, includeVolume, options) {
536
551
  return __awaiter(this, void 0, void 0, function* () {
537
552
  var _a;
538
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesList(category, tags, includeProductMetadata, options);
553
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSeriesList(category, tags, includeProductMetadata, includeVolume, options);
539
554
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
540
555
  const localVarOperationServerBasePath = undefined;
541
556
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -602,11 +617,12 @@ const MarketApiFactory = function (configuration, basePath, axios) {
602
617
  * @param {number} startTs Start timestamp (Unix timestamp). Candlesticks will include those ending on or after this time.
603
618
  * @param {number} endTs End timestamp (Unix timestamp). Candlesticks will include those ending on or before this time.
604
619
  * @param {GetMarketCandlesticksPeriodIntervalEnum} periodInterval Time period length of each candlestick in minutes. Valid values are 1 (1 minute), 60 (1 hour), or 1440 (1 day).
620
+ * @param {boolean} [includeLatestBeforeStart] If true, prepends the latest candlestick available before the start_ts. This synthetic candlestick is created by: 1. Finding the most recent real candlestick before start_ts 2. Projecting it forward to the first period boundary (calculated as the next period interval after start_ts) 3. Setting all OHLC prices to null, and &#x60;previous_price&#x60; to the close price from the real candlestick
605
621
  * @param {*} [options] Override http request option.
606
622
  * @throws {RequiredError}
607
623
  */
608
- getMarketCandlesticks(seriesTicker, ticker, startTs, endTs, periodInterval, options) {
609
- return localVarFp.getMarketCandlesticks(seriesTicker, ticker, startTs, endTs, periodInterval, options).then((request) => request(axios, basePath));
624
+ getMarketCandlesticks(seriesTicker, ticker, startTs, endTs, periodInterval, includeLatestBeforeStart, options) {
625
+ return localVarFp.getMarketCandlesticks(seriesTicker, ticker, startTs, endTs, periodInterval, includeLatestBeforeStart, options).then((request) => request(axios, basePath));
610
626
  },
611
627
  /**
612
628
  * Endpoint for getting the current order book for a specific market. The order book shows all active bid orders for both yes and no sides of a binary market. It returns yes bids and no bids only (no asks are returned). This is because in binary markets, a bid for yes at price X is equivalent to an ask for no at price (100-X). For example, a yes bid at 7¢ is the same as a no ask at 93¢, with identical contract sizes. Each side shows price levels with their corresponding quantities and order counts, organized from best to worst prices.
@@ -645,11 +661,12 @@ const MarketApiFactory = function (configuration, basePath, axios) {
645
661
  * Endpoint for getting data about a specific series by its ticker. A series represents a template for recurring events that follow the same format and rules (e.g., \"Monthly Jobs Report\", \"Weekly Initial Jobless Claims\", \"Daily Weather in NYC\"). Series define the structure, settlement sources, and metadata that will be applied to each recurring event instance within that series.
646
662
  * @summary Get Series
647
663
  * @param {string} seriesTicker The ticker of the series to retrieve
664
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in this series.
648
665
  * @param {*} [options] Override http request option.
649
666
  * @throws {RequiredError}
650
667
  */
651
- getSeries(seriesTicker, options) {
652
- return localVarFp.getSeries(seriesTicker, options).then((request) => request(axios, basePath));
668
+ getSeries(seriesTicker, includeVolume, options) {
669
+ return localVarFp.getSeries(seriesTicker, includeVolume, options).then((request) => request(axios, basePath));
653
670
  },
654
671
  /**
655
672
  * Endpoint for getting data about multiple series with specified filters. A series represents a template for recurring events that follow the same format and rules (e.g., \"Monthly Jobs Report\", \"Weekly Initial Jobless Claims\", \"Daily Weather in NYC\"). This endpoint allows you to browse and discover available series templates by category.
@@ -657,11 +674,12 @@ const MarketApiFactory = function (configuration, basePath, axios) {
657
674
  * @param {string} [category]
658
675
  * @param {string} [tags]
659
676
  * @param {boolean} [includeProductMetadata]
677
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in each series.
660
678
  * @param {*} [options] Override http request option.
661
679
  * @throws {RequiredError}
662
680
  */
663
- getSeriesList(category, tags, includeProductMetadata, options) {
664
- return localVarFp.getSeriesList(category, tags, includeProductMetadata, options).then((request) => request(axios, basePath));
681
+ getSeriesList(category, tags, includeProductMetadata, includeVolume, options) {
682
+ return localVarFp.getSeriesList(category, tags, includeProductMetadata, includeVolume, options).then((request) => request(axios, basePath));
665
683
  },
666
684
  /**
667
685
  * Endpoint for getting all trades for all markets. A trade represents a completed transaction between two users on a specific market. Each trade includes the market ticker, price, quantity, and timestamp information. This endpoint returns a paginated response. Use the \'limit\' parameter to control page size (1-1000, defaults to 100). The response includes a \'cursor\' field - pass this value in the \'cursor\' parameter of your next request to get the next page. An empty cursor indicates no more pages are available.
@@ -716,11 +734,12 @@ class MarketApi extends base_1.BaseAPI {
716
734
  * @param {number} startTs Start timestamp (Unix timestamp). Candlesticks will include those ending on or after this time.
717
735
  * @param {number} endTs End timestamp (Unix timestamp). Candlesticks will include those ending on or before this time.
718
736
  * @param {GetMarketCandlesticksPeriodIntervalEnum} periodInterval Time period length of each candlestick in minutes. Valid values are 1 (1 minute), 60 (1 hour), or 1440 (1 day).
737
+ * @param {boolean} [includeLatestBeforeStart] If true, prepends the latest candlestick available before the start_ts. This synthetic candlestick is created by: 1. Finding the most recent real candlestick before start_ts 2. Projecting it forward to the first period boundary (calculated as the next period interval after start_ts) 3. Setting all OHLC prices to null, and &#x60;previous_price&#x60; to the close price from the real candlestick
719
738
  * @param {*} [options] Override http request option.
720
739
  * @throws {RequiredError}
721
740
  */
722
- getMarketCandlesticks(seriesTicker, ticker, startTs, endTs, periodInterval, options) {
723
- return (0, exports.MarketApiFp)(this.configuration).getMarketCandlesticks(seriesTicker, ticker, startTs, endTs, periodInterval, options).then((request) => request(this.axios, this.basePath));
741
+ getMarketCandlesticks(seriesTicker, ticker, startTs, endTs, periodInterval, includeLatestBeforeStart, options) {
742
+ return (0, exports.MarketApiFp)(this.configuration).getMarketCandlesticks(seriesTicker, ticker, startTs, endTs, periodInterval, includeLatestBeforeStart, options).then((request) => request(this.axios, this.basePath));
724
743
  }
725
744
  /**
726
745
  * Endpoint for getting the current order book for a specific market. The order book shows all active bid orders for both yes and no sides of a binary market. It returns yes bids and no bids only (no asks are returned). This is because in binary markets, a bid for yes at price X is equivalent to an ask for no at price (100-X). For example, a yes bid at 7¢ is the same as a no ask at 93¢, with identical contract sizes. Each side shows price levels with their corresponding quantities and order counts, organized from best to worst prices.
@@ -759,11 +778,12 @@ class MarketApi extends base_1.BaseAPI {
759
778
  * Endpoint for getting data about a specific series by its ticker. A series represents a template for recurring events that follow the same format and rules (e.g., \"Monthly Jobs Report\", \"Weekly Initial Jobless Claims\", \"Daily Weather in NYC\"). Series define the structure, settlement sources, and metadata that will be applied to each recurring event instance within that series.
760
779
  * @summary Get Series
761
780
  * @param {string} seriesTicker The ticker of the series to retrieve
781
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in this series.
762
782
  * @param {*} [options] Override http request option.
763
783
  * @throws {RequiredError}
764
784
  */
765
- getSeries(seriesTicker, options) {
766
- return (0, exports.MarketApiFp)(this.configuration).getSeries(seriesTicker, options).then((request) => request(this.axios, this.basePath));
785
+ getSeries(seriesTicker, includeVolume, options) {
786
+ return (0, exports.MarketApiFp)(this.configuration).getSeries(seriesTicker, includeVolume, options).then((request) => request(this.axios, this.basePath));
767
787
  }
768
788
  /**
769
789
  * Endpoint for getting data about multiple series with specified filters. A series represents a template for recurring events that follow the same format and rules (e.g., \"Monthly Jobs Report\", \"Weekly Initial Jobless Claims\", \"Daily Weather in NYC\"). This endpoint allows you to browse and discover available series templates by category.
@@ -771,11 +791,12 @@ class MarketApi extends base_1.BaseAPI {
771
791
  * @param {string} [category]
772
792
  * @param {string} [tags]
773
793
  * @param {boolean} [includeProductMetadata]
794
+ * @param {boolean} [includeVolume] If true, includes the total volume traded across all events in each series.
774
795
  * @param {*} [options] Override http request option.
775
796
  * @throws {RequiredError}
776
797
  */
777
- getSeriesList(category, tags, includeProductMetadata, options) {
778
- return (0, exports.MarketApiFp)(this.configuration).getSeriesList(category, tags, includeProductMetadata, options).then((request) => request(this.axios, this.basePath));
798
+ getSeriesList(category, tags, includeProductMetadata, includeVolume, options) {
799
+ return (0, exports.MarketApiFp)(this.configuration).getSeriesList(category, tags, includeProductMetadata, includeVolume, options).then((request) => request(this.axios, this.basePath));
779
800
  }
780
801
  /**
781
802
  * Endpoint for getting all trades for all markets. A trade represents a completed transaction between two users on a specific market. Each trade includes the market ticker, price, quantity, and timestamp information. This endpoint returns a paginated response. Use the \'limit\' parameter to control page size (1-1000, defaults to 100). The response includes a \'cursor\' field - pass this value in the \'cursor\' parameter of your next request to get the next page. An empty cursor indicates no more pages are available.