kalshi-python-sync 3.6.0__tar.gz → 3.8.0__tar.gz
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-3.6.0 → kalshi_python_sync-3.8.0}/PKG-INFO +3 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/README.md +2 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/__init__.py +11 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/__init__.py +1 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/account_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/api_keys_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/communications_api.py +19 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/events_api.py +34 -17
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/exchange_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/fcm_api.py +1 -1
- kalshi_python_sync-3.8.0/kalshi_python_sync/api/historical_api.py +1797 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/incentive_programs_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/live_data_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/market_api.py +23 -6
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/milestone_api.py +19 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/multivariate_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/order_groups_api.py +87 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/orders_api.py +28 -11
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/portfolio_api.py +45 -11
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/search_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/structured_targets_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api_client.py +2 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/auth.py +14 -40
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/configuration.py +3 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/exceptions.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/__init__.py +7 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/accept_quote_request.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/amend_order_request.py +6 -4
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/amend_order_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/announcement.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/api_key.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/apply_subaccount_transfer_request.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/associated_event.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/batch_cancel_orders_individual_response.py +1 -1
- kalshi_python_sync-3.8.0/kalshi_python_sync/models/batch_cancel_orders_request.py +97 -0
- kalshi_python_sync-3.8.0/kalshi_python_sync/models/batch_cancel_orders_request_order.py +90 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/batch_cancel_orders_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/batch_create_orders_individual_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/batch_create_orders_request.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/batch_create_orders_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/batch_get_market_candlesticks_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/bid_ask_distribution.py +5 -5
- kalshi_python_sync-3.6.0/kalshi_python_sync/models/batch_cancel_orders_request.py → kalshi_python_sync-3.8.0/kalshi_python_sync/models/bid_ask_distribution_historical.py +14 -8
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/cancel_order_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/create_api_key_request.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/create_api_key_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/create_market_in_multivariate_event_collection_request.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/create_market_in_multivariate_event_collection_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/create_order_group_request.py +4 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/create_order_group_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/create_order_request.py +4 -16
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/create_order_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/create_quote_request.py +3 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/create_quote_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/create_rfq_request.py +8 -4
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/create_rfq_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/create_subaccount_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/daily_schedule.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/decrease_order_request.py +4 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/decrease_order_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/error_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/event_data.py +5 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/event_position.py +5 -5
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/exchange_instance.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/exchange_status.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/fill.py +10 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/forecast_percentiles_point.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/generate_api_key_request.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/generate_api_key_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_account_api_limits_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_api_keys_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_balance_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_communications_id_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_event_candlesticks_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_event_forecast_percentiles_history_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_event_metadata_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_event_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_events_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_exchange_announcements_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_exchange_schedule_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_fills_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_filters_by_sports_response.py +1 -1
- kalshi_python_sync-3.8.0/kalshi_python_sync/models/get_historical_cutoff_response.py +92 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_incentive_programs_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_live_data_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_live_datas_response.py +1 -1
- kalshi_python_sync-3.8.0/kalshi_python_sync/models/get_market_candlesticks_historical_response.py +97 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_market_candlesticks_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_market_orderbook_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_market_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_markets_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_milestone_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_milestones_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_multivariate_event_collection_lookup_history_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_multivariate_event_collection_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_multivariate_event_collections_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_multivariate_events_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_order_group_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_order_groups_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_order_queue_position_response.py +7 -5
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_order_queue_positions_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_order_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_orders_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_portfolio_resting_order_total_value_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_positions_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_quote_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_quotes_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_rfq_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_rfqs_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_series_fee_changes_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_series_list_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_series_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_settlements_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_structured_target_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_structured_targets_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_subaccount_balances_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_subaccount_transfers_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_tags_for_series_categories_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_trades_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/get_user_data_timestamp_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/incentive_program.py +4 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/intra_exchange_instance_transfer_request.py +4 -8
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/intra_exchange_instance_transfer_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/live_data.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/lookup_point.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/lookup_tickers_for_market_in_multivariate_event_collection_request.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/lookup_tickers_for_market_in_multivariate_event_collection_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/maintenance_window.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/market.py +17 -15
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/market_candlestick.py +1 -1
- kalshi_python_sync-3.8.0/kalshi_python_sync/models/market_candlestick_historical.py +108 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/market_candlesticks_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/market_metadata.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/market_position.py +5 -5
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/milestone.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/multivariate_event_collection.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/mve_selected_leg.py +2 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/order.py +16 -9
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/order_group.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/order_queue_position.py +6 -4
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/order_status.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/orderbook.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/orderbook_count_fp.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/percentile_point.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/price_distribution.py +9 -9
- kalshi_python_sync-3.8.0/kalshi_python_sync/models/price_distribution_historical.py +127 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/price_range.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/quote.py +7 -5
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/rfq.py +5 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/schedule.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/scope_list.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/self_trade_prevention_type.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/series.py +6 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/series_fee_change.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/settlement.py +2 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/settlement_source.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/sport_filter_details.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/structured_target.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/subaccount_balance.py +2 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/subaccount_transfer.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/ticker_pair.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/trade.py +3 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/update_order_group_limit_request.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/models/weekly_schedule.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/rest.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync.egg-info/PKG-INFO +3 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync.egg-info/SOURCES.txt +14 -12
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/pyproject.toml +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/setup.py +2 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_accept_quote_request.py +3 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_account_api.py +4 -4
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_amend_order_request.py +4 -4
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_amend_order_response.py +21 -5
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_announcement.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_api_key.py +8 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_api_keys_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_apply_subaccount_transfer_request.py +3 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_associated_event.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_batch_cancel_orders_individual_response.py +8 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_batch_cancel_orders_request.py +6 -4
- kalshi_python_sync-3.6.0/test/test_account_limit.py → kalshi_python_sync-3.8.0/test/test_batch_cancel_orders_request_order.py +15 -18
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_batch_cancel_orders_response.py +3 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_batch_create_orders_individual_response.py +6 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_batch_create_orders_request.py +7 -5
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_batch_create_orders_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_batch_get_market_candlesticks_response.py +7 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_bid_ask_distribution.py +1 -1
- kalshi_python_sync-3.8.0/test/test_bid_ask_distribution_historical.py +58 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_cancel_order_response.py +14 -4
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_communications_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_create_api_key_request.py +5 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_create_api_key_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_create_market_in_multivariate_event_collection_request.py +5 -4
- kalshi_python_sync-3.8.0/test/test_create_market_in_multivariate_event_collection_response.py +132 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_create_order_group_request.py +4 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_create_order_group_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_create_order_request.py +4 -4
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_create_order_response.py +11 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_create_quote_request.py +7 -6
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_create_quote_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_create_rfq_request.py +5 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_create_rfq_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_create_subaccount_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_daily_schedule.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_decrease_order_request.py +5 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_decrease_order_response.py +11 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_error_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_event_data.py +13 -6
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_event_position.py +3 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_events_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_exchange_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_exchange_instance.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_exchange_status.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_fcm_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_fill.py +6 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_forecast_percentiles_point.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_generate_api_key_request.py +5 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_generate_api_key_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_account_api_limits_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_api_keys_response.py +9 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_balance_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_communications_id_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_event_candlesticks_response.py +7 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_event_forecast_percentiles_history_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_event_metadata_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_event_response.py +45 -19
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_events_response.py +25 -11
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_exchange_announcements_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_exchange_schedule_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_fills_response.py +7 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_filters_by_sports_response.py +1 -1
- kalshi_python_sync-3.8.0/test/test_get_historical_cutoff_response.py +56 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_incentive_programs_response.py +7 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_live_data_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_live_datas_response.py +1 -1
- kalshi_python_sync-3.8.0/test/test_get_market_candlesticks_historical_response.py +98 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_market_candlesticks_response.py +7 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_market_orderbook_response.py +15 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_market_response.py +21 -9
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_markets_response.py +21 -9
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_milestone_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_milestones_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_multivariate_event_collection_lookup_history_response.py +3 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_multivariate_event_collection_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_multivariate_event_collections_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_multivariate_events_response.py +25 -11
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_order_group_response.py +3 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_order_groups_response.py +3 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_order_queue_position_response.py +3 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_order_queue_positions_response.py +5 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_order_response.py +11 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_orders_response.py +11 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_portfolio_resting_order_total_value_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_positions_response.py +33 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_quote_response.py +7 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_quotes_response.py +7 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_rfq_response.py +9 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_rfqs_response.py +9 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_series_fee_changes_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_series_list_response.py +9 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_series_response.py +9 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_settlements_response.py +9 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_structured_target_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_structured_targets_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_subaccount_balances_response.py +3 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_subaccount_transfers_response.py +3 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_tags_for_series_categories_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_trades_response.py +3 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_get_user_data_timestamp_response.py +1 -1
- kalshi_python_sync-3.8.0/test/test_historical_api.py +73 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_incentive_program.py +5 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_incentive_programs_api.py +2 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_intra_exchange_instance_transfer_request.py +5 -5
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_intra_exchange_instance_transfer_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_live_data.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_live_data_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_lookup_point.py +3 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_lookup_tickers_for_market_in_multivariate_event_collection_request.py +3 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_lookup_tickers_for_market_in_multivariate_event_collection_response.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_maintenance_window.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_market.py +16 -7
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_market_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_market_candlestick.py +6 -2
- kalshi_python_sync-3.8.0/test/test_market_candlestick_historical.py +90 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_market_candlesticks_response.py +7 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_market_metadata.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_market_position.py +3 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_milestone.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_milestone_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_multivariate_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_multivariate_event_collection.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_mve_selected_leg.py +3 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_order.py +9 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_order_group.py +3 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_order_groups_api.py +15 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_order_queue_position.py +3 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_order_status.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_orderbook.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_orderbook_count_fp.py +5 -15
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_orders_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_percentile_point.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_portfolio_api.py +29 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_price_distribution.py +1 -1
- kalshi_python_sync-3.8.0/test/test_price_distribution_historical.py +62 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_price_range.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_quote.py +5 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_rfq.py +6 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_schedule.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_scope_list.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_search_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_self_trade_prevention_type.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_series.py +5 -2
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_series_fee_change.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_settlement.py +9 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_settlement_source.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_sport_filter_details.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_structured_target.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_structured_targets_api.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_subaccount_balance.py +4 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_subaccount_transfer.py +3 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_ticker_pair.py +3 -3
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_trade.py +3 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_update_order_group_limit_request.py +1 -1
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/test/test_weekly_schedule.py +1 -1
- kalshi_python_sync-3.6.0/kalshi_python_sync/models/account_limit.py +0 -91
- kalshi_python_sync-3.6.0/kalshi_python_sync/models/get_subaccount_balance_response.py +0 -89
- kalshi_python_sync-3.6.0/kalshi_python_sync/models/orderbook_level_count_fp_inner.py +0 -143
- kalshi_python_sync-3.6.0/kalshi_python_sync/models/price_level_count_fp_inner.py +0 -143
- kalshi_python_sync-3.6.0/kalshi_python_sync/models/price_level_dollars_inner.py +0 -143
- kalshi_python_sync-3.6.0/kalshi_python_sync/models/transfer_between_subaccounts_request.py +0 -91
- kalshi_python_sync-3.6.0/test/test_create_market_in_multivariate_event_collection_response.py +0 -54
- kalshi_python_sync-3.6.0/test/test_get_subaccount_balance_response.py +0 -53
- kalshi_python_sync-3.6.0/test/test_orderbook_level_count_fp_inner.py +0 -50
- kalshi_python_sync-3.6.0/test/test_price_level_count_fp_inner.py +0 -50
- kalshi_python_sync-3.6.0/test/test_price_level_dollars_inner.py +0 -50
- kalshi_python_sync-3.6.0/test/test_transfer_between_subaccounts_request.py +0 -56
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api_response.py +0 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/py.typed +0 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync.egg-info/dependency_links.txt +0 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync.egg-info/requires.txt +0 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync.egg-info/top_level.txt +0 -0
- {kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kalshi_python_sync
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.8.0
|
|
4
4
|
Summary: Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
|
|
5
5
|
Home-page: https://github.com/Kalshi/exchange-infra
|
|
6
6
|
Author: OpenAPI Generator community
|
|
@@ -28,8 +28,8 @@ Complete API for the Kalshi trading platform including all handlers for SDK gene
|
|
|
28
28
|
|
|
29
29
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
30
30
|
|
|
31
|
-
- API version: 3.
|
|
32
|
-
- Package version: 3.
|
|
31
|
+
- API version: 3.8.0
|
|
32
|
+
- Package version: 3.8.0
|
|
33
33
|
- Generator version: 7.17.0
|
|
34
34
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
35
35
|
For more information, please visit []()
|
|
@@ -3,8 +3,8 @@ Complete API for the Kalshi trading platform including all handlers for SDK gene
|
|
|
3
3
|
|
|
4
4
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
5
|
|
|
6
|
-
- API version: 3.
|
|
7
|
-
- Package version: 3.
|
|
6
|
+
- API version: 3.8.0
|
|
7
|
+
- Package version: 3.8.0
|
|
8
8
|
- Generator version: 7.17.0
|
|
9
9
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
10
10
|
For more information, please visit []()
|
|
@@ -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.8.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.8.0"
|
|
17
17
|
|
|
18
18
|
# import apis into sdk package
|
|
19
19
|
from kalshi_python_sync.api.account_api import AccountApi
|
|
@@ -22,6 +22,7 @@ from kalshi_python_sync.api.communications_api import CommunicationsApi
|
|
|
22
22
|
from kalshi_python_sync.api.events_api import EventsApi
|
|
23
23
|
from kalshi_python_sync.api.exchange_api import ExchangeApi
|
|
24
24
|
from kalshi_python_sync.api.fcm_api import FcmApi
|
|
25
|
+
from kalshi_python_sync.api.historical_api import HistoricalApi
|
|
25
26
|
from kalshi_python_sync.api.incentive_programs_api import IncentiveProgramsApi
|
|
26
27
|
from kalshi_python_sync.api.live_data_api import LiveDataApi
|
|
27
28
|
from kalshi_python_sync.api.market_api import MarketApi
|
|
@@ -69,12 +70,14 @@ from kalshi_python_sync.models.apply_subaccount_transfer_request import ApplySub
|
|
|
69
70
|
from kalshi_python_sync.models.associated_event import AssociatedEvent
|
|
70
71
|
from kalshi_python_sync.models.batch_cancel_orders_individual_response import BatchCancelOrdersIndividualResponse
|
|
71
72
|
from kalshi_python_sync.models.batch_cancel_orders_request import BatchCancelOrdersRequest
|
|
73
|
+
from kalshi_python_sync.models.batch_cancel_orders_request_order import BatchCancelOrdersRequestOrder
|
|
72
74
|
from kalshi_python_sync.models.batch_cancel_orders_response import BatchCancelOrdersResponse
|
|
73
75
|
from kalshi_python_sync.models.batch_create_orders_individual_response import BatchCreateOrdersIndividualResponse
|
|
74
76
|
from kalshi_python_sync.models.batch_create_orders_request import BatchCreateOrdersRequest
|
|
75
77
|
from kalshi_python_sync.models.batch_create_orders_response import BatchCreateOrdersResponse
|
|
76
78
|
from kalshi_python_sync.models.batch_get_market_candlesticks_response import BatchGetMarketCandlesticksResponse
|
|
77
79
|
from kalshi_python_sync.models.bid_ask_distribution import BidAskDistribution
|
|
80
|
+
from kalshi_python_sync.models.bid_ask_distribution_historical import BidAskDistributionHistorical
|
|
78
81
|
from kalshi_python_sync.models.cancel_order_response import CancelOrderResponse
|
|
79
82
|
from kalshi_python_sync.models.create_api_key_request import CreateApiKeyRequest
|
|
80
83
|
from kalshi_python_sync.models.create_api_key_response import CreateApiKeyResponse
|
|
@@ -114,9 +117,11 @@ from kalshi_python_sync.models.get_exchange_announcements_response import GetExc
|
|
|
114
117
|
from kalshi_python_sync.models.get_exchange_schedule_response import GetExchangeScheduleResponse
|
|
115
118
|
from kalshi_python_sync.models.get_fills_response import GetFillsResponse
|
|
116
119
|
from kalshi_python_sync.models.get_filters_by_sports_response import GetFiltersBySportsResponse
|
|
120
|
+
from kalshi_python_sync.models.get_historical_cutoff_response import GetHistoricalCutoffResponse
|
|
117
121
|
from kalshi_python_sync.models.get_incentive_programs_response import GetIncentiveProgramsResponse
|
|
118
122
|
from kalshi_python_sync.models.get_live_data_response import GetLiveDataResponse
|
|
119
123
|
from kalshi_python_sync.models.get_live_datas_response import GetLiveDatasResponse
|
|
124
|
+
from kalshi_python_sync.models.get_market_candlesticks_historical_response import GetMarketCandlesticksHistoricalResponse
|
|
120
125
|
from kalshi_python_sync.models.get_market_candlesticks_response import GetMarketCandlesticksResponse
|
|
121
126
|
from kalshi_python_sync.models.get_market_orderbook_response import GetMarketOrderbookResponse
|
|
122
127
|
from kalshi_python_sync.models.get_market_response import GetMarketResponse
|
|
@@ -160,6 +165,7 @@ from kalshi_python_sync.models.lookup_tickers_for_market_in_multivariate_event_c
|
|
|
160
165
|
from kalshi_python_sync.models.maintenance_window import MaintenanceWindow
|
|
161
166
|
from kalshi_python_sync.models.market import Market
|
|
162
167
|
from kalshi_python_sync.models.market_candlestick import MarketCandlestick
|
|
168
|
+
from kalshi_python_sync.models.market_candlestick_historical import MarketCandlestickHistorical
|
|
163
169
|
from kalshi_python_sync.models.market_candlesticks_response import MarketCandlesticksResponse
|
|
164
170
|
from kalshi_python_sync.models.market_metadata import MarketMetadata
|
|
165
171
|
from kalshi_python_sync.models.market_position import MarketPosition
|
|
@@ -174,6 +180,7 @@ from kalshi_python_sync.models.orderbook import Orderbook
|
|
|
174
180
|
from kalshi_python_sync.models.orderbook_count_fp import OrderbookCountFp
|
|
175
181
|
from kalshi_python_sync.models.percentile_point import PercentilePoint
|
|
176
182
|
from kalshi_python_sync.models.price_distribution import PriceDistribution
|
|
183
|
+
from kalshi_python_sync.models.price_distribution_historical import PriceDistributionHistorical
|
|
177
184
|
from kalshi_python_sync.models.price_range import PriceRange
|
|
178
185
|
from kalshi_python_sync.models.quote import Quote
|
|
179
186
|
from kalshi_python_sync.models.rfq import RFQ
|
|
@@ -216,6 +223,7 @@ class KalshiClient(ApiClient):
|
|
|
216
223
|
self._events_api = EventsApi(self)
|
|
217
224
|
self._exchange_api = ExchangeApi(self)
|
|
218
225
|
self._fcm_api = FcmApi(self)
|
|
226
|
+
self._historical_api = HistoricalApi(self)
|
|
219
227
|
self._incentive_programs_api = IncentiveProgramsApi(self)
|
|
220
228
|
self._live_data_api = LiveDataApi(self)
|
|
221
229
|
self._market_api = MarketApi(self)
|
|
@@ -266,6 +274,7 @@ class KalshiClient(ApiClient):
|
|
|
266
274
|
'_events_api',
|
|
267
275
|
'_exchange_api',
|
|
268
276
|
'_fcm_api',
|
|
277
|
+
'_historical_api',
|
|
269
278
|
'_incentive_programs_api',
|
|
270
279
|
'_live_data_api',
|
|
271
280
|
'_market_api',
|
|
@@ -7,6 +7,7 @@ from kalshi_python_sync.api.communications_api import CommunicationsApi
|
|
|
7
7
|
from kalshi_python_sync.api.events_api import EventsApi
|
|
8
8
|
from kalshi_python_sync.api.exchange_api import ExchangeApi
|
|
9
9
|
from kalshi_python_sync.api.fcm_api import FcmApi
|
|
10
|
+
from kalshi_python_sync.api.historical_api import HistoricalApi
|
|
10
11
|
from kalshi_python_sync.api.incentive_programs_api import IncentiveProgramsApi
|
|
11
12
|
from kalshi_python_sync.api.live_data_api import LiveDataApi
|
|
12
13
|
from kalshi_python_sync.api.market_api import MarketApi
|
|
@@ -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.8.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
{kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/api_keys_api.py
RENAMED
|
@@ -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.8.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
{kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/communications_api.py
RENAMED
|
@@ -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.8.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, StrictStr
|
|
18
|
+
from pydantic import Field, StrictInt, StrictStr
|
|
19
19
|
from typing import Any, Dict, Optional
|
|
20
20
|
from typing_extensions import Annotated
|
|
21
21
|
from kalshi_python_sync.models.accept_quote_request import AcceptQuoteRequest
|
|
@@ -2877,6 +2877,7 @@ class CommunicationsApi:
|
|
|
2877
2877
|
cursor: Any = None,
|
|
2878
2878
|
event_ticker: Any = None,
|
|
2879
2879
|
market_ticker: Any = None,
|
|
2880
|
+
subaccount: Any = None,
|
|
2880
2881
|
limit: Any = None,
|
|
2881
2882
|
status: Any = None,
|
|
2882
2883
|
creator_user_id: Any = None,
|
|
@@ -2891,6 +2892,8 @@ class CommunicationsApi:
|
|
|
2891
2892
|
:type event_ticker: str
|
|
2892
2893
|
:param market_ticker: Filter by market ticker
|
|
2893
2894
|
:type market_ticker: str
|
|
2895
|
+
:param subaccount: Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, returns results across all subaccounts.
|
|
2896
|
+
:type subaccount: int
|
|
2894
2897
|
:param limit: Parameter to specify the number of results per page. Defaults to 100.
|
|
2895
2898
|
:type limit: int
|
|
2896
2899
|
:param status: Filter RFQs by status
|
|
@@ -2924,6 +2927,7 @@ class CommunicationsApi:
|
|
|
2924
2927
|
cursor=cursor,
|
|
2925
2928
|
event_ticker=event_ticker,
|
|
2926
2929
|
market_ticker=market_ticker,
|
|
2930
|
+
subaccount=subaccount,
|
|
2927
2931
|
limit=limit,
|
|
2928
2932
|
status=status,
|
|
2929
2933
|
creator_user_id=creator_user_id,
|
|
@@ -2955,6 +2959,7 @@ class CommunicationsApi:
|
|
|
2955
2959
|
cursor: Annotated[Optional[StrictStr], Field(description="Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.")] = None,
|
|
2956
2960
|
event_ticker: Annotated[Optional[StrictStr], Field(description="Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).")] = None,
|
|
2957
2961
|
market_ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
|
|
2962
|
+
subaccount: Annotated[Optional[StrictInt], Field(description="Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, returns results across all subaccounts.")] = None,
|
|
2958
2963
|
limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Parameter to specify the number of results per page. Defaults to 100.")] = None,
|
|
2959
2964
|
status: Annotated[Optional[StrictStr], Field(description="Filter RFQs by status")] = None,
|
|
2960
2965
|
creator_user_id: Annotated[Optional[StrictStr], Field(description="Filter RFQs by creator user ID")] = None,
|
|
@@ -2981,6 +2986,8 @@ class CommunicationsApi:
|
|
|
2981
2986
|
:type event_ticker: str
|
|
2982
2987
|
:param market_ticker: Filter by market ticker
|
|
2983
2988
|
:type market_ticker: str
|
|
2989
|
+
:param subaccount: Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, returns results across all subaccounts.
|
|
2990
|
+
:type subaccount: int
|
|
2984
2991
|
:param limit: Parameter to specify the number of results per page. Defaults to 100.
|
|
2985
2992
|
:type limit: int
|
|
2986
2993
|
:param status: Filter RFQs by status
|
|
@@ -3013,6 +3020,7 @@ class CommunicationsApi:
|
|
|
3013
3020
|
cursor=cursor,
|
|
3014
3021
|
event_ticker=event_ticker,
|
|
3015
3022
|
market_ticker=market_ticker,
|
|
3023
|
+
subaccount=subaccount,
|
|
3016
3024
|
limit=limit,
|
|
3017
3025
|
status=status,
|
|
3018
3026
|
creator_user_id=creator_user_id,
|
|
@@ -3044,6 +3052,7 @@ class CommunicationsApi:
|
|
|
3044
3052
|
cursor: Annotated[Optional[StrictStr], Field(description="Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.")] = None,
|
|
3045
3053
|
event_ticker: Annotated[Optional[StrictStr], Field(description="Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).")] = None,
|
|
3046
3054
|
market_ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
|
|
3055
|
+
subaccount: Annotated[Optional[StrictInt], Field(description="Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, returns results across all subaccounts.")] = None,
|
|
3047
3056
|
limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Parameter to specify the number of results per page. Defaults to 100.")] = None,
|
|
3048
3057
|
status: Annotated[Optional[StrictStr], Field(description="Filter RFQs by status")] = None,
|
|
3049
3058
|
creator_user_id: Annotated[Optional[StrictStr], Field(description="Filter RFQs by creator user ID")] = None,
|
|
@@ -3070,6 +3079,8 @@ class CommunicationsApi:
|
|
|
3070
3079
|
:type event_ticker: str
|
|
3071
3080
|
:param market_ticker: Filter by market ticker
|
|
3072
3081
|
:type market_ticker: str
|
|
3082
|
+
:param subaccount: Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, returns results across all subaccounts.
|
|
3083
|
+
:type subaccount: int
|
|
3073
3084
|
:param limit: Parameter to specify the number of results per page. Defaults to 100.
|
|
3074
3085
|
:type limit: int
|
|
3075
3086
|
:param status: Filter RFQs by status
|
|
@@ -3102,6 +3113,7 @@ class CommunicationsApi:
|
|
|
3102
3113
|
cursor=cursor,
|
|
3103
3114
|
event_ticker=event_ticker,
|
|
3104
3115
|
market_ticker=market_ticker,
|
|
3116
|
+
subaccount=subaccount,
|
|
3105
3117
|
limit=limit,
|
|
3106
3118
|
status=status,
|
|
3107
3119
|
creator_user_id=creator_user_id,
|
|
@@ -3128,6 +3140,7 @@ class CommunicationsApi:
|
|
|
3128
3140
|
cursor,
|
|
3129
3141
|
event_ticker,
|
|
3130
3142
|
market_ticker,
|
|
3143
|
+
subaccount,
|
|
3131
3144
|
limit,
|
|
3132
3145
|
status,
|
|
3133
3146
|
creator_user_id,
|
|
@@ -3165,6 +3178,10 @@ class CommunicationsApi:
|
|
|
3165
3178
|
|
|
3166
3179
|
_query_params.append(('market_ticker', market_ticker))
|
|
3167
3180
|
|
|
3181
|
+
if subaccount is not None:
|
|
3182
|
+
|
|
3183
|
+
_query_params.append(('subaccount', subaccount))
|
|
3184
|
+
|
|
3168
3185
|
if limit is not None:
|
|
3169
3186
|
|
|
3170
3187
|
_query_params.append(('limit', limit))
|
|
@@ -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.8.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -51,11 +51,11 @@ class EventsApi:
|
|
|
51
51
|
) -> GetEventResponse:
|
|
52
52
|
"""Get Event
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
Endpoint for getting data about an event by its ticker. An event represents a real-world occurrence that can be traded on, such as an election, sports game, or economic indicator release. Events contain one or more markets where users can place trades on different outcomes. All events are accessible through this endpoint, even if their associated markets are older than the historical cutoff.
|
|
55
55
|
|
|
56
56
|
:param event_ticker: Event ticker (required)
|
|
57
57
|
:type event_ticker: str
|
|
58
|
-
:param with_nested_markets: If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response.
|
|
58
|
+
:param with_nested_markets: If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response. Historical markets settled before the historical cutoff will not be included.
|
|
59
59
|
:type with_nested_markets: bool
|
|
60
60
|
:param _request_timeout: timeout setting for this request. If one
|
|
61
61
|
number provided, it will be total request
|
|
@@ -111,7 +111,7 @@ class EventsApi:
|
|
|
111
111
|
def get_event_with_http_info(
|
|
112
112
|
self,
|
|
113
113
|
event_ticker: Annotated[StrictStr, Field(description="Event ticker")],
|
|
114
|
-
with_nested_markets: Annotated[Optional[StrictBool], Field(description="If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response.")] = None,
|
|
114
|
+
with_nested_markets: Annotated[Optional[StrictBool], Field(description="If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response. Historical markets settled before the historical cutoff will not be included.")] = None,
|
|
115
115
|
_request_timeout: Union[
|
|
116
116
|
None,
|
|
117
117
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -127,11 +127,11 @@ class EventsApi:
|
|
|
127
127
|
) -> ApiResponse[GetEventResponse]:
|
|
128
128
|
"""Get Event
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
Endpoint for getting data about an event by its ticker. An event represents a real-world occurrence that can be traded on, such as an election, sports game, or economic indicator release. Events contain one or more markets where users can place trades on different outcomes. All events are accessible through this endpoint, even if their associated markets are older than the historical cutoff.
|
|
131
131
|
|
|
132
132
|
:param event_ticker: Event ticker (required)
|
|
133
133
|
:type event_ticker: str
|
|
134
|
-
:param with_nested_markets: If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response.
|
|
134
|
+
:param with_nested_markets: If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response. Historical markets settled before the historical cutoff will not be included.
|
|
135
135
|
:type with_nested_markets: bool
|
|
136
136
|
:param _request_timeout: timeout setting for this request. If one
|
|
137
137
|
number provided, it will be total request
|
|
@@ -186,7 +186,7 @@ class EventsApi:
|
|
|
186
186
|
def get_event_without_preload_content(
|
|
187
187
|
self,
|
|
188
188
|
event_ticker: Annotated[StrictStr, Field(description="Event ticker")],
|
|
189
|
-
with_nested_markets: Annotated[Optional[StrictBool], Field(description="If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response.")] = None,
|
|
189
|
+
with_nested_markets: Annotated[Optional[StrictBool], Field(description="If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response. Historical markets settled before the historical cutoff will not be included.")] = None,
|
|
190
190
|
_request_timeout: Union[
|
|
191
191
|
None,
|
|
192
192
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -202,11 +202,11 @@ class EventsApi:
|
|
|
202
202
|
) -> RESTResponseType:
|
|
203
203
|
"""Get Event
|
|
204
204
|
|
|
205
|
-
|
|
205
|
+
Endpoint for getting data about an event by its ticker. An event represents a real-world occurrence that can be traded on, such as an election, sports game, or economic indicator release. Events contain one or more markets where users can place trades on different outcomes. All events are accessible through this endpoint, even if their associated markets are older than the historical cutoff.
|
|
206
206
|
|
|
207
207
|
:param event_ticker: Event ticker (required)
|
|
208
208
|
:type event_ticker: str
|
|
209
|
-
:param with_nested_markets: If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response.
|
|
209
|
+
:param with_nested_markets: If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response. Historical markets settled before the historical cutoff will not be included.
|
|
210
210
|
:type with_nested_markets: bool
|
|
211
211
|
:param _request_timeout: timeout setting for this request. If one
|
|
212
212
|
number provided, it will be total request
|
|
@@ -937,16 +937,17 @@ class EventsApi:
|
|
|
937
937
|
status: Any = None,
|
|
938
938
|
series_ticker: Any = None,
|
|
939
939
|
min_close_ts: Any = None,
|
|
940
|
+
min_updated_ts: Any = None,
|
|
940
941
|
) -> GetEventsResponse:
|
|
941
942
|
"""Get Events
|
|
942
943
|
|
|
943
|
-
Get all events. This endpoint excludes multivariate events. To retrieve multivariate events, use the GET /events/multivariate endpoint.
|
|
944
|
+
Get all events. This endpoint excludes multivariate events. To retrieve multivariate events, use the GET /events/multivariate endpoint. All events are accessible through this endpoint, even if their associated markets are older than the historical cutoff.
|
|
944
945
|
|
|
945
946
|
:param limit: Parameter to specify the number of results per page. Defaults to 200. Maximum value is 200.
|
|
946
947
|
:type limit: int
|
|
947
948
|
:param cursor: Parameter to specify the pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
|
|
948
949
|
:type cursor: str
|
|
949
|
-
:param with_nested_markets: Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event.
|
|
950
|
+
:param with_nested_markets: Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event. Historical markets settled before the historical cutoff will not be included.
|
|
950
951
|
:type with_nested_markets: bool
|
|
951
952
|
:param with_milestones: If true, includes related milestones as a field alongside events.
|
|
952
953
|
:type with_milestones: bool
|
|
@@ -956,6 +957,8 @@ class EventsApi:
|
|
|
956
957
|
:type series_ticker: str
|
|
957
958
|
:param min_close_ts: Filter events with at least one market with close timestamp greater than this Unix timestamp (in seconds).
|
|
958
959
|
:type min_close_ts: int
|
|
960
|
+
:param min_updated_ts: Filter events with metadata updated after this Unix timestamp (in seconds). Use this to efficiently poll for changes.
|
|
961
|
+
:type min_updated_ts: int
|
|
959
962
|
:param _request_timeout: timeout setting for this request. If one
|
|
960
963
|
number provided, it will be total request
|
|
961
964
|
timeout. It can also be a pair (tuple) of
|
|
@@ -987,6 +990,7 @@ class EventsApi:
|
|
|
987
990
|
status=status,
|
|
988
991
|
series_ticker=series_ticker,
|
|
989
992
|
min_close_ts=min_close_ts,
|
|
993
|
+
min_updated_ts=min_updated_ts,
|
|
990
994
|
_request_auth=None,
|
|
991
995
|
_content_type=None,
|
|
992
996
|
_headers=None,
|
|
@@ -1015,11 +1019,12 @@ class EventsApi:
|
|
|
1015
1019
|
self,
|
|
1016
1020
|
limit: Annotated[Optional[Annotated[int, Field(le=200, strict=True, ge=1)]], Field(description="Parameter to specify the number of results per page. Defaults to 200. Maximum value is 200.")] = None,
|
|
1017
1021
|
cursor: Annotated[Optional[StrictStr], Field(description="Parameter to specify the pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.")] = None,
|
|
1018
|
-
with_nested_markets: Annotated[Optional[StrictBool], Field(description="Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event.")] = None,
|
|
1022
|
+
with_nested_markets: Annotated[Optional[StrictBool], Field(description="Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event. Historical markets settled before the historical cutoff will not be included.")] = None,
|
|
1019
1023
|
with_milestones: Annotated[Optional[StrictBool], Field(description="If true, includes related milestones as a field alongside events.")] = None,
|
|
1020
1024
|
status: Annotated[Optional[StrictStr], Field(description="Filter by event status. Possible values are 'open', 'closed', 'settled'. Leave empty to return events with any status.")] = None,
|
|
1021
1025
|
series_ticker: Annotated[Optional[StrictStr], Field(description="Filter by series ticker")] = None,
|
|
1022
1026
|
min_close_ts: Annotated[Optional[StrictInt], Field(description="Filter events with at least one market with close timestamp greater than this Unix timestamp (in seconds).")] = None,
|
|
1027
|
+
min_updated_ts: Annotated[Optional[StrictInt], Field(description="Filter events with metadata updated after this Unix timestamp (in seconds). Use this to efficiently poll for changes.")] = None,
|
|
1023
1028
|
_request_timeout: Union[
|
|
1024
1029
|
None,
|
|
1025
1030
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1035,13 +1040,13 @@ class EventsApi:
|
|
|
1035
1040
|
) -> ApiResponse[GetEventsResponse]:
|
|
1036
1041
|
"""Get Events
|
|
1037
1042
|
|
|
1038
|
-
Get all events. This endpoint excludes multivariate events. To retrieve multivariate events, use the GET /events/multivariate endpoint.
|
|
1043
|
+
Get all events. This endpoint excludes multivariate events. To retrieve multivariate events, use the GET /events/multivariate endpoint. All events are accessible through this endpoint, even if their associated markets are older than the historical cutoff.
|
|
1039
1044
|
|
|
1040
1045
|
:param limit: Parameter to specify the number of results per page. Defaults to 200. Maximum value is 200.
|
|
1041
1046
|
:type limit: int
|
|
1042
1047
|
:param cursor: Parameter to specify the pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
|
|
1043
1048
|
:type cursor: str
|
|
1044
|
-
:param with_nested_markets: Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event.
|
|
1049
|
+
:param with_nested_markets: Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event. Historical markets settled before the historical cutoff will not be included.
|
|
1045
1050
|
:type with_nested_markets: bool
|
|
1046
1051
|
:param with_milestones: If true, includes related milestones as a field alongside events.
|
|
1047
1052
|
:type with_milestones: bool
|
|
@@ -1051,6 +1056,8 @@ class EventsApi:
|
|
|
1051
1056
|
:type series_ticker: str
|
|
1052
1057
|
:param min_close_ts: Filter events with at least one market with close timestamp greater than this Unix timestamp (in seconds).
|
|
1053
1058
|
:type min_close_ts: int
|
|
1059
|
+
:param min_updated_ts: Filter events with metadata updated after this Unix timestamp (in seconds). Use this to efficiently poll for changes.
|
|
1060
|
+
:type min_updated_ts: int
|
|
1054
1061
|
:param _request_timeout: timeout setting for this request. If one
|
|
1055
1062
|
number provided, it will be total request
|
|
1056
1063
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1081,6 +1088,7 @@ class EventsApi:
|
|
|
1081
1088
|
status=status,
|
|
1082
1089
|
series_ticker=series_ticker,
|
|
1083
1090
|
min_close_ts=min_close_ts,
|
|
1091
|
+
min_updated_ts=min_updated_ts,
|
|
1084
1092
|
_request_auth=_request_auth,
|
|
1085
1093
|
_content_type=_content_type,
|
|
1086
1094
|
_headers=_headers,
|
|
@@ -1109,11 +1117,12 @@ class EventsApi:
|
|
|
1109
1117
|
self,
|
|
1110
1118
|
limit: Annotated[Optional[Annotated[int, Field(le=200, strict=True, ge=1)]], Field(description="Parameter to specify the number of results per page. Defaults to 200. Maximum value is 200.")] = None,
|
|
1111
1119
|
cursor: Annotated[Optional[StrictStr], Field(description="Parameter to specify the pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.")] = None,
|
|
1112
|
-
with_nested_markets: Annotated[Optional[StrictBool], Field(description="Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event.")] = None,
|
|
1120
|
+
with_nested_markets: Annotated[Optional[StrictBool], Field(description="Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event. Historical markets settled before the historical cutoff will not be included.")] = None,
|
|
1113
1121
|
with_milestones: Annotated[Optional[StrictBool], Field(description="If true, includes related milestones as a field alongside events.")] = None,
|
|
1114
1122
|
status: Annotated[Optional[StrictStr], Field(description="Filter by event status. Possible values are 'open', 'closed', 'settled'. Leave empty to return events with any status.")] = None,
|
|
1115
1123
|
series_ticker: Annotated[Optional[StrictStr], Field(description="Filter by series ticker")] = None,
|
|
1116
1124
|
min_close_ts: Annotated[Optional[StrictInt], Field(description="Filter events with at least one market with close timestamp greater than this Unix timestamp (in seconds).")] = None,
|
|
1125
|
+
min_updated_ts: Annotated[Optional[StrictInt], Field(description="Filter events with metadata updated after this Unix timestamp (in seconds). Use this to efficiently poll for changes.")] = None,
|
|
1117
1126
|
_request_timeout: Union[
|
|
1118
1127
|
None,
|
|
1119
1128
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1129,13 +1138,13 @@ class EventsApi:
|
|
|
1129
1138
|
) -> RESTResponseType:
|
|
1130
1139
|
"""Get Events
|
|
1131
1140
|
|
|
1132
|
-
Get all events. This endpoint excludes multivariate events. To retrieve multivariate events, use the GET /events/multivariate endpoint.
|
|
1141
|
+
Get all events. This endpoint excludes multivariate events. To retrieve multivariate events, use the GET /events/multivariate endpoint. All events are accessible through this endpoint, even if their associated markets are older than the historical cutoff.
|
|
1133
1142
|
|
|
1134
1143
|
:param limit: Parameter to specify the number of results per page. Defaults to 200. Maximum value is 200.
|
|
1135
1144
|
:type limit: int
|
|
1136
1145
|
:param cursor: Parameter to specify the pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
|
|
1137
1146
|
:type cursor: str
|
|
1138
|
-
:param with_nested_markets: Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event.
|
|
1147
|
+
:param with_nested_markets: Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event. Historical markets settled before the historical cutoff will not be included.
|
|
1139
1148
|
:type with_nested_markets: bool
|
|
1140
1149
|
:param with_milestones: If true, includes related milestones as a field alongside events.
|
|
1141
1150
|
:type with_milestones: bool
|
|
@@ -1145,6 +1154,8 @@ class EventsApi:
|
|
|
1145
1154
|
:type series_ticker: str
|
|
1146
1155
|
:param min_close_ts: Filter events with at least one market with close timestamp greater than this Unix timestamp (in seconds).
|
|
1147
1156
|
:type min_close_ts: int
|
|
1157
|
+
:param min_updated_ts: Filter events with metadata updated after this Unix timestamp (in seconds). Use this to efficiently poll for changes.
|
|
1158
|
+
:type min_updated_ts: int
|
|
1148
1159
|
:param _request_timeout: timeout setting for this request. If one
|
|
1149
1160
|
number provided, it will be total request
|
|
1150
1161
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1175,6 +1186,7 @@ class EventsApi:
|
|
|
1175
1186
|
status=status,
|
|
1176
1187
|
series_ticker=series_ticker,
|
|
1177
1188
|
min_close_ts=min_close_ts,
|
|
1189
|
+
min_updated_ts=min_updated_ts,
|
|
1178
1190
|
_request_auth=_request_auth,
|
|
1179
1191
|
_content_type=_content_type,
|
|
1180
1192
|
_headers=_headers,
|
|
@@ -1203,6 +1215,7 @@ class EventsApi:
|
|
|
1203
1215
|
status,
|
|
1204
1216
|
series_ticker,
|
|
1205
1217
|
min_close_ts,
|
|
1218
|
+
min_updated_ts,
|
|
1206
1219
|
_request_auth,
|
|
1207
1220
|
_content_type,
|
|
1208
1221
|
_headers,
|
|
@@ -1253,6 +1266,10 @@ class EventsApi:
|
|
|
1253
1266
|
|
|
1254
1267
|
_query_params.append(('min_close_ts', min_close_ts))
|
|
1255
1268
|
|
|
1269
|
+
if min_updated_ts is not None:
|
|
1270
|
+
|
|
1271
|
+
_query_params.append(('min_updated_ts', min_updated_ts))
|
|
1272
|
+
|
|
1256
1273
|
# process the header parameters
|
|
1257
1274
|
# process the form parameters
|
|
1258
1275
|
# process the body parameter
|
{kalshi_python_sync-3.6.0 → kalshi_python_sync-3.8.0}/kalshi_python_sync/api/exchange_api.py
RENAMED
|
@@ -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.8.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.8.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|