kalshi-python-sync 3.34.0__py3-none-any.whl → 3.35.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kalshi_python_sync/__init__.py +12 -2
- kalshi_python_sync/api/account_api.py +1 -1
- kalshi_python_sync/api/api_keys_api.py +1 -1
- kalshi_python_sync/api/communications_api.py +3 -3
- kalshi_python_sync/api/events_api.py +38 -4
- kalshi_python_sync/api/exchange_api.py +1 -1
- kalshi_python_sync/api/fcm_api.py +1 -1
- kalshi_python_sync/api/historical_api.py +10 -10
- kalshi_python_sync/api/incentive_programs_api.py +1 -1
- kalshi_python_sync/api/live_data_api.py +7 -7
- kalshi_python_sync/api/market_api.py +1 -1
- kalshi_python_sync/api/milestone_api.py +7 -7
- kalshi_python_sync/api/multivariate_api.py +1 -1
- kalshi_python_sync/api/order_groups_api.py +25 -25
- kalshi_python_sync/api/orders_api.py +30 -30
- kalshi_python_sync/api/portfolio_api.py +345 -24
- kalshi_python_sync/api/search_api.py +1 -1
- kalshi_python_sync/api/structured_targets_api.py +1 -1
- kalshi_python_sync/api_client.py +2 -2
- kalshi_python_sync/configuration.py +3 -3
- kalshi_python_sync/exceptions.py +1 -1
- kalshi_python_sync/models/__init__.py +11 -1
- kalshi_python_sync/models/accept_block_trade_proposal_request.py +1 -1
- kalshi_python_sync/models/accept_quote_request.py +1 -1
- kalshi_python_sync/models/account_api_usage_level_volume_goal.py +1 -1
- kalshi_python_sync/models/account_api_usage_level_volume_progress.py +1 -1
- kalshi_python_sync/models/amend_order_request.py +1 -1
- kalshi_python_sync/models/amend_order_response.py +1 -1
- kalshi_python_sync/models/amend_order_v2_request.py +1 -1
- kalshi_python_sync/models/amend_order_v2_response.py +1 -1
- kalshi_python_sync/models/api_key.py +1 -1
- kalshi_python_sync/models/api_key_scope.py +1 -1
- kalshi_python_sync/models/api_key_type.py +1 -1
- kalshi_python_sync/models/api_usage_level_grant.py +1 -1
- kalshi_python_sync/models/apply_subaccount_transfer_request.py +1 -1
- kalshi_python_sync/models/associated_event.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_individual_response.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_request.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_request_order.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_response.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_v2_request.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_v2_request_orders_inner.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_v2_response.py +1 -1
- kalshi_python_sync/models/batch_cancel_orders_v2_response_orders_inner.py +1 -1
- kalshi_python_sync/models/batch_create_orders_individual_response.py +1 -1
- kalshi_python_sync/models/batch_create_orders_request.py +1 -1
- kalshi_python_sync/models/batch_create_orders_response.py +1 -1
- kalshi_python_sync/models/batch_create_orders_v2_request.py +1 -1
- kalshi_python_sync/models/batch_create_orders_v2_response.py +1 -1
- kalshi_python_sync/models/batch_create_orders_v2_response_orders_inner.py +1 -1
- kalshi_python_sync/models/batch_get_market_candlesticks_response.py +1 -1
- kalshi_python_sync/models/bid_ask_distribution.py +1 -1
- kalshi_python_sync/models/bid_ask_distribution_historical.py +1 -1
- kalshi_python_sync/models/block_trade_proposal.py +1 -1
- kalshi_python_sync/models/book_side.py +1 -1
- kalshi_python_sync/models/bucket_limit.py +1 -1
- kalshi_python_sync/models/cancel_order_v2_response.py +1 -1
- kalshi_python_sync/models/create_api_key_request.py +1 -1
- kalshi_python_sync/models/create_api_key_response.py +1 -1
- kalshi_python_sync/models/create_fcm_position_transfer_request.py +1 -1
- kalshi_python_sync/models/create_fcm_position_transfer_response.py +1 -1
- kalshi_python_sync/models/create_fcm_subtrader_request.py +1 -1
- kalshi_python_sync/models/create_fcm_subtrader_response.py +1 -1
- kalshi_python_sync/models/create_market_in_multivariate_event_collection_request.py +1 -1
- kalshi_python_sync/models/create_market_in_multivariate_event_collection_response.py +1 -1
- kalshi_python_sync/models/create_order_group_request.py +1 -1
- kalshi_python_sync/models/create_order_group_response.py +1 -1
- kalshi_python_sync/models/create_order_request.py +1 -1
- kalshi_python_sync/models/create_order_response.py +1 -1
- kalshi_python_sync/models/create_order_v2_request.py +1 -1
- kalshi_python_sync/models/create_order_v2_response.py +1 -1
- kalshi_python_sync/models/create_quote_request.py +1 -1
- kalshi_python_sync/models/create_quote_response.py +1 -1
- kalshi_python_sync/models/create_rfq_request.py +1 -1
- kalshi_python_sync/models/create_rfq_response.py +1 -1
- kalshi_python_sync/models/create_subaccount_request.py +1 -1
- kalshi_python_sync/models/create_subaccount_response.py +1 -1
- kalshi_python_sync/models/credit_history.py +105 -0
- kalshi_python_sync/models/daily_schedule.py +1 -1
- kalshi_python_sync/models/decrease_order_v2_request.py +1 -1
- kalshi_python_sync/models/decrease_order_v2_response.py +1 -1
- kalshi_python_sync/models/deposit.py +1 -1
- kalshi_python_sync/models/endpoint_token_cost.py +1 -1
- kalshi_python_sync/models/error_response.py +1 -1
- kalshi_python_sync/models/event_data.py +1 -1
- kalshi_python_sync/models/event_fee_change.py +1 -1
- kalshi_python_sync/models/event_live_data.py +1 -1
- kalshi_python_sync/models/event_position.py +1 -1
- kalshi_python_sync/models/exchange_index_status.py +1 -1
- kalshi_python_sync/models/exchange_instance.py +1 -1
- kalshi_python_sync/models/exchange_status.py +1 -1
- kalshi_python_sync/models/fcm_fill.py +1 -1
- kalshi_python_sync/models/fcm_subtrader.py +1 -1
- kalshi_python_sync/models/fee_type.py +1 -1
- kalshi_python_sync/models/fill.py +1 -1
- kalshi_python_sync/models/forecast_percentiles_point.py +1 -1
- kalshi_python_sync/models/generate_api_key_request.py +1 -1
- kalshi_python_sync/models/generate_api_key_response.py +1 -1
- kalshi_python_sync/models/get_account_api_limits_response.py +1 -1
- kalshi_python_sync/models/get_account_api_usage_level_volume_progress_response.py +1 -1
- kalshi_python_sync/models/get_account_endpoint_costs_response.py +1 -1
- kalshi_python_sync/models/get_api_keys_response.py +1 -1
- kalshi_python_sync/models/get_balance_response.py +1 -1
- kalshi_python_sync/models/get_block_trade_proposals_response.py +1 -1
- kalshi_python_sync/models/get_communications_id_response.py +1 -1
- kalshi_python_sync/models/get_credit_history_response.py +97 -0
- kalshi_python_sync/models/get_deposits_response.py +1 -1
- kalshi_python_sync/models/get_event_candlesticks_response.py +1 -1
- kalshi_python_sync/models/get_event_fee_changes_response.py +1 -1
- kalshi_python_sync/models/get_event_forecast_percentiles_history_response.py +1 -1
- kalshi_python_sync/models/get_event_live_data_response.py +1 -1
- kalshi_python_sync/models/get_event_metadata_response.py +1 -1
- kalshi_python_sync/models/get_event_response.py +1 -1
- kalshi_python_sync/models/get_events_response.py +1 -1
- kalshi_python_sync/models/get_exchange_schedule_response.py +1 -1
- kalshi_python_sync/models/get_fcm_event_contract_daily_cap_response.py +1 -1
- kalshi_python_sync/models/get_fcm_fills_response.py +1 -1
- kalshi_python_sync/models/get_fcm_subtrader_blocked_categories_response.py +1 -1
- kalshi_python_sync/models/get_fills_response.py +1 -1
- kalshi_python_sync/models/get_filters_by_sports_response.py +1 -1
- kalshi_python_sync/models/get_game_stats_response.py +1 -1
- kalshi_python_sync/models/get_historical_cutoff_response.py +1 -1
- kalshi_python_sync/models/get_incentive_programs_response.py +1 -1
- kalshi_python_sync/models/get_intra_exchange_instance_transfer_response.py +1 -1
- kalshi_python_sync/models/get_intra_exchange_instance_transfers_response.py +1 -1
- kalshi_python_sync/models/get_live_data_response.py +1 -1
- kalshi_python_sync/models/get_live_datas_response.py +1 -1
- kalshi_python_sync/models/get_market_candlesticks_historical_response.py +1 -1
- kalshi_python_sync/models/get_market_candlesticks_response.py +1 -1
- kalshi_python_sync/models/get_market_index_history_response.py +110 -0
- kalshi_python_sync/models/get_market_index_response.py +116 -0
- kalshi_python_sync/models/get_market_indexes_response.py +95 -0
- kalshi_python_sync/models/get_market_orderbook_response.py +1 -1
- kalshi_python_sync/models/get_market_orderbooks_response.py +1 -1
- kalshi_python_sync/models/get_market_response.py +1 -1
- kalshi_python_sync/models/get_markets_response.py +1 -1
- kalshi_python_sync/models/get_milestone_response.py +1 -1
- kalshi_python_sync/models/get_milestones_response.py +1 -1
- kalshi_python_sync/models/get_multivariate_event_collection_response.py +1 -1
- kalshi_python_sync/models/get_multivariate_event_collections_response.py +1 -1
- kalshi_python_sync/models/get_multivariate_events_response.py +1 -1
- kalshi_python_sync/models/get_order_group_response.py +1 -1
- kalshi_python_sync/models/get_order_groups_response.py +1 -1
- kalshi_python_sync/models/get_order_queue_position_response.py +1 -1
- kalshi_python_sync/models/get_order_queue_positions_response.py +1 -1
- kalshi_python_sync/models/get_order_response.py +1 -1
- kalshi_python_sync/models/get_orders_response.py +1 -1
- kalshi_python_sync/models/get_portfolio_resting_order_total_value_response.py +1 -1
- kalshi_python_sync/models/get_positions_response.py +1 -1
- kalshi_python_sync/models/get_quote_response.py +1 -1
- kalshi_python_sync/models/get_quotes_response.py +1 -1
- kalshi_python_sync/models/get_rfq_response.py +1 -1
- kalshi_python_sync/models/get_rfqs_response.py +1 -1
- kalshi_python_sync/models/get_series_fee_changes_response.py +1 -1
- kalshi_python_sync/models/get_series_list_response.py +1 -1
- kalshi_python_sync/models/get_series_response.py +1 -1
- kalshi_python_sync/models/get_settlements_response.py +1 -1
- kalshi_python_sync/models/get_structured_target_response.py +1 -1
- kalshi_python_sync/models/get_structured_targets_response.py +1 -1
- kalshi_python_sync/models/get_subaccount_balances_response.py +1 -1
- kalshi_python_sync/models/get_subaccount_netting_response.py +1 -1
- kalshi_python_sync/models/get_subaccount_transfers_response.py +1 -1
- kalshi_python_sync/models/get_tags_for_series_categories_response.py +1 -1
- kalshi_python_sync/models/get_target_balance_allocation_response.py +1 -1
- kalshi_python_sync/models/get_trades_response.py +1 -1
- kalshi_python_sync/models/get_user_data_timestamp_response.py +1 -1
- kalshi_python_sync/models/get_weather_index_calibrations_response.py +1 -1
- kalshi_python_sync/models/get_weather_index_response.py +1 -1
- kalshi_python_sync/models/get_withdrawals_response.py +1 -1
- kalshi_python_sync/models/incentive_program.py +1 -1
- kalshi_python_sync/models/indexed_balance.py +1 -1
- kalshi_python_sync/models/intra_exchange_instance_transfer.py +5 -3
- kalshi_python_sync/models/intra_exchange_instance_transfer_request.py +2 -2
- kalshi_python_sync/models/intra_exchange_instance_transfer_response.py +1 -1
- kalshi_python_sync/models/intra_exchange_instance_transfer_status.py +1 -1
- kalshi_python_sync/models/list_fcm_subtraders_response.py +1 -1
- kalshi_python_sync/models/live_data.py +1 -1
- kalshi_python_sync/models/maintenance_window.py +1 -1
- kalshi_python_sync/models/market.py +1 -1
- kalshi_python_sync/models/market_candlestick.py +1 -1
- kalshi_python_sync/models/market_candlestick_historical.py +1 -1
- kalshi_python_sync/models/market_candlesticks_response.py +1 -1
- kalshi_python_sync/models/market_index.py +113 -0
- kalshi_python_sync/models/market_index_latest.py +94 -0
- kalshi_python_sync/models/market_index_session.py +95 -0
- kalshi_python_sync/models/market_index_status.py +38 -0
- kalshi_python_sync/models/market_index_timeseries_point.py +89 -0
- kalshi_python_sync/models/market_metadata.py +1 -1
- kalshi_python_sync/models/market_orderbook_fp.py +1 -1
- kalshi_python_sync/models/market_position.py +1 -1
- kalshi_python_sync/models/milestone.py +2 -2
- kalshi_python_sync/models/multivariate_event_collection.py +1 -1
- kalshi_python_sync/models/mve_selected_leg.py +1 -1
- kalshi_python_sync/models/order.py +1 -1
- kalshi_python_sync/models/order_group.py +1 -1
- kalshi_python_sync/models/order_queue_position.py +1 -1
- kalshi_python_sync/models/order_status.py +1 -1
- kalshi_python_sync/models/orderbook_count_fp.py +1 -1
- kalshi_python_sync/models/outcome_side.py +1 -1
- kalshi_python_sync/models/percentile_point.py +1 -1
- kalshi_python_sync/models/play_by_play.py +1 -1
- kalshi_python_sync/models/play_by_play_periods_inner.py +1 -1
- kalshi_python_sync/models/price_distribution.py +1 -1
- kalshi_python_sync/models/price_distribution_historical.py +1 -1
- kalshi_python_sync/models/price_range.py +1 -1
- kalshi_python_sync/models/propose_block_trade_request.py +1 -1
- kalshi_python_sync/models/propose_block_trade_response.py +1 -1
- kalshi_python_sync/models/quote.py +1 -1
- kalshi_python_sync/models/resting_margin_reservation.py +1 -1
- kalshi_python_sync/models/rfq.py +5 -3
- kalshi_python_sync/models/schedule.py +1 -1
- kalshi_python_sync/models/scope_list.py +1 -1
- kalshi_python_sync/models/self_trade_prevention_type.py +1 -1
- kalshi_python_sync/models/series.py +1 -1
- kalshi_python_sync/models/series_fee_change.py +1 -1
- kalshi_python_sync/models/set_target_balance_allocation_request.py +1 -1
- kalshi_python_sync/models/settlement.py +1 -1
- kalshi_python_sync/models/settlement_source.py +1 -1
- kalshi_python_sync/models/sport_filter_details.py +1 -1
- kalshi_python_sync/models/structured_target.py +1 -1
- kalshi_python_sync/models/subaccount_balance.py +1 -1
- kalshi_python_sync/models/subaccount_netting_config.py +1 -1
- kalshi_python_sync/models/subaccount_transfer.py +1 -1
- kalshi_python_sync/models/target_balance_allocation.py +1 -1
- kalshi_python_sync/models/target_balance_allocation_input.py +1 -1
- kalshi_python_sync/models/ticker_pair.py +1 -1
- kalshi_python_sync/models/trade.py +1 -1
- kalshi_python_sync/models/update_fcm_event_contract_daily_cap_request.py +1 -1
- kalshi_python_sync/models/update_fcm_subtrader_blocked_categories_request.py +1 -1
- kalshi_python_sync/models/update_fcm_subtrader_blocked_categories_response.py +1 -1
- kalshi_python_sync/models/update_order_group_limit_request.py +1 -1
- kalshi_python_sync/models/update_subaccount_netting_request.py +1 -1
- kalshi_python_sync/models/user_filter.py +1 -1
- kalshi_python_sync/models/weather_index_calibration.py +1 -1
- kalshi_python_sync/models/weather_index_calibration_station.py +1 -1
- kalshi_python_sync/models/weather_index_point.py +1 -1
- kalshi_python_sync/models/weather_index_station_reading.py +1 -1
- kalshi_python_sync/models/weekly_schedule.py +1 -1
- kalshi_python_sync/models/withdrawal.py +1 -1
- kalshi_python_sync/rest.py +1 -1
- {kalshi_python_sync-3.34.0.dist-info → kalshi_python_sync-3.35.0.dist-info}/METADATA +3 -3
- kalshi_python_sync-3.35.0.dist-info/RECORD +248 -0
- {kalshi_python_sync-3.34.0.dist-info → kalshi_python_sync-3.35.0.dist-info}/WHEEL +1 -1
- kalshi_python_sync-3.34.0.dist-info/RECORD +0 -238
- {kalshi_python_sync-3.34.0.dist-info → kalshi_python_sync-3.35.0.dist-info}/top_level.txt +0 -0
kalshi_python_sync/__init__.py
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
|
|
8
8
|
Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
|
|
9
9
|
|
|
10
|
-
The version of the OpenAPI document: 3.
|
|
10
|
+
The version of the OpenAPI document: 3.35.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.35.0"
|
|
17
17
|
|
|
18
18
|
# import apis into sdk package
|
|
19
19
|
from kalshi_python_sync.api.account_api import AccountApi
|
|
@@ -116,6 +116,7 @@ from kalshi_python_sync.models.create_rfq_request import CreateRFQRequest
|
|
|
116
116
|
from kalshi_python_sync.models.create_rfq_response import CreateRFQResponse
|
|
117
117
|
from kalshi_python_sync.models.create_subaccount_request import CreateSubaccountRequest
|
|
118
118
|
from kalshi_python_sync.models.create_subaccount_response import CreateSubaccountResponse
|
|
119
|
+
from kalshi_python_sync.models.credit_history import CreditHistory
|
|
119
120
|
from kalshi_python_sync.models.daily_schedule import DailySchedule
|
|
120
121
|
from kalshi_python_sync.models.decrease_order_v2_request import DecreaseOrderV2Request
|
|
121
122
|
from kalshi_python_sync.models.decrease_order_v2_response import DecreaseOrderV2Response
|
|
@@ -143,6 +144,7 @@ from kalshi_python_sync.models.get_api_keys_response import GetApiKeysResponse
|
|
|
143
144
|
from kalshi_python_sync.models.get_balance_response import GetBalanceResponse
|
|
144
145
|
from kalshi_python_sync.models.get_block_trade_proposals_response import GetBlockTradeProposalsResponse
|
|
145
146
|
from kalshi_python_sync.models.get_communications_id_response import GetCommunicationsIDResponse
|
|
147
|
+
from kalshi_python_sync.models.get_credit_history_response import GetCreditHistoryResponse
|
|
146
148
|
from kalshi_python_sync.models.get_deposits_response import GetDepositsResponse
|
|
147
149
|
from kalshi_python_sync.models.get_event_candlesticks_response import GetEventCandlesticksResponse
|
|
148
150
|
from kalshi_python_sync.models.get_event_fee_changes_response import GetEventFeeChangesResponse
|
|
@@ -166,6 +168,9 @@ from kalshi_python_sync.models.get_live_data_response import GetLiveDataResponse
|
|
|
166
168
|
from kalshi_python_sync.models.get_live_datas_response import GetLiveDatasResponse
|
|
167
169
|
from kalshi_python_sync.models.get_market_candlesticks_historical_response import GetMarketCandlesticksHistoricalResponse
|
|
168
170
|
from kalshi_python_sync.models.get_market_candlesticks_response import GetMarketCandlesticksResponse
|
|
171
|
+
from kalshi_python_sync.models.get_market_index_history_response import GetMarketIndexHistoryResponse
|
|
172
|
+
from kalshi_python_sync.models.get_market_index_response import GetMarketIndexResponse
|
|
173
|
+
from kalshi_python_sync.models.get_market_indexes_response import GetMarketIndexesResponse
|
|
169
174
|
from kalshi_python_sync.models.get_market_orderbook_response import GetMarketOrderbookResponse
|
|
170
175
|
from kalshi_python_sync.models.get_market_orderbooks_response import GetMarketOrderbooksResponse
|
|
171
176
|
from kalshi_python_sync.models.get_market_response import GetMarketResponse
|
|
@@ -216,6 +221,11 @@ from kalshi_python_sync.models.market import Market
|
|
|
216
221
|
from kalshi_python_sync.models.market_candlestick import MarketCandlestick
|
|
217
222
|
from kalshi_python_sync.models.market_candlestick_historical import MarketCandlestickHistorical
|
|
218
223
|
from kalshi_python_sync.models.market_candlesticks_response import MarketCandlesticksResponse
|
|
224
|
+
from kalshi_python_sync.models.market_index import MarketIndex
|
|
225
|
+
from kalshi_python_sync.models.market_index_latest import MarketIndexLatest
|
|
226
|
+
from kalshi_python_sync.models.market_index_session import MarketIndexSession
|
|
227
|
+
from kalshi_python_sync.models.market_index_status import MarketIndexStatus
|
|
228
|
+
from kalshi_python_sync.models.market_index_timeseries_point import MarketIndexTimeseriesPoint
|
|
219
229
|
from kalshi_python_sync.models.market_metadata import MarketMetadata
|
|
220
230
|
from kalshi_python_sync.models.market_orderbook_fp import MarketOrderbookFp
|
|
221
231
|
from kalshi_python_sync.models.market_position import MarketPosition
|
|
@@ -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.35.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.35.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.35.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -4805,7 +4805,7 @@ class CommunicationsApi:
|
|
|
4805
4805
|
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,
|
|
4806
4806
|
event_ticker: Annotated[Optional[StrictStr], Field(description="Event ticker to filter by. Only a single event ticker is supported.")] = None,
|
|
4807
4807
|
market_ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
|
|
4808
|
-
subaccount: Annotated[Optional[
|
|
4808
|
+
subaccount: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Subaccount number (0 for primary, 1-63 for subaccounts). If omitted, defaults to all subaccounts.")] = None,
|
|
4809
4809
|
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,
|
|
4810
4810
|
status: Annotated[Optional[StrictStr], Field(description="Filter RFQs by status")] = None,
|
|
4811
4811
|
creator_user_id: Annotated[Optional[StrictStr], Field(description="Filter RFQs by creator user UUID. Use user_filter=self for the authenticated user.")] = None,
|
|
@@ -4903,7 +4903,7 @@ class CommunicationsApi:
|
|
|
4903
4903
|
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,
|
|
4904
4904
|
event_ticker: Annotated[Optional[StrictStr], Field(description="Event ticker to filter by. Only a single event ticker is supported.")] = None,
|
|
4905
4905
|
market_ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
|
|
4906
|
-
subaccount: Annotated[Optional[
|
|
4906
|
+
subaccount: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Subaccount number (0 for primary, 1-63 for subaccounts). If omitted, defaults to all subaccounts.")] = None,
|
|
4907
4907
|
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,
|
|
4908
4908
|
status: Annotated[Optional[StrictStr], Field(description="Filter RFQs by status")] = None,
|
|
4909
4909
|
creator_user_id: Annotated[Optional[StrictStr], Field(description="Filter RFQs by creator user UUID. Use user_filter=self for the authenticated user.")] = None,
|
|
@@ -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.35.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -48,6 +48,7 @@ class EventsApi:
|
|
|
48
48
|
def get_event(
|
|
49
49
|
self,
|
|
50
50
|
event_ticker: StrictStr,
|
|
51
|
+
exclude_markets: Any = None,
|
|
51
52
|
with_nested_markets: Any = None,
|
|
52
53
|
) -> GetEventResponse:
|
|
53
54
|
"""Get Event
|
|
@@ -56,6 +57,8 @@ class EventsApi:
|
|
|
56
57
|
|
|
57
58
|
:param event_ticker: Event ticker (required)
|
|
58
59
|
:type event_ticker: str
|
|
60
|
+
:param exclude_markets: Return event metadata without loading child markets. Use GET /markets with event_ticker, limit and cursor for bounded market pages. Cannot be combined with with_nested_markets=true.
|
|
61
|
+
:type exclude_markets: bool
|
|
59
62
|
: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.
|
|
60
63
|
:type with_nested_markets: bool
|
|
61
64
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -83,6 +86,7 @@ class EventsApi:
|
|
|
83
86
|
|
|
84
87
|
_param = self._get_event_serialize(
|
|
85
88
|
event_ticker=event_ticker,
|
|
89
|
+
exclude_markets=exclude_markets,
|
|
86
90
|
with_nested_markets=with_nested_markets,
|
|
87
91
|
_request_auth=None,
|
|
88
92
|
_content_type=None,
|
|
@@ -112,6 +116,7 @@ class EventsApi:
|
|
|
112
116
|
def get_event_with_http_info(
|
|
113
117
|
self,
|
|
114
118
|
event_ticker: Annotated[StrictStr, Field(description="Event ticker")],
|
|
119
|
+
exclude_markets: Annotated[Optional[StrictBool], Field(description="Return event metadata without loading child markets. Use GET /markets with event_ticker, limit and cursor for bounded market pages. Cannot be combined with with_nested_markets=true.")] = None,
|
|
115
120
|
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,
|
|
116
121
|
_request_timeout: Union[
|
|
117
122
|
None,
|
|
@@ -132,6 +137,8 @@ class EventsApi:
|
|
|
132
137
|
|
|
133
138
|
:param event_ticker: Event ticker (required)
|
|
134
139
|
:type event_ticker: str
|
|
140
|
+
:param exclude_markets: Return event metadata without loading child markets. Use GET /markets with event_ticker, limit and cursor for bounded market pages. Cannot be combined with with_nested_markets=true.
|
|
141
|
+
:type exclude_markets: bool
|
|
135
142
|
: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.
|
|
136
143
|
:type with_nested_markets: bool
|
|
137
144
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -158,6 +165,7 @@ class EventsApi:
|
|
|
158
165
|
|
|
159
166
|
_param = self._get_event_serialize(
|
|
160
167
|
event_ticker=event_ticker,
|
|
168
|
+
exclude_markets=exclude_markets,
|
|
161
169
|
with_nested_markets=with_nested_markets,
|
|
162
170
|
_request_auth=_request_auth,
|
|
163
171
|
_content_type=_content_type,
|
|
@@ -187,6 +195,7 @@ class EventsApi:
|
|
|
187
195
|
def get_event_without_preload_content(
|
|
188
196
|
self,
|
|
189
197
|
event_ticker: Annotated[StrictStr, Field(description="Event ticker")],
|
|
198
|
+
exclude_markets: Annotated[Optional[StrictBool], Field(description="Return event metadata without loading child markets. Use GET /markets with event_ticker, limit and cursor for bounded market pages. Cannot be combined with with_nested_markets=true.")] = None,
|
|
190
199
|
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,
|
|
191
200
|
_request_timeout: Union[
|
|
192
201
|
None,
|
|
@@ -207,6 +216,8 @@ class EventsApi:
|
|
|
207
216
|
|
|
208
217
|
:param event_ticker: Event ticker (required)
|
|
209
218
|
:type event_ticker: str
|
|
219
|
+
:param exclude_markets: Return event metadata without loading child markets. Use GET /markets with event_ticker, limit and cursor for bounded market pages. Cannot be combined with with_nested_markets=true.
|
|
220
|
+
:type exclude_markets: bool
|
|
210
221
|
: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.
|
|
211
222
|
:type with_nested_markets: bool
|
|
212
223
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -233,6 +244,7 @@ class EventsApi:
|
|
|
233
244
|
|
|
234
245
|
_param = self._get_event_serialize(
|
|
235
246
|
event_ticker=event_ticker,
|
|
247
|
+
exclude_markets=exclude_markets,
|
|
236
248
|
with_nested_markets=with_nested_markets,
|
|
237
249
|
_request_auth=_request_auth,
|
|
238
250
|
_content_type=_content_type,
|
|
@@ -257,6 +269,7 @@ class EventsApi:
|
|
|
257
269
|
def _get_event_serialize(
|
|
258
270
|
self,
|
|
259
271
|
event_ticker,
|
|
272
|
+
exclude_markets,
|
|
260
273
|
with_nested_markets,
|
|
261
274
|
_request_auth,
|
|
262
275
|
_content_type,
|
|
@@ -282,6 +295,10 @@ class EventsApi:
|
|
|
282
295
|
if event_ticker is not None:
|
|
283
296
|
_path_params['event_ticker'] = event_ticker
|
|
284
297
|
# process the query parameters
|
|
298
|
+
if exclude_markets is not None:
|
|
299
|
+
|
|
300
|
+
_query_params.append(('exclude_markets', exclude_markets))
|
|
301
|
+
|
|
285
302
|
if with_nested_markets is not None:
|
|
286
303
|
|
|
287
304
|
_query_params.append(('with_nested_markets', with_nested_markets))
|
|
@@ -1946,11 +1963,12 @@ class EventsApi:
|
|
|
1946
1963
|
cursor: Any = None,
|
|
1947
1964
|
series_ticker: Any = None,
|
|
1948
1965
|
collection_ticker: Any = None,
|
|
1966
|
+
tickers: Any = None,
|
|
1949
1967
|
with_nested_markets: Any = None,
|
|
1950
1968
|
) -> GetMultivariateEventsResponse:
|
|
1951
1969
|
"""Get Multivariate Events
|
|
1952
1970
|
|
|
1953
|
-
Retrieve multivariate (combo) events. These are dynamically created events from multivariate event collections. Supports filtering by series
|
|
1971
|
+
Retrieve multivariate (combo) events. These are dynamically created events from multivariate event collections. Supports filtering by series ticker, collection ticker, or a comma-separated list of event tickers.
|
|
1954
1972
|
|
|
1955
1973
|
:param limit: Number of results per page. Defaults to 100. Maximum value is 200.
|
|
1956
1974
|
:type limit: int
|
|
@@ -1960,6 +1978,8 @@ class EventsApi:
|
|
|
1960
1978
|
:type series_ticker: str
|
|
1961
1979
|
:param collection_ticker: Filter events by collection ticker. Returns only multivariate events belonging to the specified collection. Cannot be used together with series_ticker.
|
|
1962
1980
|
:type collection_ticker: str
|
|
1981
|
+
:param tickers: Filter by specific event tickers. Comma-separated list of event tickers to retrieve.
|
|
1982
|
+
:type tickers: str
|
|
1963
1983
|
: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.
|
|
1964
1984
|
:type with_nested_markets: bool
|
|
1965
1985
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -1990,6 +2010,7 @@ class EventsApi:
|
|
|
1990
2010
|
cursor=cursor,
|
|
1991
2011
|
series_ticker=series_ticker,
|
|
1992
2012
|
collection_ticker=collection_ticker,
|
|
2013
|
+
tickers=tickers,
|
|
1993
2014
|
with_nested_markets=with_nested_markets,
|
|
1994
2015
|
_request_auth=None,
|
|
1995
2016
|
_content_type=None,
|
|
@@ -2021,6 +2042,7 @@ class EventsApi:
|
|
|
2021
2042
|
cursor: Annotated[Optional[StrictStr], Field(description="Pagination cursor. Use the cursor value returned from the previous response to get the next page of results.")] = None,
|
|
2022
2043
|
series_ticker: Annotated[Optional[StrictStr], Field(description="Filter by series ticker")] = None,
|
|
2023
2044
|
collection_ticker: Annotated[Optional[StrictStr], Field(description="Filter events by collection ticker. Returns only multivariate events belonging to the specified collection. Cannot be used together with series_ticker.")] = None,
|
|
2045
|
+
tickers: Annotated[Optional[StrictStr], Field(description="Filter by specific event tickers. Comma-separated list of event tickers to retrieve.")] = None,
|
|
2024
2046
|
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,
|
|
2025
2047
|
_request_timeout: Union[
|
|
2026
2048
|
None,
|
|
@@ -2037,7 +2059,7 @@ class EventsApi:
|
|
|
2037
2059
|
) -> ApiResponse[GetMultivariateEventsResponse]:
|
|
2038
2060
|
"""Get Multivariate Events
|
|
2039
2061
|
|
|
2040
|
-
Retrieve multivariate (combo) events. These are dynamically created events from multivariate event collections. Supports filtering by series
|
|
2062
|
+
Retrieve multivariate (combo) events. These are dynamically created events from multivariate event collections. Supports filtering by series ticker, collection ticker, or a comma-separated list of event tickers.
|
|
2041
2063
|
|
|
2042
2064
|
:param limit: Number of results per page. Defaults to 100. Maximum value is 200.
|
|
2043
2065
|
:type limit: int
|
|
@@ -2047,6 +2069,8 @@ class EventsApi:
|
|
|
2047
2069
|
:type series_ticker: str
|
|
2048
2070
|
:param collection_ticker: Filter events by collection ticker. Returns only multivariate events belonging to the specified collection. Cannot be used together with series_ticker.
|
|
2049
2071
|
:type collection_ticker: str
|
|
2072
|
+
:param tickers: Filter by specific event tickers. Comma-separated list of event tickers to retrieve.
|
|
2073
|
+
:type tickers: str
|
|
2050
2074
|
: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.
|
|
2051
2075
|
:type with_nested_markets: bool
|
|
2052
2076
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -2076,6 +2100,7 @@ class EventsApi:
|
|
|
2076
2100
|
cursor=cursor,
|
|
2077
2101
|
series_ticker=series_ticker,
|
|
2078
2102
|
collection_ticker=collection_ticker,
|
|
2103
|
+
tickers=tickers,
|
|
2079
2104
|
with_nested_markets=with_nested_markets,
|
|
2080
2105
|
_request_auth=_request_auth,
|
|
2081
2106
|
_content_type=_content_type,
|
|
@@ -2107,6 +2132,7 @@ class EventsApi:
|
|
|
2107
2132
|
cursor: Annotated[Optional[StrictStr], Field(description="Pagination cursor. Use the cursor value returned from the previous response to get the next page of results.")] = None,
|
|
2108
2133
|
series_ticker: Annotated[Optional[StrictStr], Field(description="Filter by series ticker")] = None,
|
|
2109
2134
|
collection_ticker: Annotated[Optional[StrictStr], Field(description="Filter events by collection ticker. Returns only multivariate events belonging to the specified collection. Cannot be used together with series_ticker.")] = None,
|
|
2135
|
+
tickers: Annotated[Optional[StrictStr], Field(description="Filter by specific event tickers. Comma-separated list of event tickers to retrieve.")] = None,
|
|
2110
2136
|
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,
|
|
2111
2137
|
_request_timeout: Union[
|
|
2112
2138
|
None,
|
|
@@ -2123,7 +2149,7 @@ class EventsApi:
|
|
|
2123
2149
|
) -> RESTResponseType:
|
|
2124
2150
|
"""Get Multivariate Events
|
|
2125
2151
|
|
|
2126
|
-
Retrieve multivariate (combo) events. These are dynamically created events from multivariate event collections. Supports filtering by series
|
|
2152
|
+
Retrieve multivariate (combo) events. These are dynamically created events from multivariate event collections. Supports filtering by series ticker, collection ticker, or a comma-separated list of event tickers.
|
|
2127
2153
|
|
|
2128
2154
|
:param limit: Number of results per page. Defaults to 100. Maximum value is 200.
|
|
2129
2155
|
:type limit: int
|
|
@@ -2133,6 +2159,8 @@ class EventsApi:
|
|
|
2133
2159
|
:type series_ticker: str
|
|
2134
2160
|
:param collection_ticker: Filter events by collection ticker. Returns only multivariate events belonging to the specified collection. Cannot be used together with series_ticker.
|
|
2135
2161
|
:type collection_ticker: str
|
|
2162
|
+
:param tickers: Filter by specific event tickers. Comma-separated list of event tickers to retrieve.
|
|
2163
|
+
:type tickers: str
|
|
2136
2164
|
: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.
|
|
2137
2165
|
:type with_nested_markets: bool
|
|
2138
2166
|
:param _request_timeout: timeout setting for this request. If one
|
|
@@ -2162,6 +2190,7 @@ class EventsApi:
|
|
|
2162
2190
|
cursor=cursor,
|
|
2163
2191
|
series_ticker=series_ticker,
|
|
2164
2192
|
collection_ticker=collection_ticker,
|
|
2193
|
+
tickers=tickers,
|
|
2165
2194
|
with_nested_markets=with_nested_markets,
|
|
2166
2195
|
_request_auth=_request_auth,
|
|
2167
2196
|
_content_type=_content_type,
|
|
@@ -2188,6 +2217,7 @@ class EventsApi:
|
|
|
2188
2217
|
cursor,
|
|
2189
2218
|
series_ticker,
|
|
2190
2219
|
collection_ticker,
|
|
2220
|
+
tickers,
|
|
2191
2221
|
with_nested_markets,
|
|
2192
2222
|
_request_auth,
|
|
2193
2223
|
_content_type,
|
|
@@ -2227,6 +2257,10 @@ class EventsApi:
|
|
|
2227
2257
|
|
|
2228
2258
|
_query_params.append(('collection_ticker', collection_ticker))
|
|
2229
2259
|
|
|
2260
|
+
if tickers is not None:
|
|
2261
|
+
|
|
2262
|
+
_query_params.append(('tickers', tickers))
|
|
2263
|
+
|
|
2230
2264
|
if with_nested_markets is not None:
|
|
2231
2265
|
|
|
2232
2266
|
_query_params.append(('with_nested_markets', with_nested_markets))
|
|
@@ -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.35.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.35.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.35.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -133,7 +133,7 @@ class HistoricalApi:
|
|
|
133
133
|
max_ts: Annotated[Optional[StrictInt], Field(description="Filter items before this Unix timestamp")] = None,
|
|
134
134
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Number of results per page. Defaults to 100.")] = None,
|
|
135
135
|
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,
|
|
136
|
-
subaccount: Annotated[Optional[
|
|
136
|
+
subaccount: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Subaccount number (0 for primary, 1-63 for subaccounts). If omitted, defaults to all subaccounts.")] = None,
|
|
137
137
|
_request_timeout: Union[
|
|
138
138
|
None,
|
|
139
139
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -224,7 +224,7 @@ class HistoricalApi:
|
|
|
224
224
|
max_ts: Annotated[Optional[StrictInt], Field(description="Filter items before this Unix timestamp")] = None,
|
|
225
225
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Number of results per page. Defaults to 100.")] = None,
|
|
226
226
|
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,
|
|
227
|
-
subaccount: Annotated[Optional[
|
|
227
|
+
subaccount: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Subaccount number (0 for primary, 1-63 for subaccounts). If omitted, defaults to all subaccounts.")] = None,
|
|
228
228
|
_request_timeout: Union[
|
|
229
229
|
None,
|
|
230
230
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1318,7 +1318,7 @@ class HistoricalApi:
|
|
|
1318
1318
|
max_ts: Annotated[Optional[StrictInt], Field(description="Filter items before this Unix timestamp")] = None,
|
|
1319
1319
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Number of results per page. Defaults to 100.")] = None,
|
|
1320
1320
|
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,
|
|
1321
|
-
subaccount: Annotated[Optional[
|
|
1321
|
+
subaccount: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Subaccount number (0 for primary, 1-63 for subaccounts). If omitted, defaults to all subaccounts.")] = None,
|
|
1322
1322
|
_request_timeout: Union[
|
|
1323
1323
|
None,
|
|
1324
1324
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1408,7 +1408,7 @@ class HistoricalApi:
|
|
|
1408
1408
|
max_ts: Annotated[Optional[StrictInt], Field(description="Filter items before this Unix timestamp")] = None,
|
|
1409
1409
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Number of results per page. Defaults to 100.")] = None,
|
|
1410
1410
|
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,
|
|
1411
|
-
subaccount: Annotated[Optional[
|
|
1411
|
+
subaccount: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Subaccount number (0 for primary, 1-63 for subaccounts). If omitted, defaults to all subaccounts.")] = None,
|
|
1412
1412
|
_request_timeout: Union[
|
|
1413
1413
|
None,
|
|
1414
1414
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1596,7 +1596,7 @@ class HistoricalApi:
|
|
|
1596
1596
|
:type ticker: str
|
|
1597
1597
|
:param event_ticker: Event ticker to filter by. Only a single event ticker is supported.
|
|
1598
1598
|
:type event_ticker: str
|
|
1599
|
-
:param subaccount: Subaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0.
|
|
1599
|
+
:param subaccount: Subaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0. Subaccount-restricted API keys default to their locked subaccount and must omit this parameter or pass their locked subaccount.
|
|
1600
1600
|
:type subaccount: int
|
|
1601
1601
|
:param limit: Number of results per page. Defaults to 100.
|
|
1602
1602
|
:type limit: int
|
|
@@ -1659,7 +1659,7 @@ class HistoricalApi:
|
|
|
1659
1659
|
self,
|
|
1660
1660
|
ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
|
|
1661
1661
|
event_ticker: Annotated[Optional[StrictStr], Field(description="Event ticker to filter by. Only a single event ticker is supported.")] = None,
|
|
1662
|
-
subaccount: Annotated[Optional[
|
|
1662
|
+
subaccount: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Subaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0. Subaccount-restricted API keys default to their locked subaccount and must omit this parameter or pass their locked subaccount.")] = None,
|
|
1663
1663
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Number of results per page. Defaults to 100.")] = None,
|
|
1664
1664
|
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,
|
|
1665
1665
|
_request_timeout: Union[
|
|
@@ -1683,7 +1683,7 @@ class HistoricalApi:
|
|
|
1683
1683
|
:type ticker: str
|
|
1684
1684
|
:param event_ticker: Event ticker to filter by. Only a single event ticker is supported.
|
|
1685
1685
|
:type event_ticker: str
|
|
1686
|
-
:param subaccount: Subaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0.
|
|
1686
|
+
:param subaccount: Subaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0. Subaccount-restricted API keys default to their locked subaccount and must omit this parameter or pass their locked subaccount.
|
|
1687
1687
|
:type subaccount: int
|
|
1688
1688
|
:param limit: Number of results per page. Defaults to 100.
|
|
1689
1689
|
:type limit: int
|
|
@@ -1745,7 +1745,7 @@ class HistoricalApi:
|
|
|
1745
1745
|
self,
|
|
1746
1746
|
ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
|
|
1747
1747
|
event_ticker: Annotated[Optional[StrictStr], Field(description="Event ticker to filter by. Only a single event ticker is supported.")] = None,
|
|
1748
|
-
subaccount: Annotated[Optional[
|
|
1748
|
+
subaccount: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Subaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0. Subaccount-restricted API keys default to their locked subaccount and must omit this parameter or pass their locked subaccount.")] = None,
|
|
1749
1749
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Number of results per page. Defaults to 100.")] = None,
|
|
1750
1750
|
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,
|
|
1751
1751
|
_request_timeout: Union[
|
|
@@ -1769,7 +1769,7 @@ class HistoricalApi:
|
|
|
1769
1769
|
:type ticker: str
|
|
1770
1770
|
:param event_ticker: Event ticker to filter by. Only a single event ticker is supported.
|
|
1771
1771
|
:type event_ticker: str
|
|
1772
|
-
:param subaccount: Subaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0.
|
|
1772
|
+
:param subaccount: Subaccount number (0 for primary, 1-63 for subaccounts). Defaults to 0. Subaccount-restricted API keys default to their locked subaccount and must omit this parameter or pass their locked subaccount.
|
|
1773
1773
|
:type subaccount: int
|
|
1774
1774
|
:param limit: Number of results per page. Defaults to 100.
|
|
1775
1775
|
:type limit: int
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 3.
|
|
8
|
+
The version of the OpenAPI document: 3.35.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.35.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -865,7 +865,7 @@ class LiveDataApi:
|
|
|
865
865
|
) -> GetLiveDataResponse:
|
|
866
866
|
"""Get Live Data
|
|
867
867
|
|
|
868
|
-
Get live data for a specific milestone.
|
|
868
|
+
Get live data for a specific milestone. The response's `live_data.details.status` is updated far more often than the milestone's own `details.status` and is the preferred source for game status. It is not guaranteed to be current: if the provider feed falls behind, a cached board may still be served, with `live_data.details.live_data_delayed` set to `true` only once it is significantly stale (some feeds never set it), so a missing flag does not by itself mean the data is current.
|
|
869
869
|
|
|
870
870
|
:param milestone_id: Milestone ID (required)
|
|
871
871
|
:type milestone_id: str
|
|
@@ -939,7 +939,7 @@ class LiveDataApi:
|
|
|
939
939
|
) -> ApiResponse[GetLiveDataResponse]:
|
|
940
940
|
"""Get Live Data
|
|
941
941
|
|
|
942
|
-
Get live data for a specific milestone.
|
|
942
|
+
Get live data for a specific milestone. The response's `live_data.details.status` is updated far more often than the milestone's own `details.status` and is the preferred source for game status. It is not guaranteed to be current: if the provider feed falls behind, a cached board may still be served, with `live_data.details.live_data_delayed` set to `true` only once it is significantly stale (some feeds never set it), so a missing flag does not by itself mean the data is current.
|
|
943
943
|
|
|
944
944
|
:param milestone_id: Milestone ID (required)
|
|
945
945
|
:type milestone_id: str
|
|
@@ -1012,7 +1012,7 @@ class LiveDataApi:
|
|
|
1012
1012
|
) -> RESTResponseType:
|
|
1013
1013
|
"""Get Live Data
|
|
1014
1014
|
|
|
1015
|
-
Get live data for a specific milestone.
|
|
1015
|
+
Get live data for a specific milestone. The response's `live_data.details.status` is updated far more often than the milestone's own `details.status` and is the preferred source for game status. It is not guaranteed to be current: if the provider feed falls behind, a cached board may still be served, with `live_data.details.live_data_delayed` set to `true` only once it is significantly stale (some feeds never set it), so a missing flag does not by itself mean the data is current.
|
|
1016
1016
|
|
|
1017
1017
|
:param milestone_id: Milestone ID (required)
|
|
1018
1018
|
:type milestone_id: str
|
|
@@ -1137,7 +1137,7 @@ class LiveDataApi:
|
|
|
1137
1137
|
) -> GetLiveDatasResponse:
|
|
1138
1138
|
"""Get Multiple Live Data
|
|
1139
1139
|
|
|
1140
|
-
Get live data for multiple milestones
|
|
1140
|
+
Get live data for multiple milestones. Each entry's `details.status` is updated far more often than the milestone's own `details.status` and is the preferred source for game status. It is not guaranteed to be current: if the provider feed falls behind, a cached board may still be served, with `details.live_data_delayed` set to `true` only once it is significantly stale (some feeds never set it), so a missing flag does not by itself mean the data is current.
|
|
1141
1141
|
|
|
1142
1142
|
:param milestone_ids: Array of milestone IDs (required)
|
|
1143
1143
|
:type milestone_ids: List[str]
|
|
@@ -1210,7 +1210,7 @@ class LiveDataApi:
|
|
|
1210
1210
|
) -> ApiResponse[GetLiveDatasResponse]:
|
|
1211
1211
|
"""Get Multiple Live Data
|
|
1212
1212
|
|
|
1213
|
-
Get live data for multiple milestones
|
|
1213
|
+
Get live data for multiple milestones. Each entry's `details.status` is updated far more often than the milestone's own `details.status` and is the preferred source for game status. It is not guaranteed to be current: if the provider feed falls behind, a cached board may still be served, with `details.live_data_delayed` set to `true` only once it is significantly stale (some feeds never set it), so a missing flag does not by itself mean the data is current.
|
|
1214
1214
|
|
|
1215
1215
|
:param milestone_ids: Array of milestone IDs (required)
|
|
1216
1216
|
:type milestone_ids: List[str]
|
|
@@ -1282,7 +1282,7 @@ class LiveDataApi:
|
|
|
1282
1282
|
) -> RESTResponseType:
|
|
1283
1283
|
"""Get Multiple Live Data
|
|
1284
1284
|
|
|
1285
|
-
Get live data for multiple milestones
|
|
1285
|
+
Get live data for multiple milestones. Each entry's `details.status` is updated far more often than the milestone's own `details.status` and is the preferred source for game status. It is not guaranteed to be current: if the provider feed falls behind, a cached board may still be served, with `details.live_data_delayed` set to `true` only once it is significantly stale (some feeds never set it), so a missing flag does not by itself mean the data is current.
|
|
1286
1286
|
|
|
1287
1287
|
:param milestone_ids: Array of milestone IDs (required)
|
|
1288
1288
|
:type milestone_ids: List[str]
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 3.
|
|
8
|
+
The version of the OpenAPI document: 3.35.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.35.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -47,7 +47,7 @@ class MilestoneApi:
|
|
|
47
47
|
) -> GetMilestoneResponse:
|
|
48
48
|
"""Get Milestone
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
Endpoint for getting data about a specific milestone by its ID. The milestone's `details.status`, when present, is maintained by a periodic background job. It lags the game's live state and may be stale or inaccurate, for example remaining `live` after the game ends. For game status, prefer live data, which is updated far more often: `live_data.details.status` from `GET /live_data/milestone/{milestone_id}`, or each entry's `details.status` from `GET /live_data/batch`. Scores are in the sport-specific fields of that live data `details` object.
|
|
51
51
|
|
|
52
52
|
:param milestone_id: Milestone ID (required)
|
|
53
53
|
:type milestone_id: str
|
|
@@ -119,7 +119,7 @@ class MilestoneApi:
|
|
|
119
119
|
) -> ApiResponse[GetMilestoneResponse]:
|
|
120
120
|
"""Get Milestone
|
|
121
121
|
|
|
122
|
-
|
|
122
|
+
Endpoint for getting data about a specific milestone by its ID. The milestone's `details.status`, when present, is maintained by a periodic background job. It lags the game's live state and may be stale or inaccurate, for example remaining `live` after the game ends. For game status, prefer live data, which is updated far more often: `live_data.details.status` from `GET /live_data/milestone/{milestone_id}`, or each entry's `details.status` from `GET /live_data/batch`. Scores are in the sport-specific fields of that live data `details` object.
|
|
123
123
|
|
|
124
124
|
:param milestone_id: Milestone ID (required)
|
|
125
125
|
:type milestone_id: str
|
|
@@ -190,7 +190,7 @@ class MilestoneApi:
|
|
|
190
190
|
) -> RESTResponseType:
|
|
191
191
|
"""Get Milestone
|
|
192
192
|
|
|
193
|
-
|
|
193
|
+
Endpoint for getting data about a specific milestone by its ID. The milestone's `details.status`, when present, is maintained by a periodic background job. It lags the game's live state and may be stale or inaccurate, for example remaining `live` after the game ends. For game status, prefer live data, which is updated far more often: `live_data.details.status` from `GET /live_data/milestone/{milestone_id}`, or each entry's `details.status` from `GET /live_data/batch`. Scores are in the sport-specific fields of that live data `details` object.
|
|
194
194
|
|
|
195
195
|
:param milestone_id: Milestone ID (required)
|
|
196
196
|
:type milestone_id: str
|
|
@@ -316,7 +316,7 @@ class MilestoneApi:
|
|
|
316
316
|
) -> GetMilestonesResponse:
|
|
317
317
|
"""Get Milestones
|
|
318
318
|
|
|
319
|
-
|
|
319
|
+
Endpoint for listing milestones. A milestone's `details.status`, when present, is maintained by a periodic background job. It lags the game's live state and may be stale or inaccurate, for example remaining `live` after the game ends. For game status, prefer live data, which is updated far more often: `live_data.details.status` from `GET /live_data/milestone/{milestone_id}`, or each entry's `details.status` from `GET /live_data/batch`. Scores are in the sport-specific fields of that live data `details` object.
|
|
320
320
|
|
|
321
321
|
:param limit: Number of milestones to return per page (required)
|
|
322
322
|
:type limit: int
|
|
@@ -419,7 +419,7 @@ class MilestoneApi:
|
|
|
419
419
|
) -> ApiResponse[GetMilestonesResponse]:
|
|
420
420
|
"""Get Milestones
|
|
421
421
|
|
|
422
|
-
|
|
422
|
+
Endpoint for listing milestones. A milestone's `details.status`, when present, is maintained by a periodic background job. It lags the game's live state and may be stale or inaccurate, for example remaining `live` after the game ends. For game status, prefer live data, which is updated far more often: `live_data.details.status` from `GET /live_data/milestone/{milestone_id}`, or each entry's `details.status` from `GET /live_data/batch`. Scores are in the sport-specific fields of that live data `details` object.
|
|
423
423
|
|
|
424
424
|
:param limit: Number of milestones to return per page (required)
|
|
425
425
|
:type limit: int
|
|
@@ -521,7 +521,7 @@ class MilestoneApi:
|
|
|
521
521
|
) -> RESTResponseType:
|
|
522
522
|
"""Get Milestones
|
|
523
523
|
|
|
524
|
-
|
|
524
|
+
Endpoint for listing milestones. A milestone's `details.status`, when present, is maintained by a periodic background job. It lags the game's live state and may be stale or inaccurate, for example remaining `live` after the game ends. For game status, prefer live data, which is updated far more often: `live_data.details.status` from `GET /live_data/milestone/{milestone_id}`, or each entry's `details.status` from `GET /live_data/batch`. Scores are in the sport-specific fields of that live data `details` object.
|
|
525
525
|
|
|
526
526
|
:param limit: Number of milestones to return per page (required)
|
|
527
527
|
:type limit: int
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 3.
|
|
8
|
+
The version of the OpenAPI document: 3.35.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|