kalshi-python-sync 3.5.0__tar.gz → 3.7.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.5.0 → kalshi_python_sync-3.7.0}/PKG-INFO +3 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/README.md +2 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/__init__.py +16 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/__init__.py +2 -0
- kalshi_python_sync-3.7.0/kalshi_python_sync/api/account_api.py +278 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/api_keys_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/communications_api.py +19 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/events_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/exchange_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/fcm_api.py +1 -1
- kalshi_python_sync-3.7.0/kalshi_python_sync/api/historical_api.py +1797 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/incentive_programs_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/live_data_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/market_api.py +21 -4
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/milestone_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/multivariate_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/order_groups_api.py +675 -5
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/orders_api.py +40 -6
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/portfolio_api.py +28 -11
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/search_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api/structured_targets_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api_client.py +5 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/auth.py +14 -40
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/configuration.py +3 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/exceptions.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/__init__.py +9 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/accept_quote_request.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/amend_order_request.py +8 -6
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/amend_order_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/announcement.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/api_key.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/apply_subaccount_transfer_request.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/associated_event.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/batch_cancel_orders_individual_response.py +1 -1
- kalshi_python_sync-3.7.0/kalshi_python_sync/models/batch_cancel_orders_request.py +97 -0
- kalshi_python_sync-3.7.0/kalshi_python_sync/models/batch_cancel_orders_request_order.py +90 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/batch_cancel_orders_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/batch_create_orders_individual_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/batch_create_orders_request.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/batch_create_orders_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/batch_get_market_candlesticks_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/bid_ask_distribution.py +5 -5
- kalshi_python_sync-3.5.0/kalshi_python_sync/models/batch_cancel_orders_request.py → kalshi_python_sync-3.7.0/kalshi_python_sync/models/bid_ask_distribution_historical.py +14 -8
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/cancel_order_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/create_api_key_request.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/create_api_key_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/create_market_in_multivariate_event_collection_request.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/create_market_in_multivariate_event_collection_response.py +1 -1
- kalshi_python_sync-3.7.0/kalshi_python_sync/models/create_order_group_request.py +92 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/create_order_group_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/create_order_request.py +4 -16
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/create_order_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/create_quote_request.py +9 -7
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/create_quote_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/create_rfq_request.py +8 -4
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/create_rfq_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/create_subaccount_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/daily_schedule.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/decrease_order_request.py +4 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/decrease_order_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/error_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/event_data.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/event_position.py +5 -5
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/exchange_instance.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/exchange_status.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/fill.py +11 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/forecast_percentiles_point.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/generate_api_key_request.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/generate_api_key_response.py +1 -1
- kalshi_python_sync-3.7.0/kalshi_python_sync/models/get_account_api_limits_response.py +91 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_api_keys_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_balance_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_communications_id_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_event_candlesticks_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_event_forecast_percentiles_history_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_event_metadata_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_event_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_events_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_exchange_announcements_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_exchange_schedule_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_fills_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_filters_by_sports_response.py +1 -1
- kalshi_python_sync-3.7.0/kalshi_python_sync/models/get_historical_cutoff_response.py +92 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_incentive_programs_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_live_data_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_live_datas_response.py +1 -1
- kalshi_python_sync-3.7.0/kalshi_python_sync/models/get_market_candlesticks_historical_response.py +97 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_market_candlesticks_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_market_orderbook_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_market_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_markets_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_milestone_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_milestones_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_multivariate_event_collection_lookup_history_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_multivariate_event_collection_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_multivariate_event_collections_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_multivariate_events_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_order_group_response.py +8 -4
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_order_groups_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_order_queue_position_response.py +7 -5
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_order_queue_positions_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_order_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_orders_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_portfolio_resting_order_total_value_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_positions_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_quote_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_quotes_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_rfq_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_rfqs_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_series_fee_changes_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_series_list_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_series_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_settlements_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_structured_target_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_structured_targets_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_subaccount_balances_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_subaccount_transfers_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_tags_for_series_categories_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_trades_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/get_user_data_timestamp_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/incentive_program.py +4 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/intra_exchange_instance_transfer_request.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/intra_exchange_instance_transfer_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/live_data.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/lookup_point.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/lookup_tickers_for_market_in_multivariate_event_collection_request.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/lookup_tickers_for_market_in_multivariate_event_collection_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/maintenance_window.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/market.py +20 -16
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/market_candlestick.py +1 -1
- kalshi_python_sync-3.7.0/kalshi_python_sync/models/market_candlestick_historical.py +108 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/market_candlesticks_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/market_metadata.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/market_position.py +5 -5
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/milestone.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/multivariate_event_collection.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/mve_selected_leg.py +2 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/order.py +16 -9
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/order_group.py +8 -4
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/order_queue_position.py +6 -4
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/order_status.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/orderbook.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/orderbook_count_fp.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/percentile_point.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/price_distribution.py +9 -9
- kalshi_python_sync-3.7.0/kalshi_python_sync/models/price_distribution_historical.py +127 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/price_range.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/quote.py +7 -5
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/rfq.py +5 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/schedule.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/scope_list.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/self_trade_prevention_type.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/series.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/series_fee_change.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/settlement.py +2 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/settlement_source.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/sport_filter_details.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/structured_target.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/subaccount_balance.py +3 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/subaccount_transfer.py +4 -4
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/ticker_pair.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/trade.py +3 -3
- kalshi_python_sync-3.5.0/kalshi_python_sync/models/create_order_group_request.py → kalshi_python_sync-3.7.0/kalshi_python_sync/models/update_order_group_limit_request.py +6 -6
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/models/weekly_schedule.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/rest.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync.egg-info/PKG-INFO +3 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync.egg-info/SOURCES.txt +20 -10
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/pyproject.toml +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/setup.py +2 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_accept_quote_request.py +3 -3
- kalshi_python_sync-3.7.0/test/test_account_api.py +38 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_amend_order_request.py +4 -4
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_amend_order_response.py +21 -5
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_announcement.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_api_key.py +8 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_api_keys_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_apply_subaccount_transfer_request.py +3 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_associated_event.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_batch_cancel_orders_individual_response.py +8 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_batch_cancel_orders_request.py +6 -4
- kalshi_python_sync-3.7.0/test/test_batch_cancel_orders_request_order.py +53 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_batch_cancel_orders_response.py +3 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_batch_create_orders_individual_response.py +6 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_batch_create_orders_request.py +7 -5
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_batch_create_orders_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_batch_get_market_candlesticks_response.py +7 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_bid_ask_distribution.py +1 -1
- kalshi_python_sync-3.7.0/test/test_bid_ask_distribution_historical.py +58 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_cancel_order_response.py +14 -4
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_communications_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_create_api_key_request.py +5 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_create_api_key_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_create_market_in_multivariate_event_collection_request.py +5 -4
- kalshi_python_sync-3.7.0/test/test_create_market_in_multivariate_event_collection_response.py +132 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_create_order_group_request.py +4 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_create_order_group_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_create_order_request.py +4 -4
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_create_order_response.py +11 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_create_quote_request.py +7 -6
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_create_quote_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_create_rfq_request.py +5 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_create_rfq_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_create_subaccount_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_daily_schedule.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_decrease_order_request.py +5 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_decrease_order_response.py +11 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_error_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_event_data.py +11 -5
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_event_position.py +3 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_events_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_exchange_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_exchange_instance.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_exchange_status.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_fcm_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_fill.py +6 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_forecast_percentiles_point.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_generate_api_key_request.py +5 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_generate_api_key_response.py +1 -1
- kalshi_python_sync-3.7.0/test/test_get_account_api_limits_response.py +56 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_api_keys_response.py +9 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_balance_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_communications_id_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_event_candlesticks_response.py +7 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_event_forecast_percentiles_history_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_event_metadata_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_event_response.py +41 -17
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_events_response.py +21 -9
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_exchange_announcements_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_exchange_schedule_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_fills_response.py +7 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_filters_by_sports_response.py +1 -1
- kalshi_python_sync-3.7.0/test/test_get_historical_cutoff_response.py +56 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_incentive_programs_response.py +7 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_live_data_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_live_datas_response.py +1 -1
- kalshi_python_sync-3.7.0/test/test_get_market_candlesticks_historical_response.py +98 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_market_candlesticks_response.py +7 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_market_orderbook_response.py +15 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_market_response.py +21 -9
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_markets_response.py +21 -9
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_milestone_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_milestones_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_multivariate_event_collection_lookup_history_response.py +3 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_multivariate_event_collection_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_multivariate_event_collections_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_multivariate_events_response.py +21 -9
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_order_group_response.py +3 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_order_groups_response.py +3 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_order_queue_position_response.py +3 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_order_queue_positions_response.py +5 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_order_response.py +11 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_orders_response.py +11 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_portfolio_resting_order_total_value_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_positions_response.py +33 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_quote_response.py +7 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_quotes_response.py +7 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_rfq_response.py +9 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_rfqs_response.py +9 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_series_fee_changes_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_series_list_response.py +7 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_series_response.py +7 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_settlements_response.py +9 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_structured_target_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_structured_targets_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_subaccount_balances_response.py +3 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_subaccount_transfers_response.py +3 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_tags_for_series_categories_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_trades_response.py +3 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_get_user_data_timestamp_response.py +1 -1
- kalshi_python_sync-3.7.0/test/test_historical_api.py +73 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_incentive_program.py +5 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_incentive_programs_api.py +2 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_intra_exchange_instance_transfer_request.py +5 -5
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_intra_exchange_instance_transfer_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_live_data.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_live_data_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_lookup_point.py +3 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_lookup_tickers_for_market_in_multivariate_event_collection_request.py +3 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_lookup_tickers_for_market_in_multivariate_event_collection_response.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_maintenance_window.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_market.py +16 -7
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_market_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_market_candlestick.py +6 -2
- kalshi_python_sync-3.7.0/test/test_market_candlestick_historical.py +90 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_market_candlesticks_response.py +7 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_market_metadata.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_market_position.py +3 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_milestone.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_milestone_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_multivariate_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_multivariate_event_collection.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_mve_selected_leg.py +3 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_order.py +9 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_order_group.py +3 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_order_groups_api.py +15 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_order_queue_position.py +3 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_order_status.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_orderbook.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_orderbook_count_fp.py +5 -15
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_orders_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_percentile_point.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_portfolio_api.py +29 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_price_distribution.py +1 -1
- kalshi_python_sync-3.7.0/test/test_price_distribution_historical.py +62 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_price_range.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_quote.py +5 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_rfq.py +6 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_schedule.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_scope_list.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_search_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_self_trade_prevention_type.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_series.py +4 -2
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_series_fee_change.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_settlement.py +9 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_settlement_source.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_sport_filter_details.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_structured_target.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_structured_targets_api.py +1 -1
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_subaccount_balance.py +4 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_subaccount_transfer.py +3 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_ticker_pair.py +3 -3
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_trade.py +3 -1
- kalshi_python_sync-3.7.0/test/test_update_order_group_limit_request.py +52 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/test/test_weekly_schedule.py +1 -1
- kalshi_python_sync-3.5.0/kalshi_python_sync/models/get_subaccount_balance_response.py +0 -89
- kalshi_python_sync-3.5.0/kalshi_python_sync/models/orderbook_level_count_fp_inner.py +0 -143
- kalshi_python_sync-3.5.0/kalshi_python_sync/models/price_level_count_fp_inner.py +0 -143
- kalshi_python_sync-3.5.0/kalshi_python_sync/models/price_level_dollars_inner.py +0 -143
- kalshi_python_sync-3.5.0/kalshi_python_sync/models/transfer_between_subaccounts_request.py +0 -91
- kalshi_python_sync-3.5.0/test/test_create_market_in_multivariate_event_collection_response.py +0 -54
- kalshi_python_sync-3.5.0/test/test_get_subaccount_balance_response.py +0 -53
- kalshi_python_sync-3.5.0/test/test_orderbook_level_count_fp_inner.py +0 -50
- kalshi_python_sync-3.5.0/test/test_price_level_count_fp_inner.py +0 -50
- kalshi_python_sync-3.5.0/test/test_price_level_dollars_inner.py +0 -50
- kalshi_python_sync-3.5.0/test/test_transfer_between_subaccounts_request.py +0 -56
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/api_response.py +0 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync/py.typed +0 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync.egg-info/dependency_links.txt +0 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync.egg-info/requires.txt +0 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.0}/kalshi_python_sync.egg-info/top_level.txt +0 -0
- {kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.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.7.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.7.0
|
|
32
|
+
- Package version: 3.7.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.7.0
|
|
7
|
+
- Package version: 3.7.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,20 +7,22 @@
|
|
|
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.7.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.7.0"
|
|
17
17
|
|
|
18
18
|
# import apis into sdk package
|
|
19
|
+
from kalshi_python_sync.api.account_api import AccountApi
|
|
19
20
|
from kalshi_python_sync.api.api_keys_api import ApiKeysApi
|
|
20
21
|
from kalshi_python_sync.api.communications_api import CommunicationsApi
|
|
21
22
|
from kalshi_python_sync.api.events_api import EventsApi
|
|
22
23
|
from kalshi_python_sync.api.exchange_api import ExchangeApi
|
|
23
24
|
from kalshi_python_sync.api.fcm_api import FcmApi
|
|
25
|
+
from kalshi_python_sync.api.historical_api import HistoricalApi
|
|
24
26
|
from kalshi_python_sync.api.incentive_programs_api import IncentiveProgramsApi
|
|
25
27
|
from kalshi_python_sync.api.live_data_api import LiveDataApi
|
|
26
28
|
from kalshi_python_sync.api.market_api import MarketApi
|
|
@@ -68,12 +70,14 @@ from kalshi_python_sync.models.apply_subaccount_transfer_request import ApplySub
|
|
|
68
70
|
from kalshi_python_sync.models.associated_event import AssociatedEvent
|
|
69
71
|
from kalshi_python_sync.models.batch_cancel_orders_individual_response import BatchCancelOrdersIndividualResponse
|
|
70
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
|
|
71
74
|
from kalshi_python_sync.models.batch_cancel_orders_response import BatchCancelOrdersResponse
|
|
72
75
|
from kalshi_python_sync.models.batch_create_orders_individual_response import BatchCreateOrdersIndividualResponse
|
|
73
76
|
from kalshi_python_sync.models.batch_create_orders_request import BatchCreateOrdersRequest
|
|
74
77
|
from kalshi_python_sync.models.batch_create_orders_response import BatchCreateOrdersResponse
|
|
75
78
|
from kalshi_python_sync.models.batch_get_market_candlesticks_response import BatchGetMarketCandlesticksResponse
|
|
76
79
|
from kalshi_python_sync.models.bid_ask_distribution import BidAskDistribution
|
|
80
|
+
from kalshi_python_sync.models.bid_ask_distribution_historical import BidAskDistributionHistorical
|
|
77
81
|
from kalshi_python_sync.models.cancel_order_response import CancelOrderResponse
|
|
78
82
|
from kalshi_python_sync.models.create_api_key_request import CreateApiKeyRequest
|
|
79
83
|
from kalshi_python_sync.models.create_api_key_response import CreateApiKeyResponse
|
|
@@ -100,6 +104,7 @@ from kalshi_python_sync.models.fill import Fill
|
|
|
100
104
|
from kalshi_python_sync.models.forecast_percentiles_point import ForecastPercentilesPoint
|
|
101
105
|
from kalshi_python_sync.models.generate_api_key_request import GenerateApiKeyRequest
|
|
102
106
|
from kalshi_python_sync.models.generate_api_key_response import GenerateApiKeyResponse
|
|
107
|
+
from kalshi_python_sync.models.get_account_api_limits_response import GetAccountApiLimitsResponse
|
|
103
108
|
from kalshi_python_sync.models.get_api_keys_response import GetApiKeysResponse
|
|
104
109
|
from kalshi_python_sync.models.get_balance_response import GetBalanceResponse
|
|
105
110
|
from kalshi_python_sync.models.get_communications_id_response import GetCommunicationsIDResponse
|
|
@@ -112,9 +117,11 @@ from kalshi_python_sync.models.get_exchange_announcements_response import GetExc
|
|
|
112
117
|
from kalshi_python_sync.models.get_exchange_schedule_response import GetExchangeScheduleResponse
|
|
113
118
|
from kalshi_python_sync.models.get_fills_response import GetFillsResponse
|
|
114
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
|
|
115
121
|
from kalshi_python_sync.models.get_incentive_programs_response import GetIncentiveProgramsResponse
|
|
116
122
|
from kalshi_python_sync.models.get_live_data_response import GetLiveDataResponse
|
|
117
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
|
|
118
125
|
from kalshi_python_sync.models.get_market_candlesticks_response import GetMarketCandlesticksResponse
|
|
119
126
|
from kalshi_python_sync.models.get_market_orderbook_response import GetMarketOrderbookResponse
|
|
120
127
|
from kalshi_python_sync.models.get_market_response import GetMarketResponse
|
|
@@ -158,6 +165,7 @@ from kalshi_python_sync.models.lookup_tickers_for_market_in_multivariate_event_c
|
|
|
158
165
|
from kalshi_python_sync.models.maintenance_window import MaintenanceWindow
|
|
159
166
|
from kalshi_python_sync.models.market import Market
|
|
160
167
|
from kalshi_python_sync.models.market_candlestick import MarketCandlestick
|
|
168
|
+
from kalshi_python_sync.models.market_candlestick_historical import MarketCandlestickHistorical
|
|
161
169
|
from kalshi_python_sync.models.market_candlesticks_response import MarketCandlesticksResponse
|
|
162
170
|
from kalshi_python_sync.models.market_metadata import MarketMetadata
|
|
163
171
|
from kalshi_python_sync.models.market_position import MarketPosition
|
|
@@ -172,6 +180,7 @@ from kalshi_python_sync.models.orderbook import Orderbook
|
|
|
172
180
|
from kalshi_python_sync.models.orderbook_count_fp import OrderbookCountFp
|
|
173
181
|
from kalshi_python_sync.models.percentile_point import PercentilePoint
|
|
174
182
|
from kalshi_python_sync.models.price_distribution import PriceDistribution
|
|
183
|
+
from kalshi_python_sync.models.price_distribution_historical import PriceDistributionHistorical
|
|
175
184
|
from kalshi_python_sync.models.price_range import PriceRange
|
|
176
185
|
from kalshi_python_sync.models.quote import Quote
|
|
177
186
|
from kalshi_python_sync.models.rfq import RFQ
|
|
@@ -188,6 +197,7 @@ from kalshi_python_sync.models.subaccount_balance import SubaccountBalance
|
|
|
188
197
|
from kalshi_python_sync.models.subaccount_transfer import SubaccountTransfer
|
|
189
198
|
from kalshi_python_sync.models.ticker_pair import TickerPair
|
|
190
199
|
from kalshi_python_sync.models.trade import Trade
|
|
200
|
+
from kalshi_python_sync.models.update_order_group_limit_request import UpdateOrderGroupLimitRequest
|
|
191
201
|
from kalshi_python_sync.models.weekly_schedule import WeeklySchedule
|
|
192
202
|
|
|
193
203
|
|
|
@@ -207,11 +217,13 @@ class KalshiClient(ApiClient):
|
|
|
207
217
|
)
|
|
208
218
|
|
|
209
219
|
# Initialize all API instances
|
|
220
|
+
self._account_api = AccountApi(self)
|
|
210
221
|
self._api_keys_api = ApiKeysApi(self)
|
|
211
222
|
self._communications_api = CommunicationsApi(self)
|
|
212
223
|
self._events_api = EventsApi(self)
|
|
213
224
|
self._exchange_api = ExchangeApi(self)
|
|
214
225
|
self._fcm_api = FcmApi(self)
|
|
226
|
+
self._historical_api = HistoricalApi(self)
|
|
215
227
|
self._incentive_programs_api = IncentiveProgramsApi(self)
|
|
216
228
|
self._live_data_api = LiveDataApi(self)
|
|
217
229
|
self._market_api = MarketApi(self)
|
|
@@ -256,11 +268,13 @@ class KalshiClient(ApiClient):
|
|
|
256
268
|
"""Dynamically forward method calls to the appropriate API instance"""
|
|
257
269
|
# Try each API instance to see if it has the method
|
|
258
270
|
api_names = [
|
|
271
|
+
'_account_api',
|
|
259
272
|
'_api_keys_api',
|
|
260
273
|
'_communications_api',
|
|
261
274
|
'_events_api',
|
|
262
275
|
'_exchange_api',
|
|
263
276
|
'_fcm_api',
|
|
277
|
+
'_historical_api',
|
|
264
278
|
'_incentive_programs_api',
|
|
265
279
|
'_live_data_api',
|
|
266
280
|
'_market_api',
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
# flake8: noqa
|
|
2
2
|
|
|
3
3
|
# import apis into api package
|
|
4
|
+
from kalshi_python_sync.api.account_api import AccountApi
|
|
4
5
|
from kalshi_python_sync.api.api_keys_api import ApiKeysApi
|
|
5
6
|
from kalshi_python_sync.api.communications_api import CommunicationsApi
|
|
6
7
|
from kalshi_python_sync.api.events_api import EventsApi
|
|
7
8
|
from kalshi_python_sync.api.exchange_api import ExchangeApi
|
|
8
9
|
from kalshi_python_sync.api.fcm_api import FcmApi
|
|
10
|
+
from kalshi_python_sync.api.historical_api import HistoricalApi
|
|
9
11
|
from kalshi_python_sync.api.incentive_programs_api import IncentiveProgramsApi
|
|
10
12
|
from kalshi_python_sync.api.live_data_api import LiveDataApi
|
|
11
13
|
from kalshi_python_sync.api.market_api import MarketApi
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Kalshi Trade API Manual Endpoints
|
|
5
|
+
|
|
6
|
+
Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 3.7.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
import warnings
|
|
14
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt, StrictBool
|
|
15
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
16
|
+
from typing_extensions import Annotated
|
|
17
|
+
|
|
18
|
+
from kalshi_python_sync.models.get_account_api_limits_response import GetAccountApiLimitsResponse
|
|
19
|
+
|
|
20
|
+
from kalshi_python_sync.api_client import ApiClient, RequestSerialized
|
|
21
|
+
from kalshi_python_sync.api_response import ApiResponse
|
|
22
|
+
from kalshi_python_sync.rest import RESTResponseType
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class AccountApi:
|
|
26
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
27
|
+
Ref: https://openapi-generator.tech
|
|
28
|
+
|
|
29
|
+
Do not edit the class manually.
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
def __init__(self, api_client=None) -> None:
|
|
33
|
+
if api_client is None:
|
|
34
|
+
api_client = ApiClient.get_default()
|
|
35
|
+
self.api_client = api_client
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
@validate_call
|
|
39
|
+
def get_account_api_limits(
|
|
40
|
+
self,
|
|
41
|
+
) -> GetAccountApiLimitsResponse:
|
|
42
|
+
"""Get Account API Limits
|
|
43
|
+
|
|
44
|
+
Endpoint to retrieve the API tier limits associated with the authenticated user.
|
|
45
|
+
|
|
46
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
47
|
+
number provided, it will be total request
|
|
48
|
+
timeout. It can also be a pair (tuple) of
|
|
49
|
+
(connection, read) timeouts.
|
|
50
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
51
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
52
|
+
request; this effectively ignores the
|
|
53
|
+
authentication in the spec for a single request.
|
|
54
|
+
:type _request_auth: dict, optional
|
|
55
|
+
:param _content_type: force content-type for the request.
|
|
56
|
+
:type _content_type: str, Optional
|
|
57
|
+
:param _headers: set to override the headers for a single
|
|
58
|
+
request; this effectively ignores the headers
|
|
59
|
+
in the spec for a single request.
|
|
60
|
+
:type _headers: dict, optional
|
|
61
|
+
:param _host_index: set to override the host_index for a single
|
|
62
|
+
request; this effectively ignores the host_index
|
|
63
|
+
in the spec for a single request.
|
|
64
|
+
:type _host_index: int, optional
|
|
65
|
+
:return: Returns the result object.
|
|
66
|
+
""" # noqa: E501
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
_param = self._get_account_api_limits_serialize(
|
|
70
|
+
_request_auth=None,
|
|
71
|
+
_content_type=None,
|
|
72
|
+
_headers=None,
|
|
73
|
+
_host_index=0
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
77
|
+
'200': "GetAccountApiLimitsResponse",
|
|
78
|
+
'401': None,
|
|
79
|
+
'500': None,
|
|
80
|
+
}
|
|
81
|
+
response_data = self.api_client.call_api(
|
|
82
|
+
*_param,
|
|
83
|
+
_request_timeout=None,
|
|
84
|
+
)
|
|
85
|
+
response_data.read()
|
|
86
|
+
return self.api_client.response_deserialize(
|
|
87
|
+
response_data=response_data,
|
|
88
|
+
response_types_map=_response_types_map,
|
|
89
|
+
).data
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
@validate_call
|
|
93
|
+
def get_account_api_limits_with_http_info(
|
|
94
|
+
self,
|
|
95
|
+
_request_timeout: Union[
|
|
96
|
+
None,
|
|
97
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
98
|
+
Tuple[
|
|
99
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
100
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
101
|
+
]
|
|
102
|
+
] = None,
|
|
103
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
104
|
+
_content_type: Optional[StrictStr] = None,
|
|
105
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
106
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
107
|
+
) -> ApiResponse[GetAccountApiLimitsResponse]:
|
|
108
|
+
"""Get Account API Limits
|
|
109
|
+
|
|
110
|
+
Endpoint to retrieve the API tier limits associated with the authenticated user.
|
|
111
|
+
|
|
112
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
113
|
+
number provided, it will be total request
|
|
114
|
+
timeout. It can also be a pair (tuple) of
|
|
115
|
+
(connection, read) timeouts.
|
|
116
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
117
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
118
|
+
request; this effectively ignores the
|
|
119
|
+
authentication in the spec for a single request.
|
|
120
|
+
:type _request_auth: dict, optional
|
|
121
|
+
:param _content_type: force content-type for the request.
|
|
122
|
+
:type _content_type: str, Optional
|
|
123
|
+
:param _headers: set to override the headers for a single
|
|
124
|
+
request; this effectively ignores the headers
|
|
125
|
+
in the spec for a single request.
|
|
126
|
+
:type _headers: dict, optional
|
|
127
|
+
:param _host_index: set to override the host_index for a single
|
|
128
|
+
request; this effectively ignores the host_index
|
|
129
|
+
in the spec for a single request.
|
|
130
|
+
:type _host_index: int, optional
|
|
131
|
+
:return: Returns the result object.
|
|
132
|
+
""" # noqa: E501
|
|
133
|
+
|
|
134
|
+
_param = self._get_account_api_limits_serialize(
|
|
135
|
+
_request_auth=_request_auth,
|
|
136
|
+
_content_type=_content_type,
|
|
137
|
+
_headers=_headers,
|
|
138
|
+
_host_index=_host_index
|
|
139
|
+
)
|
|
140
|
+
|
|
141
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
142
|
+
'200': "GetAccountApiLimitsResponse",
|
|
143
|
+
'401': None,
|
|
144
|
+
'500': None,
|
|
145
|
+
}
|
|
146
|
+
response_data = self.api_client.call_api(
|
|
147
|
+
*_param,
|
|
148
|
+
_request_timeout=_request_timeout
|
|
149
|
+
)
|
|
150
|
+
response_data.read()
|
|
151
|
+
return self.api_client.response_deserialize(
|
|
152
|
+
response_data=response_data,
|
|
153
|
+
response_types_map=_response_types_map,
|
|
154
|
+
)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
@validate_call
|
|
158
|
+
def get_account_api_limits_without_preload_content(
|
|
159
|
+
self,
|
|
160
|
+
_request_timeout: Union[
|
|
161
|
+
None,
|
|
162
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
163
|
+
Tuple[
|
|
164
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
165
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
166
|
+
]
|
|
167
|
+
] = None,
|
|
168
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
169
|
+
_content_type: Optional[StrictStr] = None,
|
|
170
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
171
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
172
|
+
) -> RESTResponseType:
|
|
173
|
+
"""Get Account API Limits
|
|
174
|
+
|
|
175
|
+
Endpoint to retrieve the API tier limits associated with the authenticated user.
|
|
176
|
+
|
|
177
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
178
|
+
number provided, it will be total request
|
|
179
|
+
timeout. It can also be a pair (tuple) of
|
|
180
|
+
(connection, read) timeouts.
|
|
181
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
182
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
183
|
+
request; this effectively ignores the
|
|
184
|
+
authentication in the spec for a single request.
|
|
185
|
+
:type _request_auth: dict, optional
|
|
186
|
+
:param _content_type: force content-type for the request.
|
|
187
|
+
:type _content_type: str, Optional
|
|
188
|
+
:param _headers: set to override the headers for a single
|
|
189
|
+
request; this effectively ignores the headers
|
|
190
|
+
in the spec for a single request.
|
|
191
|
+
:type _headers: dict, optional
|
|
192
|
+
:param _host_index: set to override the host_index for a single
|
|
193
|
+
request; this effectively ignores the host_index
|
|
194
|
+
in the spec for a single request.
|
|
195
|
+
:type _host_index: int, optional
|
|
196
|
+
:return: Returns the result object.
|
|
197
|
+
""" # noqa: E501
|
|
198
|
+
|
|
199
|
+
_param = self._get_account_api_limits_serialize(
|
|
200
|
+
_request_auth=_request_auth,
|
|
201
|
+
_content_type=_content_type,
|
|
202
|
+
_headers=_headers,
|
|
203
|
+
_host_index=_host_index
|
|
204
|
+
)
|
|
205
|
+
|
|
206
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
207
|
+
'200': "GetAccountApiLimitsResponse",
|
|
208
|
+
'401': None,
|
|
209
|
+
'500': None,
|
|
210
|
+
}
|
|
211
|
+
response_data = self.api_client.call_api(
|
|
212
|
+
*_param,
|
|
213
|
+
_request_timeout=_request_timeout
|
|
214
|
+
)
|
|
215
|
+
return response_data.response
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
def _get_account_api_limits_serialize(
|
|
219
|
+
self,
|
|
220
|
+
_request_auth,
|
|
221
|
+
_content_type,
|
|
222
|
+
_headers,
|
|
223
|
+
_host_index,
|
|
224
|
+
) -> RequestSerialized:
|
|
225
|
+
|
|
226
|
+
_host = None
|
|
227
|
+
|
|
228
|
+
_collection_formats: Dict[str, str] = {
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
_path_params: Dict[str, str] = {}
|
|
232
|
+
_query_params: List[Tuple[str, str]] = []
|
|
233
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
234
|
+
_form_params: List[Tuple[str, str]] = []
|
|
235
|
+
_files: Dict[
|
|
236
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
237
|
+
] = {}
|
|
238
|
+
_body_params: Optional[bytes] = None
|
|
239
|
+
|
|
240
|
+
# process the path parameters
|
|
241
|
+
# process the query parameters
|
|
242
|
+
# process the header parameters
|
|
243
|
+
# process the form parameters
|
|
244
|
+
# process the body parameter
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
# set the HTTP header `Accept`
|
|
248
|
+
if 'Accept' not in _header_params:
|
|
249
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
250
|
+
[
|
|
251
|
+
'application/json'
|
|
252
|
+
]
|
|
253
|
+
)
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
# authentication setting
|
|
257
|
+
_auth_settings: List[str] = [
|
|
258
|
+
'kalshiAccessSignature',
|
|
259
|
+
'kalshiAccessKey',
|
|
260
|
+
'kalshiAccessTimestamp'
|
|
261
|
+
]
|
|
262
|
+
|
|
263
|
+
return self.api_client.param_serialize(
|
|
264
|
+
method='GET',
|
|
265
|
+
resource_path='/account/limits',
|
|
266
|
+
path_params=_path_params,
|
|
267
|
+
query_params=_query_params,
|
|
268
|
+
header_params=_header_params,
|
|
269
|
+
body=_body_params,
|
|
270
|
+
post_params=_form_params,
|
|
271
|
+
files=_files,
|
|
272
|
+
auth_settings=_auth_settings,
|
|
273
|
+
collection_formats=_collection_formats,
|
|
274
|
+
_host=_host,
|
|
275
|
+
_request_auth=_request_auth
|
|
276
|
+
)
|
|
277
|
+
|
|
278
|
+
|
{kalshi_python_sync-3.5.0 → kalshi_python_sync-3.7.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.7.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.5.0 → kalshi_python_sync-3.7.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.7.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.7.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.5.0 → kalshi_python_sync-3.7.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.7.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.7.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|