kalshi-python-sync 3.36.0__py3-none-any.whl → 3.37.0__py3-none-any.whl
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.
- kalshi_python_sync/__init__.py +13 -2
- kalshi_python_sync/api/account_api.py +1 -1
- kalshi_python_sync/api/api_keys_api.py +7 -7
- kalshi_python_sync/api/communications_api.py +1 -1
- kalshi_python_sync/api/events_api.py +1 -1
- kalshi_python_sync/api/exchange_api.py +4 -4
- kalshi_python_sync/api/fcm_api.py +4 -4
- kalshi_python_sync/api/historical_api.py +9 -9
- kalshi_python_sync/api/incentive_programs_api.py +273 -1
- kalshi_python_sync/api/live_data_api.py +1 -1
- kalshi_python_sync/api/market_api.py +27 -27
- kalshi_python_sync/api/markets_api.py +1232 -60
- kalshi_python_sync/api/milestone_api.py +1 -1
- kalshi_python_sync/api/multivariate_api.py +4 -4
- kalshi_python_sync/api/order_groups_api.py +1 -1
- kalshi_python_sync/api/orders_api.py +19 -19
- kalshi_python_sync/api/portfolio_api.py +13 -13
- kalshi_python_sync/api/search_api.py +1 -1
- kalshi_python_sync/api/structured_targets_api.py +1 -1
- kalshi_python_sync/api_client.py +2 -2
- kalshi_python_sync/configuration.py +3 -3
- kalshi_python_sync/exceptions.py +1 -1
- kalshi_python_sync/models/__init__.py +12 -1
- kalshi_python_sync/models/accept_block_trade_proposal_request.py +1 -1
- kalshi_python_sync/models/accept_quote_request.py +1 -1
- kalshi_python_sync/models/account_api_usage_level_volume_goal.py +1 -1
- kalshi_python_sync/models/account_api_usage_level_volume_progress.py +1 -1
- kalshi_python_sync/models/amend_order_request.py +1 -1
- kalshi_python_sync/models/amend_order_response.py +1 -1
- kalshi_python_sync/models/amend_order_v2_request.py +1 -1
- kalshi_python_sync/models/amend_order_v2_response.py +1 -1
- kalshi_python_sync/models/api_key.py +1 -1
- kalshi_python_sync/models/api_key_scope.py +1 -1
- kalshi_python_sync/models/api_key_type.py +1 -1
- kalshi_python_sync/models/api_usage_level_grant.py +1 -1
- kalshi_python_sync/models/apply_subaccount_transfer_request.py +1 -1
- kalshi_python_sync/models/associated_event.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_individual_response.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_request.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_request_order.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_response.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_v2_request.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_v2_request_orders_inner.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_v2_response.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_v2_response_orders_inner.py +1 -1
- kalshi_python_sync/models/batch_create_orders_individual_response.py +1 -1
- kalshi_python_sync/models/batch_create_orders_request.py +1 -1
- kalshi_python_sync/models/batch_create_orders_response.py +1 -1
- kalshi_python_sync/models/batch_create_orders_v2_request.py +1 -1
- kalshi_python_sync/models/batch_create_orders_v2_response.py +1 -1
- kalshi_python_sync/models/batch_create_orders_v2_response_orders_inner.py +1 -1
- kalshi_python_sync/models/batch_get_market_candlesticks_response.py +1 -1
- kalshi_python_sync/models/bid_ask_distribution.py +1 -1
- kalshi_python_sync/models/bid_ask_distribution_historical.py +1 -1
- kalshi_python_sync/models/block_trade_proposal.py +1 -1
- kalshi_python_sync/models/book_side.py +1 -1
- kalshi_python_sync/models/bucket_limit.py +1 -1
- kalshi_python_sync/models/cancel_order_v2_response.py +1 -1
- kalshi_python_sync/models/concert.py +123 -0
- kalshi_python_sync/models/concert_cover.py +38 -0
- kalshi_python_sync/models/concert_market.py +92 -0
- kalshi_python_sync/models/concert_metro.py +95 -0
- kalshi_python_sync/models/create_api_key_request.py +1 -1
- kalshi_python_sync/models/create_api_key_response.py +1 -1
- kalshi_python_sync/models/create_concert_cancellation_market_request.py +92 -0
- kalshi_python_sync/models/create_concert_cancellation_market_response.py +94 -0
- kalshi_python_sync/models/create_fcm_position_transfer_request.py +1 -1
- kalshi_python_sync/models/create_fcm_position_transfer_response.py +1 -1
- kalshi_python_sync/models/create_fcm_subtrader_request.py +1 -1
- kalshi_python_sync/models/create_fcm_subtrader_response.py +1 -1
- kalshi_python_sync/models/create_market_in_multivariate_event_collection_request.py +1 -1
- kalshi_python_sync/models/create_market_in_multivariate_event_collection_response.py +1 -1
- kalshi_python_sync/models/create_order_group_request.py +1 -1
- kalshi_python_sync/models/create_order_group_response.py +1 -1
- kalshi_python_sync/models/create_order_request.py +1 -1
- kalshi_python_sync/models/create_order_response.py +1 -1
- kalshi_python_sync/models/create_order_v2_request.py +2 -2
- kalshi_python_sync/models/create_order_v2_response.py +1 -1
- kalshi_python_sync/models/create_quote_request.py +1 -1
- kalshi_python_sync/models/create_quote_response.py +1 -1
- kalshi_python_sync/models/create_rfq_request.py +2 -2
- kalshi_python_sync/models/create_rfq_response.py +1 -1
- kalshi_python_sync/models/create_subaccount_request.py +1 -1
- kalshi_python_sync/models/create_subaccount_response.py +1 -1
- kalshi_python_sync/models/create_weather_point_market_request.py +6 -4
- kalshi_python_sync/models/create_weather_point_market_response.py +3 -3
- kalshi_python_sync/models/credit_history.py +1 -1
- kalshi_python_sync/models/daily_schedule.py +1 -1
- kalshi_python_sync/models/decrease_order_v2_request.py +1 -1
- kalshi_python_sync/models/decrease_order_v2_response.py +1 -1
- kalshi_python_sync/models/deposit.py +1 -1
- kalshi_python_sync/models/endpoint_token_cost.py +1 -1
- kalshi_python_sync/models/error_response.py +1 -1
- kalshi_python_sync/models/event_data.py +1 -1
- kalshi_python_sync/models/event_fee_change.py +1 -1
- kalshi_python_sync/models/event_live_data.py +1 -1
- kalshi_python_sync/models/event_position.py +1 -1
- kalshi_python_sync/models/exchange_index_status.py +1 -1
- kalshi_python_sync/models/exchange_instance.py +1 -1
- kalshi_python_sync/models/exchange_status.py +1 -1
- kalshi_python_sync/models/fcm_fill.py +1 -1
- kalshi_python_sync/models/fcm_subtrader.py +1 -1
- kalshi_python_sync/models/fee_type.py +1 -1
- kalshi_python_sync/models/fill.py +1 -1
- kalshi_python_sync/models/forecast_percentiles_point.py +1 -1
- kalshi_python_sync/models/generate_api_key_request.py +1 -1
- kalshi_python_sync/models/generate_api_key_response.py +1 -1
- kalshi_python_sync/models/get_account_api_limits_response.py +1 -1
- kalshi_python_sync/models/get_account_api_usage_level_volume_progress_response.py +1 -1
- kalshi_python_sync/models/get_account_endpoint_costs_response.py +1 -1
- kalshi_python_sync/models/get_api_keys_response.py +1 -1
- kalshi_python_sync/models/get_balance_response.py +1 -1
- kalshi_python_sync/models/get_block_trade_proposals_response.py +1 -1
- kalshi_python_sync/models/get_communications_id_response.py +1 -1
- kalshi_python_sync/models/get_concert_cancellation_availability_response.py +102 -0
- kalshi_python_sync/models/get_concerts_response.py +99 -0
- kalshi_python_sync/models/get_credit_history_response.py +1 -1
- kalshi_python_sync/models/get_deposits_response.py +1 -1
- kalshi_python_sync/models/get_event_candlesticks_response.py +1 -1
- kalshi_python_sync/models/get_event_fee_changes_response.py +1 -1
- kalshi_python_sync/models/get_event_forecast_percentiles_history_response.py +1 -1
- kalshi_python_sync/models/get_event_live_data_response.py +1 -1
- kalshi_python_sync/models/get_event_metadata_response.py +1 -1
- kalshi_python_sync/models/get_event_response.py +1 -1
- kalshi_python_sync/models/get_events_response.py +1 -1
- kalshi_python_sync/models/get_exchange_schedule_response.py +1 -1
- kalshi_python_sync/models/get_fcm_event_contract_daily_cap_response.py +1 -1
- kalshi_python_sync/models/get_fcm_fills_response.py +1 -1
- kalshi_python_sync/models/get_fcm_subtrader_blocked_categories_response.py +1 -1
- kalshi_python_sync/models/get_fills_response.py +1 -1
- kalshi_python_sync/models/get_filters_by_sports_response.py +1 -1
- kalshi_python_sync/models/get_game_stats_response.py +1 -1
- kalshi_python_sync/models/get_historical_cutoff_response.py +1 -1
- kalshi_python_sync/models/get_incentive_programs_response.py +1 -1
- kalshi_python_sync/models/get_incentive_schedules_response.py +95 -0
- kalshi_python_sync/models/get_intra_exchange_instance_transfer_response.py +1 -1
- kalshi_python_sync/models/get_intra_exchange_instance_transfers_response.py +1 -1
- kalshi_python_sync/models/get_live_data_response.py +1 -1
- kalshi_python_sync/models/get_live_datas_response.py +1 -1
- kalshi_python_sync/models/get_market_candlesticks_historical_response.py +1 -1
- kalshi_python_sync/models/get_market_candlesticks_response.py +1 -1
- kalshi_python_sync/models/get_market_index_history_response.py +1 -1
- kalshi_python_sync/models/get_market_index_response.py +1 -1
- kalshi_python_sync/models/get_market_indexes_response.py +1 -1
- kalshi_python_sync/models/get_market_orderbook_response.py +1 -1
- kalshi_python_sync/models/get_market_orderbooks_response.py +1 -1
- kalshi_python_sync/models/get_market_response.py +1 -1
- kalshi_python_sync/models/get_markets_response.py +1 -1
- kalshi_python_sync/models/get_milestone_response.py +1 -1
- kalshi_python_sync/models/get_milestones_response.py +1 -1
- kalshi_python_sync/models/get_multivariate_event_collection_response.py +1 -1
- kalshi_python_sync/models/get_multivariate_event_collections_response.py +1 -1
- kalshi_python_sync/models/get_multivariate_events_response.py +1 -1
- kalshi_python_sync/models/get_order_group_response.py +1 -1
- kalshi_python_sync/models/get_order_groups_response.py +1 -1
- kalshi_python_sync/models/get_order_queue_position_response.py +1 -1
- kalshi_python_sync/models/get_order_queue_positions_response.py +1 -1
- kalshi_python_sync/models/get_order_response.py +1 -1
- kalshi_python_sync/models/get_orders_response.py +1 -1
- kalshi_python_sync/models/get_portfolio_resting_order_total_value_response.py +1 -1
- kalshi_python_sync/models/get_positions_response.py +1 -1
- kalshi_python_sync/models/get_quote_response.py +1 -1
- kalshi_python_sync/models/get_quotes_response.py +1 -1
- kalshi_python_sync/models/get_rfq_response.py +1 -1
- kalshi_python_sync/models/get_rfqs_response.py +1 -1
- kalshi_python_sync/models/get_series_fee_changes_response.py +1 -1
- kalshi_python_sync/models/get_series_list_response.py +1 -1
- kalshi_python_sync/models/get_series_response.py +1 -1
- kalshi_python_sync/models/get_settlements_response.py +1 -1
- kalshi_python_sync/models/get_structured_target_response.py +1 -1
- kalshi_python_sync/models/get_structured_targets_response.py +1 -1
- kalshi_python_sync/models/get_subaccount_balances_response.py +1 -1
- kalshi_python_sync/models/get_subaccount_netting_response.py +1 -1
- kalshi_python_sync/models/get_subaccount_transfers_response.py +1 -1
- kalshi_python_sync/models/get_tags_for_series_categories_response.py +1 -1
- kalshi_python_sync/models/get_target_balance_allocation_response.py +1 -1
- kalshi_python_sync/models/get_trades_response.py +1 -1
- kalshi_python_sync/models/get_user_data_timestamp_response.py +1 -1
- kalshi_python_sync/models/get_weather_index_calibrations_response.py +1 -1
- kalshi_python_sync/models/get_weather_index_response.py +1 -1
- kalshi_python_sync/models/get_weather_point_availability_response.py +8 -4
- kalshi_python_sync/models/get_withdrawals_response.py +1 -1
- kalshi_python_sync/models/incentive_program.py +6 -2
- kalshi_python_sync/models/incentive_schedule.py +135 -0
- kalshi_python_sync/models/indexed_balance.py +1 -1
- kalshi_python_sync/models/intra_exchange_instance_transfer.py +1 -1
- kalshi_python_sync/models/intra_exchange_instance_transfer_request.py +1 -1
- kalshi_python_sync/models/intra_exchange_instance_transfer_response.py +1 -1
- kalshi_python_sync/models/intra_exchange_instance_transfer_status.py +1 -1
- kalshi_python_sync/models/list_fcm_subtraders_response.py +1 -1
- kalshi_python_sync/models/live_data.py +1 -1
- kalshi_python_sync/models/maintenance_window.py +1 -1
- kalshi_python_sync/models/market.py +3 -5
- kalshi_python_sync/models/market_candlestick.py +1 -1
- kalshi_python_sync/models/market_candlestick_historical.py +1 -1
- kalshi_python_sync/models/market_candlesticks_response.py +1 -1
- kalshi_python_sync/models/market_index.py +1 -1
- kalshi_python_sync/models/market_index_latest.py +1 -1
- kalshi_python_sync/models/market_index_session.py +1 -1
- kalshi_python_sync/models/market_index_status.py +1 -1
- kalshi_python_sync/models/market_index_timeseries_point.py +1 -1
- kalshi_python_sync/models/market_metadata.py +1 -1
- kalshi_python_sync/models/market_orderbook_fp.py +1 -1
- kalshi_python_sync/models/market_position.py +1 -1
- kalshi_python_sync/models/milestone.py +1 -1
- kalshi_python_sync/models/multivariate_event_collection.py +6 -6
- kalshi_python_sync/models/mve_selected_leg.py +1 -1
- kalshi_python_sync/models/order.py +1 -1
- kalshi_python_sync/models/order_group.py +1 -1
- kalshi_python_sync/models/order_queue_position.py +1 -1
- kalshi_python_sync/models/order_status.py +1 -1
- kalshi_python_sync/models/orderbook_count_fp.py +1 -1
- kalshi_python_sync/models/outcome_side.py +1 -1
- kalshi_python_sync/models/percentile_point.py +1 -1
- kalshi_python_sync/models/play_by_play.py +1 -1
- kalshi_python_sync/models/play_by_play_periods_inner.py +1 -1
- kalshi_python_sync/models/price_distribution.py +1 -1
- kalshi_python_sync/models/price_distribution_historical.py +1 -1
- kalshi_python_sync/models/price_range.py +1 -1
- kalshi_python_sync/models/propose_block_trade_request.py +1 -1
- kalshi_python_sync/models/propose_block_trade_response.py +1 -1
- kalshi_python_sync/models/quote.py +1 -1
- kalshi_python_sync/models/resting_margin_reservation.py +1 -1
- kalshi_python_sync/models/rfq.py +1 -1
- kalshi_python_sync/models/schedule.py +1 -1
- kalshi_python_sync/models/scope_list.py +1 -1
- kalshi_python_sync/models/search_concerts_response.py +95 -0
- kalshi_python_sync/models/self_trade_prevention_type.py +1 -1
- kalshi_python_sync/models/series.py +1 -1
- kalshi_python_sync/models/series_fee_change.py +1 -1
- kalshi_python_sync/models/set_target_balance_allocation_request.py +1 -1
- kalshi_python_sync/models/settlement.py +1 -1
- kalshi_python_sync/models/settlement_source.py +1 -1
- kalshi_python_sync/models/sport_filter_details.py +1 -1
- kalshi_python_sync/models/structured_target.py +1 -1
- kalshi_python_sync/models/subaccount_balance.py +1 -1
- kalshi_python_sync/models/subaccount_netting_config.py +1 -1
- kalshi_python_sync/models/subaccount_transfer.py +1 -1
- kalshi_python_sync/models/target_balance_allocation.py +1 -1
- kalshi_python_sync/models/target_balance_allocation_input.py +1 -1
- kalshi_python_sync/models/ticker_pair.py +1 -1
- kalshi_python_sync/models/trade.py +1 -1
- kalshi_python_sync/models/update_fcm_event_contract_daily_cap_request.py +1 -1
- kalshi_python_sync/models/update_fcm_subtrader_blocked_categories_request.py +1 -1
- kalshi_python_sync/models/update_fcm_subtrader_blocked_categories_response.py +1 -1
- kalshi_python_sync/models/update_order_group_limit_request.py +1 -1
- kalshi_python_sync/models/update_subaccount_netting_request.py +1 -1
- kalshi_python_sync/models/user_filter.py +1 -1
- kalshi_python_sync/models/weather_index_calibration.py +1 -1
- kalshi_python_sync/models/weather_index_calibration_station.py +1 -1
- kalshi_python_sync/models/weather_index_point.py +1 -1
- kalshi_python_sync/models/weather_index_station_reading.py +1 -1
- kalshi_python_sync/models/weather_point_domain.py +1 -1
- kalshi_python_sync/models/weather_point_variable.py +1 -1
- kalshi_python_sync/models/weather_point_variable_availability.py +1 -1
- kalshi_python_sync/models/weekly_schedule.py +1 -1
- kalshi_python_sync/models/withdrawal.py +1 -1
- kalshi_python_sync/rest.py +1 -1
- {kalshi_python_sync-3.36.0.dist-info → kalshi_python_sync-3.37.0.dist-info}/METADATA +3 -3
- kalshi_python_sync-3.37.0.dist-info/RECORD +266 -0
- kalshi_python_sync-3.36.0.dist-info/RECORD +0 -255
- {kalshi_python_sync-3.36.0.dist-info → kalshi_python_sync-3.37.0.dist-info}/WHEEL +0 -0
- {kalshi_python_sync-3.36.0.dist-info → kalshi_python_sync-3.37.0.dist-info}/top_level.txt +0 -0
kalshi_python_sync/__init__.py
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
|
|
8
8
|
Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
|
|
9
9
|
|
|
10
|
-
The version of the OpenAPI document: 3.
|
|
10
|
+
The version of the OpenAPI document: 3.37.0
|
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
12
|
|
|
13
13
|
Do not edit the class manually.
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
|
-
__version__ = "3.
|
|
16
|
+
__version__ = "3.37.0"
|
|
17
17
|
|
|
18
18
|
# import apis into sdk package
|
|
19
19
|
from kalshi_python_sync.api.account_api import AccountApi
|
|
@@ -97,8 +97,14 @@ from kalshi_python_sync.models.block_trade_proposal import BlockTradeProposal
|
|
|
97
97
|
from kalshi_python_sync.models.book_side import BookSide
|
|
98
98
|
from kalshi_python_sync.models.bucket_limit import BucketLimit
|
|
99
99
|
from kalshi_python_sync.models.cancel_order_v2_response import CancelOrderV2Response
|
|
100
|
+
from kalshi_python_sync.models.concert import Concert
|
|
101
|
+
from kalshi_python_sync.models.concert_cover import ConcertCover
|
|
102
|
+
from kalshi_python_sync.models.concert_market import ConcertMarket
|
|
103
|
+
from kalshi_python_sync.models.concert_metro import ConcertMetro
|
|
100
104
|
from kalshi_python_sync.models.create_api_key_request import CreateApiKeyRequest
|
|
101
105
|
from kalshi_python_sync.models.create_api_key_response import CreateApiKeyResponse
|
|
106
|
+
from kalshi_python_sync.models.create_concert_cancellation_market_request import CreateConcertCancellationMarketRequest
|
|
107
|
+
from kalshi_python_sync.models.create_concert_cancellation_market_response import CreateConcertCancellationMarketResponse
|
|
102
108
|
from kalshi_python_sync.models.create_fcm_position_transfer_request import CreateFCMPositionTransferRequest
|
|
103
109
|
from kalshi_python_sync.models.create_fcm_position_transfer_response import CreateFCMPositionTransferResponse
|
|
104
110
|
from kalshi_python_sync.models.create_fcm_subtrader_request import CreateFCMSubtraderRequest
|
|
@@ -147,6 +153,8 @@ from kalshi_python_sync.models.get_api_keys_response import GetApiKeysResponse
|
|
|
147
153
|
from kalshi_python_sync.models.get_balance_response import GetBalanceResponse
|
|
148
154
|
from kalshi_python_sync.models.get_block_trade_proposals_response import GetBlockTradeProposalsResponse
|
|
149
155
|
from kalshi_python_sync.models.get_communications_id_response import GetCommunicationsIDResponse
|
|
156
|
+
from kalshi_python_sync.models.get_concert_cancellation_availability_response import GetConcertCancellationAvailabilityResponse
|
|
157
|
+
from kalshi_python_sync.models.get_concerts_response import GetConcertsResponse
|
|
150
158
|
from kalshi_python_sync.models.get_credit_history_response import GetCreditHistoryResponse
|
|
151
159
|
from kalshi_python_sync.models.get_deposits_response import GetDepositsResponse
|
|
152
160
|
from kalshi_python_sync.models.get_event_candlesticks_response import GetEventCandlesticksResponse
|
|
@@ -165,6 +173,7 @@ from kalshi_python_sync.models.get_filters_by_sports_response import GetFiltersB
|
|
|
165
173
|
from kalshi_python_sync.models.get_game_stats_response import GetGameStatsResponse
|
|
166
174
|
from kalshi_python_sync.models.get_historical_cutoff_response import GetHistoricalCutoffResponse
|
|
167
175
|
from kalshi_python_sync.models.get_incentive_programs_response import GetIncentiveProgramsResponse
|
|
176
|
+
from kalshi_python_sync.models.get_incentive_schedules_response import GetIncentiveSchedulesResponse
|
|
168
177
|
from kalshi_python_sync.models.get_intra_exchange_instance_transfer_response import GetIntraExchangeInstanceTransferResponse
|
|
169
178
|
from kalshi_python_sync.models.get_intra_exchange_instance_transfers_response import GetIntraExchangeInstanceTransfersResponse
|
|
170
179
|
from kalshi_python_sync.models.get_live_data_response import GetLiveDataResponse
|
|
@@ -213,6 +222,7 @@ from kalshi_python_sync.models.get_weather_index_response import GetWeatherIndex
|
|
|
213
222
|
from kalshi_python_sync.models.get_weather_point_availability_response import GetWeatherPointAvailabilityResponse
|
|
214
223
|
from kalshi_python_sync.models.get_withdrawals_response import GetWithdrawalsResponse
|
|
215
224
|
from kalshi_python_sync.models.incentive_program import IncentiveProgram
|
|
225
|
+
from kalshi_python_sync.models.incentive_schedule import IncentiveSchedule
|
|
216
226
|
from kalshi_python_sync.models.indexed_balance import IndexedBalance
|
|
217
227
|
from kalshi_python_sync.models.intra_exchange_instance_transfer import IntraExchangeInstanceTransfer
|
|
218
228
|
from kalshi_python_sync.models.intra_exchange_instance_transfer_request import IntraExchangeInstanceTransferRequest
|
|
@@ -255,6 +265,7 @@ from kalshi_python_sync.models.rfq import RFQ
|
|
|
255
265
|
from kalshi_python_sync.models.resting_margin_reservation import RestingMarginReservation
|
|
256
266
|
from kalshi_python_sync.models.schedule import Schedule
|
|
257
267
|
from kalshi_python_sync.models.scope_list import ScopeList
|
|
268
|
+
from kalshi_python_sync.models.search_concerts_response import SearchConcertsResponse
|
|
258
269
|
from kalshi_python_sync.models.self_trade_prevention_type import SelfTradePreventionType
|
|
259
270
|
from kalshi_python_sync.models.series import Series
|
|
260
271
|
from kalshi_python_sync.models.series_fee_change import SeriesFeeChange
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
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.37.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
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.37.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -50,7 +50,7 @@ class ApiKeysApi:
|
|
|
50
50
|
) -> CreateApiKeyResponse:
|
|
51
51
|
"""Create API Key
|
|
52
52
|
|
|
53
|
-
Endpoint for creating a new API key with a user-provided public key. This endpoint
|
|
53
|
+
Endpoint for creating a new API key with a user-provided public key. This endpoint is available on every API usage tier. Provide your own RSA or Ed25519 public key in PEM format. The platform will use this public key to verify signatures on API requests: RSA-PSS with SHA-256 for RSA keys, Ed25519 for Ed25519 keys. In production, an account can hold up to 100 directly managed API keys (keys created on the account settings page or through the API key endpoints).
|
|
54
54
|
|
|
55
55
|
:param create_api_key_request: (required)
|
|
56
56
|
:type create_api_key_request: CreateApiKeyRequest
|
|
@@ -125,7 +125,7 @@ class ApiKeysApi:
|
|
|
125
125
|
) -> ApiResponse[CreateApiKeyResponse]:
|
|
126
126
|
"""Create API Key
|
|
127
127
|
|
|
128
|
-
Endpoint for creating a new API key with a user-provided public key. This endpoint
|
|
128
|
+
Endpoint for creating a new API key with a user-provided public key. This endpoint is available on every API usage tier. Provide your own RSA or Ed25519 public key in PEM format. The platform will use this public key to verify signatures on API requests: RSA-PSS with SHA-256 for RSA keys, Ed25519 for Ed25519 keys. In production, an account can hold up to 100 directly managed API keys (keys created on the account settings page or through the API key endpoints).
|
|
129
129
|
|
|
130
130
|
:param create_api_key_request: (required)
|
|
131
131
|
:type create_api_key_request: CreateApiKeyRequest
|
|
@@ -197,7 +197,7 @@ class ApiKeysApi:
|
|
|
197
197
|
) -> RESTResponseType:
|
|
198
198
|
"""Create API Key
|
|
199
199
|
|
|
200
|
-
Endpoint for creating a new API key with a user-provided public key. This endpoint
|
|
200
|
+
Endpoint for creating a new API key with a user-provided public key. This endpoint is available on every API usage tier. Provide your own RSA or Ed25519 public key in PEM format. The platform will use this public key to verify signatures on API requests: RSA-PSS with SHA-256 for RSA keys, Ed25519 for Ed25519 keys. In production, an account can hold up to 100 directly managed API keys (keys created on the account settings page or through the API key endpoints).
|
|
201
201
|
|
|
202
202
|
:param create_api_key_request: (required)
|
|
203
203
|
:type create_api_key_request: CreateApiKeyRequest
|
|
@@ -590,7 +590,7 @@ class ApiKeysApi:
|
|
|
590
590
|
) -> GenerateApiKeyResponse:
|
|
591
591
|
"""Generate API Key
|
|
592
592
|
|
|
593
|
-
Endpoint for generating a new API key with an automatically created key pair. This endpoint generates a key pair of the requested key_type (RSA when omitted). The public key is stored on the platform, while the private key is returned to the user and must be stored securely. The private key cannot be retrieved again.
|
|
593
|
+
Endpoint for generating a new API key with an automatically created key pair. This endpoint generates a key pair of the requested key_type (RSA when omitted). The public key is stored on the platform, while the private key is returned to the user and must be stored securely. The private key cannot be retrieved again. In production, an account can hold up to 100 directly managed API keys (keys created on the account settings page or through the API key endpoints).
|
|
594
594
|
|
|
595
595
|
:param generate_api_key_request: (required)
|
|
596
596
|
:type generate_api_key_request: GenerateApiKeyRequest
|
|
@@ -665,7 +665,7 @@ class ApiKeysApi:
|
|
|
665
665
|
) -> ApiResponse[GenerateApiKeyResponse]:
|
|
666
666
|
"""Generate API Key
|
|
667
667
|
|
|
668
|
-
Endpoint for generating a new API key with an automatically created key pair. This endpoint generates a key pair of the requested key_type (RSA when omitted). The public key is stored on the platform, while the private key is returned to the user and must be stored securely. The private key cannot be retrieved again.
|
|
668
|
+
Endpoint for generating a new API key with an automatically created key pair. This endpoint generates a key pair of the requested key_type (RSA when omitted). The public key is stored on the platform, while the private key is returned to the user and must be stored securely. The private key cannot be retrieved again. In production, an account can hold up to 100 directly managed API keys (keys created on the account settings page or through the API key endpoints).
|
|
669
669
|
|
|
670
670
|
:param generate_api_key_request: (required)
|
|
671
671
|
:type generate_api_key_request: GenerateApiKeyRequest
|
|
@@ -737,7 +737,7 @@ class ApiKeysApi:
|
|
|
737
737
|
) -> RESTResponseType:
|
|
738
738
|
"""Generate API Key
|
|
739
739
|
|
|
740
|
-
Endpoint for generating a new API key with an automatically created key pair. This endpoint generates a key pair of the requested key_type (RSA when omitted). The public key is stored on the platform, while the private key is returned to the user and must be stored securely. The private key cannot be retrieved again.
|
|
740
|
+
Endpoint for generating a new API key with an automatically created key pair. This endpoint generates a key pair of the requested key_type (RSA when omitted). The public key is stored on the platform, while the private key is returned to the user and must be stored securely. The private key cannot be retrieved again. In production, an account can hold up to 100 directly managed API keys (keys created on the account settings page or through the API key endpoints).
|
|
741
741
|
|
|
742
742
|
:param generate_api_key_request: (required)
|
|
743
743
|
:type generate_api_key_request: GenerateApiKeyRequest
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
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.37.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
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.37.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
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.37.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -283,7 +283,7 @@ class ExchangeApi:
|
|
|
283
283
|
) -> ExchangeStatus:
|
|
284
284
|
"""Get Exchange Status
|
|
285
285
|
|
|
286
|
-
|
|
286
|
+
Endpoint for getting the exchange status. The top-level fields describe the default exchange index (0). Read the flags only from a 200 response. When the status of the default index cannot be read, the response is a 500, 503 or 504; its body can be an `ExchangeStatus` with `exchange_active` and `trading_active` set to `false`, or an error object, and in neither case does it mean the exchange is paused. In `exchange_index_statuses` on a 200 response, an index other than 0 whose status request failed or timed out is reported with all of its flags `false`. Read the status again before treating a single `false` reading for one index as a pause.
|
|
287
287
|
|
|
288
288
|
:param _request_timeout: timeout setting for this request. If one
|
|
289
289
|
number provided, it will be total request
|
|
@@ -350,7 +350,7 @@ class ExchangeApi:
|
|
|
350
350
|
) -> ApiResponse[ExchangeStatus]:
|
|
351
351
|
"""Get Exchange Status
|
|
352
352
|
|
|
353
|
-
|
|
353
|
+
Endpoint for getting the exchange status. The top-level fields describe the default exchange index (0). Read the flags only from a 200 response. When the status of the default index cannot be read, the response is a 500, 503 or 504; its body can be an `ExchangeStatus` with `exchange_active` and `trading_active` set to `false`, or an error object, and in neither case does it mean the exchange is paused. In `exchange_index_statuses` on a 200 response, an index other than 0 whose status request failed or timed out is reported with all of its flags `false`. Read the status again before treating a single `false` reading for one index as a pause.
|
|
354
354
|
|
|
355
355
|
:param _request_timeout: timeout setting for this request. If one
|
|
356
356
|
number provided, it will be total request
|
|
@@ -416,7 +416,7 @@ class ExchangeApi:
|
|
|
416
416
|
) -> RESTResponseType:
|
|
417
417
|
"""Get Exchange Status
|
|
418
418
|
|
|
419
|
-
|
|
419
|
+
Endpoint for getting the exchange status. The top-level fields describe the default exchange index (0). Read the flags only from a 200 response. When the status of the default index cannot be read, the response is a 500, 503 or 504; its body can be an `ExchangeStatus` with `exchange_active` and `trading_active` set to `false`, or an error object, and in neither case does it mean the exchange is paused. In `exchange_index_statuses` on a 200 response, an index other than 0 whose status request failed or timed out is reported with all of its flags `false`. Read the status again before treating a single `false` reading for one index as a pause.
|
|
420
420
|
|
|
421
421
|
:param _request_timeout: timeout setting for this request. If one
|
|
422
422
|
number provided, it will be total request
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
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.37.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -898,7 +898,7 @@ class FcmApi:
|
|
|
898
898
|
) -> GetFCMEventContractDailyCapResponse:
|
|
899
899
|
"""Get FCM Subtrader Event Contract Daily Cap
|
|
900
900
|
|
|
901
|
-
Returns the event-contract daily premium cap configured for an FCM member's subtrader, together with its live utilization. Executed utilization is the net premium deployed by fills today (sells and settlements credit back); resting and pending utilization reserve open and
|
|
901
|
+
Returns the event-contract daily premium cap configured for an FCM member's subtrader, together with its live utilization. Executed utilization is the net premium deployed by fills today (sells and settlements credit back); resting and pending utilization reserve open orders and orders still being placed at their full worst-case cost plus fees. Executed utilization resets at midnight New York time on the returned cap date; resting and pending reservations persist for as long as their orders remain open, including across the reset. Returns 404 when the subtrader has no cap configured — in that state every order placed through the subtrader's bound API keys is rejected. API keys bound to a single FCM subtrader may also call this endpoint: `subtrader_id` may be omitted and defaults to the key's bound subtrader, and if supplied it must equal the bound subtrader or the request is rejected.
|
|
902
902
|
|
|
903
903
|
:param subtrader_id: The subtrader whose daily cap should be returned. Must belong to the requesting FCM. Required unless the API key is bound to a subtrader, in which case it defaults to the bound subtrader when omitted and must equal it when supplied.
|
|
904
904
|
:type subtrader_id: str
|
|
@@ -971,7 +971,7 @@ class FcmApi:
|
|
|
971
971
|
) -> ApiResponse[GetFCMEventContractDailyCapResponse]:
|
|
972
972
|
"""Get FCM Subtrader Event Contract Daily Cap
|
|
973
973
|
|
|
974
|
-
Returns the event-contract daily premium cap configured for an FCM member's subtrader, together with its live utilization. Executed utilization is the net premium deployed by fills today (sells and settlements credit back); resting and pending utilization reserve open and
|
|
974
|
+
Returns the event-contract daily premium cap configured for an FCM member's subtrader, together with its live utilization. Executed utilization is the net premium deployed by fills today (sells and settlements credit back); resting and pending utilization reserve open orders and orders still being placed at their full worst-case cost plus fees. Executed utilization resets at midnight New York time on the returned cap date; resting and pending reservations persist for as long as their orders remain open, including across the reset. Returns 404 when the subtrader has no cap configured — in that state every order placed through the subtrader's bound API keys is rejected. API keys bound to a single FCM subtrader may also call this endpoint: `subtrader_id` may be omitted and defaults to the key's bound subtrader, and if supplied it must equal the bound subtrader or the request is rejected.
|
|
975
975
|
|
|
976
976
|
:param subtrader_id: The subtrader whose daily cap should be returned. Must belong to the requesting FCM. Required unless the API key is bound to a subtrader, in which case it defaults to the bound subtrader when omitted and must equal it when supplied.
|
|
977
977
|
:type subtrader_id: str
|
|
@@ -1043,7 +1043,7 @@ class FcmApi:
|
|
|
1043
1043
|
) -> RESTResponseType:
|
|
1044
1044
|
"""Get FCM Subtrader Event Contract Daily Cap
|
|
1045
1045
|
|
|
1046
|
-
Returns the event-contract daily premium cap configured for an FCM member's subtrader, together with its live utilization. Executed utilization is the net premium deployed by fills today (sells and settlements credit back); resting and pending utilization reserve open and
|
|
1046
|
+
Returns the event-contract daily premium cap configured for an FCM member's subtrader, together with its live utilization. Executed utilization is the net premium deployed by fills today (sells and settlements credit back); resting and pending utilization reserve open orders and orders still being placed at their full worst-case cost plus fees. Executed utilization resets at midnight New York time on the returned cap date; resting and pending reservations persist for as long as their orders remain open, including across the reset. Returns 404 when the subtrader has no cap configured — in that state every order placed through the subtrader's bound API keys is rejected. API keys bound to a single FCM subtrader may also call this endpoint: `subtrader_id` may be omitted and defaults to the key's bound subtrader, and if supplied it must equal the bound subtrader or the request is rejected.
|
|
1047
1047
|
|
|
1048
1048
|
:param subtrader_id: The subtrader whose daily cap should be returned. Must belong to the requesting FCM. Required unless the API key is bound to a subtrader, in which case it defaults to the bound subtrader when omitted and must equal it when supplied.
|
|
1049
1049
|
:type subtrader_id: str
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
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.37.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -59,7 +59,7 @@ class HistoricalApi:
|
|
|
59
59
|
|
|
60
60
|
Endpoint for getting all historical fills for the member. A fill is when a trade you have is matched. API keys restricted to a subaccount return only that subaccount's fills. If supplied, `subaccount` must match the key's restriction. Registered partners may also use a user OAuth access token with the explicitly granted read::compliance_partner scope.
|
|
61
61
|
|
|
62
|
-
:param ticker: Filter by market ticker
|
|
62
|
+
:param ticker: Filter by market ticker. Accepts a comma-separated list of up to 100 market tickers.
|
|
63
63
|
:type ticker: str
|
|
64
64
|
:param min_ts: Filter items after this Unix timestamp
|
|
65
65
|
:type min_ts: int
|
|
@@ -128,7 +128,7 @@ class HistoricalApi:
|
|
|
128
128
|
@validate_call
|
|
129
129
|
def get_fills_historical_with_http_info(
|
|
130
130
|
self,
|
|
131
|
-
ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
|
|
131
|
+
ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker. Accepts a comma-separated list of up to 100 market tickers.")] = None,
|
|
132
132
|
min_ts: Annotated[Optional[StrictInt], Field(description="Filter items after this Unix timestamp")] = None,
|
|
133
133
|
max_ts: Annotated[Optional[StrictInt], Field(description="Filter items before this Unix timestamp")] = None,
|
|
134
134
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Number of results per page. Defaults to 100.")] = None,
|
|
@@ -151,7 +151,7 @@ class HistoricalApi:
|
|
|
151
151
|
|
|
152
152
|
Endpoint for getting all historical fills for the member. A fill is when a trade you have is matched. API keys restricted to a subaccount return only that subaccount's fills. If supplied, `subaccount` must match the key's restriction. Registered partners may also use a user OAuth access token with the explicitly granted read::compliance_partner scope.
|
|
153
153
|
|
|
154
|
-
:param ticker: Filter by market ticker
|
|
154
|
+
:param ticker: Filter by market ticker. Accepts a comma-separated list of up to 100 market tickers.
|
|
155
155
|
:type ticker: str
|
|
156
156
|
:param min_ts: Filter items after this Unix timestamp
|
|
157
157
|
:type min_ts: int
|
|
@@ -219,7 +219,7 @@ class HistoricalApi:
|
|
|
219
219
|
@validate_call
|
|
220
220
|
def get_fills_historical_without_preload_content(
|
|
221
221
|
self,
|
|
222
|
-
ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
|
|
222
|
+
ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker. Accepts a comma-separated list of up to 100 market tickers.")] = None,
|
|
223
223
|
min_ts: Annotated[Optional[StrictInt], Field(description="Filter items after this Unix timestamp")] = None,
|
|
224
224
|
max_ts: Annotated[Optional[StrictInt], Field(description="Filter items before this Unix timestamp")] = None,
|
|
225
225
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Number of results per page. Defaults to 100.")] = None,
|
|
@@ -242,7 +242,7 @@ class HistoricalApi:
|
|
|
242
242
|
|
|
243
243
|
Endpoint for getting all historical fills for the member. A fill is when a trade you have is matched. API keys restricted to a subaccount return only that subaccount's fills. If supplied, `subaccount` must match the key's restriction. Registered partners may also use a user OAuth access token with the explicitly granted read::compliance_partner scope.
|
|
244
244
|
|
|
245
|
-
:param ticker: Filter by market ticker
|
|
245
|
+
:param ticker: Filter by market ticker. Accepts a comma-separated list of up to 100 market tickers.
|
|
246
246
|
:type ticker: str
|
|
247
247
|
:param min_ts: Filter items after this Unix timestamp
|
|
248
248
|
:type min_ts: int
|
|
@@ -1920,7 +1920,7 @@ class HistoricalApi:
|
|
|
1920
1920
|
) -> GetMarketCandlesticksHistoricalResponse:
|
|
1921
1921
|
"""Get Historical Market Candlesticks
|
|
1922
1922
|
|
|
1923
|
-
Endpoint for fetching historical candlestick data for markets that have been archived from the live data set. Time period length of each candlestick in minutes. Valid values: 1 (1 minute), 60 (1 hour), 1440 (1 day).
|
|
1923
|
+
Endpoint for fetching historical candlestick data for markets that have been archived from the live data set. Time period length of each candlestick in minutes. Valid values: 1 (1 minute), 60 (1 hour), 1440 (1 day). One request can span at most 5,000 periods: if the minutes between `start_ts` and `end_ts` divided by `period_interval` exceed 5,000, the request is rejected with 400 `bad_request`. Split a longer range into several requests.
|
|
1924
1924
|
|
|
1925
1925
|
:param ticker: Market ticker - unique identifier for the specific market (required)
|
|
1926
1926
|
:type ticker: str
|
|
@@ -2003,7 +2003,7 @@ class HistoricalApi:
|
|
|
2003
2003
|
) -> ApiResponse[GetMarketCandlesticksHistoricalResponse]:
|
|
2004
2004
|
"""Get Historical Market Candlesticks
|
|
2005
2005
|
|
|
2006
|
-
Endpoint for fetching historical candlestick data for markets that have been archived from the live data set. Time period length of each candlestick in minutes. Valid values: 1 (1 minute), 60 (1 hour), 1440 (1 day).
|
|
2006
|
+
Endpoint for fetching historical candlestick data for markets that have been archived from the live data set. Time period length of each candlestick in minutes. Valid values: 1 (1 minute), 60 (1 hour), 1440 (1 day). One request can span at most 5,000 periods: if the minutes between `start_ts` and `end_ts` divided by `period_interval` exceed 5,000, the request is rejected with 400 `bad_request`. Split a longer range into several requests.
|
|
2007
2007
|
|
|
2008
2008
|
:param ticker: Market ticker - unique identifier for the specific market (required)
|
|
2009
2009
|
:type ticker: str
|
|
@@ -2085,7 +2085,7 @@ class HistoricalApi:
|
|
|
2085
2085
|
) -> RESTResponseType:
|
|
2086
2086
|
"""Get Historical Market Candlesticks
|
|
2087
2087
|
|
|
2088
|
-
Endpoint for fetching historical candlestick data for markets that have been archived from the live data set. Time period length of each candlestick in minutes. Valid values: 1 (1 minute), 60 (1 hour), 1440 (1 day).
|
|
2088
|
+
Endpoint for fetching historical candlestick data for markets that have been archived from the live data set. Time period length of each candlestick in minutes. Valid values: 1 (1 minute), 60 (1 hour), 1440 (1 day). One request can span at most 5,000 periods: if the minutes between `start_ts` and `end_ts` divided by `period_interval` exceed 5,000, the request is rejected with 400 `bad_request`. Split a longer range into several requests.
|
|
2089
2089
|
|
|
2090
2090
|
:param ticker: Market ticker - unique identifier for the specific market (required)
|
|
2091
2091
|
:type ticker: str
|