kalshi-python-sync 3.7.0__tar.gz → 3.9.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.
Files changed (336) hide show
  1. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/PKG-INFO +3 -3
  2. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/README.md +2 -2
  3. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/__init__.py +5 -3
  4. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/account_api.py +1 -1
  5. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/api_keys_api.py +1 -1
  6. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/communications_api.py +16 -16
  7. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/events_api.py +34 -17
  8. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/exchange_api.py +1 -1
  9. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/fcm_api.py +6 -6
  10. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/historical_api.py +338 -6
  11. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/incentive_programs_api.py +1 -1
  12. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/live_data_api.py +1 -1
  13. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/market_api.py +32 -15
  14. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/milestone_api.py +19 -2
  15. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/multivariate_api.py +7 -4
  16. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/order_groups_api.py +26 -26
  17. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/orders_api.py +24 -24
  18. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/portfolio_api.py +568 -29
  19. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/search_api.py +1 -1
  20. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/structured_targets_api.py +1 -1
  21. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api_client.py +2 -2
  22. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/configuration.py +3 -3
  23. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/exceptions.py +1 -1
  24. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/__init__.py +4 -2
  25. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/accept_quote_request.py +1 -1
  26. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/amend_order_request.py +3 -3
  27. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/amend_order_response.py +1 -1
  28. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/announcement.py +1 -1
  29. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/api_key.py +1 -1
  30. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/apply_subaccount_transfer_request.py +1 -1
  31. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/associated_event.py +1 -1
  32. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/batch_cancel_orders_individual_response.py +3 -5
  33. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/batch_cancel_orders_request.py +1 -1
  34. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/batch_cancel_orders_request_order.py +1 -1
  35. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/batch_cancel_orders_response.py +1 -1
  36. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/batch_create_orders_individual_response.py +1 -1
  37. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/batch_create_orders_request.py +1 -1
  38. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/batch_create_orders_response.py +1 -1
  39. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/batch_get_market_candlesticks_response.py +1 -1
  40. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/bid_ask_distribution.py +7 -15
  41. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/bid_ask_distribution_historical.py +5 -5
  42. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/cancel_order_response.py +3 -5
  43. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/create_api_key_request.py +1 -1
  44. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/create_api_key_response.py +1 -1
  45. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/create_market_in_multivariate_event_collection_request.py +1 -1
  46. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/create_market_in_multivariate_event_collection_response.py +1 -1
  47. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/create_order_group_request.py +1 -1
  48. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/create_order_group_response.py +1 -1
  49. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/create_order_request.py +3 -3
  50. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/create_order_response.py +1 -1
  51. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/create_quote_request.py +3 -3
  52. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/create_quote_response.py +1 -1
  53. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/create_rfq_request.py +2 -2
  54. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/create_rfq_response.py +1 -1
  55. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/create_subaccount_response.py +1 -1
  56. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/daily_schedule.py +1 -1
  57. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/decrease_order_request.py +1 -1
  58. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/decrease_order_response.py +1 -1
  59. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/error_response.py +1 -1
  60. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/event_data.py +5 -3
  61. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/event_position.py +7 -17
  62. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/exchange_instance.py +1 -1
  63. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/exchange_status.py +1 -1
  64. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/fill.py +11 -15
  65. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/forecast_percentiles_point.py +1 -1
  66. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/generate_api_key_request.py +1 -1
  67. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/generate_api_key_response.py +1 -1
  68. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_account_api_limits_response.py +1 -1
  69. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_api_keys_response.py +1 -1
  70. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_balance_response.py +1 -1
  71. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_communications_id_response.py +1 -1
  72. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_event_candlesticks_response.py +1 -1
  73. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_event_forecast_percentiles_history_response.py +1 -1
  74. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_event_metadata_response.py +1 -1
  75. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_event_response.py +1 -1
  76. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_events_response.py +1 -1
  77. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_exchange_announcements_response.py +1 -1
  78. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_exchange_schedule_response.py +1 -1
  79. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_fills_response.py +1 -1
  80. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_filters_by_sports_response.py +1 -1
  81. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_historical_cutoff_response.py +1 -1
  82. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_incentive_programs_response.py +1 -1
  83. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_live_data_response.py +1 -1
  84. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_live_datas_response.py +1 -1
  85. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_market_candlesticks_historical_response.py +1 -1
  86. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_market_candlesticks_response.py +1 -1
  87. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_market_orderbook_response.py +2 -8
  88. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_market_response.py +1 -1
  89. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_markets_response.py +1 -1
  90. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_milestone_response.py +1 -1
  91. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_milestones_response.py +1 -1
  92. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_multivariate_event_collection_lookup_history_response.py +1 -1
  93. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_multivariate_event_collection_response.py +1 -1
  94. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_multivariate_event_collections_response.py +1 -1
  95. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_multivariate_events_response.py +1 -1
  96. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_order_group_response.py +3 -5
  97. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_order_groups_response.py +1 -1
  98. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_order_queue_position_response.py +5 -7
  99. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_order_queue_positions_response.py +1 -1
  100. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_order_response.py +1 -1
  101. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_orders_response.py +1 -1
  102. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_portfolio_resting_order_total_value_response.py +1 -1
  103. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_positions_response.py +1 -1
  104. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_quote_response.py +1 -1
  105. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_quotes_response.py +1 -1
  106. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_rfq_response.py +1 -1
  107. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_rfqs_response.py +1 -1
  108. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_series_fee_changes_response.py +1 -1
  109. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_series_list_response.py +1 -1
  110. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_series_response.py +1 -1
  111. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_settlements_response.py +1 -1
  112. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_structured_target_response.py +1 -1
  113. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_structured_targets_response.py +1 -1
  114. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_subaccount_balances_response.py +1 -1
  115. kalshi_python_sync-3.9.0/kalshi_python_sync/models/get_subaccount_netting_response.py +95 -0
  116. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_subaccount_transfers_response.py +1 -1
  117. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_tags_for_series_categories_response.py +1 -1
  118. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_trades_response.py +1 -1
  119. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/get_user_data_timestamp_response.py +1 -1
  120. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/incentive_program.py +2 -9
  121. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/intra_exchange_instance_transfer_request.py +1 -1
  122. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/intra_exchange_instance_transfer_response.py +1 -1
  123. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/live_data.py +1 -1
  124. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/lookup_point.py +1 -1
  125. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/lookup_tickers_for_market_in_multivariate_event_collection_request.py +1 -1
  126. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/lookup_tickers_for_market_in_multivariate_event_collection_response.py +1 -1
  127. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/maintenance_window.py +1 -1
  128. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/market.py +17 -46
  129. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/market_candlestick.py +2 -6
  130. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/market_candlestick_historical.py +1 -1
  131. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/market_candlesticks_response.py +1 -1
  132. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/market_metadata.py +1 -1
  133. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/market_position.py +6 -16
  134. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/milestone.py +4 -2
  135. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/multivariate_event_collection.py +1 -1
  136. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/mve_selected_leg.py +2 -2
  137. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/order.py +9 -29
  138. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/order_group.py +3 -5
  139. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/order_queue_position.py +5 -7
  140. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/order_status.py +1 -1
  141. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/orderbook_count_fp.py +1 -1
  142. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/percentile_point.py +1 -1
  143. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/price_distribution.py +11 -67
  144. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/price_distribution_historical.py +1 -1
  145. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/price_range.py +1 -1
  146. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/quote.py +6 -14
  147. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/rfq.py +4 -8
  148. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/schedule.py +1 -1
  149. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/scope_list.py +1 -1
  150. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/self_trade_prevention_type.py +1 -1
  151. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/series.py +6 -5
  152. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/series_fee_change.py +1 -1
  153. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/settlement.py +9 -9
  154. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/settlement_source.py +1 -1
  155. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/sport_filter_details.py +1 -1
  156. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/structured_target.py +4 -2
  157. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/subaccount_balance.py +2 -2
  158. kalshi_python_sync-3.9.0/kalshi_python_sync/models/subaccount_netting_config.py +89 -0
  159. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/subaccount_transfer.py +1 -1
  160. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/ticker_pair.py +1 -1
  161. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/trade.py +6 -14
  162. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/update_order_group_limit_request.py +1 -1
  163. kalshi_python_sync-3.9.0/kalshi_python_sync/models/update_subaccount_netting_request.py +89 -0
  164. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/models/weekly_schedule.py +1 -1
  165. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/rest.py +1 -1
  166. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync.egg-info/PKG-INFO +3 -3
  167. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync.egg-info/SOURCES.txt +6 -2
  168. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/pyproject.toml +1 -1
  169. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/setup.py +2 -2
  170. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_accept_quote_request.py +1 -1
  171. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_account_api.py +1 -1
  172. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_amend_order_request.py +1 -1
  173. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_amend_order_response.py +1 -41
  174. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_announcement.py +1 -1
  175. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_api_key.py +1 -1
  176. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_api_keys_api.py +1 -1
  177. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_apply_subaccount_transfer_request.py +1 -1
  178. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_associated_event.py +1 -1
  179. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_batch_cancel_orders_individual_response.py +1 -13
  180. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_batch_cancel_orders_request.py +1 -1
  181. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_batch_cancel_orders_request_order.py +1 -1
  182. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_batch_cancel_orders_response.py +1 -3
  183. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_batch_create_orders_individual_response.py +1 -11
  184. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_batch_create_orders_request.py +1 -1
  185. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_batch_create_orders_response.py +1 -1
  186. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_batch_get_market_candlesticks_response.py +1 -37
  187. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_bid_ask_distribution.py +1 -9
  188. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_bid_ask_distribution_historical.py +1 -1
  189. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_cancel_order_response.py +1 -23
  190. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_communications_api.py +1 -1
  191. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_create_api_key_request.py +1 -1
  192. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_create_api_key_response.py +1 -1
  193. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_create_market_in_multivariate_event_collection_request.py +1 -1
  194. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_create_market_in_multivariate_event_collection_response.py +3 -15
  195. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_create_order_group_request.py +1 -1
  196. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_create_order_group_response.py +1 -1
  197. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_create_order_request.py +1 -1
  198. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_create_order_response.py +1 -21
  199. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_create_quote_request.py +1 -1
  200. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_create_quote_response.py +1 -1
  201. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_create_rfq_request.py +1 -1
  202. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_create_rfq_response.py +1 -1
  203. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_create_subaccount_response.py +1 -1
  204. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_daily_schedule.py +1 -1
  205. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_decrease_order_request.py +1 -1
  206. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_decrease_order_response.py +1 -21
  207. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_error_response.py +1 -1
  208. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_event_data.py +5 -16
  209. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_event_position.py +1 -11
  210. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_events_api.py +1 -1
  211. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_exchange_api.py +1 -1
  212. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_exchange_instance.py +1 -1
  213. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_exchange_status.py +1 -1
  214. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_fcm_api.py +1 -1
  215. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_fill.py +5 -9
  216. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_forecast_percentiles_point.py +1 -1
  217. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_generate_api_key_request.py +1 -1
  218. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_generate_api_key_response.py +1 -1
  219. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_account_api_limits_response.py +1 -1
  220. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_api_keys_response.py +1 -1
  221. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_balance_response.py +1 -1
  222. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_communications_id_response.py +1 -1
  223. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_event_candlesticks_response.py +1 -37
  224. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_event_forecast_percentiles_history_response.py +1 -1
  225. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_event_metadata_response.py +1 -1
  226. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_event_response.py +13 -59
  227. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_events_response.py +12 -31
  228. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_exchange_announcements_response.py +1 -1
  229. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_exchange_schedule_response.py +1 -1
  230. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_fills_response.py +5 -9
  231. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_filters_by_sports_response.py +1 -1
  232. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_historical_cutoff_response.py +1 -1
  233. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_incentive_programs_response.py +1 -3
  234. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_live_data_response.py +1 -1
  235. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_live_datas_response.py +1 -1
  236. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_market_candlesticks_historical_response.py +1 -1
  237. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_market_candlesticks_response.py +1 -37
  238. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_market_orderbook_response.py +1 -35
  239. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_market_response.py +5 -29
  240. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_markets_response.py +5 -29
  241. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_milestone_response.py +7 -1
  242. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_milestones_response.py +7 -1
  243. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_multivariate_event_collection_lookup_history_response.py +1 -1
  244. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_multivariate_event_collection_response.py +1 -1
  245. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_multivariate_event_collections_response.py +1 -1
  246. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_multivariate_events_response.py +9 -31
  247. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_order_group_response.py +1 -2
  248. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_order_groups_response.py +1 -2
  249. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_order_queue_position_response.py +2 -3
  250. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_order_queue_positions_response.py +1 -3
  251. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_order_response.py +1 -21
  252. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_orders_response.py +1 -21
  253. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_portfolio_resting_order_total_value_response.py +1 -1
  254. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_positions_response.py +1 -21
  255. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_quote_response.py +1 -9
  256. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_quotes_response.py +1 -9
  257. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_rfq_response.py +1 -5
  258. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_rfqs_response.py +1 -5
  259. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_series_fee_changes_response.py +1 -1
  260. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_series_list_response.py +5 -5
  261. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_series_response.py +5 -5
  262. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_settlements_response.py +5 -5
  263. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_structured_target_response.py +4 -1
  264. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_structured_targets_response.py +4 -1
  265. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_subaccount_balances_response.py +1 -1
  266. kalshi_python_sync-3.9.0/test/test_get_subaccount_netting_response.py +60 -0
  267. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_subaccount_transfers_response.py +1 -1
  268. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_tags_for_series_categories_response.py +1 -1
  269. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_trades_response.py +1 -9
  270. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_get_user_data_timestamp_response.py +1 -1
  271. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_historical_api.py +8 -1
  272. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_incentive_program.py +1 -2
  273. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_incentive_programs_api.py +1 -1
  274. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_intra_exchange_instance_transfer_request.py +1 -1
  275. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_intra_exchange_instance_transfer_response.py +1 -1
  276. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_live_data.py +1 -1
  277. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_live_data_api.py +1 -1
  278. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_lookup_point.py +1 -1
  279. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_lookup_tickers_for_market_in_multivariate_event_collection_request.py +1 -1
  280. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_lookup_tickers_for_market_in_multivariate_event_collection_response.py +1 -1
  281. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_maintenance_window.py +1 -1
  282. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_market.py +5 -28
  283. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_market_api.py +1 -1
  284. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_market_candlestick.py +1 -37
  285. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_market_candlestick_historical.py +1 -1
  286. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_market_candlesticks_response.py +1 -37
  287. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_market_metadata.py +1 -1
  288. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_market_position.py +1 -11
  289. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_milestone.py +4 -1
  290. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_milestone_api.py +1 -1
  291. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_multivariate_api.py +1 -1
  292. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_multivariate_event_collection.py +1 -1
  293. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_mve_selected_leg.py +1 -1
  294. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_order.py +3 -21
  295. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_order_group.py +1 -2
  296. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_order_groups_api.py +1 -1
  297. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_order_queue_position.py +2 -3
  298. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_order_status.py +1 -1
  299. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_orderbook_count_fp.py +1 -1
  300. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_orders_api.py +1 -1
  301. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_percentile_point.py +1 -1
  302. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_portfolio_api.py +15 -1
  303. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_price_distribution.py +1 -9
  304. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_price_distribution_historical.py +1 -1
  305. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_price_range.py +1 -1
  306. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_quote.py +1 -8
  307. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_rfq.py +1 -4
  308. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_schedule.py +1 -1
  309. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_scope_list.py +1 -1
  310. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_search_api.py +1 -1
  311. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_self_trade_prevention_type.py +1 -1
  312. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_series.py +3 -3
  313. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_series_fee_change.py +1 -1
  314. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_settlement.py +5 -5
  315. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_settlement_source.py +1 -1
  316. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_sport_filter_details.py +1 -1
  317. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_structured_target.py +4 -1
  318. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_structured_targets_api.py +1 -1
  319. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_subaccount_balance.py +1 -1
  320. kalshi_python_sync-3.9.0/test/test_subaccount_netting_config.py +54 -0
  321. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_subaccount_transfer.py +1 -1
  322. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_ticker_pair.py +1 -1
  323. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_trade.py +1 -9
  324. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_update_order_group_limit_request.py +1 -1
  325. kalshi_python_sync-3.9.0/test/test_update_subaccount_netting_request.py +54 -0
  326. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/test/test_weekly_schedule.py +1 -1
  327. kalshi_python_sync-3.7.0/kalshi_python_sync/models/orderbook.py +0 -94
  328. kalshi_python_sync-3.7.0/test/test_orderbook.py +0 -72
  329. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api/__init__.py +0 -0
  330. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/api_response.py +0 -0
  331. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/auth.py +0 -0
  332. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync/py.typed +0 -0
  333. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync.egg-info/dependency_links.txt +0 -0
  334. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync.egg-info/requires.txt +0 -0
  335. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/kalshi_python_sync.egg-info/top_level.txt +0 -0
  336. {kalshi_python_sync-3.7.0 → kalshi_python_sync-3.9.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kalshi_python_sync
3
- Version: 3.7.0
3
+ Version: 3.9.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.7.0
32
- - Package version: 3.7.0
31
+ - API version: 3.9.0
32
+ - Package version: 3.9.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.0
7
- - Package version: 3.7.0
6
+ - API version: 3.9.0
7
+ - Package version: 3.9.0
8
8
  - Generator version: 7.17.0
9
9
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
10
10
  For more information, please visit []()
@@ -7,13 +7,13 @@
7
7
 
8
8
  Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
9
9
 
10
- The version of the OpenAPI document: 3.7.0
10
+ The version of the OpenAPI document: 3.9.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.7.0"
16
+ __version__ = "3.9.0"
17
17
 
18
18
  # import apis into sdk package
19
19
  from kalshi_python_sync.api.account_api import AccountApi
@@ -151,6 +151,7 @@ from kalshi_python_sync.models.get_settlements_response import GetSettlementsRes
151
151
  from kalshi_python_sync.models.get_structured_target_response import GetStructuredTargetResponse
152
152
  from kalshi_python_sync.models.get_structured_targets_response import GetStructuredTargetsResponse
153
153
  from kalshi_python_sync.models.get_subaccount_balances_response import GetSubaccountBalancesResponse
154
+ from kalshi_python_sync.models.get_subaccount_netting_response import GetSubaccountNettingResponse
154
155
  from kalshi_python_sync.models.get_subaccount_transfers_response import GetSubaccountTransfersResponse
155
156
  from kalshi_python_sync.models.get_tags_for_series_categories_response import GetTagsForSeriesCategoriesResponse
156
157
  from kalshi_python_sync.models.get_trades_response import GetTradesResponse
@@ -176,7 +177,6 @@ from kalshi_python_sync.models.order import Order
176
177
  from kalshi_python_sync.models.order_group import OrderGroup
177
178
  from kalshi_python_sync.models.order_queue_position import OrderQueuePosition
178
179
  from kalshi_python_sync.models.order_status import OrderStatus
179
- from kalshi_python_sync.models.orderbook import Orderbook
180
180
  from kalshi_python_sync.models.orderbook_count_fp import OrderbookCountFp
181
181
  from kalshi_python_sync.models.percentile_point import PercentilePoint
182
182
  from kalshi_python_sync.models.price_distribution import PriceDistribution
@@ -194,10 +194,12 @@ from kalshi_python_sync.models.settlement_source import SettlementSource
194
194
  from kalshi_python_sync.models.sport_filter_details import SportFilterDetails
195
195
  from kalshi_python_sync.models.structured_target import StructuredTarget
196
196
  from kalshi_python_sync.models.subaccount_balance import SubaccountBalance
197
+ from kalshi_python_sync.models.subaccount_netting_config import SubaccountNettingConfig
197
198
  from kalshi_python_sync.models.subaccount_transfer import SubaccountTransfer
198
199
  from kalshi_python_sync.models.ticker_pair import TickerPair
199
200
  from kalshi_python_sync.models.trade import Trade
200
201
  from kalshi_python_sync.models.update_order_group_limit_request import UpdateOrderGroupLimitRequest
202
+ from kalshi_python_sync.models.update_subaccount_netting_request import UpdateSubaccountNettingRequest
201
203
  from kalshi_python_sync.models.weekly_schedule import WeeklySchedule
202
204
 
203
205
 
@@ -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.7.0
8
+ The version of the OpenAPI document: 3.9.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.7.0
8
+ The version of the OpenAPI document: 3.9.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.7.0
8
+ The version of the OpenAPI document: 3.9.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -2233,7 +2233,7 @@ class CommunicationsApi:
2233
2233
 
2234
2234
  :param cursor: Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
2235
2235
  :type cursor: str
2236
- :param event_ticker: Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
2236
+ :param event_ticker: Event ticker to filter by. Only a single event ticker is supported.
2237
2237
  :type event_ticker: str
2238
2238
  :param market_ticker: Filter by market ticker
2239
2239
  :type market_ticker: str
@@ -2308,7 +2308,7 @@ class CommunicationsApi:
2308
2308
  def get_quotes_with_http_info(
2309
2309
  self,
2310
2310
  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,
2311
- 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,
2311
+ event_ticker: Annotated[Optional[StrictStr], Field(description="Event ticker to filter by. Only a single event ticker is supported.")] = None,
2312
2312
  market_ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
2313
2313
  limit: Annotated[Optional[Annotated[int, Field(le=500, strict=True, ge=1)]], Field(description="Parameter to specify the number of results per page. Defaults to 500.")] = None,
2314
2314
  status: Annotated[Optional[StrictStr], Field(description="Filter quotes by status")] = None,
@@ -2335,7 +2335,7 @@ class CommunicationsApi:
2335
2335
 
2336
2336
  :param cursor: Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
2337
2337
  :type cursor: str
2338
- :param event_ticker: Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
2338
+ :param event_ticker: Event ticker to filter by. Only a single event ticker is supported.
2339
2339
  :type event_ticker: str
2340
2340
  :param market_ticker: Filter by market ticker
2341
2341
  :type market_ticker: str
@@ -2409,7 +2409,7 @@ class CommunicationsApi:
2409
2409
  def get_quotes_without_preload_content(
2410
2410
  self,
2411
2411
  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,
2412
- 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,
2412
+ event_ticker: Annotated[Optional[StrictStr], Field(description="Event ticker to filter by. Only a single event ticker is supported.")] = None,
2413
2413
  market_ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
2414
2414
  limit: Annotated[Optional[Annotated[int, Field(le=500, strict=True, ge=1)]], Field(description="Parameter to specify the number of results per page. Defaults to 500.")] = None,
2415
2415
  status: Annotated[Optional[StrictStr], Field(description="Filter quotes by status")] = None,
@@ -2436,7 +2436,7 @@ class CommunicationsApi:
2436
2436
 
2437
2437
  :param cursor: Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
2438
2438
  :type cursor: str
2439
- :param event_ticker: Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
2439
+ :param event_ticker: Event ticker to filter by. Only a single event ticker is supported.
2440
2440
  :type event_ticker: str
2441
2441
  :param market_ticker: Filter by market ticker
2442
2442
  :type market_ticker: str
@@ -2888,11 +2888,11 @@ class CommunicationsApi:
2888
2888
 
2889
2889
  :param cursor: Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
2890
2890
  :type cursor: str
2891
- :param event_ticker: Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
2891
+ :param event_ticker: Event ticker to filter by. Only a single event ticker is supported.
2892
2892
  :type event_ticker: str
2893
2893
  :param market_ticker: Filter by market ticker
2894
2894
  :type market_ticker: str
2895
- :param subaccount: Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, returns results across all subaccounts.
2895
+ :param subaccount: Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, defaults to all subaccounts.
2896
2896
  :type subaccount: int
2897
2897
  :param limit: Parameter to specify the number of results per page. Defaults to 100.
2898
2898
  :type limit: int
@@ -2957,9 +2957,9 @@ class CommunicationsApi:
2957
2957
  def get_rfqs_with_http_info(
2958
2958
  self,
2959
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,
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,
2960
+ event_ticker: Annotated[Optional[StrictStr], Field(description="Event ticker to filter by. Only a single event ticker is supported.")] = None,
2961
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,
2962
+ subaccount: Annotated[Optional[StrictInt], Field(description="Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, defaults to all subaccounts.")] = None,
2963
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,
2964
2964
  status: Annotated[Optional[StrictStr], Field(description="Filter RFQs by status")] = None,
2965
2965
  creator_user_id: Annotated[Optional[StrictStr], Field(description="Filter RFQs by creator user ID")] = None,
@@ -2982,11 +2982,11 @@ class CommunicationsApi:
2982
2982
 
2983
2983
  :param cursor: Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
2984
2984
  :type cursor: str
2985
- :param event_ticker: Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
2985
+ :param event_ticker: Event ticker to filter by. Only a single event ticker is supported.
2986
2986
  :type event_ticker: str
2987
2987
  :param market_ticker: Filter by market ticker
2988
2988
  :type market_ticker: str
2989
- :param subaccount: Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, returns results across all subaccounts.
2989
+ :param subaccount: Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, defaults to all subaccounts.
2990
2990
  :type subaccount: int
2991
2991
  :param limit: Parameter to specify the number of results per page. Defaults to 100.
2992
2992
  :type limit: int
@@ -3050,9 +3050,9 @@ class CommunicationsApi:
3050
3050
  def get_rfqs_without_preload_content(
3051
3051
  self,
3052
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,
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,
3053
+ event_ticker: Annotated[Optional[StrictStr], Field(description="Event ticker to filter by. Only a single event ticker is supported.")] = None,
3054
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,
3055
+ subaccount: Annotated[Optional[StrictInt], Field(description="Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, defaults to all subaccounts.")] = None,
3056
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,
3057
3057
  status: Annotated[Optional[StrictStr], Field(description="Filter RFQs by status")] = None,
3058
3058
  creator_user_id: Annotated[Optional[StrictStr], Field(description="Filter RFQs by creator user ID")] = None,
@@ -3075,11 +3075,11 @@ class CommunicationsApi:
3075
3075
 
3076
3076
  :param cursor: Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
3077
3077
  :type cursor: str
3078
- :param event_ticker: Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
3078
+ :param event_ticker: Event ticker to filter by. Only a single event ticker is supported.
3079
3079
  :type event_ticker: str
3080
3080
  :param market_ticker: Filter by market ticker
3081
3081
  :type market_ticker: str
3082
- :param subaccount: Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, returns results across all subaccounts.
3082
+ :param subaccount: Subaccount number (0 for primary, 1-32 for subaccounts). If omitted, defaults to all subaccounts.
3083
3083
  :type subaccount: int
3084
3084
  :param limit: Parameter to specify the number of results per page. Defaults to 100.
3085
3085
  :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.7.0
8
+ The version of the OpenAPI document: 3.9.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -51,11 +51,11 @@ class EventsApi:
51
51
  ) -> GetEventResponse:
52
52
  """Get Event
53
53
 
54
- Endpoint for getting data about an event by its ticker. An event represents a real-world occurrence that can be traded on, such as an election, sports game, or economic indicator release. Events contain one or more markets where users can place trades on different outcomes.
54
+ Endpoint for getting data about an event by its ticker. An event represents a real-world occurrence that can be traded on, such as an election, sports game, or economic indicator release. Events contain one or more markets where users can place trades on different outcomes. All events are accessible through this endpoint, even if their associated markets are older than the historical cutoff.
55
55
 
56
56
  :param event_ticker: Event ticker (required)
57
57
  :type event_ticker: str
58
- :param with_nested_markets: If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response.
58
+ :param with_nested_markets: If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response. Historical markets settled before the historical cutoff will not be included.
59
59
  :type with_nested_markets: bool
60
60
  :param _request_timeout: timeout setting for this request. If one
61
61
  number provided, it will be total request
@@ -111,7 +111,7 @@ class EventsApi:
111
111
  def get_event_with_http_info(
112
112
  self,
113
113
  event_ticker: Annotated[StrictStr, Field(description="Event ticker")],
114
- with_nested_markets: Annotated[Optional[StrictBool], Field(description="If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response.")] = None,
114
+ with_nested_markets: Annotated[Optional[StrictBool], Field(description="If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response. Historical markets settled before the historical cutoff will not be included.")] = None,
115
115
  _request_timeout: Union[
116
116
  None,
117
117
  Annotated[StrictFloat, Field(gt=0)],
@@ -127,11 +127,11 @@ class EventsApi:
127
127
  ) -> ApiResponse[GetEventResponse]:
128
128
  """Get Event
129
129
 
130
- Endpoint for getting data about an event by its ticker. An event represents a real-world occurrence that can be traded on, such as an election, sports game, or economic indicator release. Events contain one or more markets where users can place trades on different outcomes.
130
+ Endpoint for getting data about an event by its ticker. An event represents a real-world occurrence that can be traded on, such as an election, sports game, or economic indicator release. Events contain one or more markets where users can place trades on different outcomes. All events are accessible through this endpoint, even if their associated markets are older than the historical cutoff.
131
131
 
132
132
  :param event_ticker: Event ticker (required)
133
133
  :type event_ticker: str
134
- :param with_nested_markets: If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response.
134
+ :param with_nested_markets: If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response. Historical markets settled before the historical cutoff will not be included.
135
135
  :type with_nested_markets: bool
136
136
  :param _request_timeout: timeout setting for this request. If one
137
137
  number provided, it will be total request
@@ -186,7 +186,7 @@ class EventsApi:
186
186
  def get_event_without_preload_content(
187
187
  self,
188
188
  event_ticker: Annotated[StrictStr, Field(description="Event ticker")],
189
- with_nested_markets: Annotated[Optional[StrictBool], Field(description="If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response.")] = None,
189
+ with_nested_markets: Annotated[Optional[StrictBool], Field(description="If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response. Historical markets settled before the historical cutoff will not be included.")] = None,
190
190
  _request_timeout: Union[
191
191
  None,
192
192
  Annotated[StrictFloat, Field(gt=0)],
@@ -202,11 +202,11 @@ class EventsApi:
202
202
  ) -> RESTResponseType:
203
203
  """Get Event
204
204
 
205
- Endpoint for getting data about an event by its ticker. An event represents a real-world occurrence that can be traded on, such as an election, sports game, or economic indicator release. Events contain one or more markets where users can place trades on different outcomes.
205
+ Endpoint for getting data about an event by its ticker. An event represents a real-world occurrence that can be traded on, such as an election, sports game, or economic indicator release. Events contain one or more markets where users can place trades on different outcomes. All events are accessible through this endpoint, even if their associated markets are older than the historical cutoff.
206
206
 
207
207
  :param event_ticker: Event ticker (required)
208
208
  :type event_ticker: str
209
- :param with_nested_markets: If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response.
209
+ :param with_nested_markets: If true, markets are included within the event object. If false (default), markets are returned as a separate top-level field in the response. Historical markets settled before the historical cutoff will not be included.
210
210
  :type with_nested_markets: bool
211
211
  :param _request_timeout: timeout setting for this request. If one
212
212
  number provided, it will be total request
@@ -937,16 +937,17 @@ class EventsApi:
937
937
  status: Any = None,
938
938
  series_ticker: Any = None,
939
939
  min_close_ts: Any = None,
940
+ min_updated_ts: Any = None,
940
941
  ) -> GetEventsResponse:
941
942
  """Get Events
942
943
 
943
- Get all events. This endpoint excludes multivariate events. To retrieve multivariate events, use the GET /events/multivariate endpoint.
944
+ Get all events. This endpoint excludes multivariate events. To retrieve multivariate events, use the GET /events/multivariate endpoint. All events are accessible through this endpoint, even if their associated markets are older than the historical cutoff.
944
945
 
945
946
  :param limit: Parameter to specify the number of results per page. Defaults to 200. Maximum value is 200.
946
947
  :type limit: int
947
948
  :param cursor: Parameter to specify the pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
948
949
  :type cursor: str
949
- :param with_nested_markets: Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event.
950
+ :param with_nested_markets: Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event. Historical markets settled before the historical cutoff will not be included.
950
951
  :type with_nested_markets: bool
951
952
  :param with_milestones: If true, includes related milestones as a field alongside events.
952
953
  :type with_milestones: bool
@@ -956,6 +957,8 @@ class EventsApi:
956
957
  :type series_ticker: str
957
958
  :param min_close_ts: Filter events with at least one market with close timestamp greater than this Unix timestamp (in seconds).
958
959
  :type min_close_ts: int
960
+ :param min_updated_ts: Filter events with metadata updated after this Unix timestamp (in seconds). Use this to efficiently poll for changes.
961
+ :type min_updated_ts: int
959
962
  :param _request_timeout: timeout setting for this request. If one
960
963
  number provided, it will be total request
961
964
  timeout. It can also be a pair (tuple) of
@@ -987,6 +990,7 @@ class EventsApi:
987
990
  status=status,
988
991
  series_ticker=series_ticker,
989
992
  min_close_ts=min_close_ts,
993
+ min_updated_ts=min_updated_ts,
990
994
  _request_auth=None,
991
995
  _content_type=None,
992
996
  _headers=None,
@@ -1015,11 +1019,12 @@ class EventsApi:
1015
1019
  self,
1016
1020
  limit: Annotated[Optional[Annotated[int, Field(le=200, strict=True, ge=1)]], Field(description="Parameter to specify the number of results per page. Defaults to 200. Maximum value is 200.")] = None,
1017
1021
  cursor: Annotated[Optional[StrictStr], Field(description="Parameter to specify the pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.")] = None,
1018
- with_nested_markets: Annotated[Optional[StrictBool], Field(description="Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event.")] = None,
1022
+ with_nested_markets: Annotated[Optional[StrictBool], Field(description="Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event. Historical markets settled before the historical cutoff will not be included.")] = None,
1019
1023
  with_milestones: Annotated[Optional[StrictBool], Field(description="If true, includes related milestones as a field alongside events.")] = None,
1020
1024
  status: Annotated[Optional[StrictStr], Field(description="Filter by event status. Possible values are 'open', 'closed', 'settled'. Leave empty to return events with any status.")] = None,
1021
1025
  series_ticker: Annotated[Optional[StrictStr], Field(description="Filter by series ticker")] = None,
1022
1026
  min_close_ts: Annotated[Optional[StrictInt], Field(description="Filter events with at least one market with close timestamp greater than this Unix timestamp (in seconds).")] = None,
1027
+ min_updated_ts: Annotated[Optional[StrictInt], Field(description="Filter events with metadata updated after this Unix timestamp (in seconds). Use this to efficiently poll for changes.")] = None,
1023
1028
  _request_timeout: Union[
1024
1029
  None,
1025
1030
  Annotated[StrictFloat, Field(gt=0)],
@@ -1035,13 +1040,13 @@ class EventsApi:
1035
1040
  ) -> ApiResponse[GetEventsResponse]:
1036
1041
  """Get Events
1037
1042
 
1038
- Get all events. This endpoint excludes multivariate events. To retrieve multivariate events, use the GET /events/multivariate endpoint.
1043
+ Get all events. This endpoint excludes multivariate events. To retrieve multivariate events, use the GET /events/multivariate endpoint. All events are accessible through this endpoint, even if their associated markets are older than the historical cutoff.
1039
1044
 
1040
1045
  :param limit: Parameter to specify the number of results per page. Defaults to 200. Maximum value is 200.
1041
1046
  :type limit: int
1042
1047
  :param cursor: Parameter to specify the pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
1043
1048
  :type cursor: str
1044
- :param with_nested_markets: Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event.
1049
+ :param with_nested_markets: Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event. Historical markets settled before the historical cutoff will not be included.
1045
1050
  :type with_nested_markets: bool
1046
1051
  :param with_milestones: If true, includes related milestones as a field alongside events.
1047
1052
  :type with_milestones: bool
@@ -1051,6 +1056,8 @@ class EventsApi:
1051
1056
  :type series_ticker: str
1052
1057
  :param min_close_ts: Filter events with at least one market with close timestamp greater than this Unix timestamp (in seconds).
1053
1058
  :type min_close_ts: int
1059
+ :param min_updated_ts: Filter events with metadata updated after this Unix timestamp (in seconds). Use this to efficiently poll for changes.
1060
+ :type min_updated_ts: int
1054
1061
  :param _request_timeout: timeout setting for this request. If one
1055
1062
  number provided, it will be total request
1056
1063
  timeout. It can also be a pair (tuple) of
@@ -1081,6 +1088,7 @@ class EventsApi:
1081
1088
  status=status,
1082
1089
  series_ticker=series_ticker,
1083
1090
  min_close_ts=min_close_ts,
1091
+ min_updated_ts=min_updated_ts,
1084
1092
  _request_auth=_request_auth,
1085
1093
  _content_type=_content_type,
1086
1094
  _headers=_headers,
@@ -1109,11 +1117,12 @@ class EventsApi:
1109
1117
  self,
1110
1118
  limit: Annotated[Optional[Annotated[int, Field(le=200, strict=True, ge=1)]], Field(description="Parameter to specify the number of results per page. Defaults to 200. Maximum value is 200.")] = None,
1111
1119
  cursor: Annotated[Optional[StrictStr], Field(description="Parameter to specify the pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.")] = None,
1112
- with_nested_markets: Annotated[Optional[StrictBool], Field(description="Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event.")] = None,
1120
+ with_nested_markets: Annotated[Optional[StrictBool], Field(description="Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event. Historical markets settled before the historical cutoff will not be included.")] = None,
1113
1121
  with_milestones: Annotated[Optional[StrictBool], Field(description="If true, includes related milestones as a field alongside events.")] = None,
1114
1122
  status: Annotated[Optional[StrictStr], Field(description="Filter by event status. Possible values are 'open', 'closed', 'settled'. Leave empty to return events with any status.")] = None,
1115
1123
  series_ticker: Annotated[Optional[StrictStr], Field(description="Filter by series ticker")] = None,
1116
1124
  min_close_ts: Annotated[Optional[StrictInt], Field(description="Filter events with at least one market with close timestamp greater than this Unix timestamp (in seconds).")] = None,
1125
+ min_updated_ts: Annotated[Optional[StrictInt], Field(description="Filter events with metadata updated after this Unix timestamp (in seconds). Use this to efficiently poll for changes.")] = None,
1117
1126
  _request_timeout: Union[
1118
1127
  None,
1119
1128
  Annotated[StrictFloat, Field(gt=0)],
@@ -1129,13 +1138,13 @@ class EventsApi:
1129
1138
  ) -> RESTResponseType:
1130
1139
  """Get Events
1131
1140
 
1132
- Get all events. This endpoint excludes multivariate events. To retrieve multivariate events, use the GET /events/multivariate endpoint.
1141
+ Get all events. This endpoint excludes multivariate events. To retrieve multivariate events, use the GET /events/multivariate endpoint. All events are accessible through this endpoint, even if their associated markets are older than the historical cutoff.
1133
1142
 
1134
1143
  :param limit: Parameter to specify the number of results per page. Defaults to 200. Maximum value is 200.
1135
1144
  :type limit: int
1136
1145
  :param cursor: Parameter to specify the pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
1137
1146
  :type cursor: str
1138
- :param with_nested_markets: Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event.
1147
+ :param with_nested_markets: Parameter to specify if nested markets should be included in the response. When true, each event will include a 'markets' field containing a list of Market objects associated with that event. Historical markets settled before the historical cutoff will not be included.
1139
1148
  :type with_nested_markets: bool
1140
1149
  :param with_milestones: If true, includes related milestones as a field alongside events.
1141
1150
  :type with_milestones: bool
@@ -1145,6 +1154,8 @@ class EventsApi:
1145
1154
  :type series_ticker: str
1146
1155
  :param min_close_ts: Filter events with at least one market with close timestamp greater than this Unix timestamp (in seconds).
1147
1156
  :type min_close_ts: int
1157
+ :param min_updated_ts: Filter events with metadata updated after this Unix timestamp (in seconds). Use this to efficiently poll for changes.
1158
+ :type min_updated_ts: int
1148
1159
  :param _request_timeout: timeout setting for this request. If one
1149
1160
  number provided, it will be total request
1150
1161
  timeout. It can also be a pair (tuple) of
@@ -1175,6 +1186,7 @@ class EventsApi:
1175
1186
  status=status,
1176
1187
  series_ticker=series_ticker,
1177
1188
  min_close_ts=min_close_ts,
1189
+ min_updated_ts=min_updated_ts,
1178
1190
  _request_auth=_request_auth,
1179
1191
  _content_type=_content_type,
1180
1192
  _headers=_headers,
@@ -1203,6 +1215,7 @@ class EventsApi:
1203
1215
  status,
1204
1216
  series_ticker,
1205
1217
  min_close_ts,
1218
+ min_updated_ts,
1206
1219
  _request_auth,
1207
1220
  _content_type,
1208
1221
  _headers,
@@ -1253,6 +1266,10 @@ class EventsApi:
1253
1266
 
1254
1267
  _query_params.append(('min_close_ts', min_close_ts))
1255
1268
 
1269
+ if min_updated_ts is not None:
1270
+
1271
+ _query_params.append(('min_updated_ts', min_updated_ts))
1272
+
1256
1273
  # process the header parameters
1257
1274
  # process the form parameters
1258
1275
  # process the body parameter
@@ -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.7.0
8
+ The version of the OpenAPI document: 3.9.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.7.0
8
+ The version of the OpenAPI document: 3.9.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -59,7 +59,7 @@ class FcmApi:
59
59
  :type subtrader_id: str
60
60
  :param cursor: Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
61
61
  :type cursor: str
62
- :param event_ticker: Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
62
+ :param event_ticker: Event ticker to filter by. Only a single event ticker is supported.
63
63
  :type event_ticker: str
64
64
  :param ticker: Filter by market ticker
65
65
  :type ticker: str
@@ -132,7 +132,7 @@ class FcmApi:
132
132
  self,
133
133
  subtrader_id: Annotated[StrictStr, Field(description="Restricts the response to orders for a specific subtrader (FCM members only)")],
134
134
  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,
135
- 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,
135
+ event_ticker: Annotated[Optional[StrictStr], Field(description="Event ticker to filter by. Only a single event ticker is supported.")] = None,
136
136
  ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
137
137
  min_ts: Annotated[Optional[StrictInt], Field(description="Restricts the response to orders after a timestamp, formatted as a Unix Timestamp")] = None,
138
138
  max_ts: Annotated[Optional[StrictInt], Field(description="Restricts the response to orders before a timestamp, formatted as a Unix Timestamp")] = None,
@@ -159,7 +159,7 @@ class FcmApi:
159
159
  :type subtrader_id: str
160
160
  :param cursor: Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
161
161
  :type cursor: str
162
- :param event_ticker: Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
162
+ :param event_ticker: Event ticker to filter by. Only a single event ticker is supported.
163
163
  :type event_ticker: str
164
164
  :param ticker: Filter by market ticker
165
165
  :type ticker: str
@@ -231,7 +231,7 @@ class FcmApi:
231
231
  self,
232
232
  subtrader_id: Annotated[StrictStr, Field(description="Restricts the response to orders for a specific subtrader (FCM members only)")],
233
233
  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,
234
- 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,
234
+ event_ticker: Annotated[Optional[StrictStr], Field(description="Event ticker to filter by. Only a single event ticker is supported.")] = None,
235
235
  ticker: Annotated[Optional[StrictStr], Field(description="Filter by market ticker")] = None,
236
236
  min_ts: Annotated[Optional[StrictInt], Field(description="Restricts the response to orders after a timestamp, formatted as a Unix Timestamp")] = None,
237
237
  max_ts: Annotated[Optional[StrictInt], Field(description="Restricts the response to orders before a timestamp, formatted as a Unix Timestamp")] = None,
@@ -258,7 +258,7 @@ class FcmApi:
258
258
  :type subtrader_id: str
259
259
  :param cursor: Pagination cursor. Use the cursor value returned from the previous response to get the next page of results. Leave empty for the first page.
260
260
  :type cursor: str
261
- :param event_ticker: Event ticker of desired positions. Multiple event tickers can be provided as a comma-separated list (maximum 10).
261
+ :param event_ticker: Event ticker to filter by. Only a single event ticker is supported.
262
262
  :type event_ticker: str
263
263
  :param ticker: Filter by market ticker
264
264
  :type ticker: str