kalshi-python-sync 3.31.0__py3-none-any.whl → 3.33.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 +2 -2
- kalshi_python_sync/api/account_api.py +1 -1
- kalshi_python_sync/api/api_keys_api.py +1 -1
- 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 +1 -1
- kalshi_python_sync/api/fcm_api.py +1 -1
- kalshi_python_sync/api/historical_api.py +7 -7
- kalshi_python_sync/api/incentive_programs_api.py +1 -1
- kalshi_python_sync/api/live_data_api.py +1 -1
- kalshi_python_sync/api/market_api.py +1 -1
- kalshi_python_sync/api/milestone_api.py +1 -1
- kalshi_python_sync/api/multivariate_api.py +1 -1
- kalshi_python_sync/api/order_groups_api.py +1 -1
- kalshi_python_sync/api/orders_api.py +1 -1
- kalshi_python_sync/api/portfolio_api.py +30 -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 +1 -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/create_api_key_request.py +1 -1
- kalshi_python_sync/models/create_api_key_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 +1 -1
- 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/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_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_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_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_withdrawals_response.py +1 -1
- kalshi_python_sync/models/incentive_program.py +1 -1
- 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 +1 -1
- 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_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 +15 -3
- 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 +2 -2
- kalshi_python_sync/models/resting_margin_reservation.py +1 -1
- kalshi_python_sync/models/rfq.py +2 -2
- kalshi_python_sync/models/schedule.py +1 -1
- kalshi_python_sync/models/scope_list.py +1 -1
- 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/weekly_schedule.py +1 -1
- kalshi_python_sync/models/withdrawal.py +1 -1
- kalshi_python_sync/rest.py +1 -1
- {kalshi_python_sync-3.31.0.dist-info → kalshi_python_sync-3.33.0.dist-info}/METADATA +3 -3
- kalshi_python_sync-3.33.0.dist-info/RECORD +236 -0
- kalshi_python_sync-3.31.0.dist-info/RECORD +0 -236
- {kalshi_python_sync-3.31.0.dist-info → kalshi_python_sync-3.33.0.dist-info}/WHEEL +0 -0
- {kalshi_python_sync-3.31.0.dist-info → kalshi_python_sync-3.33.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.33.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.33.0"
|
|
17
17
|
|
|
18
18
|
# import apis into sdk package
|
|
19
19
|
from kalshi_python_sync.api.account_api import AccountApi
|
|
@@ -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.33.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.33.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.33.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.33.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.33.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.33.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.33.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -403,7 +403,7 @@ class HistoricalApi:
|
|
|
403
403
|
) -> GetHistoricalCutoffResponse:
|
|
404
404
|
"""Get Historical Cutoff Timestamps
|
|
405
405
|
|
|
406
|
-
Returns the cutoff timestamps
|
|
406
|
+
Returns the archive's cutoff timestamps. For positions, the cutoff is the backfill horizon; visibility in the historical API waits for a buffered, whole-event handoff. ## Cutoff fields - `market_settled_ts` : Markets that **settled** before this timestamp, and their candlesticks, must be accessed via `GET /historical/markets` and `GET /historical/markets/{ticker}/candlesticks`. - `trades_created_ts` : Trades that were **filled** before this timestamp must be accessed via `GET /historical/fills`. - `orders_updated_ts` : Orders that were **canceled or fully executed** before this timestamp must be accessed via `GET /historical/orders`. Resting (active) orders are always available in `GET /portfolio/orders`. - `market_positions_last_updated_ts` : Backfill horizon for settled positions, not a guaranteed archive-visibility boundary. An event moves to `GET /historical/positions` only after its buffered handoff completes. Until then, its settled positions remain available via `GET /portfolio/positions?settlement_status=settled`. Unsettled positions remain available in `GET /portfolio/positions`.
|
|
407
407
|
|
|
408
408
|
:param _request_timeout: timeout setting for this request. If one
|
|
409
409
|
number provided, it will be total request
|
|
@@ -468,7 +468,7 @@ class HistoricalApi:
|
|
|
468
468
|
) -> ApiResponse[GetHistoricalCutoffResponse]:
|
|
469
469
|
"""Get Historical Cutoff Timestamps
|
|
470
470
|
|
|
471
|
-
Returns the cutoff timestamps
|
|
471
|
+
Returns the archive's cutoff timestamps. For positions, the cutoff is the backfill horizon; visibility in the historical API waits for a buffered, whole-event handoff. ## Cutoff fields - `market_settled_ts` : Markets that **settled** before this timestamp, and their candlesticks, must be accessed via `GET /historical/markets` and `GET /historical/markets/{ticker}/candlesticks`. - `trades_created_ts` : Trades that were **filled** before this timestamp must be accessed via `GET /historical/fills`. - `orders_updated_ts` : Orders that were **canceled or fully executed** before this timestamp must be accessed via `GET /historical/orders`. Resting (active) orders are always available in `GET /portfolio/orders`. - `market_positions_last_updated_ts` : Backfill horizon for settled positions, not a guaranteed archive-visibility boundary. An event moves to `GET /historical/positions` only after its buffered handoff completes. Until then, its settled positions remain available via `GET /portfolio/positions?settlement_status=settled`. Unsettled positions remain available in `GET /portfolio/positions`.
|
|
472
472
|
|
|
473
473
|
:param _request_timeout: timeout setting for this request. If one
|
|
474
474
|
number provided, it will be total request
|
|
@@ -532,7 +532,7 @@ class HistoricalApi:
|
|
|
532
532
|
) -> RESTResponseType:
|
|
533
533
|
"""Get Historical Cutoff Timestamps
|
|
534
534
|
|
|
535
|
-
Returns the cutoff timestamps
|
|
535
|
+
Returns the archive's cutoff timestamps. For positions, the cutoff is the backfill horizon; visibility in the historical API waits for a buffered, whole-event handoff. ## Cutoff fields - `market_settled_ts` : Markets that **settled** before this timestamp, and their candlesticks, must be accessed via `GET /historical/markets` and `GET /historical/markets/{ticker}/candlesticks`. - `trades_created_ts` : Trades that were **filled** before this timestamp must be accessed via `GET /historical/fills`. - `orders_updated_ts` : Orders that were **canceled or fully executed** before this timestamp must be accessed via `GET /historical/orders`. Resting (active) orders are always available in `GET /portfolio/orders`. - `market_positions_last_updated_ts` : Backfill horizon for settled positions, not a guaranteed archive-visibility boundary. An event moves to `GET /historical/positions` only after its buffered handoff completes. Until then, its settled positions remain available via `GET /portfolio/positions?settlement_status=settled`. Unsettled positions remain available in `GET /portfolio/positions`.
|
|
536
536
|
|
|
537
537
|
:param _request_timeout: timeout setting for this request. If one
|
|
538
538
|
number provided, it will be total request
|
|
@@ -1590,7 +1590,7 @@ class HistoricalApi:
|
|
|
1590
1590
|
) -> GetPositionsResponse:
|
|
1591
1591
|
"""Get Historical Positions
|
|
1592
1592
|
|
|
1593
|
-
|
|
1593
|
+
Returns settled market positions after their event completes the live-to-historical handoff. Until then, settled positions remain available via `GET /portfolio/positions?settlement_status=settled`. The `market_positions_last_updated_ts` value on `GET /historical/cutoff` is the backfill horizon, not a guarantee that every older position has moved. Unsettled positions are available via `GET /portfolio/positions`.
|
|
1594
1594
|
|
|
1595
1595
|
:param ticker: Filter by market ticker
|
|
1596
1596
|
:type ticker: str
|
|
@@ -1677,7 +1677,7 @@ class HistoricalApi:
|
|
|
1677
1677
|
) -> ApiResponse[GetPositionsResponse]:
|
|
1678
1678
|
"""Get Historical Positions
|
|
1679
1679
|
|
|
1680
|
-
|
|
1680
|
+
Returns settled market positions after their event completes the live-to-historical handoff. Until then, settled positions remain available via `GET /portfolio/positions?settlement_status=settled`. The `market_positions_last_updated_ts` value on `GET /historical/cutoff` is the backfill horizon, not a guarantee that every older position has moved. Unsettled positions are available via `GET /portfolio/positions`.
|
|
1681
1681
|
|
|
1682
1682
|
:param ticker: Filter by market ticker
|
|
1683
1683
|
:type ticker: str
|
|
@@ -1763,7 +1763,7 @@ class HistoricalApi:
|
|
|
1763
1763
|
) -> RESTResponseType:
|
|
1764
1764
|
"""Get Historical Positions
|
|
1765
1765
|
|
|
1766
|
-
|
|
1766
|
+
Returns settled market positions after their event completes the live-to-historical handoff. Until then, settled positions remain available via `GET /portfolio/positions?settlement_status=settled`. The `market_positions_last_updated_ts` value on `GET /historical/cutoff` is the backfill horizon, not a guarantee that every older position has moved. Unsettled positions are available via `GET /portfolio/positions`.
|
|
1767
1767
|
|
|
1768
1768
|
:param ticker: Filter by market ticker
|
|
1769
1769
|
:type ticker: 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.33.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.33.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.33.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.33.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.33.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.33.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.33.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.33.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -15,7 +15,7 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt, St
|
|
|
15
15
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
16
16
|
from typing_extensions import Annotated
|
|
17
17
|
|
|
18
|
-
from pydantic import Field, StrictInt, StrictStr
|
|
18
|
+
from pydantic import Field, StrictInt, StrictStr, field_validator
|
|
19
19
|
from typing import Any, Dict, Optional
|
|
20
20
|
from typing_extensions import Annotated
|
|
21
21
|
from kalshi_python_sync.models.apply_subaccount_transfer_request import ApplySubaccountTransferRequest
|
|
@@ -1184,7 +1184,7 @@ class PortfolioApi:
|
|
|
1184
1184
|
|
|
1185
1185
|
Endpoint for getting all fills for the member. A fill is when a trade you have is matched. Registered partners may also use a user OAuth access token with the explicitly granted read::compliance_partner scope. Fills that occurred before the historical cutoff are only available via `GET /historical/fills`. See [Historical Data](https://docs.kalshi.com/getting_started/historical_data) for details.
|
|
1186
1186
|
|
|
1187
|
-
:param ticker: Filter by market ticker
|
|
1187
|
+
:param ticker: Filter by market ticker. Accepts a comma-separated list of up to 100 market tickers.
|
|
1188
1188
|
:type ticker: str
|
|
1189
1189
|
:param order_id: Filter by order ID
|
|
1190
1190
|
:type order_id: str
|
|
@@ -1258,7 +1258,7 @@ class PortfolioApi:
|
|
|
1258
1258
|
@validate_call
|
|
1259
1259
|
def get_fills_with_http_info(
|
|
1260
1260
|
self,
|
|
1261
|
-
ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
|
|
1261
|
+
ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker. Accepts a comma-separated list of up to 100 market tickers.")] = None,
|
|
1262
1262
|
order_id: Annotated[Optional[StrictStr], Field(description="Filter by order ID")] = None,
|
|
1263
1263
|
min_ts: Annotated[Optional[StrictInt], Field(description="Filter items after this Unix timestamp")] = None,
|
|
1264
1264
|
max_ts: Annotated[Optional[StrictInt], Field(description="Filter items before this Unix timestamp")] = None,
|
|
@@ -1283,7 +1283,7 @@ class PortfolioApi:
|
|
|
1283
1283
|
|
|
1284
1284
|
Endpoint for getting all fills for the member. A fill is when a trade you have is matched. Registered partners may also use a user OAuth access token with the explicitly granted read::compliance_partner scope. Fills that occurred before the historical cutoff are only available via `GET /historical/fills`. See [Historical Data](https://docs.kalshi.com/getting_started/historical_data) for details.
|
|
1285
1285
|
|
|
1286
|
-
:param ticker: Filter by market ticker
|
|
1286
|
+
:param ticker: Filter by market ticker. Accepts a comma-separated list of up to 100 market tickers.
|
|
1287
1287
|
:type ticker: str
|
|
1288
1288
|
:param order_id: Filter by order ID
|
|
1289
1289
|
:type order_id: str
|
|
@@ -1356,7 +1356,7 @@ class PortfolioApi:
|
|
|
1356
1356
|
@validate_call
|
|
1357
1357
|
def get_fills_without_preload_content(
|
|
1358
1358
|
self,
|
|
1359
|
-
ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
|
|
1359
|
+
ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker. Accepts a comma-separated list of up to 100 market tickers.")] = None,
|
|
1360
1360
|
order_id: Annotated[Optional[StrictStr], Field(description="Filter by order ID")] = None,
|
|
1361
1361
|
min_ts: Annotated[Optional[StrictInt], Field(description="Filter items after this Unix timestamp")] = None,
|
|
1362
1362
|
max_ts: Annotated[Optional[StrictInt], Field(description="Filter items before this Unix timestamp")] = None,
|
|
@@ -1381,7 +1381,7 @@ class PortfolioApi:
|
|
|
1381
1381
|
|
|
1382
1382
|
Endpoint for getting all fills for the member. A fill is when a trade you have is matched. Registered partners may also use a user OAuth access token with the explicitly granted read::compliance_partner scope. Fills that occurred before the historical cutoff are only available via `GET /historical/fills`. See [Historical Data](https://docs.kalshi.com/getting_started/historical_data) for details.
|
|
1383
1383
|
|
|
1384
|
-
:param ticker: Filter by market ticker
|
|
1384
|
+
:param ticker: Filter by market ticker. Accepts a comma-separated list of up to 100 market tickers.
|
|
1385
1385
|
:type ticker: str
|
|
1386
1386
|
:param order_id: Filter by order ID
|
|
1387
1387
|
:type order_id: str
|
|
@@ -2341,6 +2341,7 @@ class PortfolioApi:
|
|
|
2341
2341
|
cursor: Any = None,
|
|
2342
2342
|
limit: Any = None,
|
|
2343
2343
|
count_filter: Any = None,
|
|
2344
|
+
settlement_status: Any = None,
|
|
2344
2345
|
ticker: Any = None,
|
|
2345
2346
|
event_ticker: Any = None,
|
|
2346
2347
|
subaccount: Any = None,
|
|
@@ -2348,7 +2349,7 @@ class PortfolioApi:
|
|
|
2348
2349
|
) -> GetPositionsResponse:
|
|
2349
2350
|
"""Get Positions
|
|
2350
2351
|
|
|
2351
|
-
|
|
2352
|
+
Returns unsettled positions by default. Set `settlement_status=settled` to page through settled positions that are still in the live data set, or `settlement_status=all` for both live states. Positions already archived are available via `GET /historical/positions`. Settled and all-state positions are paginated by event ticker to keep large histories bounded. Cursors are specific to the selected settlement status. `count_filter` restricts positions to those with a non-zero position or total traded count. Registered partners may also use a user OAuth access token with the explicitly granted read::compliance_partner scope.
|
|
2352
2353
|
|
|
2353
2354
|
:param cursor: The Cursor represents a pointer to the next page of records in the pagination. Use the value returned from the previous response to get the next page.
|
|
2354
2355
|
:type cursor: str
|
|
@@ -2356,6 +2357,8 @@ class PortfolioApi:
|
|
|
2356
2357
|
:type limit: int
|
|
2357
2358
|
:param count_filter: Restricts the positions to those with any of following fields with non-zero values, as a comma separated list. The following values are accepted - position, total_traded
|
|
2358
2359
|
:type count_filter: str
|
|
2360
|
+
:param settlement_status: Return unsettled positions by default, settled positions that have not yet been archived, or all positions in the live data set.
|
|
2361
|
+
:type settlement_status: str
|
|
2359
2362
|
:param ticker: Filter by market ticker
|
|
2360
2363
|
:type ticker: str
|
|
2361
2364
|
:param event_ticker: Event ticker to filter by. Only a single event ticker is supported.
|
|
@@ -2391,6 +2394,7 @@ class PortfolioApi:
|
|
|
2391
2394
|
cursor=cursor,
|
|
2392
2395
|
limit=limit,
|
|
2393
2396
|
count_filter=count_filter,
|
|
2397
|
+
settlement_status=settlement_status,
|
|
2394
2398
|
ticker=ticker,
|
|
2395
2399
|
event_ticker=event_ticker,
|
|
2396
2400
|
subaccount=subaccount,
|
|
@@ -2424,6 +2428,7 @@ class PortfolioApi:
|
|
|
2424
2428
|
cursor: Annotated[Optional[StrictStr], Field(description="The Cursor represents a pointer to the next page of records in the pagination. Use the value returned from the previous response to get the next page.")] = None,
|
|
2425
2429
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Parameter to specify the number of results per page. Defaults to 100.")] = None,
|
|
2426
2430
|
count_filter: Annotated[Optional[StrictStr], Field(description="Restricts the positions to those with any of following fields with non-zero values, as a comma separated list. The following values are accepted - position, total_traded")] = None,
|
|
2431
|
+
settlement_status: Annotated[Optional[StrictStr], Field(description="Return unsettled positions by default, settled positions that have not yet been archived, or all positions in the live data set.")] = None,
|
|
2427
2432
|
ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
|
|
2428
2433
|
event_ticker: Annotated[Optional[StrictStr], Field(description="Event ticker to filter by. Only a single event ticker is supported.")] = None,
|
|
2429
2434
|
subaccount: Annotated[Optional[StrictInt], Field(description="Subaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0.")] = None,
|
|
@@ -2443,7 +2448,7 @@ class PortfolioApi:
|
|
|
2443
2448
|
) -> ApiResponse[GetPositionsResponse]:
|
|
2444
2449
|
"""Get Positions
|
|
2445
2450
|
|
|
2446
|
-
|
|
2451
|
+
Returns unsettled positions by default. Set `settlement_status=settled` to page through settled positions that are still in the live data set, or `settlement_status=all` for both live states. Positions already archived are available via `GET /historical/positions`. Settled and all-state positions are paginated by event ticker to keep large histories bounded. Cursors are specific to the selected settlement status. `count_filter` restricts positions to those with a non-zero position or total traded count. Registered partners may also use a user OAuth access token with the explicitly granted read::compliance_partner scope.
|
|
2447
2452
|
|
|
2448
2453
|
:param cursor: The Cursor represents a pointer to the next page of records in the pagination. Use the value returned from the previous response to get the next page.
|
|
2449
2454
|
:type cursor: str
|
|
@@ -2451,6 +2456,8 @@ class PortfolioApi:
|
|
|
2451
2456
|
:type limit: int
|
|
2452
2457
|
:param count_filter: Restricts the positions to those with any of following fields with non-zero values, as a comma separated list. The following values are accepted - position, total_traded
|
|
2453
2458
|
:type count_filter: str
|
|
2459
|
+
:param settlement_status: Return unsettled positions by default, settled positions that have not yet been archived, or all positions in the live data set.
|
|
2460
|
+
:type settlement_status: str
|
|
2454
2461
|
:param ticker: Filter by market ticker
|
|
2455
2462
|
:type ticker: str
|
|
2456
2463
|
:param event_ticker: Event ticker to filter by. Only a single event ticker is supported.
|
|
@@ -2485,6 +2492,7 @@ class PortfolioApi:
|
|
|
2485
2492
|
cursor=cursor,
|
|
2486
2493
|
limit=limit,
|
|
2487
2494
|
count_filter=count_filter,
|
|
2495
|
+
settlement_status=settlement_status,
|
|
2488
2496
|
ticker=ticker,
|
|
2489
2497
|
event_ticker=event_ticker,
|
|
2490
2498
|
subaccount=subaccount,
|
|
@@ -2518,6 +2526,7 @@ class PortfolioApi:
|
|
|
2518
2526
|
cursor: Annotated[Optional[StrictStr], Field(description="The Cursor represents a pointer to the next page of records in the pagination. Use the value returned from the previous response to get the next page.")] = None,
|
|
2519
2527
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Parameter to specify the number of results per page. Defaults to 100.")] = None,
|
|
2520
2528
|
count_filter: Annotated[Optional[StrictStr], Field(description="Restricts the positions to those with any of following fields with non-zero values, as a comma separated list. The following values are accepted - position, total_traded")] = None,
|
|
2529
|
+
settlement_status: Annotated[Optional[StrictStr], Field(description="Return unsettled positions by default, settled positions that have not yet been archived, or all positions in the live data set.")] = None,
|
|
2521
2530
|
ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
|
|
2522
2531
|
event_ticker: Annotated[Optional[StrictStr], Field(description="Event ticker to filter by. Only a single event ticker is supported.")] = None,
|
|
2523
2532
|
subaccount: Annotated[Optional[StrictInt], Field(description="Subaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0.")] = None,
|
|
@@ -2537,7 +2546,7 @@ class PortfolioApi:
|
|
|
2537
2546
|
) -> RESTResponseType:
|
|
2538
2547
|
"""Get Positions
|
|
2539
2548
|
|
|
2540
|
-
|
|
2549
|
+
Returns unsettled positions by default. Set `settlement_status=settled` to page through settled positions that are still in the live data set, or `settlement_status=all` for both live states. Positions already archived are available via `GET /historical/positions`. Settled and all-state positions are paginated by event ticker to keep large histories bounded. Cursors are specific to the selected settlement status. `count_filter` restricts positions to those with a non-zero position or total traded count. Registered partners may also use a user OAuth access token with the explicitly granted read::compliance_partner scope.
|
|
2541
2550
|
|
|
2542
2551
|
:param cursor: The Cursor represents a pointer to the next page of records in the pagination. Use the value returned from the previous response to get the next page.
|
|
2543
2552
|
:type cursor: str
|
|
@@ -2545,6 +2554,8 @@ class PortfolioApi:
|
|
|
2545
2554
|
:type limit: int
|
|
2546
2555
|
:param count_filter: Restricts the positions to those with any of following fields with non-zero values, as a comma separated list. The following values are accepted - position, total_traded
|
|
2547
2556
|
:type count_filter: str
|
|
2557
|
+
:param settlement_status: Return unsettled positions by default, settled positions that have not yet been archived, or all positions in the live data set.
|
|
2558
|
+
:type settlement_status: str
|
|
2548
2559
|
:param ticker: Filter by market ticker
|
|
2549
2560
|
:type ticker: str
|
|
2550
2561
|
:param event_ticker: Event ticker to filter by. Only a single event ticker is supported.
|
|
@@ -2579,6 +2590,7 @@ class PortfolioApi:
|
|
|
2579
2590
|
cursor=cursor,
|
|
2580
2591
|
limit=limit,
|
|
2581
2592
|
count_filter=count_filter,
|
|
2593
|
+
settlement_status=settlement_status,
|
|
2582
2594
|
ticker=ticker,
|
|
2583
2595
|
event_ticker=event_ticker,
|
|
2584
2596
|
subaccount=subaccount,
|
|
@@ -2607,6 +2619,7 @@ class PortfolioApi:
|
|
|
2607
2619
|
cursor,
|
|
2608
2620
|
limit,
|
|
2609
2621
|
count_filter,
|
|
2622
|
+
settlement_status,
|
|
2610
2623
|
ticker,
|
|
2611
2624
|
event_ticker,
|
|
2612
2625
|
subaccount,
|
|
@@ -2645,6 +2658,10 @@ class PortfolioApi:
|
|
|
2645
2658
|
|
|
2646
2659
|
_query_params.append(('count_filter', count_filter))
|
|
2647
2660
|
|
|
2661
|
+
if settlement_status is not None:
|
|
2662
|
+
|
|
2663
|
+
_query_params.append(('settlement_status', settlement_status))
|
|
2664
|
+
|
|
2648
2665
|
if ticker is not None:
|
|
2649
2666
|
|
|
2650
2667
|
_query_params.append(('ticker', ticker))
|
|
@@ -2714,7 +2731,7 @@ class PortfolioApi:
|
|
|
2714
2731
|
) -> GetSettlementsResponse:
|
|
2715
2732
|
"""Get Settlements
|
|
2716
2733
|
|
|
2717
|
-
|
|
2734
|
+
Returns settlement records still in the live data set. Archived positions are available via `GET /historical/positions`, which has different fields; this endpoint does not return archived settlement records.
|
|
2718
2735
|
|
|
2719
2736
|
:param limit: Number of results per page. Defaults to 100.
|
|
2720
2737
|
:type limit: int
|
|
@@ -2809,7 +2826,7 @@ class PortfolioApi:
|
|
|
2809
2826
|
) -> ApiResponse[GetSettlementsResponse]:
|
|
2810
2827
|
"""Get Settlements
|
|
2811
2828
|
|
|
2812
|
-
|
|
2829
|
+
Returns settlement records still in the live data set. Archived positions are available via `GET /historical/positions`, which has different fields; this endpoint does not return archived settlement records.
|
|
2813
2830
|
|
|
2814
2831
|
:param limit: Number of results per page. Defaults to 100.
|
|
2815
2832
|
:type limit: int
|
|
@@ -2903,7 +2920,7 @@ class PortfolioApi:
|
|
|
2903
2920
|
) -> RESTResponseType:
|
|
2904
2921
|
"""Get Settlements
|
|
2905
2922
|
|
|
2906
|
-
|
|
2923
|
+
Returns settlement records still in the live data set. Archived positions are available via `GET /historical/positions`, which has different fields; this endpoint does not return archived settlement records.
|
|
2907
2924
|
|
|
2908
2925
|
:param limit: Number of results per page. Defaults to 100.
|
|
2909
2926
|
:type limit: int
|
|
@@ -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.33.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.33.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
kalshi_python_sync/api_client.py
CHANGED
|
@@ -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.33.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -97,7 +97,7 @@ class ApiClient:
|
|
|
97
97
|
self.default_headers[header_name] = header_value
|
|
98
98
|
self.cookie = cookie
|
|
99
99
|
# Set default User-Agent.
|
|
100
|
-
self.user_agent = 'OpenAPI-Generator/3.
|
|
100
|
+
self.user_agent = 'OpenAPI-Generator/3.33.0/python'
|
|
101
101
|
self.client_side_validation = configuration.client_side_validation
|
|
102
102
|
|
|
103
103
|
# Kalshi authentication
|
|
@@ -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.33.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -562,8 +562,8 @@ conf = kalshi_python_sync.Configuration(
|
|
|
562
562
|
return "Python SDK Debug Report:\n"\
|
|
563
563
|
"OS: {env}\n"\
|
|
564
564
|
"Python Version: {pyversion}\n"\
|
|
565
|
-
"Version of the API: 3.
|
|
566
|
-
"SDK Package Version: 3.
|
|
565
|
+
"Version of the API: 3.33.0\n"\
|
|
566
|
+
"SDK Package Version: 3.33.0".\
|
|
567
567
|
format(env=sys.platform, pyversion=sys.version)
|
|
568
568
|
|
|
569
569
|
def get_host_settings(self) -> List[HostSetting]:
|
kalshi_python_sync/exceptions.py
CHANGED
|
@@ -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.33.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
|
|
8
8
|
|
|
9
|
-
The version of the OpenAPI document: 3.
|
|
9
|
+
The version of the OpenAPI document: 3.33.0
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
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.33.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.33.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.33.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.33.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.33.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.33.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.33.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.33.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.33.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.33.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|