kalshi-typescript 3.7.0 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +6 -2
- package/README.md +8 -3
- package/api/account-api.ts +1 -1
- package/api/api-keys-api.ts +1 -1
- package/api/communications-api.ts +13 -13
- package/api/events-api.ts +32 -24
- package/api/exchange-api.ts +1 -1
- package/api/fcm-api.ts +5 -5
- package/api/historical-api.ts +108 -5
- package/api/incentive-programs-api.ts +1 -1
- package/api/live-data-api.ts +1 -1
- package/api/market-api.ts +32 -24
- package/api/milestone-api.ts +16 -8
- package/api/multivariate-api.ts +5 -5
- package/api/order-groups-api.ts +21 -21
- package/api/orders-api.ts +21 -21
- package/api/portfolio-api.ts +193 -32
- package/api/search-api.ts +1 -1
- package/api/structured-targets-api.ts +1 -1
- package/api.ts +1 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api/account-api.d.ts +1 -1
- package/dist/api/account-api.js +1 -1
- package/dist/api/api-keys-api.d.ts +1 -1
- package/dist/api/api-keys-api.js +1 -1
- package/dist/api/communications-api.d.ts +13 -13
- package/dist/api/communications-api.js +13 -13
- package/dist/api/events-api.d.ts +25 -21
- package/dist/api/events-api.js +31 -24
- package/dist/api/exchange-api.d.ts +1 -1
- package/dist/api/exchange-api.js +1 -1
- package/dist/api/fcm-api.d.ts +5 -5
- package/dist/api/fcm-api.js +5 -5
- package/dist/api/historical-api.d.ts +54 -5
- package/dist/api/historical-api.js +98 -5
- package/dist/api/incentive-programs-api.d.ts +1 -1
- package/dist/api/incentive-programs-api.js +1 -1
- package/dist/api/live-data-api.d.ts +1 -1
- package/dist/api/live-data-api.js +1 -1
- package/dist/api/market-api.d.ts +25 -21
- package/dist/api/market-api.js +31 -24
- package/dist/api/milestone-api.d.ts +9 -5
- package/dist/api/milestone-api.js +15 -8
- package/dist/api/multivariate-api.d.ts +5 -5
- package/dist/api/multivariate-api.js +5 -5
- package/dist/api/order-groups-api.d.ts +21 -21
- package/dist/api/order-groups-api.js +21 -21
- package/dist/api/orders-api.d.ts +21 -21
- package/dist/api/orders-api.js +21 -21
- package/dist/api/portfolio-api.d.ts +95 -29
- package/dist/api/portfolio-api.js +175 -32
- package/dist/api/search-api.d.ts +1 -1
- package/dist/api/search-api.js +1 -1
- package/dist/api/structured-targets-api.d.ts +1 -1
- package/dist/api/structured-targets-api.js +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api/account-api.d.ts +1 -1
- package/dist/esm/api/account-api.js +1 -1
- package/dist/esm/api/api-keys-api.d.ts +1 -1
- package/dist/esm/api/api-keys-api.js +1 -1
- package/dist/esm/api/communications-api.d.ts +13 -13
- package/dist/esm/api/communications-api.js +13 -13
- package/dist/esm/api/events-api.d.ts +25 -21
- package/dist/esm/api/events-api.js +31 -24
- package/dist/esm/api/exchange-api.d.ts +1 -1
- package/dist/esm/api/exchange-api.js +1 -1
- package/dist/esm/api/fcm-api.d.ts +5 -5
- package/dist/esm/api/fcm-api.js +5 -5
- package/dist/esm/api/historical-api.d.ts +54 -5
- package/dist/esm/api/historical-api.js +98 -5
- package/dist/esm/api/incentive-programs-api.d.ts +1 -1
- package/dist/esm/api/incentive-programs-api.js +1 -1
- package/dist/esm/api/live-data-api.d.ts +1 -1
- package/dist/esm/api/live-data-api.js +1 -1
- package/dist/esm/api/market-api.d.ts +25 -21
- package/dist/esm/api/market-api.js +31 -24
- package/dist/esm/api/milestone-api.d.ts +9 -5
- package/dist/esm/api/milestone-api.js +15 -8
- package/dist/esm/api/multivariate-api.d.ts +5 -5
- package/dist/esm/api/multivariate-api.js +5 -5
- package/dist/esm/api/order-groups-api.d.ts +21 -21
- package/dist/esm/api/order-groups-api.js +21 -21
- package/dist/esm/api/orders-api.d.ts +21 -21
- package/dist/esm/api/orders-api.js +21 -21
- package/dist/esm/api/portfolio-api.d.ts +95 -29
- package/dist/esm/api/portfolio-api.js +175 -32
- package/dist/esm/api/search-api.d.ts +1 -1
- package/dist/esm/api/search-api.js +1 -1
- package/dist/esm/api/structured-targets-api.d.ts +1 -1
- package/dist/esm/api/structured-targets-api.js +1 -1
- package/dist/esm/api.d.ts +1 -1
- package/dist/esm/api.js +1 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/models/accept-quote-request.d.ts +1 -1
- package/dist/esm/models/accept-quote-request.js +1 -1
- package/dist/esm/models/amend-order-request.d.ts +3 -3
- package/dist/esm/models/amend-order-request.js +1 -1
- package/dist/esm/models/amend-order-response.d.ts +1 -1
- package/dist/esm/models/amend-order-response.js +1 -1
- package/dist/esm/models/announcement.d.ts +1 -1
- package/dist/esm/models/announcement.js +1 -1
- package/dist/esm/models/api-key.d.ts +1 -1
- package/dist/esm/models/api-key.js +1 -1
- package/dist/esm/models/apply-subaccount-transfer-request.d.ts +1 -1
- package/dist/esm/models/apply-subaccount-transfer-request.js +1 -1
- package/dist/esm/models/associated-event.d.ts +1 -1
- package/dist/esm/models/associated-event.js +1 -1
- package/dist/esm/models/batch-cancel-orders-individual-response.d.ts +1 -5
- package/dist/esm/models/batch-cancel-orders-individual-response.js +1 -1
- package/dist/esm/models/batch-cancel-orders-request-order.d.ts +1 -1
- package/dist/esm/models/batch-cancel-orders-request-order.js +1 -1
- package/dist/esm/models/batch-cancel-orders-request.d.ts +1 -1
- package/dist/esm/models/batch-cancel-orders-request.js +1 -1
- package/dist/esm/models/batch-cancel-orders-response.d.ts +1 -1
- package/dist/esm/models/batch-cancel-orders-response.js +1 -1
- package/dist/esm/models/batch-create-orders-individual-response.d.ts +1 -1
- package/dist/esm/models/batch-create-orders-individual-response.js +1 -1
- package/dist/esm/models/batch-create-orders-request.d.ts +1 -1
- package/dist/esm/models/batch-create-orders-request.js +1 -1
- package/dist/esm/models/batch-create-orders-response.d.ts +1 -1
- package/dist/esm/models/batch-create-orders-response.js +1 -1
- package/dist/esm/models/batch-get-market-candlesticks-response.d.ts +1 -1
- package/dist/esm/models/batch-get-market-candlesticks-response.js +1 -1
- package/dist/esm/models/bid-ask-distribution-historical.d.ts +5 -5
- package/dist/esm/models/bid-ask-distribution-historical.js +1 -1
- package/dist/esm/models/bid-ask-distribution.d.ts +5 -21
- package/dist/esm/models/bid-ask-distribution.js +1 -1
- package/dist/esm/models/cancel-order-response.d.ts +1 -2
- package/dist/esm/models/cancel-order-response.js +1 -1
- package/dist/esm/models/create-api-key-request.d.ts +1 -1
- package/dist/esm/models/create-api-key-request.js +1 -1
- package/dist/esm/models/create-api-key-response.d.ts +1 -1
- package/dist/esm/models/create-api-key-response.js +1 -1
- package/dist/esm/models/create-market-in-multivariate-event-collection-request.d.ts +1 -1
- package/dist/esm/models/create-market-in-multivariate-event-collection-request.js +1 -1
- package/dist/esm/models/create-market-in-multivariate-event-collection-response.d.ts +1 -1
- package/dist/esm/models/create-market-in-multivariate-event-collection-response.js +1 -1
- package/dist/esm/models/create-order-group-request.d.ts +1 -1
- package/dist/esm/models/create-order-group-request.js +1 -1
- package/dist/esm/models/create-order-group-response.d.ts +1 -1
- package/dist/esm/models/create-order-group-response.js +1 -1
- package/dist/esm/models/create-order-request.d.ts +3 -3
- package/dist/esm/models/create-order-request.js +1 -1
- package/dist/esm/models/create-order-response.d.ts +1 -1
- package/dist/esm/models/create-order-response.js +1 -1
- package/dist/esm/models/create-quote-request.d.ts +3 -3
- package/dist/esm/models/create-quote-request.js +1 -1
- package/dist/esm/models/create-quote-response.d.ts +1 -1
- package/dist/esm/models/create-quote-response.js +1 -1
- package/dist/esm/models/create-rfqrequest.d.ts +2 -2
- package/dist/esm/models/create-rfqrequest.js +1 -1
- package/dist/esm/models/create-rfqresponse.d.ts +1 -1
- package/dist/esm/models/create-rfqresponse.js +1 -1
- package/dist/esm/models/create-subaccount-response.d.ts +1 -1
- package/dist/esm/models/create-subaccount-response.js +1 -1
- package/dist/esm/models/daily-schedule.d.ts +1 -1
- package/dist/esm/models/daily-schedule.js +1 -1
- package/dist/esm/models/decrease-order-request.d.ts +1 -1
- package/dist/esm/models/decrease-order-request.js +1 -1
- package/dist/esm/models/decrease-order-response.d.ts +1 -1
- package/dist/esm/models/decrease-order-response.js +1 -1
- package/dist/esm/models/error-response.d.ts +1 -1
- package/dist/esm/models/error-response.js +1 -1
- package/dist/esm/models/event-data.d.ts +5 -1
- package/dist/esm/models/event-data.js +1 -1
- package/dist/esm/models/event-position.d.ts +5 -25
- package/dist/esm/models/event-position.js +1 -1
- package/dist/esm/models/exchange-instance.d.ts +1 -1
- package/dist/esm/models/exchange-instance.js +1 -1
- package/dist/esm/models/exchange-status.d.ts +1 -1
- package/dist/esm/models/exchange-status.js +1 -1
- package/dist/esm/models/fill.d.ts +11 -17
- package/dist/esm/models/fill.js +1 -1
- package/dist/esm/models/forecast-percentiles-point.d.ts +1 -1
- package/dist/esm/models/forecast-percentiles-point.js +1 -1
- package/dist/esm/models/generate-api-key-request.d.ts +1 -1
- package/dist/esm/models/generate-api-key-request.js +1 -1
- package/dist/esm/models/generate-api-key-response.d.ts +1 -1
- package/dist/esm/models/generate-api-key-response.js +1 -1
- package/dist/esm/models/get-account-api-limits-response.d.ts +1 -1
- package/dist/esm/models/get-account-api-limits-response.js +1 -1
- package/dist/esm/models/get-api-keys-response.d.ts +1 -1
- package/dist/esm/models/get-api-keys-response.js +1 -1
- package/dist/esm/models/get-balance-response.d.ts +1 -1
- package/dist/esm/models/get-balance-response.js +1 -1
- package/dist/esm/models/get-communications-idresponse.d.ts +1 -1
- package/dist/esm/models/get-communications-idresponse.js +1 -1
- package/dist/esm/models/get-event-candlesticks-response.d.ts +1 -1
- package/dist/esm/models/get-event-candlesticks-response.js +1 -1
- package/dist/esm/models/get-event-forecast-percentiles-history-response.d.ts +1 -1
- package/dist/esm/models/get-event-forecast-percentiles-history-response.js +1 -1
- package/dist/esm/models/get-event-metadata-response.d.ts +1 -1
- package/dist/esm/models/get-event-metadata-response.js +1 -1
- package/dist/esm/models/get-event-response.d.ts +1 -1
- package/dist/esm/models/get-event-response.js +1 -1
- package/dist/esm/models/get-events-response.d.ts +1 -1
- package/dist/esm/models/get-events-response.js +1 -1
- package/dist/esm/models/get-exchange-announcements-response.d.ts +1 -1
- package/dist/esm/models/get-exchange-announcements-response.js +1 -1
- package/dist/esm/models/get-exchange-schedule-response.d.ts +1 -1
- package/dist/esm/models/get-exchange-schedule-response.js +1 -1
- package/dist/esm/models/get-fills-response.d.ts +1 -1
- package/dist/esm/models/get-fills-response.js +1 -1
- package/dist/esm/models/get-filters-by-sports-response.d.ts +1 -1
- package/dist/esm/models/get-filters-by-sports-response.js +1 -1
- package/dist/esm/models/get-historical-cutoff-response.d.ts +1 -1
- package/dist/esm/models/get-historical-cutoff-response.js +1 -1
- package/dist/esm/models/get-incentive-programs-response.d.ts +1 -1
- package/dist/esm/models/get-incentive-programs-response.js +1 -1
- package/dist/esm/models/get-live-data-response.d.ts +1 -1
- package/dist/esm/models/get-live-data-response.js +1 -1
- package/dist/esm/models/get-live-datas-response.d.ts +1 -1
- package/dist/esm/models/get-live-datas-response.js +1 -1
- package/dist/esm/models/get-market-candlesticks-historical-response.d.ts +1 -1
- package/dist/esm/models/get-market-candlesticks-historical-response.js +1 -1
- package/dist/esm/models/get-market-candlesticks-response.d.ts +1 -1
- package/dist/esm/models/get-market-candlesticks-response.js +1 -1
- package/dist/esm/models/get-market-orderbook-response.d.ts +1 -3
- package/dist/esm/models/get-market-orderbook-response.js +1 -1
- package/dist/esm/models/get-market-response.d.ts +1 -1
- package/dist/esm/models/get-market-response.js +1 -1
- package/dist/esm/models/get-markets-response.d.ts +1 -1
- package/dist/esm/models/get-markets-response.js +1 -1
- package/dist/esm/models/get-milestone-response.d.ts +1 -1
- package/dist/esm/models/get-milestone-response.js +1 -1
- package/dist/esm/models/get-milestones-response.d.ts +1 -1
- package/dist/esm/models/get-milestones-response.js +1 -1
- package/dist/esm/models/get-multivariate-event-collection-lookup-history-response.d.ts +1 -1
- package/dist/esm/models/get-multivariate-event-collection-lookup-history-response.js +1 -1
- package/dist/esm/models/get-multivariate-event-collection-response.d.ts +1 -1
- package/dist/esm/models/get-multivariate-event-collection-response.js +1 -1
- package/dist/esm/models/get-multivariate-event-collections-response.d.ts +1 -1
- package/dist/esm/models/get-multivariate-event-collections-response.js +1 -1
- package/dist/esm/models/get-multivariate-events-response.d.ts +1 -1
- package/dist/esm/models/get-multivariate-events-response.js +1 -1
- package/dist/esm/models/get-order-group-response.d.ts +1 -5
- package/dist/esm/models/get-order-group-response.js +1 -1
- package/dist/esm/models/get-order-groups-response.d.ts +1 -1
- package/dist/esm/models/get-order-groups-response.js +1 -1
- package/dist/esm/models/get-order-queue-position-response.d.ts +2 -6
- package/dist/esm/models/get-order-queue-position-response.js +1 -1
- package/dist/esm/models/get-order-queue-positions-response.d.ts +1 -1
- package/dist/esm/models/get-order-queue-positions-response.js +1 -1
- package/dist/esm/models/get-order-response.d.ts +1 -1
- package/dist/esm/models/get-order-response.js +1 -1
- package/dist/esm/models/get-orders-response.d.ts +1 -1
- package/dist/esm/models/get-orders-response.js +1 -1
- package/dist/esm/models/get-portfolio-resting-order-total-value-response.d.ts +1 -1
- package/dist/esm/models/get-portfolio-resting-order-total-value-response.js +1 -1
- package/dist/esm/models/get-positions-response.d.ts +1 -1
- package/dist/esm/models/get-positions-response.js +1 -1
- package/dist/esm/models/get-quote-response.d.ts +1 -1
- package/dist/esm/models/get-quote-response.js +1 -1
- package/dist/esm/models/get-quotes-response.d.ts +1 -1
- package/dist/esm/models/get-quotes-response.js +1 -1
- package/dist/esm/models/get-rfqresponse.d.ts +1 -1
- package/dist/esm/models/get-rfqresponse.js +1 -1
- package/dist/esm/models/get-rfqs-response.d.ts +1 -1
- package/dist/esm/models/get-rfqs-response.js +1 -1
- package/dist/esm/models/get-series-fee-changes-response.d.ts +1 -1
- package/dist/esm/models/get-series-fee-changes-response.js +1 -1
- package/dist/esm/models/get-series-list-response.d.ts +1 -1
- package/dist/esm/models/get-series-list-response.js +1 -1
- package/dist/esm/models/get-series-response.d.ts +1 -1
- package/dist/esm/models/get-series-response.js +1 -1
- package/dist/esm/models/get-settlements-response.d.ts +1 -1
- package/dist/esm/models/get-settlements-response.js +1 -1
- package/dist/esm/models/get-structured-target-response.d.ts +1 -1
- package/dist/esm/models/get-structured-target-response.js +1 -1
- package/dist/esm/models/get-structured-targets-response.d.ts +1 -1
- package/dist/esm/models/get-structured-targets-response.js +1 -1
- package/dist/esm/models/get-subaccount-balances-response.d.ts +1 -1
- package/dist/esm/models/get-subaccount-balances-response.js +1 -1
- package/dist/esm/models/get-subaccount-netting-response.d.ts +15 -0
- package/dist/esm/models/{orderbook.js → get-subaccount-netting-response.js} +1 -1
- package/dist/esm/models/get-subaccount-transfers-response.d.ts +1 -1
- package/dist/esm/models/get-subaccount-transfers-response.js +1 -1
- package/dist/esm/models/get-tags-for-series-categories-response.d.ts +1 -1
- package/dist/esm/models/get-tags-for-series-categories-response.js +1 -1
- package/dist/esm/models/get-trades-response.d.ts +1 -1
- package/dist/esm/models/get-trades-response.js +1 -1
- package/dist/esm/models/get-user-data-timestamp-response.d.ts +1 -1
- package/dist/esm/models/get-user-data-timestamp-response.js +1 -1
- package/dist/esm/models/incentive-program.d.ts +1 -5
- package/dist/esm/models/incentive-program.js +1 -1
- package/dist/esm/models/index.d.ts +3 -1
- package/dist/esm/models/index.js +3 -1
- package/dist/esm/models/intra-exchange-instance-transfer-request.d.ts +1 -1
- package/dist/esm/models/intra-exchange-instance-transfer-request.js +1 -1
- package/dist/esm/models/intra-exchange-instance-transfer-response.d.ts +1 -1
- package/dist/esm/models/intra-exchange-instance-transfer-response.js +1 -1
- package/dist/esm/models/live-data.d.ts +1 -1
- package/dist/esm/models/live-data.js +1 -1
- package/dist/esm/models/lookup-point.d.ts +1 -1
- package/dist/esm/models/lookup-point.js +1 -1
- package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-request.d.ts +1 -1
- package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-request.js +1 -1
- package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-response.d.ts +1 -1
- package/dist/esm/models/lookup-tickers-for-market-in-multivariate-event-collection-response.js +1 -1
- package/dist/esm/models/maintenance-window.d.ts +1 -1
- package/dist/esm/models/maintenance-window.js +1 -1
- package/dist/esm/models/market-candlestick-historical.d.ts +1 -1
- package/dist/esm/models/market-candlestick-historical.js +1 -1
- package/dist/esm/models/market-candlestick.d.ts +1 -9
- package/dist/esm/models/market-candlestick.js +1 -1
- package/dist/esm/models/market-candlesticks-response.d.ts +1 -1
- package/dist/esm/models/market-candlesticks-response.js +1 -1
- package/dist/esm/models/market-metadata.d.ts +1 -1
- package/dist/esm/models/market-metadata.js +1 -1
- package/dist/esm/models/market-position.d.ts +5 -25
- package/dist/esm/models/market-position.js +1 -1
- package/dist/esm/models/market.d.ts +16 -68
- package/dist/esm/models/market.js +1 -1
- package/dist/esm/models/milestone.d.ts +7 -1
- package/dist/esm/models/milestone.js +1 -1
- package/dist/esm/models/multivariate-event-collection.d.ts +1 -1
- package/dist/esm/models/multivariate-event-collection.js +1 -1
- package/dist/esm/models/mve-selected-leg.d.ts +2 -2
- package/dist/esm/models/mve-selected-leg.js +1 -1
- package/dist/esm/models/order-group.d.ts +1 -5
- package/dist/esm/models/order-group.js +1 -1
- package/dist/esm/models/order-queue-position.d.ts +2 -6
- package/dist/esm/models/order-queue-position.js +1 -1
- package/dist/esm/models/order-status.d.ts +1 -1
- package/dist/esm/models/order-status.js +1 -1
- package/dist/esm/models/order.d.ts +10 -41
- package/dist/esm/models/order.js +1 -1
- package/dist/esm/models/orderbook-count-fp.d.ts +1 -1
- package/dist/esm/models/orderbook-count-fp.js +1 -1
- package/dist/esm/models/percentile-point.d.ts +1 -1
- package/dist/esm/models/percentile-point.js +1 -1
- package/dist/esm/models/price-distribution-historical.d.ts +1 -1
- package/dist/esm/models/price-distribution-historical.js +1 -1
- package/dist/esm/models/price-distribution.d.ts +9 -41
- package/dist/esm/models/price-distribution.js +1 -1
- package/dist/esm/models/price-range.d.ts +1 -1
- package/dist/esm/models/price-range.js +1 -1
- package/dist/esm/models/quote.d.ts +4 -21
- package/dist/esm/models/quote.js +1 -1
- package/dist/esm/models/rfq.d.ts +3 -12
- package/dist/esm/models/rfq.js +1 -1
- package/dist/esm/models/schedule.d.ts +1 -1
- package/dist/esm/models/schedule.js +1 -1
- package/dist/esm/models/scope-list.d.ts +1 -1
- package/dist/esm/models/scope-list.js +1 -1
- package/dist/esm/models/self-trade-prevention-type.d.ts +1 -1
- package/dist/esm/models/self-trade-prevention-type.js +1 -1
- package/dist/esm/models/series-fee-change.d.ts +1 -1
- package/dist/esm/models/series-fee-change.js +1 -1
- package/dist/esm/models/series.d.ts +5 -5
- package/dist/esm/models/series.js +1 -1
- package/dist/esm/models/settlement-source.d.ts +1 -1
- package/dist/esm/models/settlement-source.js +1 -1
- package/dist/esm/models/settlement.d.ts +12 -10
- package/dist/esm/models/settlement.js +1 -1
- package/dist/esm/models/sport-filter-details.d.ts +1 -1
- package/dist/esm/models/sport-filter-details.js +1 -1
- package/dist/esm/models/structured-target.d.ts +7 -1
- package/dist/esm/models/structured-target.js +1 -1
- package/dist/esm/models/subaccount-balance.d.ts +2 -2
- package/dist/esm/models/subaccount-balance.js +1 -1
- package/dist/esm/models/subaccount-netting-config.d.ts +21 -0
- package/dist/esm/models/subaccount-netting-config.js +14 -0
- package/dist/esm/models/subaccount-transfer.d.ts +1 -1
- package/dist/esm/models/subaccount-transfer.js +1 -1
- package/dist/esm/models/ticker-pair.d.ts +1 -1
- package/dist/esm/models/ticker-pair.js +1 -1
- package/dist/esm/models/trade.d.ts +3 -19
- package/dist/esm/models/trade.js +1 -1
- package/dist/esm/models/update-order-group-limit-request.d.ts +1 -1
- package/dist/esm/models/update-order-group-limit-request.js +1 -1
- package/dist/esm/models/update-subaccount-netting-request.d.ts +21 -0
- package/dist/esm/models/update-subaccount-netting-request.js +14 -0
- package/dist/esm/models/weekly-schedule.d.ts +1 -1
- package/dist/esm/models/weekly-schedule.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/accept-quote-request.d.ts +1 -1
- package/dist/models/accept-quote-request.js +1 -1
- package/dist/models/amend-order-request.d.ts +3 -3
- package/dist/models/amend-order-request.js +1 -1
- package/dist/models/amend-order-response.d.ts +1 -1
- package/dist/models/amend-order-response.js +1 -1
- package/dist/models/announcement.d.ts +1 -1
- package/dist/models/announcement.js +1 -1
- package/dist/models/api-key.d.ts +1 -1
- package/dist/models/api-key.js +1 -1
- package/dist/models/apply-subaccount-transfer-request.d.ts +1 -1
- package/dist/models/apply-subaccount-transfer-request.js +1 -1
- package/dist/models/associated-event.d.ts +1 -1
- package/dist/models/associated-event.js +1 -1
- package/dist/models/batch-cancel-orders-individual-response.d.ts +1 -5
- package/dist/models/batch-cancel-orders-individual-response.js +1 -1
- package/dist/models/batch-cancel-orders-request-order.d.ts +1 -1
- package/dist/models/batch-cancel-orders-request-order.js +1 -1
- package/dist/models/batch-cancel-orders-request.d.ts +1 -1
- package/dist/models/batch-cancel-orders-request.js +1 -1
- package/dist/models/batch-cancel-orders-response.d.ts +1 -1
- package/dist/models/batch-cancel-orders-response.js +1 -1
- package/dist/models/batch-create-orders-individual-response.d.ts +1 -1
- package/dist/models/batch-create-orders-individual-response.js +1 -1
- package/dist/models/batch-create-orders-request.d.ts +1 -1
- package/dist/models/batch-create-orders-request.js +1 -1
- package/dist/models/batch-create-orders-response.d.ts +1 -1
- package/dist/models/batch-create-orders-response.js +1 -1
- package/dist/models/batch-get-market-candlesticks-response.d.ts +1 -1
- package/dist/models/batch-get-market-candlesticks-response.js +1 -1
- package/dist/models/bid-ask-distribution-historical.d.ts +5 -5
- package/dist/models/bid-ask-distribution-historical.js +1 -1
- package/dist/models/bid-ask-distribution.d.ts +5 -21
- package/dist/models/bid-ask-distribution.js +1 -1
- package/dist/models/cancel-order-response.d.ts +1 -2
- package/dist/models/cancel-order-response.js +1 -1
- package/dist/models/create-api-key-request.d.ts +1 -1
- package/dist/models/create-api-key-request.js +1 -1
- package/dist/models/create-api-key-response.d.ts +1 -1
- package/dist/models/create-api-key-response.js +1 -1
- package/dist/models/create-market-in-multivariate-event-collection-request.d.ts +1 -1
- package/dist/models/create-market-in-multivariate-event-collection-request.js +1 -1
- package/dist/models/create-market-in-multivariate-event-collection-response.d.ts +1 -1
- package/dist/models/create-market-in-multivariate-event-collection-response.js +1 -1
- package/dist/models/create-order-group-request.d.ts +1 -1
- package/dist/models/create-order-group-request.js +1 -1
- package/dist/models/create-order-group-response.d.ts +1 -1
- package/dist/models/create-order-group-response.js +1 -1
- package/dist/models/create-order-request.d.ts +3 -3
- package/dist/models/create-order-request.js +1 -1
- package/dist/models/create-order-response.d.ts +1 -1
- package/dist/models/create-order-response.js +1 -1
- package/dist/models/create-quote-request.d.ts +3 -3
- package/dist/models/create-quote-request.js +1 -1
- package/dist/models/create-quote-response.d.ts +1 -1
- package/dist/models/create-quote-response.js +1 -1
- package/dist/models/create-rfqrequest.d.ts +2 -2
- package/dist/models/create-rfqrequest.js +1 -1
- package/dist/models/create-rfqresponse.d.ts +1 -1
- package/dist/models/create-rfqresponse.js +1 -1
- package/dist/models/create-subaccount-response.d.ts +1 -1
- package/dist/models/create-subaccount-response.js +1 -1
- package/dist/models/daily-schedule.d.ts +1 -1
- package/dist/models/daily-schedule.js +1 -1
- package/dist/models/decrease-order-request.d.ts +1 -1
- package/dist/models/decrease-order-request.js +1 -1
- package/dist/models/decrease-order-response.d.ts +1 -1
- package/dist/models/decrease-order-response.js +1 -1
- package/dist/models/error-response.d.ts +1 -1
- package/dist/models/error-response.js +1 -1
- package/dist/models/event-data.d.ts +5 -1
- package/dist/models/event-data.js +1 -1
- package/dist/models/event-position.d.ts +5 -25
- package/dist/models/event-position.js +1 -1
- package/dist/models/exchange-instance.d.ts +1 -1
- package/dist/models/exchange-instance.js +1 -1
- package/dist/models/exchange-status.d.ts +1 -1
- package/dist/models/exchange-status.js +1 -1
- package/dist/models/fill.d.ts +11 -17
- package/dist/models/fill.js +1 -1
- package/dist/models/forecast-percentiles-point.d.ts +1 -1
- package/dist/models/forecast-percentiles-point.js +1 -1
- package/dist/models/generate-api-key-request.d.ts +1 -1
- package/dist/models/generate-api-key-request.js +1 -1
- package/dist/models/generate-api-key-response.d.ts +1 -1
- package/dist/models/generate-api-key-response.js +1 -1
- package/dist/models/get-account-api-limits-response.d.ts +1 -1
- package/dist/models/get-account-api-limits-response.js +1 -1
- package/dist/models/get-api-keys-response.d.ts +1 -1
- package/dist/models/get-api-keys-response.js +1 -1
- package/dist/models/get-balance-response.d.ts +1 -1
- package/dist/models/get-balance-response.js +1 -1
- package/dist/models/get-communications-idresponse.d.ts +1 -1
- package/dist/models/get-communications-idresponse.js +1 -1
- package/dist/models/get-event-candlesticks-response.d.ts +1 -1
- package/dist/models/get-event-candlesticks-response.js +1 -1
- package/dist/models/get-event-forecast-percentiles-history-response.d.ts +1 -1
- package/dist/models/get-event-forecast-percentiles-history-response.js +1 -1
- package/dist/models/get-event-metadata-response.d.ts +1 -1
- package/dist/models/get-event-metadata-response.js +1 -1
- package/dist/models/get-event-response.d.ts +1 -1
- package/dist/models/get-event-response.js +1 -1
- package/dist/models/get-events-response.d.ts +1 -1
- package/dist/models/get-events-response.js +1 -1
- package/dist/models/get-exchange-announcements-response.d.ts +1 -1
- package/dist/models/get-exchange-announcements-response.js +1 -1
- package/dist/models/get-exchange-schedule-response.d.ts +1 -1
- package/dist/models/get-exchange-schedule-response.js +1 -1
- package/dist/models/get-fills-response.d.ts +1 -1
- package/dist/models/get-fills-response.js +1 -1
- package/dist/models/get-filters-by-sports-response.d.ts +1 -1
- package/dist/models/get-filters-by-sports-response.js +1 -1
- package/dist/models/get-historical-cutoff-response.d.ts +1 -1
- package/dist/models/get-historical-cutoff-response.js +1 -1
- package/dist/models/get-incentive-programs-response.d.ts +1 -1
- package/dist/models/get-incentive-programs-response.js +1 -1
- package/dist/models/get-live-data-response.d.ts +1 -1
- package/dist/models/get-live-data-response.js +1 -1
- package/dist/models/get-live-datas-response.d.ts +1 -1
- package/dist/models/get-live-datas-response.js +1 -1
- package/dist/models/get-market-candlesticks-historical-response.d.ts +1 -1
- package/dist/models/get-market-candlesticks-historical-response.js +1 -1
- package/dist/models/get-market-candlesticks-response.d.ts +1 -1
- package/dist/models/get-market-candlesticks-response.js +1 -1
- package/dist/models/get-market-orderbook-response.d.ts +1 -3
- package/dist/models/get-market-orderbook-response.js +1 -1
- package/dist/models/get-market-response.d.ts +1 -1
- package/dist/models/get-market-response.js +1 -1
- package/dist/models/get-markets-response.d.ts +1 -1
- package/dist/models/get-markets-response.js +1 -1
- package/dist/models/get-milestone-response.d.ts +1 -1
- package/dist/models/get-milestone-response.js +1 -1
- package/dist/models/get-milestones-response.d.ts +1 -1
- package/dist/models/get-milestones-response.js +1 -1
- package/dist/models/get-multivariate-event-collection-lookup-history-response.d.ts +1 -1
- package/dist/models/get-multivariate-event-collection-lookup-history-response.js +1 -1
- package/dist/models/get-multivariate-event-collection-response.d.ts +1 -1
- package/dist/models/get-multivariate-event-collection-response.js +1 -1
- package/dist/models/get-multivariate-event-collections-response.d.ts +1 -1
- package/dist/models/get-multivariate-event-collections-response.js +1 -1
- package/dist/models/get-multivariate-events-response.d.ts +1 -1
- package/dist/models/get-multivariate-events-response.js +1 -1
- package/dist/models/get-order-group-response.d.ts +1 -5
- package/dist/models/get-order-group-response.js +1 -1
- package/dist/models/get-order-groups-response.d.ts +1 -1
- package/dist/models/get-order-groups-response.js +1 -1
- package/dist/models/get-order-queue-position-response.d.ts +2 -6
- package/dist/models/get-order-queue-position-response.js +1 -1
- package/dist/models/get-order-queue-positions-response.d.ts +1 -1
- package/dist/models/get-order-queue-positions-response.js +1 -1
- package/dist/models/get-order-response.d.ts +1 -1
- package/dist/models/get-order-response.js +1 -1
- package/dist/models/get-orders-response.d.ts +1 -1
- package/dist/models/get-orders-response.js +1 -1
- package/dist/models/get-portfolio-resting-order-total-value-response.d.ts +1 -1
- package/dist/models/get-portfolio-resting-order-total-value-response.js +1 -1
- package/dist/models/get-positions-response.d.ts +1 -1
- package/dist/models/get-positions-response.js +1 -1
- package/dist/models/get-quote-response.d.ts +1 -1
- package/dist/models/get-quote-response.js +1 -1
- package/dist/models/get-quotes-response.d.ts +1 -1
- package/dist/models/get-quotes-response.js +1 -1
- package/dist/models/get-rfqresponse.d.ts +1 -1
- package/dist/models/get-rfqresponse.js +1 -1
- package/dist/models/get-rfqs-response.d.ts +1 -1
- package/dist/models/get-rfqs-response.js +1 -1
- package/dist/models/get-series-fee-changes-response.d.ts +1 -1
- package/dist/models/get-series-fee-changes-response.js +1 -1
- package/dist/models/get-series-list-response.d.ts +1 -1
- package/dist/models/get-series-list-response.js +1 -1
- package/dist/models/get-series-response.d.ts +1 -1
- package/dist/models/get-series-response.js +1 -1
- package/dist/models/get-settlements-response.d.ts +1 -1
- package/dist/models/get-settlements-response.js +1 -1
- package/dist/models/get-structured-target-response.d.ts +1 -1
- package/dist/models/get-structured-target-response.js +1 -1
- package/dist/models/get-structured-targets-response.d.ts +1 -1
- package/dist/models/get-structured-targets-response.js +1 -1
- package/dist/models/get-subaccount-balances-response.d.ts +1 -1
- package/dist/models/get-subaccount-balances-response.js +1 -1
- package/dist/models/get-subaccount-netting-response.d.ts +15 -0
- package/dist/models/{orderbook.js → get-subaccount-netting-response.js} +1 -1
- package/dist/models/get-subaccount-transfers-response.d.ts +1 -1
- package/dist/models/get-subaccount-transfers-response.js +1 -1
- package/dist/models/get-tags-for-series-categories-response.d.ts +1 -1
- package/dist/models/get-tags-for-series-categories-response.js +1 -1
- package/dist/models/get-trades-response.d.ts +1 -1
- package/dist/models/get-trades-response.js +1 -1
- package/dist/models/get-user-data-timestamp-response.d.ts +1 -1
- package/dist/models/get-user-data-timestamp-response.js +1 -1
- package/dist/models/incentive-program.d.ts +1 -5
- package/dist/models/incentive-program.js +1 -1
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/dist/models/intra-exchange-instance-transfer-request.d.ts +1 -1
- package/dist/models/intra-exchange-instance-transfer-request.js +1 -1
- package/dist/models/intra-exchange-instance-transfer-response.d.ts +1 -1
- package/dist/models/intra-exchange-instance-transfer-response.js +1 -1
- package/dist/models/live-data.d.ts +1 -1
- package/dist/models/live-data.js +1 -1
- package/dist/models/lookup-point.d.ts +1 -1
- package/dist/models/lookup-point.js +1 -1
- package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-request.d.ts +1 -1
- package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-request.js +1 -1
- package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-response.d.ts +1 -1
- package/dist/models/lookup-tickers-for-market-in-multivariate-event-collection-response.js +1 -1
- package/dist/models/maintenance-window.d.ts +1 -1
- package/dist/models/maintenance-window.js +1 -1
- package/dist/models/market-candlestick-historical.d.ts +1 -1
- package/dist/models/market-candlestick-historical.js +1 -1
- package/dist/models/market-candlestick.d.ts +1 -9
- package/dist/models/market-candlestick.js +1 -1
- package/dist/models/market-candlesticks-response.d.ts +1 -1
- package/dist/models/market-candlesticks-response.js +1 -1
- package/dist/models/market-metadata.d.ts +1 -1
- package/dist/models/market-metadata.js +1 -1
- package/dist/models/market-position.d.ts +5 -25
- package/dist/models/market-position.js +1 -1
- package/dist/models/market.d.ts +16 -68
- package/dist/models/market.js +1 -1
- package/dist/models/milestone.d.ts +7 -1
- package/dist/models/milestone.js +1 -1
- package/dist/models/multivariate-event-collection.d.ts +1 -1
- package/dist/models/multivariate-event-collection.js +1 -1
- package/dist/models/mve-selected-leg.d.ts +2 -2
- package/dist/models/mve-selected-leg.js +1 -1
- package/dist/models/order-group.d.ts +1 -5
- package/dist/models/order-group.js +1 -1
- package/dist/models/order-queue-position.d.ts +2 -6
- package/dist/models/order-queue-position.js +1 -1
- package/dist/models/order-status.d.ts +1 -1
- package/dist/models/order-status.js +1 -1
- package/dist/models/order.d.ts +10 -41
- package/dist/models/order.js +1 -1
- package/dist/models/orderbook-count-fp.d.ts +1 -1
- package/dist/models/orderbook-count-fp.js +1 -1
- package/dist/models/percentile-point.d.ts +1 -1
- package/dist/models/percentile-point.js +1 -1
- package/dist/models/price-distribution-historical.d.ts +1 -1
- package/dist/models/price-distribution-historical.js +1 -1
- package/dist/models/price-distribution.d.ts +9 -41
- package/dist/models/price-distribution.js +1 -1
- package/dist/models/price-range.d.ts +1 -1
- package/dist/models/price-range.js +1 -1
- package/dist/models/quote.d.ts +4 -21
- package/dist/models/quote.js +1 -1
- package/dist/models/rfq.d.ts +3 -12
- package/dist/models/rfq.js +1 -1
- package/dist/models/schedule.d.ts +1 -1
- package/dist/models/schedule.js +1 -1
- package/dist/models/scope-list.d.ts +1 -1
- package/dist/models/scope-list.js +1 -1
- package/dist/models/self-trade-prevention-type.d.ts +1 -1
- package/dist/models/self-trade-prevention-type.js +1 -1
- package/dist/models/series-fee-change.d.ts +1 -1
- package/dist/models/series-fee-change.js +1 -1
- package/dist/models/series.d.ts +5 -5
- package/dist/models/series.js +1 -1
- package/dist/models/settlement-source.d.ts +1 -1
- package/dist/models/settlement-source.js +1 -1
- package/dist/models/settlement.d.ts +12 -10
- package/dist/models/settlement.js +1 -1
- package/dist/models/sport-filter-details.d.ts +1 -1
- package/dist/models/sport-filter-details.js +1 -1
- package/dist/models/structured-target.d.ts +7 -1
- package/dist/models/structured-target.js +1 -1
- package/dist/models/subaccount-balance.d.ts +2 -2
- package/dist/models/subaccount-balance.js +1 -1
- package/dist/models/subaccount-netting-config.d.ts +21 -0
- package/dist/models/subaccount-netting-config.js +15 -0
- package/dist/models/subaccount-transfer.d.ts +1 -1
- package/dist/models/subaccount-transfer.js +1 -1
- package/dist/models/ticker-pair.d.ts +1 -1
- package/dist/models/ticker-pair.js +1 -1
- package/dist/models/trade.d.ts +3 -19
- package/dist/models/trade.js +1 -1
- package/dist/models/update-order-group-limit-request.d.ts +1 -1
- package/dist/models/update-order-group-limit-request.js +1 -1
- package/dist/models/update-subaccount-netting-request.d.ts +21 -0
- package/dist/models/update-subaccount-netting-request.js +15 -0
- package/dist/models/weekly-schedule.d.ts +1 -1
- package/dist/models/weekly-schedule.js +1 -1
- package/docs/AmendOrderRequest.md +2 -2
- package/docs/BatchCancelOrdersIndividualResponse.md +0 -2
- package/docs/BidAskDistribution.md +4 -12
- package/docs/BidAskDistributionHistorical.md +4 -4
- package/docs/CancelOrderResponse.md +0 -2
- package/docs/CommunicationsApi.md +3 -3
- package/docs/CreateOrderRequest.md +2 -2
- package/docs/CreateQuoteRequest.md +2 -2
- package/docs/CreateRFQRequest.md +1 -1
- package/docs/EventData.md +2 -0
- package/docs/EventPosition.md +4 -14
- package/docs/EventsApi.md +5 -4
- package/docs/FcmApi.md +1 -1
- package/docs/Fill.md +7 -11
- package/docs/GetMarketOrderbookResponse.md +0 -2
- package/docs/GetOrderGroupResponse.md +0 -2
- package/docs/GetOrderQueuePositionResponse.md +1 -3
- package/docs/GetSubaccountNettingResponse.md +20 -0
- package/docs/HistoricalApi.md +41 -1
- package/docs/IncentiveProgram.md +0 -2
- package/docs/Market.md +15 -39
- package/docs/MarketApi.md +5 -4
- package/docs/MarketCandlestick.md +0 -4
- package/docs/MarketPosition.md +4 -14
- package/docs/Milestone.md +2 -0
- package/docs/MilestoneApi.md +1 -0
- package/docs/MultivariateApi.md +2 -1
- package/docs/MveSelectedLeg.md +1 -1
- package/docs/Order.md +7 -27
- package/docs/OrderGroup.md +0 -2
- package/docs/OrderGroupsApi.md +5 -5
- package/docs/OrderQueuePosition.md +1 -3
- package/docs/OrdersApi.md +5 -5
- package/docs/PortfolioApi.md +76 -7
- package/docs/PriceDistribution.md +8 -24
- package/docs/Quote.md +3 -11
- package/docs/RFQ.md +2 -6
- package/docs/Series.md +2 -2
- package/docs/Settlement.md +7 -7
- package/docs/StructuredTarget.md +2 -0
- package/docs/SubaccountBalance.md +1 -1
- package/docs/SubaccountNettingConfig.md +22 -0
- package/docs/Trade.md +2 -10
- package/docs/UpdateSubaccountNettingRequest.md +22 -0
- package/index.ts +1 -1
- package/models/accept-quote-request.ts +1 -1
- package/models/amend-order-request.ts +3 -3
- package/models/amend-order-response.ts +1 -1
- package/models/announcement.ts +1 -1
- package/models/api-key.ts +1 -1
- package/models/apply-subaccount-transfer-request.ts +1 -1
- package/models/associated-event.ts +1 -1
- package/models/batch-cancel-orders-individual-response.ts +1 -5
- package/models/batch-cancel-orders-request-order.ts +1 -1
- package/models/batch-cancel-orders-request.ts +1 -1
- package/models/batch-cancel-orders-response.ts +1 -1
- package/models/batch-create-orders-individual-response.ts +1 -1
- package/models/batch-create-orders-request.ts +1 -1
- package/models/batch-create-orders-response.ts +1 -1
- package/models/batch-get-market-candlesticks-response.ts +1 -1
- package/models/bid-ask-distribution-historical.ts +5 -5
- package/models/bid-ask-distribution.ts +5 -21
- package/models/cancel-order-response.ts +1 -2
- package/models/create-api-key-request.ts +1 -1
- package/models/create-api-key-response.ts +1 -1
- package/models/create-market-in-multivariate-event-collection-request.ts +1 -1
- package/models/create-market-in-multivariate-event-collection-response.ts +1 -1
- package/models/create-order-group-request.ts +1 -1
- package/models/create-order-group-response.ts +1 -1
- package/models/create-order-request.ts +3 -3
- package/models/create-order-response.ts +1 -1
- package/models/create-quote-request.ts +3 -3
- package/models/create-quote-response.ts +1 -1
- package/models/create-rfqrequest.ts +2 -2
- package/models/create-rfqresponse.ts +1 -1
- package/models/create-subaccount-response.ts +1 -1
- package/models/daily-schedule.ts +1 -1
- package/models/decrease-order-request.ts +1 -1
- package/models/decrease-order-response.ts +1 -1
- package/models/error-response.ts +1 -1
- package/models/event-data.ts +5 -1
- package/models/event-position.ts +5 -25
- package/models/exchange-instance.ts +1 -1
- package/models/exchange-status.ts +1 -1
- package/models/fill.ts +11 -17
- package/models/forecast-percentiles-point.ts +1 -1
- package/models/generate-api-key-request.ts +1 -1
- package/models/generate-api-key-response.ts +1 -1
- package/models/get-account-api-limits-response.ts +1 -1
- package/models/get-api-keys-response.ts +1 -1
- package/models/get-balance-response.ts +1 -1
- package/models/get-communications-idresponse.ts +1 -1
- package/models/get-event-candlesticks-response.ts +1 -1
- package/models/get-event-forecast-percentiles-history-response.ts +1 -1
- package/models/get-event-metadata-response.ts +1 -1
- package/models/get-event-response.ts +1 -1
- package/models/get-events-response.ts +1 -1
- package/models/get-exchange-announcements-response.ts +1 -1
- package/models/get-exchange-schedule-response.ts +1 -1
- package/models/get-fills-response.ts +1 -1
- package/models/get-filters-by-sports-response.ts +1 -1
- package/models/get-historical-cutoff-response.ts +1 -1
- package/models/get-incentive-programs-response.ts +1 -1
- package/models/get-live-data-response.ts +1 -1
- package/models/get-live-datas-response.ts +1 -1
- package/models/get-market-candlesticks-historical-response.ts +1 -1
- package/models/get-market-candlesticks-response.ts +1 -1
- package/models/get-market-orderbook-response.ts +1 -5
- package/models/get-market-response.ts +1 -1
- package/models/get-markets-response.ts +1 -1
- package/models/get-milestone-response.ts +1 -1
- package/models/get-milestones-response.ts +1 -1
- package/models/get-multivariate-event-collection-lookup-history-response.ts +1 -1
- package/models/get-multivariate-event-collection-response.ts +1 -1
- package/models/get-multivariate-event-collections-response.ts +1 -1
- package/models/get-multivariate-events-response.ts +1 -1
- package/models/get-order-group-response.ts +1 -5
- package/models/get-order-groups-response.ts +1 -1
- package/models/get-order-queue-position-response.ts +2 -6
- package/models/get-order-queue-positions-response.ts +1 -1
- package/models/get-order-response.ts +1 -1
- package/models/get-orders-response.ts +1 -1
- package/models/get-portfolio-resting-order-total-value-response.ts +1 -1
- package/models/get-positions-response.ts +1 -1
- package/models/get-quote-response.ts +1 -1
- package/models/get-quotes-response.ts +1 -1
- package/models/get-rfqresponse.ts +1 -1
- package/models/get-rfqs-response.ts +1 -1
- package/models/get-series-fee-changes-response.ts +1 -1
- package/models/get-series-list-response.ts +1 -1
- package/models/get-series-response.ts +1 -1
- package/models/get-settlements-response.ts +1 -1
- package/models/get-structured-target-response.ts +1 -1
- package/models/get-structured-targets-response.ts +1 -1
- package/models/get-subaccount-balances-response.ts +1 -1
- package/models/get-subaccount-netting-response.ts +23 -0
- package/models/get-subaccount-transfers-response.ts +1 -1
- package/models/get-tags-for-series-categories-response.ts +1 -1
- package/models/get-trades-response.ts +1 -1
- package/models/get-user-data-timestamp-response.ts +1 -1
- package/models/incentive-program.ts +1 -5
- package/models/index.ts +3 -1
- package/models/intra-exchange-instance-transfer-request.ts +1 -1
- package/models/intra-exchange-instance-transfer-response.ts +1 -1
- package/models/live-data.ts +1 -1
- package/models/lookup-point.ts +1 -1
- package/models/lookup-tickers-for-market-in-multivariate-event-collection-request.ts +1 -1
- package/models/lookup-tickers-for-market-in-multivariate-event-collection-response.ts +1 -1
- package/models/maintenance-window.ts +1 -1
- package/models/market-candlestick-historical.ts +1 -1
- package/models/market-candlestick.ts +1 -9
- package/models/market-candlesticks-response.ts +1 -1
- package/models/market-metadata.ts +1 -1
- package/models/market-position.ts +5 -25
- package/models/market.ts +16 -68
- package/models/milestone.ts +5 -1
- package/models/multivariate-event-collection.ts +1 -1
- package/models/mve-selected-leg.ts +2 -2
- package/models/order-group.ts +1 -5
- package/models/order-queue-position.ts +2 -6
- package/models/order-status.ts +1 -1
- package/models/order.ts +10 -41
- package/models/orderbook-count-fp.ts +1 -1
- package/models/percentile-point.ts +1 -1
- package/models/price-distribution-historical.ts +1 -1
- package/models/price-distribution.ts +9 -41
- package/models/price-range.ts +1 -1
- package/models/quote.ts +4 -21
- package/models/rfq.ts +3 -12
- package/models/schedule.ts +1 -1
- package/models/scope-list.ts +1 -1
- package/models/self-trade-prevention-type.ts +1 -1
- package/models/series-fee-change.ts +1 -1
- package/models/series.ts +5 -5
- package/models/settlement-source.ts +1 -1
- package/models/settlement.ts +12 -10
- package/models/sport-filter-details.ts +1 -1
- package/models/structured-target.ts +5 -1
- package/models/subaccount-balance.ts +2 -2
- package/models/subaccount-netting-config.ts +27 -0
- package/models/subaccount-transfer.ts +1 -1
- package/models/ticker-pair.ts +1 -1
- package/models/trade.ts +3 -19
- package/models/update-order-group-limit-request.ts +1 -1
- package/models/update-subaccount-netting-request.ts +27 -0
- package/models/weekly-schedule.ts +1 -1
- package/package.json +1 -1
- package/dist/esm/models/orderbook.d.ts +0 -20
- package/dist/models/orderbook.d.ts +0 -20
- package/docs/Orderbook.md +0 -27
- package/models/orderbook.ts +0 -26
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,6 +30,12 @@ export interface StructuredTarget {
|
|
|
30
30
|
* External source identifier for the structured target, if available (e.g., third-party data provider ID).
|
|
31
31
|
*/
|
|
32
32
|
'source_id'?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Source ids of structured target if available.
|
|
35
|
+
*/
|
|
36
|
+
'source_ids'?: {
|
|
37
|
+
[key: string]: string;
|
|
38
|
+
};
|
|
33
39
|
/**
|
|
34
40
|
* Timestamp when this structured target was last updated.
|
|
35
41
|
*/
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -15,7 +15,7 @@ export interface SubaccountBalance {
|
|
|
15
15
|
*/
|
|
16
16
|
'subaccount_number': number;
|
|
17
17
|
/**
|
|
18
|
-
* US dollar amount as a fixed-point decimal string with up to
|
|
18
|
+
* US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure.
|
|
19
19
|
*/
|
|
20
20
|
'balance': string;
|
|
21
21
|
/**
|
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kalshi Trade API Manual Endpoints
|
|
3
|
+
* Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface SubaccountNettingConfig {
|
|
13
|
+
/**
|
|
14
|
+
* Subaccount number (0 for primary, 1-32 for subaccounts).
|
|
15
|
+
*/
|
|
16
|
+
'subaccount_number': number;
|
|
17
|
+
/**
|
|
18
|
+
* Whether netting is enabled for this subaccount.
|
|
19
|
+
*/
|
|
20
|
+
'enabled': boolean;
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kalshi Trade API Manual Endpoints
|
|
6
|
+
* Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/trade.d.ts
CHANGED
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,32 +18,16 @@ export interface Trade {
|
|
|
18
18
|
* Unique identifier for the market
|
|
19
19
|
*/
|
|
20
20
|
'ticker': string;
|
|
21
|
-
/**
|
|
22
|
-
* Trade price (deprecated - use yes_price or no_price)
|
|
23
|
-
*/
|
|
24
|
-
'price': number;
|
|
25
|
-
/**
|
|
26
|
-
* Number of contracts bought or sold in this trade
|
|
27
|
-
*/
|
|
28
|
-
'count': number;
|
|
29
21
|
/**
|
|
30
22
|
* Fixed-point contract count string (2 decimals, e.g., \"10.00\"; referred to as \"fp\" in field names). Requests accept 0–2 decimal places (e.g., \"10\", \"10.0\", \"10.00\"); responses always emit 2 decimals. Currently only whole contract values are permitted, but the format supports future fractional precision. Integer contract count fields are legacy and will be deprecated; when both integer and fp fields are provided, they must match.
|
|
31
23
|
*/
|
|
32
24
|
'count_fp': string;
|
|
33
25
|
/**
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
'yes_price': number;
|
|
37
|
-
/**
|
|
38
|
-
* No price for this trade in cents
|
|
39
|
-
*/
|
|
40
|
-
'no_price': number;
|
|
41
|
-
/**
|
|
42
|
-
* US dollar amount as a fixed-point decimal string with up to 4 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure.
|
|
26
|
+
* US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure.
|
|
43
27
|
*/
|
|
44
28
|
'yes_price_dollars': string;
|
|
45
29
|
/**
|
|
46
|
-
* US dollar amount as a fixed-point decimal string with up to
|
|
30
|
+
* US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure.
|
|
47
31
|
*/
|
|
48
32
|
'no_price_dollars': string;
|
|
49
33
|
/**
|
package/dist/models/trade.js
CHANGED
|
@@ -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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kalshi Trade API Manual Endpoints
|
|
3
|
+
* Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.9.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateSubaccountNettingRequest {
|
|
13
|
+
/**
|
|
14
|
+
* Subaccount number (0 for primary, 1-32 for subaccounts).
|
|
15
|
+
*/
|
|
16
|
+
'subaccount_number': number;
|
|
17
|
+
/**
|
|
18
|
+
* Whether netting is enabled for this subaccount.
|
|
19
|
+
*/
|
|
20
|
+
'enabled': boolean;
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kalshi Trade API Manual Endpoints
|
|
6
|
+
* Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 3.9.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.
|
|
8
|
+
* The version of the OpenAPI document: 3.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,8 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**updated_client_order_id** | **string** | The new client-specified order ID after amendment | [optional] [default to undefined]
|
|
14
14
|
**yes_price** | **number** | Updated yes price for the order in cents | [optional] [default to undefined]
|
|
15
15
|
**no_price** | **number** | Updated no price for the order in cents | [optional] [default to undefined]
|
|
16
|
-
**yes_price_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to
|
|
17
|
-
**no_price_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to
|
|
16
|
+
**yes_price_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [optional] [default to undefined]
|
|
17
|
+
**no_price_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [optional] [default to undefined]
|
|
18
18
|
**count** | **number** | Updated quantity for the order (whole contracts only). If updating quantity, provide count or count_fp; if both provided they must match. | [optional] [default to undefined]
|
|
19
19
|
**count_fp** | **string** | Fixed-point contract count string (2 decimals, e.g., \"10.00\"; referred to as \"fp\" in field names). Requests accept 0–2 decimal places (e.g., \"10\", \"10.0\", \"10.00\"); responses always emit 2 decimals. Currently only whole contract values are permitted, but the format supports future fractional precision. Integer contract count fields are legacy and will be deprecated; when both integer and fp fields are provided, they must match. | [optional] [default to undefined]
|
|
20
20
|
|
|
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**order_id** | **string** | The order ID to identify which order had an error during batch cancellation | [default to undefined]
|
|
9
9
|
**order** | [**Order**](Order.md) | | [optional] [default to undefined]
|
|
10
|
-
**reduced_by** | **number** | The number of contracts that were successfully canceled from this order | [default to undefined]
|
|
11
10
|
**reduced_by_fp** | **string** | Fixed-point contract count string (2 decimals, e.g., \"10.00\"; referred to as \"fp\" in field names). Requests accept 0–2 decimal places (e.g., \"10\", \"10.0\", \"10.00\"); responses always emit 2 decimals. Currently only whole contract values are permitted, but the format supports future fractional precision. Integer contract count fields are legacy and will be deprecated; when both integer and fp fields are provided, they must match. | [default to undefined]
|
|
12
11
|
**error** | [**ErrorResponse**](ErrorResponse.md) | | [optional] [default to undefined]
|
|
13
12
|
|
|
@@ -19,7 +18,6 @@ import { BatchCancelOrdersIndividualResponse } from 'kalshi-typescript';
|
|
|
19
18
|
const instance: BatchCancelOrdersIndividualResponse = {
|
|
20
19
|
order_id,
|
|
21
20
|
order,
|
|
22
|
-
reduced_by,
|
|
23
21
|
reduced_by_fp,
|
|
24
22
|
error,
|
|
25
23
|
};
|
|
@@ -5,14 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
9
|
-
**
|
|
10
|
-
**
|
|
11
|
-
**
|
|
12
|
-
**high** | **number** | Highest offer price on the market during the candlestick period (in cents). | [default to undefined]
|
|
13
|
-
**high_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
14
|
-
**close** | **number** | Offer price on the market at the end of the candlestick period (in cents). | [default to undefined]
|
|
15
|
-
**close_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
8
|
+
**open_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
9
|
+
**low_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
10
|
+
**high_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
11
|
+
**close_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
16
12
|
|
|
17
13
|
## Example
|
|
18
14
|
|
|
@@ -20,13 +16,9 @@ Name | Type | Description | Notes
|
|
|
20
16
|
import { BidAskDistribution } from 'kalshi-typescript';
|
|
21
17
|
|
|
22
18
|
const instance: BidAskDistribution = {
|
|
23
|
-
open,
|
|
24
19
|
open_dollars,
|
|
25
|
-
low,
|
|
26
20
|
low_dollars,
|
|
27
|
-
high,
|
|
28
21
|
high_dollars,
|
|
29
|
-
close,
|
|
30
22
|
close_dollars,
|
|
31
23
|
};
|
|
32
24
|
```
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**open** | **string** | US dollar amount as a fixed-point decimal string with up to
|
|
9
|
-
**low** | **string** | US dollar amount as a fixed-point decimal string with up to
|
|
10
|
-
**high** | **string** | US dollar amount as a fixed-point decimal string with up to
|
|
11
|
-
**close** | **string** | US dollar amount as a fixed-point decimal string with up to
|
|
8
|
+
**open** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
9
|
+
**low** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
10
|
+
**high** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
11
|
+
**close** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**order** | [**Order**](Order.md) | | [default to undefined]
|
|
9
|
-
**reduced_by** | **number** | | [default to undefined]
|
|
10
9
|
**reduced_by_fp** | **string** | Fixed-point contract count string (2 decimals, e.g., \"10.00\"; referred to as \"fp\" in field names). Requests accept 0–2 decimal places (e.g., \"10\", \"10.0\", \"10.00\"); responses always emit 2 decimals. Currently only whole contract values are permitted, but the format supports future fractional precision. Integer contract count fields are legacy and will be deprecated; when both integer and fp fields are provided, they must match. | [default to undefined]
|
|
11
10
|
|
|
12
11
|
## Example
|
|
@@ -16,7 +15,6 @@ import { CancelOrderResponse } from 'kalshi-typescript';
|
|
|
16
15
|
|
|
17
16
|
const instance: CancelOrderResponse = {
|
|
18
17
|
order,
|
|
19
|
-
reduced_by,
|
|
20
18
|
reduced_by_fp,
|
|
21
19
|
};
|
|
22
20
|
```
|
|
@@ -298,7 +298,7 @@ This endpoint does not have any parameters.
|
|
|
298
298
|
|Name | Type | Description | Notes|
|
|
299
299
|
|------------- | ------------- | ------------- | -------------|
|
|
300
300
|
| **cursor** | [**string**] | Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page. | (optional) defaults to undefined|
|
|
301
|
-
| **eventTicker** | [**string**] | Event ticker
|
|
301
|
+
| **eventTicker** | [**string**] | Event ticker to filter by. Only a single event ticker is supported. | (optional) defaults to undefined|
|
|
302
302
|
| **marketTicker** | [**string**] | Filter by market ticker | (optional) defaults to undefined|
|
|
303
303
|
| **limit** | [**number**] | Parameter to specify the number of results per page. Defaults to 500. | (optional) defaults to 500|
|
|
304
304
|
| **status** | [**string**] | Filter quotes by status | (optional) defaults to undefined|
|
|
@@ -373,9 +373,9 @@ This endpoint does not have any parameters.
|
|
|
373
373
|
|Name | Type | Description | Notes|
|
|
374
374
|
|------------- | ------------- | ------------- | -------------|
|
|
375
375
|
| **cursor** | [**string**] | Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page. | (optional) defaults to undefined|
|
|
376
|
-
| **eventTicker** | [**string**] | Event ticker
|
|
376
|
+
| **eventTicker** | [**string**] | Event ticker to filter by. Only a single event ticker is supported. | (optional) defaults to undefined|
|
|
377
377
|
| **marketTicker** | [**string**] | Filter by market ticker | (optional) defaults to undefined|
|
|
378
|
-
| **subaccount** | [**number**] | Subaccount number (0 for primary, 1-32 for subaccounts). If omitted,
|
|
378
|
+
| **subaccount** | [**number**] | Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, defaults to all subaccounts. | (optional) defaults to undefined|
|
|
379
379
|
| **limit** | [**number**] | Parameter to specify the number of results per page. Defaults to 100. | (optional) defaults to 100|
|
|
380
380
|
| **status** | [**string**] | Filter RFQs by status | (optional) defaults to undefined|
|
|
381
381
|
| **creatorUserId** | [**string**] | Filter RFQs by creator user ID | (optional) defaults to undefined|
|
|
@@ -13,8 +13,8 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**count_fp** | **string** | Fixed-point contract count string (2 decimals, e.g., \"10.00\"; referred to as \"fp\" in field names). Requests accept 0–2 decimal places (e.g., \"10\", \"10.0\", \"10.00\"); responses always emit 2 decimals. Currently only whole contract values are permitted, but the format supports future fractional precision. Integer contract count fields are legacy and will be deprecated; when both integer and fp fields are provided, they must match. | [optional] [default to undefined]
|
|
14
14
|
**yes_price** | **number** | | [optional] [default to undefined]
|
|
15
15
|
**no_price** | **number** | | [optional] [default to undefined]
|
|
16
|
-
**yes_price_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to
|
|
17
|
-
**no_price_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to
|
|
16
|
+
**yes_price_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [optional] [default to undefined]
|
|
17
|
+
**no_price_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [optional] [default to undefined]
|
|
18
18
|
**expiration_ts** | **number** | | [optional] [default to undefined]
|
|
19
19
|
**time_in_force** | **string** | | [optional] [default to undefined]
|
|
20
20
|
**buy_max_cost** | **number** | Maximum cost in cents. When specified, the order will automatically have Fill-or-Kill (FoK) behavior. | [optional] [default to undefined]
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**rfq_id** | **string** | The ID of the RFQ to quote on | [default to undefined]
|
|
9
|
-
**yes_bid** | **string** | US dollar amount as a fixed-point decimal string with up to
|
|
10
|
-
**no_bid** | **string** | US dollar amount as a fixed-point decimal string with up to
|
|
9
|
+
**yes_bid** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
10
|
+
**no_bid** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
11
11
|
**rest_remainder** | **boolean** | Whether to rest the remainder of the quote after execution | [default to undefined]
|
|
12
12
|
**subaccount** | **number** | Optional subaccount number to place the quote under (0 for primary, 1-32 for subaccounts) | [optional] [default to undefined]
|
|
13
13
|
|
package/docs/CreateRFQRequest.md
CHANGED
|
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**contracts** | **number** | The number of contracts for the RFQ. Whole contracts only. Contracts may be provided via contracts or contracts_fp; if both provided they must match. | [optional] [default to undefined]
|
|
10
10
|
**contracts_fp** | **string** | Fixed-point contract count string (2 decimals, e.g., \"10.00\"; referred to as \"fp\" in field names). Requests accept 0–2 decimal places (e.g., \"10\", \"10.0\", \"10.00\"); responses always emit 2 decimals. Currently only whole contract values are permitted, but the format supports future fractional precision. Integer contract count fields are legacy and will be deprecated; when both integer and fp fields are provided, they must match. | [optional] [default to undefined]
|
|
11
11
|
**target_cost_centi_cents** | **number** | DEPRECATED: The target cost for the RFQ in centi-cents. Use target_cost_dollars instead. | [optional] [default to undefined]
|
|
12
|
-
**target_cost_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to
|
|
12
|
+
**target_cost_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [optional] [default to undefined]
|
|
13
13
|
**rest_remainder** | **boolean** | Whether to rest the remainder of the RFQ after execution | [default to undefined]
|
|
14
14
|
**replace_existing** | **boolean** | Whether to delete existing RFQs as part of this RFQ\'s creation | [optional] [default to false]
|
|
15
15
|
**subtrader_id** | **string** | The subtrader to create the RFQ for (FCM members only) | [optional] [default to undefined]
|
package/docs/EventData.md
CHANGED
|
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**markets** | [**Array<Market>**](Market.md) | Array of markets associated with this event. Only populated when \'with_nested_markets=true\' is specified in the request. | [optional] [default to undefined]
|
|
18
18
|
**available_on_brokers** | **boolean** | Whether this event is available to trade on brokers. | [default to undefined]
|
|
19
19
|
**product_metadata** | **object** | Additional metadata for the event. | [default to undefined]
|
|
20
|
+
**last_updated_ts** | **string** | Timestamp of when this event\'s metadata was last updated. | [optional] [default to undefined]
|
|
20
21
|
|
|
21
22
|
## Example
|
|
22
23
|
|
|
@@ -36,6 +37,7 @@ const instance: EventData = {
|
|
|
36
37
|
markets,
|
|
37
38
|
available_on_brokers,
|
|
38
39
|
product_metadata,
|
|
40
|
+
last_updated_ts,
|
|
39
41
|
};
|
|
40
42
|
```
|
|
41
43
|
|
package/docs/EventPosition.md
CHANGED
|
@@ -6,16 +6,11 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**event_ticker** | **string** | Unique identifier for events | [default to undefined]
|
|
9
|
-
**
|
|
10
|
-
**total_cost_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
11
|
-
**total_cost_shares** | **number** | Total number of shares traded on this event (including both YES and NO contracts) | [default to undefined]
|
|
9
|
+
**total_cost_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
12
10
|
**total_cost_shares_fp** | **string** | Fixed-point contract count string (2 decimals, e.g., \"10.00\"; referred to as \"fp\" in field names). Requests accept 0–2 decimal places (e.g., \"10\", \"10.0\", \"10.00\"); responses always emit 2 decimals. Currently only whole contract values are permitted, but the format supports future fractional precision. Integer contract count fields are legacy and will be deprecated; when both integer and fp fields are provided, they must match. | [default to undefined]
|
|
13
|
-
**
|
|
14
|
-
**
|
|
15
|
-
**
|
|
16
|
-
**realized_pnl_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
17
|
-
**fees_paid** | **number** | Fees paid on fill orders, in cents | [default to undefined]
|
|
18
|
-
**fees_paid_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 4 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
11
|
+
**event_exposure_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
12
|
+
**realized_pnl_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
13
|
+
**fees_paid_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
19
14
|
|
|
20
15
|
## Example
|
|
21
16
|
|
|
@@ -24,15 +19,10 @@ import { EventPosition } from 'kalshi-typescript';
|
|
|
24
19
|
|
|
25
20
|
const instance: EventPosition = {
|
|
26
21
|
event_ticker,
|
|
27
|
-
total_cost,
|
|
28
22
|
total_cost_dollars,
|
|
29
|
-
total_cost_shares,
|
|
30
23
|
total_cost_shares_fp,
|
|
31
|
-
event_exposure,
|
|
32
24
|
event_exposure_dollars,
|
|
33
|
-
realized_pnl,
|
|
34
25
|
realized_pnl_dollars,
|
|
35
|
-
fees_paid,
|
|
36
26
|
fees_paid_dollars,
|
|
37
27
|
};
|
|
38
28
|
```
|
package/docs/EventsApi.md
CHANGED
|
@@ -14,14 +14,14 @@ All URIs are relative to *https://api.elections.kalshi.com/trade-api/v2*
|
|
|
14
14
|
# **getEvent**
|
|
15
15
|
> GetEventResponse getEvent()
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Endpoint for getting data about an event by its ticker. An event represents a real-world occurrence that can be traded on, such as an election, sports game, or economic indicator release. Events contain one or more markets where users can place trades on different outcomes. All events are accessible through this endpoint, even if their associated markets are older than the historical cutoff.
|
|
18
18
|
|
|
19
19
|
### Parameters
|
|
20
20
|
|
|
21
21
|
|Name | Type | Description | Notes|
|
|
22
22
|
|------------- | ------------- | ------------- | -------------|
|
|
23
23
|
| **eventTicker** | [**string**] | Event ticker | defaults to undefined|
|
|
24
|
-
| **withNestedMarkets** | [**boolean**] | If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response. | (optional) defaults to false|
|
|
24
|
+
| **withNestedMarkets** | [**boolean**] | If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response. Historical markets settled before the historical cutoff will not be included. | (optional) defaults to false|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
### Return type
|
|
@@ -124,7 +124,7 @@ No authorization required
|
|
|
124
124
|
# **getEvents**
|
|
125
125
|
> GetEventsResponse getEvents()
|
|
126
126
|
|
|
127
|
-
Get all events. This endpoint excludes multivariate events. To retrieve multivariate events, use the GET /events/multivariate endpoint.
|
|
127
|
+
Get all events. This endpoint excludes multivariate events. To retrieve multivariate events, use the GET /events/multivariate endpoint. All events are accessible through this endpoint, even if their associated markets are older than the historical cutoff.
|
|
128
128
|
|
|
129
129
|
### Parameters
|
|
130
130
|
|
|
@@ -132,11 +132,12 @@ Get all events. This endpoint excludes multivariate events. To retrieve multivar
|
|
|
132
132
|
|------------- | ------------- | ------------- | -------------|
|
|
133
133
|
| **limit** | [**number**] | Parameter to specify the number of results per page. Defaults to 200. Maximum value is 200. | (optional) defaults to 200|
|
|
134
134
|
| **cursor** | [**string**] | Parameter to specify the pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page. | (optional) defaults to undefined|
|
|
135
|
-
| **withNestedMarkets** | [**boolean**] | Parameter to specify if nested markets should be included in the response. When true, each event will include a \'markets\' field containing a list of Market objects associated with that event. | (optional) defaults to false|
|
|
135
|
+
| **withNestedMarkets** | [**boolean**] | Parameter to specify if nested markets should be included in the response. When true, each event will include a \'markets\' field containing a list of Market objects associated with that event. Historical markets settled before the historical cutoff will not be included. | (optional) defaults to false|
|
|
136
136
|
| **withMilestones** | [**boolean**] | If true, includes related milestones as a field alongside events. | (optional) defaults to false|
|
|
137
137
|
| **status** | [**'open' | 'closed' | 'settled'**]**Array<'open' | 'closed' | 'settled'>** | Filter by event status. Possible values are \'open\', \'closed\', \'settled\'. Leave empty to return events with any status. | (optional) defaults to undefined|
|
|
138
138
|
| **seriesTicker** | [**string**] | Filter by series ticker | (optional) defaults to undefined|
|
|
139
139
|
| **minCloseTs** | [**number**] | Filter events with at least one market with close timestamp greater than this Unix timestamp (in seconds). | (optional) defaults to undefined|
|
|
140
|
+
| **minUpdatedTs** | [**number**] | Filter events with metadata updated after this Unix timestamp (in seconds). Use this to efficiently poll for changes. | (optional) defaults to undefined|
|
|
140
141
|
|
|
141
142
|
|
|
142
143
|
### Return type
|
package/docs/FcmApi.md
CHANGED
|
@@ -18,7 +18,7 @@ Endpoint for FCM members to get orders filtered by subtrader ID. This endpoint r
|
|
|
18
18
|
|------------- | ------------- | ------------- | -------------|
|
|
19
19
|
| **subtraderId** | [**string**] | Restricts the response to orders for a specific subtrader (FCM members only) | defaults to undefined|
|
|
20
20
|
| **cursor** | [**string**] | Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page. | (optional) defaults to undefined|
|
|
21
|
-
| **eventTicker** | [**string**] | Event ticker
|
|
21
|
+
| **eventTicker** | [**string**] | Event ticker to filter by. Only a single event ticker is supported. | (optional) defaults to undefined|
|
|
22
22
|
| **ticker** | [**string**] | Filter by market ticker | (optional) defaults to undefined|
|
|
23
23
|
| **minTs** | [**number**] | Restricts the response to orders after a timestamp, formatted as a Unix Timestamp | (optional) defaults to undefined|
|
|
24
24
|
| **maxTs** | [**number**] | Restricts the response to orders before a timestamp, formatted as a Unix Timestamp | (optional) defaults to undefined|
|
package/docs/Fill.md
CHANGED
|
@@ -13,16 +13,14 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**market_ticker** | **string** | Unique identifier for the market (legacy field name, same as ticker) | [default to undefined]
|
|
14
14
|
**side** | **string** | Specifies if this is a \'yes\' or \'no\' fill | [default to undefined]
|
|
15
15
|
**action** | **string** | Specifies if this is a buy or sell order | [default to undefined]
|
|
16
|
-
**count** | **number** | Number of contracts bought or sold in this fill | [default to undefined]
|
|
17
16
|
**count_fp** | **string** | Fixed-point contract count string (2 decimals, e.g., \"10.00\"; referred to as \"fp\" in field names). Requests accept 0–2 decimal places (e.g., \"10\", \"10.0\", \"10.00\"); responses always emit 2 decimals. Currently only whole contract values are permitted, but the format supports future fractional precision. Integer contract count fields are legacy and will be deprecated; when both integer and fp fields are provided, they must match. | [default to undefined]
|
|
18
|
-
**
|
|
19
|
-
**
|
|
20
|
-
**
|
|
21
|
-
**
|
|
22
|
-
**no_price_fixed** | **string** | Fill price for the no side in fixed point dollars | [default to undefined]
|
|
17
|
+
**yes_price_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
18
|
+
**yes_price_fixed** | **string** | DEPRECATED: Use yes_price_dollars. This alias remains available for now for compatibility. Fill price for the yes side in fixed point dollars. | [default to undefined]
|
|
19
|
+
**no_price_dollars** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
20
|
+
**no_price_fixed** | **string** | DEPRECATED: Use no_price_dollars. This alias remains available for now for compatibility. Fill price for the no side in fixed point dollars. | [default to undefined]
|
|
23
21
|
**is_taker** | **boolean** | If true, this fill was a taker (removed liquidity from the order book) | [default to undefined]
|
|
24
22
|
**created_time** | **string** | Timestamp when this fill was executed | [optional] [default to undefined]
|
|
25
|
-
**fee_cost** | **string** | US dollar amount as a fixed-point decimal string with up to
|
|
23
|
+
**fee_cost** | **string** | US dollar amount as a fixed-point decimal string with up to 6 decimal places of precision. This is the maximum supported precision; valid quote intervals for a given market are constrained by that market\'s price level structure. | [default to undefined]
|
|
26
24
|
**subaccount_number** | **number** | Subaccount number (0 for primary, 1-32 for subaccounts). Present for direct users. | [optional] [default to undefined]
|
|
27
25
|
**ts** | **number** | Unix timestamp when this fill was executed (legacy field name) | [optional] [default to undefined]
|
|
28
26
|
|
|
@@ -40,12 +38,10 @@ const instance: Fill = {
|
|
|
40
38
|
market_ticker,
|
|
41
39
|
side,
|
|
42
40
|
action,
|
|
43
|
-
count,
|
|
44
41
|
count_fp,
|
|
45
|
-
|
|
46
|
-
yes_price,
|
|
47
|
-
no_price,
|
|
42
|
+
yes_price_dollars,
|
|
48
43
|
yes_price_fixed,
|
|
44
|
+
no_price_dollars,
|
|
49
45
|
no_price_fixed,
|
|
50
46
|
is_taker,
|
|
51
47
|
created_time,
|