kalshi-python-sync 3.33.0__tar.gz → 3.34.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 (924) hide show
  1. kalshi_python_sync-3.34.0/PKG-INFO +77 -0
  2. kalshi_python_sync-3.34.0/README.md +52 -0
  3. kalshi_python_sync-3.34.0/kalshi_python_sync/__init__.py +365 -0
  4. kalshi_python_sync-3.34.0/kalshi_python_sync/api/account_api.py +1002 -0
  5. kalshi_python_sync-3.34.0/kalshi_python_sync/api/api_keys_api.py +1125 -0
  6. kalshi_python_sync-3.34.0/kalshi_python_sync/api/communications_api.py +5374 -0
  7. kalshi_python_sync-3.34.0/kalshi_python_sync/api/events_api.py +2267 -0
  8. kalshi_python_sync-3.34.0/kalshi_python_sync/api/exchange_api.py +1025 -0
  9. kalshi_python_sync-3.34.0/kalshi_python_sync/api/fcm_api.py +3314 -0
  10. kalshi_python_sync-3.34.0/kalshi_python_sync/api/historical_api.py +2564 -0
  11. kalshi_python_sync-3.34.0/kalshi_python_sync/api/incentive_programs_api.py +363 -0
  12. kalshi_python_sync-3.34.0/kalshi_python_sync/api/live_data_api.py +1979 -0
  13. kalshi_python_sync-3.34.0/kalshi_python_sync/api/market_api.py +2946 -0
  14. kalshi_python_sync-3.34.0/kalshi_python_sync/api/milestone_api.py +706 -0
  15. kalshi_python_sync-3.34.0/kalshi_python_sync/api/multivariate_api.py +919 -0
  16. kalshi_python_sync-3.34.0/kalshi_python_sync/api/order_groups_api.py +2130 -0
  17. kalshi_python_sync-3.34.0/kalshi_python_sync/api/orders_api.py +3324 -0
  18. kalshi_python_sync-3.34.0/kalshi_python_sync/api/portfolio_api.py +5209 -0
  19. kalshi_python_sync-3.34.0/kalshi_python_sync/api/search_api.py +516 -0
  20. kalshi_python_sync-3.34.0/kalshi_python_sync/api/structured_targets_api.py +623 -0
  21. kalshi_python_sync-3.34.0/kalshi_python_sync/api_client.py +837 -0
  22. kalshi_python_sync-3.34.0/kalshi_python_sync/configuration.py +646 -0
  23. kalshi_python_sync-3.34.0/kalshi_python_sync/exceptions.py +216 -0
  24. kalshi_python_sync-3.34.0/kalshi_python_sync/models/__init__.py +223 -0
  25. kalshi_python_sync-3.34.0/kalshi_python_sync/models/accept_block_trade_proposal_request.py +90 -0
  26. kalshi_python_sync-3.34.0/kalshi_python_sync/models/accept_quote_request.py +94 -0
  27. kalshi_python_sync-3.34.0/kalshi_python_sync/models/account_api_usage_level_volume_goal.py +91 -0
  28. kalshi_python_sync-3.34.0/kalshi_python_sync/models/account_api_usage_level_volume_progress.py +99 -0
  29. kalshi_python_sync-3.34.0/kalshi_python_sync/models/amend_order_request.py +126 -0
  30. kalshi_python_sync-3.34.0/kalshi_python_sync/models/amend_order_response.py +96 -0
  31. kalshi_python_sync-3.34.0/kalshi_python_sync/models/amend_order_v2_request.py +103 -0
  32. kalshi_python_sync-3.34.0/kalshi_python_sync/models/amend_order_v2_response.py +99 -0
  33. kalshi_python_sync-3.34.0/kalshi_python_sync/models/api_key.py +107 -0
  34. kalshi_python_sync-3.34.0/kalshi_python_sync/models/api_key_scope.py +43 -0
  35. kalshi_python_sync-3.34.0/kalshi_python_sync/models/api_key_type.py +37 -0
  36. kalshi_python_sync-3.34.0/kalshi_python_sync/models/api_usage_level_grant.py +99 -0
  37. kalshi_python_sync-3.34.0/kalshi_python_sync/models/apply_subaccount_transfer_request.py +96 -0
  38. kalshi_python_sync-3.34.0/kalshi_python_sync/models/associated_event.py +105 -0
  39. kalshi_python_sync-3.34.0/kalshi_python_sync/models/batch_cancel_orders_individual_response.py +111 -0
  40. kalshi_python_sync-3.34.0/kalshi_python_sync/models/batch_cancel_orders_request.py +97 -0
  41. kalshi_python_sync-3.34.0/kalshi_python_sync/models/batch_cancel_orders_request_order.py +94 -0
  42. kalshi_python_sync-3.34.0/kalshi_python_sync/models/batch_cancel_orders_response.py +95 -0
  43. kalshi_python_sync-3.34.0/kalshi_python_sync/models/batch_cancel_orders_v2_request.py +95 -0
  44. kalshi_python_sync-3.34.0/kalshi_python_sync/models/batch_cancel_orders_v2_request_orders_inner.py +94 -0
  45. kalshi_python_sync-3.34.0/kalshi_python_sync/models/batch_cancel_orders_v2_response.py +95 -0
  46. kalshi_python_sync-3.34.0/kalshi_python_sync/models/batch_cancel_orders_v2_response_orders_inner.py +114 -0
  47. kalshi_python_sync-3.34.0/kalshi_python_sync/models/batch_create_orders_individual_response.py +114 -0
  48. kalshi_python_sync-3.34.0/kalshi_python_sync/models/batch_create_orders_request.py +95 -0
  49. kalshi_python_sync-3.34.0/kalshi_python_sync/models/batch_create_orders_response.py +95 -0
  50. kalshi_python_sync-3.34.0/kalshi_python_sync/models/batch_create_orders_v2_request.py +95 -0
  51. kalshi_python_sync-3.34.0/kalshi_python_sync/models/batch_create_orders_v2_response.py +95 -0
  52. kalshi_python_sync-3.34.0/kalshi_python_sync/models/batch_create_orders_v2_response_orders_inner.py +120 -0
  53. kalshi_python_sync-3.34.0/kalshi_python_sync/models/batch_get_market_candlesticks_response.py +95 -0
  54. kalshi_python_sync-3.34.0/kalshi_python_sync/models/bid_ask_distribution.py +93 -0
  55. kalshi_python_sync-3.34.0/kalshi_python_sync/models/bid_ask_distribution_historical.py +93 -0
  56. kalshi_python_sync-3.34.0/kalshi_python_sync/models/block_trade_proposal.py +135 -0
  57. kalshi_python_sync-3.34.0/kalshi_python_sync/models/book_side.py +37 -0
  58. kalshi_python_sync-3.34.0/kalshi_python_sync/models/bucket_limit.py +89 -0
  59. kalshi_python_sync-3.34.0/kalshi_python_sync/models/cancel_order_v2_response.py +93 -0
  60. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_api_key_request.py +97 -0
  61. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_api_key_response.py +94 -0
  62. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_fcm_position_transfer_request.py +96 -0
  63. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_fcm_position_transfer_response.py +87 -0
  64. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_fcm_subtrader_request.py +87 -0
  65. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_fcm_subtrader_response.py +87 -0
  66. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_market_in_multivariate_event_collection_request.py +97 -0
  67. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_market_in_multivariate_event_collection_response.py +95 -0
  68. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_order_group_request.py +94 -0
  69. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_order_group_response.py +92 -0
  70. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_order_request.py +153 -0
  71. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_order_response.py +91 -0
  72. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_order_v2_request.py +123 -0
  73. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_order_v2_response.py +99 -0
  74. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_quote_request.py +97 -0
  75. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_quote_response.py +87 -0
  76. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_rfq_request.py +107 -0
  77. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_rfq_response.py +87 -0
  78. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_subaccount_request.py +87 -0
  79. kalshi_python_sync-3.34.0/kalshi_python_sync/models/create_subaccount_response.py +87 -0
  80. kalshi_python_sync-3.34.0/kalshi_python_sync/models/daily_schedule.py +89 -0
  81. kalshi_python_sync-3.34.0/kalshi_python_sync/models/decrease_order_v2_request.py +93 -0
  82. kalshi_python_sync-3.34.0/kalshi_python_sync/models/decrease_order_v2_response.py +93 -0
  83. kalshi_python_sync-3.34.0/kalshi_python_sync/models/deposit.py +118 -0
  84. kalshi_python_sync-3.34.0/kalshi_python_sync/models/endpoint_token_cost.py +91 -0
  85. kalshi_python_sync-3.34.0/kalshi_python_sync/models/error_response.py +91 -0
  86. kalshi_python_sync-3.34.0/kalshi_python_sync/models/event_data.py +164 -0
  87. kalshi_python_sync-3.34.0/kalshi_python_sync/models/event_fee_change.py +109 -0
  88. kalshi_python_sync-3.34.0/kalshi_python_sync/models/event_live_data.py +95 -0
  89. kalshi_python_sync-3.34.0/kalshi_python_sync/models/event_position.py +97 -0
  90. kalshi_python_sync-3.34.0/kalshi_python_sync/models/exchange_index_status.py +95 -0
  91. kalshi_python_sync-3.34.0/kalshi_python_sync/models/exchange_instance.py +37 -0
  92. kalshi_python_sync-3.34.0/kalshi_python_sync/models/exchange_status.py +109 -0
  93. kalshi_python_sync-3.34.0/kalshi_python_sync/models/fcm_fill.py +113 -0
  94. kalshi_python_sync-3.34.0/kalshi_python_sync/models/fcm_subtrader.py +95 -0
  95. kalshi_python_sync-3.34.0/kalshi_python_sync/models/fee_type.py +39 -0
  96. kalshi_python_sync-3.34.0/kalshi_python_sync/models/fill.py +149 -0
  97. kalshi_python_sync-3.34.0/kalshi_python_sync/models/forecast_percentiles_point.py +101 -0
  98. kalshi_python_sync-3.34.0/kalshi_python_sync/models/generate_api_key_request.py +98 -0
  99. kalshi_python_sync-3.34.0/kalshi_python_sync/models/generate_api_key_response.py +99 -0
  100. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_account_api_limits_response.py +108 -0
  101. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_account_api_usage_level_volume_progress_response.py +95 -0
  102. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_account_endpoint_costs_response.py +97 -0
  103. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_api_keys_response.py +102 -0
  104. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_balance_response.py +103 -0
  105. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_block_trade_proposals_response.py +97 -0
  106. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_communications_id_response.py +87 -0
  107. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_deposits_response.py +97 -0
  108. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_event_candlesticks_response.py +104 -0
  109. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_event_fee_changes_response.py +97 -0
  110. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_event_forecast_percentiles_history_response.py +95 -0
  111. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_event_live_data_response.py +91 -0
  112. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_event_metadata_response.py +123 -0
  113. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_event_response.py +101 -0
  114. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_events_response.py +107 -0
  115. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_exchange_schedule_response.py +91 -0
  116. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_fcm_event_contract_daily_cap_response.py +97 -0
  117. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_fcm_fills_response.py +97 -0
  118. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_fcm_subtrader_blocked_categories_response.py +87 -0
  119. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_fills_response.py +97 -0
  120. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_filters_by_sports_response.py +102 -0
  121. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_game_stats_response.py +91 -0
  122. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_historical_cutoff_response.py +94 -0
  123. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_incentive_programs_response.py +97 -0
  124. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_intra_exchange_instance_transfer_response.py +91 -0
  125. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_intra_exchange_instance_transfers_response.py +97 -0
  126. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_live_data_response.py +91 -0
  127. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_live_datas_response.py +95 -0
  128. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_market_candlesticks_historical_response.py +97 -0
  129. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_market_candlesticks_response.py +97 -0
  130. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_market_orderbook_response.py +91 -0
  131. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_market_orderbooks_response.py +95 -0
  132. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_market_response.py +91 -0
  133. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_markets_response.py +97 -0
  134. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_milestone_response.py +91 -0
  135. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_milestones_response.py +97 -0
  136. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_multivariate_event_collection_response.py +91 -0
  137. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_multivariate_event_collections_response.py +97 -0
  138. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_multivariate_events_response.py +97 -0
  139. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_order_group_response.py +93 -0
  140. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_order_groups_response.py +95 -0
  141. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_order_queue_position_response.py +87 -0
  142. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_order_queue_positions_response.py +95 -0
  143. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_order_response.py +91 -0
  144. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_orders_response.py +97 -0
  145. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_portfolio_resting_order_total_value_response.py +97 -0
  146. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_positions_response.py +107 -0
  147. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_quote_response.py +91 -0
  148. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_quotes_response.py +97 -0
  149. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_rfq_response.py +91 -0
  150. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_rfqs_response.py +97 -0
  151. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_series_fee_changes_response.py +95 -0
  152. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_series_list_response.py +95 -0
  153. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_series_response.py +91 -0
  154. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_settlements_response.py +97 -0
  155. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_structured_target_response.py +91 -0
  156. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_structured_targets_response.py +97 -0
  157. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_subaccount_balances_response.py +95 -0
  158. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_subaccount_netting_response.py +95 -0
  159. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_subaccount_transfers_response.py +97 -0
  160. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_tags_for_series_categories_response.py +87 -0
  161. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_target_balance_allocation_response.py +98 -0
  162. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_trades_response.py +97 -0
  163. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_user_data_timestamp_response.py +88 -0
  164. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_weather_index_calibrations_response.py +99 -0
  165. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_weather_index_response.py +101 -0
  166. kalshi_python_sync-3.34.0/kalshi_python_sync/models/get_withdrawals_response.py +97 -0
  167. kalshi_python_sync-3.34.0/kalshi_python_sync/models/incentive_program.py +127 -0
  168. kalshi_python_sync-3.34.0/kalshi_python_sync/models/indexed_balance.py +89 -0
  169. kalshi_python_sync-3.34.0/kalshi_python_sync/models/intra_exchange_instance_transfer.py +103 -0
  170. kalshi_python_sync-3.34.0/kalshi_python_sync/models/intra_exchange_instance_transfer_request.py +104 -0
  171. kalshi_python_sync-3.34.0/kalshi_python_sync/models/intra_exchange_instance_transfer_response.py +87 -0
  172. kalshi_python_sync-3.34.0/kalshi_python_sync/models/intra_exchange_instance_transfer_status.py +37 -0
  173. kalshi_python_sync-3.34.0/kalshi_python_sync/models/list_fcm_subtraders_response.py +95 -0
  174. kalshi_python_sync-3.34.0/kalshi_python_sync/models/live_data.py +91 -0
  175. kalshi_python_sync-3.34.0/kalshi_python_sync/models/maintenance_window.py +90 -0
  176. kalshi_python_sync-3.34.0/kalshi_python_sync/models/market.py +298 -0
  177. kalshi_python_sync-3.34.0/kalshi_python_sync/models/market_candlestick.py +108 -0
  178. kalshi_python_sync-3.34.0/kalshi_python_sync/models/market_candlestick_historical.py +108 -0
  179. kalshi_python_sync-3.34.0/kalshi_python_sync/models/market_candlesticks_response.py +97 -0
  180. kalshi_python_sync-3.34.0/kalshi_python_sync/models/market_metadata.py +91 -0
  181. kalshi_python_sync-3.34.0/kalshi_python_sync/models/market_orderbook_fp.py +93 -0
  182. kalshi_python_sync-3.34.0/kalshi_python_sync/models/market_position.py +102 -0
  183. kalshi_python_sync-3.34.0/kalshi_python_sync/models/milestone.py +122 -0
  184. kalshi_python_sync-3.34.0/kalshi_python_sync/models/multivariate_event_collection.py +136 -0
  185. kalshi_python_sync-3.34.0/kalshi_python_sync/models/mve_selected_leg.py +93 -0
  186. kalshi_python_sync-3.34.0/kalshi_python_sync/models/order.py +202 -0
  187. kalshi_python_sync-3.34.0/kalshi_python_sync/models/order_group.py +93 -0
  188. kalshi_python_sync-3.34.0/kalshi_python_sync/models/order_queue_position.py +91 -0
  189. kalshi_python_sync-3.34.0/kalshi_python_sync/models/order_status.py +38 -0
  190. kalshi_python_sync-3.34.0/kalshi_python_sync/models/orderbook_count_fp.py +90 -0
  191. kalshi_python_sync-3.34.0/kalshi_python_sync/models/outcome_side.py +37 -0
  192. kalshi_python_sync-3.34.0/kalshi_python_sync/models/percentile_point.py +93 -0
  193. kalshi_python_sync-3.34.0/kalshi_python_sync/models/play_by_play.py +95 -0
  194. kalshi_python_sync-3.34.0/kalshi_python_sync/models/play_by_play_periods_inner.py +87 -0
  195. kalshi_python_sync-3.34.0/kalshi_python_sync/models/price_distribution.py +101 -0
  196. kalshi_python_sync-3.34.0/kalshi_python_sync/models/price_distribution_historical.py +127 -0
  197. kalshi_python_sync-3.34.0/kalshi_python_sync/models/price_range.py +91 -0
  198. kalshi_python_sync-3.34.0/kalshi_python_sync/models/propose_block_trade_request.py +116 -0
  199. kalshi_python_sync-3.34.0/kalshi_python_sync/models/propose_block_trade_response.py +87 -0
  200. kalshi_python_sync-3.34.0/kalshi_python_sync/models/quote.py +161 -0
  201. kalshi_python_sync-3.34.0/kalshi_python_sync/models/resting_margin_reservation.py +38 -0
  202. kalshi_python_sync-3.34.0/kalshi_python_sync/models/rfq.py +133 -0
  203. kalshi_python_sync-3.34.0/kalshi_python_sync/models/schedule.py +105 -0
  204. kalshi_python_sync-3.34.0/kalshi_python_sync/models/scope_list.py +87 -0
  205. kalshi_python_sync-3.34.0/kalshi_python_sync/models/self_trade_prevention_type.py +37 -0
  206. kalshi_python_sync-3.34.0/kalshi_python_sync/models/series.py +147 -0
  207. kalshi_python_sync-3.34.0/kalshi_python_sync/models/series_fee_change.py +97 -0
  208. kalshi_python_sync-3.34.0/kalshi_python_sync/models/set_target_balance_allocation_request.py +99 -0
  209. kalshi_python_sync-3.34.0/kalshi_python_sync/models/settlement.py +122 -0
  210. kalshi_python_sync-3.34.0/kalshi_python_sync/models/settlement_source.py +89 -0
  211. kalshi_python_sync-3.34.0/kalshi_python_sync/models/sport_filter_details.py +102 -0
  212. kalshi_python_sync-3.34.0/kalshi_python_sync/models/structured_target.py +100 -0
  213. kalshi_python_sync-3.34.0/kalshi_python_sync/models/subaccount_balance.py +93 -0
  214. kalshi_python_sync-3.34.0/kalshi_python_sync/models/subaccount_netting_config.py +91 -0
  215. kalshi_python_sync-3.34.0/kalshi_python_sync/models/subaccount_transfer.py +97 -0
  216. kalshi_python_sync-3.34.0/kalshi_python_sync/models/target_balance_allocation.py +90 -0
  217. kalshi_python_sync-3.34.0/kalshi_python_sync/models/target_balance_allocation_input.py +90 -0
  218. kalshi_python_sync-3.34.0/kalshi_python_sync/models/ticker_pair.py +98 -0
  219. kalshi_python_sync-3.34.0/kalshi_python_sync/models/trade.py +124 -0
  220. kalshi_python_sync-3.34.0/kalshi_python_sync/models/update_fcm_event_contract_daily_cap_request.py +89 -0
  221. kalshi_python_sync-3.34.0/kalshi_python_sync/models/update_fcm_subtrader_blocked_categories_request.py +91 -0
  222. kalshi_python_sync-3.34.0/kalshi_python_sync/models/update_fcm_subtrader_blocked_categories_response.py +87 -0
  223. kalshi_python_sync-3.34.0/kalshi_python_sync/models/update_order_group_limit_request.py +90 -0
  224. kalshi_python_sync-3.34.0/kalshi_python_sync/models/update_subaccount_netting_request.py +89 -0
  225. kalshi_python_sync-3.34.0/kalshi_python_sync/models/user_filter.py +36 -0
  226. kalshi_python_sync-3.34.0/kalshi_python_sync/models/weather_index_calibration.py +109 -0
  227. kalshi_python_sync-3.34.0/kalshi_python_sync/models/weather_index_calibration_station.py +93 -0
  228. kalshi_python_sync-3.34.0/kalshi_python_sync/models/weather_index_point.py +105 -0
  229. kalshi_python_sync-3.34.0/kalshi_python_sync/models/weather_index_station_reading.py +99 -0
  230. kalshi_python_sync-3.34.0/kalshi_python_sync/models/weekly_schedule.py +154 -0
  231. kalshi_python_sync-3.34.0/kalshi_python_sync/models/withdrawal.py +118 -0
  232. kalshi_python_sync-3.34.0/kalshi_python_sync/rest.py +258 -0
  233. kalshi_python_sync-3.34.0/kalshi_python_sync.egg-info/PKG-INFO +77 -0
  234. kalshi_python_sync-3.34.0/kalshi_python_sync.egg-info/SOURCES.txt +467 -0
  235. kalshi_python_sync-3.34.0/pyproject.toml +38 -0
  236. kalshi_python_sync-3.34.0/setup.py +50 -0
  237. kalshi_python_sync-3.34.0/test/test_accept_block_trade_proposal_request.py +52 -0
  238. kalshi_python_sync-3.34.0/test/test_accept_quote_request.py +52 -0
  239. kalshi_python_sync-3.34.0/test/test_account_api.py +59 -0
  240. kalshi_python_sync-3.34.0/test/test_account_api_usage_level_volume_goal.py +56 -0
  241. kalshi_python_sync-3.34.0/test/test_account_api_usage_level_volume_progress.py +66 -0
  242. kalshi_python_sync-3.34.0/test/test_amend_order_request.py +66 -0
  243. kalshi_python_sync-3.34.0/test/test_amend_order_response.py +162 -0
  244. kalshi_python_sync-3.34.0/test/test_amend_order_v2_request.py +62 -0
  245. kalshi_python_sync-3.34.0/test/test_amend_order_v2_response.py +59 -0
  246. kalshi_python_sync-3.34.0/test/test_api_key.py +62 -0
  247. kalshi_python_sync-3.34.0/test/test_api_key_scope.py +33 -0
  248. kalshi_python_sync-3.34.0/test/test_api_key_type.py +33 -0
  249. kalshi_python_sync-3.34.0/test/test_api_keys_api.py +59 -0
  250. kalshi_python_sync-3.34.0/test/test_api_usage_level_grant.py +57 -0
  251. kalshi_python_sync-3.34.0/test/test_apply_subaccount_transfer_request.py +59 -0
  252. kalshi_python_sync-3.34.0/test/test_associated_event.py +62 -0
  253. kalshi_python_sync-3.34.0/test/test_batch_cancel_orders_individual_response.py +86 -0
  254. kalshi_python_sync-3.34.0/test/test_batch_cancel_orders_request.py +60 -0
  255. kalshi_python_sync-3.34.0/test/test_batch_cancel_orders_request_order.py +55 -0
  256. kalshi_python_sync-3.34.0/test/test_batch_cancel_orders_response.py +64 -0
  257. kalshi_python_sync-3.34.0/test/test_batch_cancel_orders_v2_request.py +64 -0
  258. kalshi_python_sync-3.34.0/test/test_batch_cancel_orders_v2_request_orders_inner.py +55 -0
  259. kalshi_python_sync-3.34.0/test/test_batch_cancel_orders_v2_response.py +66 -0
  260. kalshi_python_sync-3.34.0/test/test_batch_cancel_orders_v2_response_orders_inner.py +60 -0
  261. kalshi_python_sync-3.34.0/test/test_batch_create_orders_individual_response.py +83 -0
  262. kalshi_python_sync-3.34.0/test/test_batch_create_orders_request.py +98 -0
  263. kalshi_python_sync-3.34.0/test/test_batch_create_orders_response.py +62 -0
  264. kalshi_python_sync-3.34.0/test/test_batch_create_orders_v2_request.py +56 -0
  265. kalshi_python_sync-3.34.0/test/test_batch_create_orders_v2_response.py +72 -0
  266. kalshi_python_sync-3.34.0/test/test_batch_create_orders_v2_response_orders_inner.py +61 -0
  267. kalshi_python_sync-3.34.0/test/test_batch_get_market_candlesticks_response.py +100 -0
  268. kalshi_python_sync-3.34.0/test/test_bid_ask_distribution.py +58 -0
  269. kalshi_python_sync-3.34.0/test/test_bid_ask_distribution_historical.py +58 -0
  270. kalshi_python_sync-3.34.0/test/test_block_trade_proposal.py +85 -0
  271. kalshi_python_sync-3.34.0/test/test_book_side.py +33 -0
  272. kalshi_python_sync-3.34.0/test/test_bucket_limit.py +54 -0
  273. kalshi_python_sync-3.34.0/test/test_cancel_order_v2_response.py +57 -0
  274. kalshi_python_sync-3.34.0/test/test_communications_api.py +157 -0
  275. kalshi_python_sync-3.34.0/test/test_create_api_key_request.py +59 -0
  276. kalshi_python_sync-3.34.0/test/test_create_api_key_response.py +53 -0
  277. kalshi_python_sync-3.34.0/test/test_create_fcm_position_transfer_request.py +60 -0
  278. kalshi_python_sync-3.34.0/test/test_create_fcm_position_transfer_response.py +52 -0
  279. kalshi_python_sync-3.34.0/test/test_create_fcm_subtrader_request.py +52 -0
  280. kalshi_python_sync-3.34.0/test/test_create_fcm_subtrader_response.py +52 -0
  281. kalshi_python_sync-3.34.0/test/test_create_market_in_multivariate_event_collection_request.py +63 -0
  282. kalshi_python_sync-3.34.0/test/test_create_market_in_multivariate_event_collection_response.py +120 -0
  283. kalshi_python_sync-3.34.0/test/test_create_order_group_request.py +54 -0
  284. kalshi_python_sync-3.34.0/test/test_create_order_group_response.py +55 -0
  285. kalshi_python_sync-3.34.0/test/test_create_order_request.py +74 -0
  286. kalshi_python_sync-3.34.0/test/test_create_order_response.py +106 -0
  287. kalshi_python_sync-3.34.0/test/test_create_order_v2_request.py +70 -0
  288. kalshi_python_sync-3.34.0/test/test_create_order_v2_response.py +61 -0
  289. kalshi_python_sync-3.34.0/test/test_create_quote_request.py +60 -0
  290. kalshi_python_sync-3.34.0/test/test_create_quote_response.py +52 -0
  291. kalshi_python_sync-3.34.0/test/test_create_rfq_request.py +63 -0
  292. kalshi_python_sync-3.34.0/test/test_create_rfq_response.py +52 -0
  293. kalshi_python_sync-3.34.0/test/test_create_subaccount_request.py +51 -0
  294. kalshi_python_sync-3.34.0/test/test_create_subaccount_response.py +52 -0
  295. kalshi_python_sync-3.34.0/test/test_daily_schedule.py +54 -0
  296. kalshi_python_sync-3.34.0/test/test_decrease_order_v2_request.py +54 -0
  297. kalshi_python_sync-3.34.0/test/test_decrease_order_v2_response.py +57 -0
  298. kalshi_python_sync-3.34.0/test/test_deposit.py +63 -0
  299. kalshi_python_sync-3.34.0/test/test_endpoint_token_cost.py +56 -0
  300. kalshi_python_sync-3.34.0/test/test_error_response.py +53 -0
  301. kalshi_python_sync-3.34.0/test/test_event_data.py +148 -0
  302. kalshi_python_sync-3.34.0/test/test_event_fee_change.py +62 -0
  303. kalshi_python_sync-3.34.0/test/test_event_live_data.py +59 -0
  304. kalshi_python_sync-3.34.0/test/test_event_position.py +62 -0
  305. kalshi_python_sync-3.34.0/test/test_events_api.py +80 -0
  306. kalshi_python_sync-3.34.0/test/test_exchange_api.py +59 -0
  307. kalshi_python_sync-3.34.0/test/test_exchange_index_status.py +60 -0
  308. kalshi_python_sync-3.34.0/test/test_exchange_instance.py +33 -0
  309. kalshi_python_sync-3.34.0/test/test_exchange_status.py +64 -0
  310. kalshi_python_sync-3.34.0/test/test_fcm_api.py +108 -0
  311. kalshi_python_sync-3.34.0/test/test_fcm_fill.py +69 -0
  312. kalshi_python_sync-3.34.0/test/test_fcm_subtrader.py +64 -0
  313. kalshi_python_sync-3.34.0/test/test_fee_type.py +33 -0
  314. kalshi_python_sync-3.34.0/test/test_fill.py +81 -0
  315. kalshi_python_sync-3.34.0/test/test_forecast_percentiles_point.py +70 -0
  316. kalshi_python_sync-3.34.0/test/test_generate_api_key_request.py +58 -0
  317. kalshi_python_sync-3.34.0/test/test_generate_api_key_response.py +56 -0
  318. kalshi_python_sync-3.34.0/test/test_get_account_api_limits_response.py +78 -0
  319. kalshi_python_sync-3.34.0/test/test_get_account_api_usage_level_volume_progress_response.py +72 -0
  320. kalshi_python_sync-3.34.0/test/test_get_account_endpoint_costs_response.py +64 -0
  321. kalshi_python_sync-3.34.0/test/test_get_api_keys_response.py +71 -0
  322. kalshi_python_sync-3.34.0/test/test_get_balance_response.py +63 -0
  323. kalshi_python_sync-3.34.0/test/test_get_block_trade_proposals_response.py +99 -0
  324. kalshi_python_sync-3.34.0/test/test_get_communications_id_response.py +52 -0
  325. kalshi_python_sync-3.34.0/test/test_get_deposits_response.py +71 -0
  326. kalshi_python_sync-3.34.0/test/test_get_event_candlesticks_response.py +104 -0
  327. kalshi_python_sync-3.34.0/test/test_get_event_fee_changes_response.py +70 -0
  328. kalshi_python_sync-3.34.0/test/test_get_event_forecast_percentiles_history_response.py +76 -0
  329. kalshi_python_sync-3.34.0/test/test_get_event_live_data_response.py +66 -0
  330. kalshi_python_sync-3.34.0/test/test_get_event_metadata_response.py +77 -0
  331. kalshi_python_sync-3.34.0/test/test_get_event_response.py +362 -0
  332. kalshi_python_sync-3.34.0/test/test_get_events_response.py +254 -0
  333. kalshi_python_sync-3.34.0/test/test_get_exchange_schedule_response.py +122 -0
  334. kalshi_python_sync-3.34.0/test/test_get_fcm_event_contract_daily_cap_response.py +62 -0
  335. kalshi_python_sync-3.34.0/test/test_get_fcm_fills_response.py +84 -0
  336. kalshi_python_sync-3.34.0/test/test_get_fcm_subtrader_blocked_categories_response.py +56 -0
  337. kalshi_python_sync-3.34.0/test/test_get_fills_response.py +94 -0
  338. kalshi_python_sync-3.34.0/test/test_get_filters_by_sports_response.py +80 -0
  339. kalshi_python_sync-3.34.0/test/test_get_game_stats_response.py +57 -0
  340. kalshi_python_sync-3.34.0/test/test_get_historical_cutoff_response.py +57 -0
  341. kalshi_python_sync-3.34.0/test/test_get_incentive_programs_response.py +81 -0
  342. kalshi_python_sync-3.34.0/test/test_get_intra_exchange_instance_transfer_response.py +68 -0
  343. kalshi_python_sync-3.34.0/test/test_get_intra_exchange_instance_transfers_response.py +73 -0
  344. kalshi_python_sync-3.34.0/test/test_get_live_data_response.py +58 -0
  345. kalshi_python_sync-3.34.0/test/test_get_live_datas_response.py +62 -0
  346. kalshi_python_sync-3.34.0/test/test_get_market_candlesticks_historical_response.py +98 -0
  347. kalshi_python_sync-3.34.0/test/test_get_market_candlesticks_response.py +94 -0
  348. kalshi_python_sync-3.34.0/test/test_get_market_orderbook_response.py +64 -0
  349. kalshi_python_sync-3.34.0/test/test_get_market_orderbooks_response.py +72 -0
  350. kalshi_python_sync-3.34.0/test/test_get_market_response.py +182 -0
  351. kalshi_python_sync-3.34.0/test/test_get_markets_response.py +188 -0
  352. kalshi_python_sync-3.34.0/test/test_get_milestone_response.py +90 -0
  353. kalshi_python_sync-3.34.0/test/test_get_milestones_response.py +95 -0
  354. kalshi_python_sync-3.34.0/test/test_get_multivariate_event_collection_response.py +118 -0
  355. kalshi_python_sync-3.34.0/test/test_get_multivariate_event_collections_response.py +123 -0
  356. kalshi_python_sync-3.34.0/test/test_get_multivariate_events_response.py +232 -0
  357. kalshi_python_sync-3.34.0/test/test_get_order_group_response.py +60 -0
  358. kalshi_python_sync-3.34.0/test/test_get_order_groups_response.py +57 -0
  359. kalshi_python_sync-3.34.0/test/test_get_order_queue_position_response.py +52 -0
  360. kalshi_python_sync-3.34.0/test/test_get_order_queue_positions_response.py +62 -0
  361. kalshi_python_sync-3.34.0/test/test_get_order_response.py +106 -0
  362. kalshi_python_sync-3.34.0/test/test_get_orders_response.py +112 -0
  363. kalshi_python_sync-3.34.0/test/test_get_portfolio_resting_order_total_value_response.py +62 -0
  364. kalshi_python_sync-3.34.0/test/test_get_positions_response.py +91 -0
  365. kalshi_python_sync-3.34.0/test/test_get_quote_response.py +110 -0
  366. kalshi_python_sync-3.34.0/test/test_get_quotes_response.py +115 -0
  367. kalshi_python_sync-3.34.0/test/test_get_rfq_response.py +96 -0
  368. kalshi_python_sync-3.34.0/test/test_get_rfqs_response.py +101 -0
  369. kalshi_python_sync-3.34.0/test/test_get_series_fee_changes_response.py +66 -0
  370. kalshi_python_sync-3.34.0/test/test_get_series_list_response.py +108 -0
  371. kalshi_python_sync-3.34.0/test/test_get_series_response.py +104 -0
  372. kalshi_python_sync-3.34.0/test/test_get_settlements_response.py +81 -0
  373. kalshi_python_sync-3.34.0/test/test_get_structured_target_response.py +60 -0
  374. kalshi_python_sync-3.34.0/test/test_get_structured_targets_response.py +63 -0
  375. kalshi_python_sync-3.34.0/test/test_get_subaccount_balances_response.py +64 -0
  376. kalshi_python_sync-3.34.0/test/test_get_subaccount_netting_response.py +62 -0
  377. kalshi_python_sync-3.34.0/test/test_get_subaccount_transfers_response.py +69 -0
  378. kalshi_python_sync-3.34.0/test/test_get_tags_for_series_categories_response.py +60 -0
  379. kalshi_python_sync-3.34.0/test/test_get_target_balance_allocation_response.py +62 -0
  380. kalshi_python_sync-3.34.0/test/test_get_trades_response.py +78 -0
  381. kalshi_python_sync-3.34.0/test/test_get_user_data_timestamp_response.py +52 -0
  382. kalshi_python_sync-3.34.0/test/test_get_weather_index_calibrations_response.py +88 -0
  383. kalshi_python_sync-3.34.0/test/test_get_weather_index_response.py +91 -0
  384. kalshi_python_sync-3.34.0/test/test_get_withdrawals_response.py +71 -0
  385. kalshi_python_sync-3.34.0/test/test_historical_api.py +87 -0
  386. kalshi_python_sync-3.34.0/test/test_incentive_program.py +71 -0
  387. kalshi_python_sync-3.34.0/test/test_incentive_programs_api.py +38 -0
  388. kalshi_python_sync-3.34.0/test/test_indexed_balance.py +54 -0
  389. kalshi_python_sync-3.34.0/test/test_intra_exchange_instance_transfer.py +66 -0
  390. kalshi_python_sync-3.34.0/test/test_intra_exchange_instance_transfer_request.py +61 -0
  391. kalshi_python_sync-3.34.0/test/test_intra_exchange_instance_transfer_response.py +52 -0
  392. kalshi_python_sync-3.34.0/test/test_intra_exchange_instance_transfer_status.py +33 -0
  393. kalshi_python_sync-3.34.0/test/test_list_fcm_subtraders_response.py +70 -0
  394. kalshi_python_sync-3.34.0/test/test_live_data.py +56 -0
  395. kalshi_python_sync-3.34.0/test/test_live_data_api.py +80 -0
  396. kalshi_python_sync-3.34.0/test/test_maintenance_window.py +54 -0
  397. kalshi_python_sync-3.34.0/test/test_market.py +154 -0
  398. kalshi_python_sync-3.34.0/test/test_market_api.py +94 -0
  399. kalshi_python_sync-3.34.0/test/test_market_candlestick.py +94 -0
  400. kalshi_python_sync-3.34.0/test/test_market_candlestick_historical.py +90 -0
  401. kalshi_python_sync-3.34.0/test/test_market_candlesticks_response.py +94 -0
  402. kalshi_python_sync-3.34.0/test/test_market_metadata.py +56 -0
  403. kalshi_python_sync-3.34.0/test/test_market_orderbook_fp.py +66 -0
  404. kalshi_python_sync-3.34.0/test/test_market_position.py +66 -0
  405. kalshi_python_sync-3.34.0/test/test_milestone.py +83 -0
  406. kalshi_python_sync-3.34.0/test/test_milestone_api.py +45 -0
  407. kalshi_python_sync-3.34.0/test/test_multivariate_api.py +52 -0
  408. kalshi_python_sync-3.34.0/test/test_multivariate_event_collection.py +115 -0
  409. kalshi_python_sync-3.34.0/test/test_mve_selected_leg.py +54 -0
  410. kalshi_python_sync-3.34.0/test/test_order.py +94 -0
  411. kalshi_python_sync-3.34.0/test/test_order_group.py +56 -0
  412. kalshi_python_sync-3.34.0/test/test_order_groups_api.py +80 -0
  413. kalshi_python_sync-3.34.0/test/test_order_queue_position.py +56 -0
  414. kalshi_python_sync-3.34.0/test/test_order_status.py +33 -0
  415. kalshi_python_sync-3.34.0/test/test_orderbook_count_fp.py +62 -0
  416. kalshi_python_sync-3.34.0/test/test_orders_api.py +108 -0
  417. kalshi_python_sync-3.34.0/test/test_outcome_side.py +33 -0
  418. kalshi_python_sync-3.34.0/test/test_percentile_point.py +58 -0
  419. kalshi_python_sync-3.34.0/test/test_play_by_play.py +56 -0
  420. kalshi_python_sync-3.34.0/test/test_play_by_play_periods_inner.py +53 -0
  421. kalshi_python_sync-3.34.0/test/test_portfolio_api.py +157 -0
  422. kalshi_python_sync-3.34.0/test/test_price_distribution.py +58 -0
  423. kalshi_python_sync-3.34.0/test/test_price_distribution_historical.py +62 -0
  424. kalshi_python_sync-3.34.0/test/test_price_range.py +56 -0
  425. kalshi_python_sync-3.34.0/test/test_propose_block_trade_request.py +68 -0
  426. kalshi_python_sync-3.34.0/test/test_propose_block_trade_response.py +52 -0
  427. kalshi_python_sync-3.34.0/test/test_quote.py +90 -0
  428. kalshi_python_sync-3.34.0/test/test_resting_margin_reservation.py +33 -0
  429. kalshi_python_sync-3.34.0/test/test_rfq.py +78 -0
  430. kalshi_python_sync-3.34.0/test/test_schedule.py +120 -0
  431. kalshi_python_sync-3.34.0/test/test_scope_list.py +56 -0
  432. kalshi_python_sync-3.34.0/test/test_search_api.py +45 -0
  433. kalshi_python_sync-3.34.0/test/test_self_trade_prevention_type.py +33 -0
  434. kalshi_python_sync-3.34.0/test/test_series.py +98 -0
  435. kalshi_python_sync-3.34.0/test/test_series_fee_change.py +60 -0
  436. kalshi_python_sync-3.34.0/test/test_set_target_balance_allocation_request.py +61 -0
  437. kalshi_python_sync-3.34.0/test/test_settlement.py +73 -0
  438. kalshi_python_sync-3.34.0/test/test_settlement_source.py +52 -0
  439. kalshi_python_sync-3.34.0/test/test_sport_filter_details.py +68 -0
  440. kalshi_python_sync-3.34.0/test/test_structured_target.py +59 -0
  441. kalshi_python_sync-3.34.0/test/test_structured_targets_api.py +45 -0
  442. kalshi_python_sync-3.34.0/test/test_subaccount_balance.py +58 -0
  443. kalshi_python_sync-3.34.0/test/test_subaccount_netting_config.py +56 -0
  444. kalshi_python_sync-3.34.0/test/test_subaccount_transfer.py +62 -0
  445. kalshi_python_sync-3.34.0/test/test_target_balance_allocation.py +54 -0
  446. kalshi_python_sync-3.34.0/test/test_target_balance_allocation_input.py +54 -0
  447. kalshi_python_sync-3.34.0/test/test_ticker_pair.py +56 -0
  448. kalshi_python_sync-3.34.0/test/test_trade.py +69 -0
  449. kalshi_python_sync-3.34.0/test/test_update_fcm_event_contract_daily_cap_request.py +54 -0
  450. kalshi_python_sync-3.34.0/test/test_update_fcm_subtrader_blocked_categories_request.py +56 -0
  451. kalshi_python_sync-3.34.0/test/test_update_fcm_subtrader_blocked_categories_response.py +56 -0
  452. kalshi_python_sync-3.34.0/test/test_update_order_group_limit_request.py +52 -0
  453. kalshi_python_sync-3.34.0/test/test_update_subaccount_netting_request.py +54 -0
  454. kalshi_python_sync-3.34.0/test/test_user_filter.py +33 -0
  455. kalshi_python_sync-3.34.0/test/test_weather_index_calibration.py +74 -0
  456. kalshi_python_sync-3.34.0/test/test_weather_index_calibration_station.py +57 -0
  457. kalshi_python_sync-3.34.0/test/test_weather_index_point.py +67 -0
  458. kalshi_python_sync-3.34.0/test/test_weather_index_station_reading.py +59 -0
  459. kalshi_python_sync-3.34.0/test/test_weekly_schedule.py +124 -0
  460. kalshi_python_sync-3.34.0/test/test_withdrawal.py +63 -0
  461. kalshi_python_sync-3.33.0/PKG-INFO +0 -77
  462. kalshi_python_sync-3.33.0/README.md +0 -52
  463. kalshi_python_sync-3.33.0/kalshi_python_sync/__init__.py +0 -363
  464. kalshi_python_sync-3.33.0/kalshi_python_sync/api/account_api.py +0 -1002
  465. kalshi_python_sync-3.33.0/kalshi_python_sync/api/api_keys_api.py +0 -1125
  466. kalshi_python_sync-3.33.0/kalshi_python_sync/api/communications_api.py +0 -5374
  467. kalshi_python_sync-3.33.0/kalshi_python_sync/api/events_api.py +0 -2267
  468. kalshi_python_sync-3.33.0/kalshi_python_sync/api/exchange_api.py +0 -1025
  469. kalshi_python_sync-3.33.0/kalshi_python_sync/api/fcm_api.py +0 -3023
  470. kalshi_python_sync-3.33.0/kalshi_python_sync/api/historical_api.py +0 -2564
  471. kalshi_python_sync-3.33.0/kalshi_python_sync/api/incentive_programs_api.py +0 -363
  472. kalshi_python_sync-3.33.0/kalshi_python_sync/api/live_data_api.py +0 -1979
  473. kalshi_python_sync-3.33.0/kalshi_python_sync/api/market_api.py +0 -2946
  474. kalshi_python_sync-3.33.0/kalshi_python_sync/api/milestone_api.py +0 -706
  475. kalshi_python_sync-3.33.0/kalshi_python_sync/api/multivariate_api.py +0 -919
  476. kalshi_python_sync-3.33.0/kalshi_python_sync/api/order_groups_api.py +0 -2130
  477. kalshi_python_sync-3.33.0/kalshi_python_sync/api/orders_api.py +0 -3324
  478. kalshi_python_sync-3.33.0/kalshi_python_sync/api/portfolio_api.py +0 -5209
  479. kalshi_python_sync-3.33.0/kalshi_python_sync/api/search_api.py +0 -516
  480. kalshi_python_sync-3.33.0/kalshi_python_sync/api/structured_targets_api.py +0 -623
  481. kalshi_python_sync-3.33.0/kalshi_python_sync/api_client.py +0 -837
  482. kalshi_python_sync-3.33.0/kalshi_python_sync/configuration.py +0 -646
  483. kalshi_python_sync-3.33.0/kalshi_python_sync/exceptions.py +0 -216
  484. kalshi_python_sync-3.33.0/kalshi_python_sync/models/__init__.py +0 -221
  485. kalshi_python_sync-3.33.0/kalshi_python_sync/models/accept_block_trade_proposal_request.py +0 -90
  486. kalshi_python_sync-3.33.0/kalshi_python_sync/models/accept_quote_request.py +0 -94
  487. kalshi_python_sync-3.33.0/kalshi_python_sync/models/account_api_usage_level_volume_goal.py +0 -91
  488. kalshi_python_sync-3.33.0/kalshi_python_sync/models/account_api_usage_level_volume_progress.py +0 -99
  489. kalshi_python_sync-3.33.0/kalshi_python_sync/models/amend_order_request.py +0 -126
  490. kalshi_python_sync-3.33.0/kalshi_python_sync/models/amend_order_response.py +0 -96
  491. kalshi_python_sync-3.33.0/kalshi_python_sync/models/amend_order_v2_request.py +0 -103
  492. kalshi_python_sync-3.33.0/kalshi_python_sync/models/amend_order_v2_response.py +0 -99
  493. kalshi_python_sync-3.33.0/kalshi_python_sync/models/api_key.py +0 -107
  494. kalshi_python_sync-3.33.0/kalshi_python_sync/models/api_key_scope.py +0 -43
  495. kalshi_python_sync-3.33.0/kalshi_python_sync/models/api_key_type.py +0 -37
  496. kalshi_python_sync-3.33.0/kalshi_python_sync/models/api_usage_level_grant.py +0 -99
  497. kalshi_python_sync-3.33.0/kalshi_python_sync/models/apply_subaccount_transfer_request.py +0 -96
  498. kalshi_python_sync-3.33.0/kalshi_python_sync/models/associated_event.py +0 -105
  499. kalshi_python_sync-3.33.0/kalshi_python_sync/models/batch_cancel_orders_individual_response.py +0 -111
  500. kalshi_python_sync-3.33.0/kalshi_python_sync/models/batch_cancel_orders_request.py +0 -97
  501. kalshi_python_sync-3.33.0/kalshi_python_sync/models/batch_cancel_orders_request_order.py +0 -94
  502. kalshi_python_sync-3.33.0/kalshi_python_sync/models/batch_cancel_orders_response.py +0 -95
  503. kalshi_python_sync-3.33.0/kalshi_python_sync/models/batch_cancel_orders_v2_request.py +0 -95
  504. kalshi_python_sync-3.33.0/kalshi_python_sync/models/batch_cancel_orders_v2_request_orders_inner.py +0 -94
  505. kalshi_python_sync-3.33.0/kalshi_python_sync/models/batch_cancel_orders_v2_response.py +0 -95
  506. kalshi_python_sync-3.33.0/kalshi_python_sync/models/batch_cancel_orders_v2_response_orders_inner.py +0 -114
  507. kalshi_python_sync-3.33.0/kalshi_python_sync/models/batch_create_orders_individual_response.py +0 -114
  508. kalshi_python_sync-3.33.0/kalshi_python_sync/models/batch_create_orders_request.py +0 -95
  509. kalshi_python_sync-3.33.0/kalshi_python_sync/models/batch_create_orders_response.py +0 -95
  510. kalshi_python_sync-3.33.0/kalshi_python_sync/models/batch_create_orders_v2_request.py +0 -95
  511. kalshi_python_sync-3.33.0/kalshi_python_sync/models/batch_create_orders_v2_response.py +0 -95
  512. kalshi_python_sync-3.33.0/kalshi_python_sync/models/batch_create_orders_v2_response_orders_inner.py +0 -120
  513. kalshi_python_sync-3.33.0/kalshi_python_sync/models/batch_get_market_candlesticks_response.py +0 -95
  514. kalshi_python_sync-3.33.0/kalshi_python_sync/models/bid_ask_distribution.py +0 -93
  515. kalshi_python_sync-3.33.0/kalshi_python_sync/models/bid_ask_distribution_historical.py +0 -93
  516. kalshi_python_sync-3.33.0/kalshi_python_sync/models/block_trade_proposal.py +0 -135
  517. kalshi_python_sync-3.33.0/kalshi_python_sync/models/book_side.py +0 -37
  518. kalshi_python_sync-3.33.0/kalshi_python_sync/models/bucket_limit.py +0 -89
  519. kalshi_python_sync-3.33.0/kalshi_python_sync/models/cancel_order_v2_response.py +0 -93
  520. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_api_key_request.py +0 -97
  521. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_api_key_response.py +0 -94
  522. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_fcm_subtrader_request.py +0 -87
  523. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_fcm_subtrader_response.py +0 -87
  524. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_market_in_multivariate_event_collection_request.py +0 -97
  525. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_market_in_multivariate_event_collection_response.py +0 -95
  526. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_order_group_request.py +0 -94
  527. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_order_group_response.py +0 -92
  528. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_order_request.py +0 -153
  529. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_order_response.py +0 -91
  530. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_order_v2_request.py +0 -123
  531. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_order_v2_response.py +0 -99
  532. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_quote_request.py +0 -97
  533. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_quote_response.py +0 -87
  534. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_rfq_request.py +0 -107
  535. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_rfq_response.py +0 -87
  536. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_subaccount_request.py +0 -87
  537. kalshi_python_sync-3.33.0/kalshi_python_sync/models/create_subaccount_response.py +0 -87
  538. kalshi_python_sync-3.33.0/kalshi_python_sync/models/daily_schedule.py +0 -89
  539. kalshi_python_sync-3.33.0/kalshi_python_sync/models/decrease_order_v2_request.py +0 -93
  540. kalshi_python_sync-3.33.0/kalshi_python_sync/models/decrease_order_v2_response.py +0 -93
  541. kalshi_python_sync-3.33.0/kalshi_python_sync/models/deposit.py +0 -118
  542. kalshi_python_sync-3.33.0/kalshi_python_sync/models/endpoint_token_cost.py +0 -91
  543. kalshi_python_sync-3.33.0/kalshi_python_sync/models/error_response.py +0 -91
  544. kalshi_python_sync-3.33.0/kalshi_python_sync/models/event_data.py +0 -164
  545. kalshi_python_sync-3.33.0/kalshi_python_sync/models/event_fee_change.py +0 -109
  546. kalshi_python_sync-3.33.0/kalshi_python_sync/models/event_live_data.py +0 -95
  547. kalshi_python_sync-3.33.0/kalshi_python_sync/models/event_position.py +0 -97
  548. kalshi_python_sync-3.33.0/kalshi_python_sync/models/exchange_index_status.py +0 -95
  549. kalshi_python_sync-3.33.0/kalshi_python_sync/models/exchange_instance.py +0 -37
  550. kalshi_python_sync-3.33.0/kalshi_python_sync/models/exchange_status.py +0 -109
  551. kalshi_python_sync-3.33.0/kalshi_python_sync/models/fcm_fill.py +0 -113
  552. kalshi_python_sync-3.33.0/kalshi_python_sync/models/fcm_subtrader.py +0 -95
  553. kalshi_python_sync-3.33.0/kalshi_python_sync/models/fee_type.py +0 -39
  554. kalshi_python_sync-3.33.0/kalshi_python_sync/models/fill.py +0 -149
  555. kalshi_python_sync-3.33.0/kalshi_python_sync/models/forecast_percentiles_point.py +0 -101
  556. kalshi_python_sync-3.33.0/kalshi_python_sync/models/generate_api_key_request.py +0 -98
  557. kalshi_python_sync-3.33.0/kalshi_python_sync/models/generate_api_key_response.py +0 -99
  558. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_account_api_limits_response.py +0 -108
  559. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_account_api_usage_level_volume_progress_response.py +0 -95
  560. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_account_endpoint_costs_response.py +0 -97
  561. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_api_keys_response.py +0 -102
  562. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_balance_response.py +0 -103
  563. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_block_trade_proposals_response.py +0 -97
  564. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_communications_id_response.py +0 -87
  565. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_deposits_response.py +0 -97
  566. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_event_candlesticks_response.py +0 -104
  567. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_event_fee_changes_response.py +0 -97
  568. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_event_forecast_percentiles_history_response.py +0 -95
  569. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_event_live_data_response.py +0 -91
  570. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_event_metadata_response.py +0 -123
  571. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_event_response.py +0 -101
  572. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_events_response.py +0 -107
  573. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_exchange_schedule_response.py +0 -91
  574. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_fcm_event_contract_daily_cap_response.py +0 -97
  575. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_fcm_fills_response.py +0 -97
  576. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_fcm_subtrader_blocked_categories_response.py +0 -87
  577. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_fills_response.py +0 -97
  578. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_filters_by_sports_response.py +0 -102
  579. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_game_stats_response.py +0 -91
  580. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_historical_cutoff_response.py +0 -94
  581. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_incentive_programs_response.py +0 -97
  582. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_intra_exchange_instance_transfer_response.py +0 -91
  583. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_intra_exchange_instance_transfers_response.py +0 -97
  584. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_live_data_response.py +0 -91
  585. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_live_datas_response.py +0 -95
  586. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_market_candlesticks_historical_response.py +0 -97
  587. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_market_candlesticks_response.py +0 -97
  588. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_market_orderbook_response.py +0 -91
  589. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_market_orderbooks_response.py +0 -95
  590. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_market_response.py +0 -91
  591. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_markets_response.py +0 -97
  592. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_milestone_response.py +0 -91
  593. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_milestones_response.py +0 -97
  594. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_multivariate_event_collection_response.py +0 -91
  595. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_multivariate_event_collections_response.py +0 -97
  596. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_multivariate_events_response.py +0 -97
  597. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_order_group_response.py +0 -93
  598. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_order_groups_response.py +0 -95
  599. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_order_queue_position_response.py +0 -87
  600. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_order_queue_positions_response.py +0 -95
  601. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_order_response.py +0 -91
  602. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_orders_response.py +0 -97
  603. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_portfolio_resting_order_total_value_response.py +0 -97
  604. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_positions_response.py +0 -107
  605. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_quote_response.py +0 -91
  606. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_quotes_response.py +0 -97
  607. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_rfq_response.py +0 -91
  608. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_rfqs_response.py +0 -97
  609. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_series_fee_changes_response.py +0 -95
  610. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_series_list_response.py +0 -95
  611. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_series_response.py +0 -91
  612. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_settlements_response.py +0 -97
  613. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_structured_target_response.py +0 -91
  614. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_structured_targets_response.py +0 -97
  615. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_subaccount_balances_response.py +0 -95
  616. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_subaccount_netting_response.py +0 -95
  617. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_subaccount_transfers_response.py +0 -97
  618. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_tags_for_series_categories_response.py +0 -87
  619. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_target_balance_allocation_response.py +0 -98
  620. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_trades_response.py +0 -97
  621. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_user_data_timestamp_response.py +0 -88
  622. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_weather_index_calibrations_response.py +0 -99
  623. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_weather_index_response.py +0 -101
  624. kalshi_python_sync-3.33.0/kalshi_python_sync/models/get_withdrawals_response.py +0 -97
  625. kalshi_python_sync-3.33.0/kalshi_python_sync/models/incentive_program.py +0 -127
  626. kalshi_python_sync-3.33.0/kalshi_python_sync/models/indexed_balance.py +0 -89
  627. kalshi_python_sync-3.33.0/kalshi_python_sync/models/intra_exchange_instance_transfer.py +0 -103
  628. kalshi_python_sync-3.33.0/kalshi_python_sync/models/intra_exchange_instance_transfer_request.py +0 -101
  629. kalshi_python_sync-3.33.0/kalshi_python_sync/models/intra_exchange_instance_transfer_response.py +0 -87
  630. kalshi_python_sync-3.33.0/kalshi_python_sync/models/intra_exchange_instance_transfer_status.py +0 -37
  631. kalshi_python_sync-3.33.0/kalshi_python_sync/models/list_fcm_subtraders_response.py +0 -95
  632. kalshi_python_sync-3.33.0/kalshi_python_sync/models/live_data.py +0 -91
  633. kalshi_python_sync-3.33.0/kalshi_python_sync/models/maintenance_window.py +0 -90
  634. kalshi_python_sync-3.33.0/kalshi_python_sync/models/market.py +0 -298
  635. kalshi_python_sync-3.33.0/kalshi_python_sync/models/market_candlestick.py +0 -108
  636. kalshi_python_sync-3.33.0/kalshi_python_sync/models/market_candlestick_historical.py +0 -108
  637. kalshi_python_sync-3.33.0/kalshi_python_sync/models/market_candlesticks_response.py +0 -97
  638. kalshi_python_sync-3.33.0/kalshi_python_sync/models/market_metadata.py +0 -91
  639. kalshi_python_sync-3.33.0/kalshi_python_sync/models/market_orderbook_fp.py +0 -93
  640. kalshi_python_sync-3.33.0/kalshi_python_sync/models/market_position.py +0 -102
  641. kalshi_python_sync-3.33.0/kalshi_python_sync/models/milestone.py +0 -122
  642. kalshi_python_sync-3.33.0/kalshi_python_sync/models/multivariate_event_collection.py +0 -136
  643. kalshi_python_sync-3.33.0/kalshi_python_sync/models/mve_selected_leg.py +0 -93
  644. kalshi_python_sync-3.33.0/kalshi_python_sync/models/order.py +0 -202
  645. kalshi_python_sync-3.33.0/kalshi_python_sync/models/order_group.py +0 -93
  646. kalshi_python_sync-3.33.0/kalshi_python_sync/models/order_queue_position.py +0 -91
  647. kalshi_python_sync-3.33.0/kalshi_python_sync/models/order_status.py +0 -38
  648. kalshi_python_sync-3.33.0/kalshi_python_sync/models/orderbook_count_fp.py +0 -90
  649. kalshi_python_sync-3.33.0/kalshi_python_sync/models/outcome_side.py +0 -37
  650. kalshi_python_sync-3.33.0/kalshi_python_sync/models/percentile_point.py +0 -93
  651. kalshi_python_sync-3.33.0/kalshi_python_sync/models/play_by_play.py +0 -95
  652. kalshi_python_sync-3.33.0/kalshi_python_sync/models/play_by_play_periods_inner.py +0 -87
  653. kalshi_python_sync-3.33.0/kalshi_python_sync/models/price_distribution.py +0 -101
  654. kalshi_python_sync-3.33.0/kalshi_python_sync/models/price_distribution_historical.py +0 -127
  655. kalshi_python_sync-3.33.0/kalshi_python_sync/models/price_range.py +0 -91
  656. kalshi_python_sync-3.33.0/kalshi_python_sync/models/propose_block_trade_request.py +0 -116
  657. kalshi_python_sync-3.33.0/kalshi_python_sync/models/propose_block_trade_response.py +0 -87
  658. kalshi_python_sync-3.33.0/kalshi_python_sync/models/quote.py +0 -161
  659. kalshi_python_sync-3.33.0/kalshi_python_sync/models/resting_margin_reservation.py +0 -38
  660. kalshi_python_sync-3.33.0/kalshi_python_sync/models/rfq.py +0 -133
  661. kalshi_python_sync-3.33.0/kalshi_python_sync/models/schedule.py +0 -105
  662. kalshi_python_sync-3.33.0/kalshi_python_sync/models/scope_list.py +0 -87
  663. kalshi_python_sync-3.33.0/kalshi_python_sync/models/self_trade_prevention_type.py +0 -37
  664. kalshi_python_sync-3.33.0/kalshi_python_sync/models/series.py +0 -147
  665. kalshi_python_sync-3.33.0/kalshi_python_sync/models/series_fee_change.py +0 -97
  666. kalshi_python_sync-3.33.0/kalshi_python_sync/models/set_target_balance_allocation_request.py +0 -99
  667. kalshi_python_sync-3.33.0/kalshi_python_sync/models/settlement.py +0 -122
  668. kalshi_python_sync-3.33.0/kalshi_python_sync/models/settlement_source.py +0 -89
  669. kalshi_python_sync-3.33.0/kalshi_python_sync/models/sport_filter_details.py +0 -102
  670. kalshi_python_sync-3.33.0/kalshi_python_sync/models/structured_target.py +0 -100
  671. kalshi_python_sync-3.33.0/kalshi_python_sync/models/subaccount_balance.py +0 -93
  672. kalshi_python_sync-3.33.0/kalshi_python_sync/models/subaccount_netting_config.py +0 -91
  673. kalshi_python_sync-3.33.0/kalshi_python_sync/models/subaccount_transfer.py +0 -97
  674. kalshi_python_sync-3.33.0/kalshi_python_sync/models/target_balance_allocation.py +0 -90
  675. kalshi_python_sync-3.33.0/kalshi_python_sync/models/target_balance_allocation_input.py +0 -90
  676. kalshi_python_sync-3.33.0/kalshi_python_sync/models/ticker_pair.py +0 -98
  677. kalshi_python_sync-3.33.0/kalshi_python_sync/models/trade.py +0 -124
  678. kalshi_python_sync-3.33.0/kalshi_python_sync/models/update_fcm_event_contract_daily_cap_request.py +0 -89
  679. kalshi_python_sync-3.33.0/kalshi_python_sync/models/update_fcm_subtrader_blocked_categories_request.py +0 -91
  680. kalshi_python_sync-3.33.0/kalshi_python_sync/models/update_fcm_subtrader_blocked_categories_response.py +0 -87
  681. kalshi_python_sync-3.33.0/kalshi_python_sync/models/update_order_group_limit_request.py +0 -90
  682. kalshi_python_sync-3.33.0/kalshi_python_sync/models/update_subaccount_netting_request.py +0 -89
  683. kalshi_python_sync-3.33.0/kalshi_python_sync/models/user_filter.py +0 -36
  684. kalshi_python_sync-3.33.0/kalshi_python_sync/models/weather_index_calibration.py +0 -109
  685. kalshi_python_sync-3.33.0/kalshi_python_sync/models/weather_index_calibration_station.py +0 -93
  686. kalshi_python_sync-3.33.0/kalshi_python_sync/models/weather_index_point.py +0 -105
  687. kalshi_python_sync-3.33.0/kalshi_python_sync/models/weather_index_station_reading.py +0 -99
  688. kalshi_python_sync-3.33.0/kalshi_python_sync/models/weekly_schedule.py +0 -154
  689. kalshi_python_sync-3.33.0/kalshi_python_sync/models/withdrawal.py +0 -118
  690. kalshi_python_sync-3.33.0/kalshi_python_sync/rest.py +0 -258
  691. kalshi_python_sync-3.33.0/kalshi_python_sync.egg-info/PKG-INFO +0 -77
  692. kalshi_python_sync-3.33.0/kalshi_python_sync.egg-info/SOURCES.txt +0 -463
  693. kalshi_python_sync-3.33.0/pyproject.toml +0 -38
  694. kalshi_python_sync-3.33.0/setup.py +0 -50
  695. kalshi_python_sync-3.33.0/test/test_accept_block_trade_proposal_request.py +0 -52
  696. kalshi_python_sync-3.33.0/test/test_accept_quote_request.py +0 -52
  697. kalshi_python_sync-3.33.0/test/test_account_api.py +0 -59
  698. kalshi_python_sync-3.33.0/test/test_account_api_usage_level_volume_goal.py +0 -56
  699. kalshi_python_sync-3.33.0/test/test_account_api_usage_level_volume_progress.py +0 -66
  700. kalshi_python_sync-3.33.0/test/test_amend_order_request.py +0 -66
  701. kalshi_python_sync-3.33.0/test/test_amend_order_response.py +0 -162
  702. kalshi_python_sync-3.33.0/test/test_amend_order_v2_request.py +0 -62
  703. kalshi_python_sync-3.33.0/test/test_amend_order_v2_response.py +0 -59
  704. kalshi_python_sync-3.33.0/test/test_api_key.py +0 -62
  705. kalshi_python_sync-3.33.0/test/test_api_key_scope.py +0 -33
  706. kalshi_python_sync-3.33.0/test/test_api_key_type.py +0 -33
  707. kalshi_python_sync-3.33.0/test/test_api_keys_api.py +0 -59
  708. kalshi_python_sync-3.33.0/test/test_api_usage_level_grant.py +0 -57
  709. kalshi_python_sync-3.33.0/test/test_apply_subaccount_transfer_request.py +0 -59
  710. kalshi_python_sync-3.33.0/test/test_associated_event.py +0 -62
  711. kalshi_python_sync-3.33.0/test/test_batch_cancel_orders_individual_response.py +0 -86
  712. kalshi_python_sync-3.33.0/test/test_batch_cancel_orders_request.py +0 -60
  713. kalshi_python_sync-3.33.0/test/test_batch_cancel_orders_request_order.py +0 -55
  714. kalshi_python_sync-3.33.0/test/test_batch_cancel_orders_response.py +0 -64
  715. kalshi_python_sync-3.33.0/test/test_batch_cancel_orders_v2_request.py +0 -64
  716. kalshi_python_sync-3.33.0/test/test_batch_cancel_orders_v2_request_orders_inner.py +0 -55
  717. kalshi_python_sync-3.33.0/test/test_batch_cancel_orders_v2_response.py +0 -66
  718. kalshi_python_sync-3.33.0/test/test_batch_cancel_orders_v2_response_orders_inner.py +0 -60
  719. kalshi_python_sync-3.33.0/test/test_batch_create_orders_individual_response.py +0 -83
  720. kalshi_python_sync-3.33.0/test/test_batch_create_orders_request.py +0 -98
  721. kalshi_python_sync-3.33.0/test/test_batch_create_orders_response.py +0 -62
  722. kalshi_python_sync-3.33.0/test/test_batch_create_orders_v2_request.py +0 -56
  723. kalshi_python_sync-3.33.0/test/test_batch_create_orders_v2_response.py +0 -72
  724. kalshi_python_sync-3.33.0/test/test_batch_create_orders_v2_response_orders_inner.py +0 -61
  725. kalshi_python_sync-3.33.0/test/test_batch_get_market_candlesticks_response.py +0 -100
  726. kalshi_python_sync-3.33.0/test/test_bid_ask_distribution.py +0 -58
  727. kalshi_python_sync-3.33.0/test/test_bid_ask_distribution_historical.py +0 -58
  728. kalshi_python_sync-3.33.0/test/test_block_trade_proposal.py +0 -85
  729. kalshi_python_sync-3.33.0/test/test_book_side.py +0 -33
  730. kalshi_python_sync-3.33.0/test/test_bucket_limit.py +0 -54
  731. kalshi_python_sync-3.33.0/test/test_cancel_order_v2_response.py +0 -57
  732. kalshi_python_sync-3.33.0/test/test_communications_api.py +0 -157
  733. kalshi_python_sync-3.33.0/test/test_create_api_key_request.py +0 -59
  734. kalshi_python_sync-3.33.0/test/test_create_api_key_response.py +0 -53
  735. kalshi_python_sync-3.33.0/test/test_create_fcm_subtrader_request.py +0 -52
  736. kalshi_python_sync-3.33.0/test/test_create_fcm_subtrader_response.py +0 -52
  737. kalshi_python_sync-3.33.0/test/test_create_market_in_multivariate_event_collection_request.py +0 -63
  738. kalshi_python_sync-3.33.0/test/test_create_market_in_multivariate_event_collection_response.py +0 -120
  739. kalshi_python_sync-3.33.0/test/test_create_order_group_request.py +0 -54
  740. kalshi_python_sync-3.33.0/test/test_create_order_group_response.py +0 -55
  741. kalshi_python_sync-3.33.0/test/test_create_order_request.py +0 -74
  742. kalshi_python_sync-3.33.0/test/test_create_order_response.py +0 -106
  743. kalshi_python_sync-3.33.0/test/test_create_order_v2_request.py +0 -70
  744. kalshi_python_sync-3.33.0/test/test_create_order_v2_response.py +0 -61
  745. kalshi_python_sync-3.33.0/test/test_create_quote_request.py +0 -60
  746. kalshi_python_sync-3.33.0/test/test_create_quote_response.py +0 -52
  747. kalshi_python_sync-3.33.0/test/test_create_rfq_request.py +0 -63
  748. kalshi_python_sync-3.33.0/test/test_create_rfq_response.py +0 -52
  749. kalshi_python_sync-3.33.0/test/test_create_subaccount_request.py +0 -51
  750. kalshi_python_sync-3.33.0/test/test_create_subaccount_response.py +0 -52
  751. kalshi_python_sync-3.33.0/test/test_daily_schedule.py +0 -54
  752. kalshi_python_sync-3.33.0/test/test_decrease_order_v2_request.py +0 -54
  753. kalshi_python_sync-3.33.0/test/test_decrease_order_v2_response.py +0 -57
  754. kalshi_python_sync-3.33.0/test/test_deposit.py +0 -63
  755. kalshi_python_sync-3.33.0/test/test_endpoint_token_cost.py +0 -56
  756. kalshi_python_sync-3.33.0/test/test_error_response.py +0 -53
  757. kalshi_python_sync-3.33.0/test/test_event_data.py +0 -148
  758. kalshi_python_sync-3.33.0/test/test_event_fee_change.py +0 -62
  759. kalshi_python_sync-3.33.0/test/test_event_live_data.py +0 -59
  760. kalshi_python_sync-3.33.0/test/test_event_position.py +0 -62
  761. kalshi_python_sync-3.33.0/test/test_events_api.py +0 -80
  762. kalshi_python_sync-3.33.0/test/test_exchange_api.py +0 -59
  763. kalshi_python_sync-3.33.0/test/test_exchange_index_status.py +0 -60
  764. kalshi_python_sync-3.33.0/test/test_exchange_instance.py +0 -33
  765. kalshi_python_sync-3.33.0/test/test_exchange_status.py +0 -64
  766. kalshi_python_sync-3.33.0/test/test_fcm_api.py +0 -101
  767. kalshi_python_sync-3.33.0/test/test_fcm_fill.py +0 -69
  768. kalshi_python_sync-3.33.0/test/test_fcm_subtrader.py +0 -64
  769. kalshi_python_sync-3.33.0/test/test_fee_type.py +0 -33
  770. kalshi_python_sync-3.33.0/test/test_fill.py +0 -81
  771. kalshi_python_sync-3.33.0/test/test_forecast_percentiles_point.py +0 -70
  772. kalshi_python_sync-3.33.0/test/test_generate_api_key_request.py +0 -58
  773. kalshi_python_sync-3.33.0/test/test_generate_api_key_response.py +0 -56
  774. kalshi_python_sync-3.33.0/test/test_get_account_api_limits_response.py +0 -78
  775. kalshi_python_sync-3.33.0/test/test_get_account_api_usage_level_volume_progress_response.py +0 -72
  776. kalshi_python_sync-3.33.0/test/test_get_account_endpoint_costs_response.py +0 -64
  777. kalshi_python_sync-3.33.0/test/test_get_api_keys_response.py +0 -71
  778. kalshi_python_sync-3.33.0/test/test_get_balance_response.py +0 -63
  779. kalshi_python_sync-3.33.0/test/test_get_block_trade_proposals_response.py +0 -99
  780. kalshi_python_sync-3.33.0/test/test_get_communications_id_response.py +0 -52
  781. kalshi_python_sync-3.33.0/test/test_get_deposits_response.py +0 -71
  782. kalshi_python_sync-3.33.0/test/test_get_event_candlesticks_response.py +0 -104
  783. kalshi_python_sync-3.33.0/test/test_get_event_fee_changes_response.py +0 -70
  784. kalshi_python_sync-3.33.0/test/test_get_event_forecast_percentiles_history_response.py +0 -76
  785. kalshi_python_sync-3.33.0/test/test_get_event_live_data_response.py +0 -66
  786. kalshi_python_sync-3.33.0/test/test_get_event_metadata_response.py +0 -77
  787. kalshi_python_sync-3.33.0/test/test_get_event_response.py +0 -362
  788. kalshi_python_sync-3.33.0/test/test_get_events_response.py +0 -254
  789. kalshi_python_sync-3.33.0/test/test_get_exchange_schedule_response.py +0 -122
  790. kalshi_python_sync-3.33.0/test/test_get_fcm_event_contract_daily_cap_response.py +0 -62
  791. kalshi_python_sync-3.33.0/test/test_get_fcm_fills_response.py +0 -84
  792. kalshi_python_sync-3.33.0/test/test_get_fcm_subtrader_blocked_categories_response.py +0 -56
  793. kalshi_python_sync-3.33.0/test/test_get_fills_response.py +0 -94
  794. kalshi_python_sync-3.33.0/test/test_get_filters_by_sports_response.py +0 -80
  795. kalshi_python_sync-3.33.0/test/test_get_game_stats_response.py +0 -57
  796. kalshi_python_sync-3.33.0/test/test_get_historical_cutoff_response.py +0 -57
  797. kalshi_python_sync-3.33.0/test/test_get_incentive_programs_response.py +0 -81
  798. kalshi_python_sync-3.33.0/test/test_get_intra_exchange_instance_transfer_response.py +0 -68
  799. kalshi_python_sync-3.33.0/test/test_get_intra_exchange_instance_transfers_response.py +0 -73
  800. kalshi_python_sync-3.33.0/test/test_get_live_data_response.py +0 -58
  801. kalshi_python_sync-3.33.0/test/test_get_live_datas_response.py +0 -62
  802. kalshi_python_sync-3.33.0/test/test_get_market_candlesticks_historical_response.py +0 -98
  803. kalshi_python_sync-3.33.0/test/test_get_market_candlesticks_response.py +0 -94
  804. kalshi_python_sync-3.33.0/test/test_get_market_orderbook_response.py +0 -64
  805. kalshi_python_sync-3.33.0/test/test_get_market_orderbooks_response.py +0 -72
  806. kalshi_python_sync-3.33.0/test/test_get_market_response.py +0 -182
  807. kalshi_python_sync-3.33.0/test/test_get_markets_response.py +0 -188
  808. kalshi_python_sync-3.33.0/test/test_get_milestone_response.py +0 -90
  809. kalshi_python_sync-3.33.0/test/test_get_milestones_response.py +0 -95
  810. kalshi_python_sync-3.33.0/test/test_get_multivariate_event_collection_response.py +0 -118
  811. kalshi_python_sync-3.33.0/test/test_get_multivariate_event_collections_response.py +0 -123
  812. kalshi_python_sync-3.33.0/test/test_get_multivariate_events_response.py +0 -232
  813. kalshi_python_sync-3.33.0/test/test_get_order_group_response.py +0 -60
  814. kalshi_python_sync-3.33.0/test/test_get_order_groups_response.py +0 -57
  815. kalshi_python_sync-3.33.0/test/test_get_order_queue_position_response.py +0 -52
  816. kalshi_python_sync-3.33.0/test/test_get_order_queue_positions_response.py +0 -62
  817. kalshi_python_sync-3.33.0/test/test_get_order_response.py +0 -106
  818. kalshi_python_sync-3.33.0/test/test_get_orders_response.py +0 -112
  819. kalshi_python_sync-3.33.0/test/test_get_portfolio_resting_order_total_value_response.py +0 -62
  820. kalshi_python_sync-3.33.0/test/test_get_positions_response.py +0 -91
  821. kalshi_python_sync-3.33.0/test/test_get_quote_response.py +0 -110
  822. kalshi_python_sync-3.33.0/test/test_get_quotes_response.py +0 -115
  823. kalshi_python_sync-3.33.0/test/test_get_rfq_response.py +0 -96
  824. kalshi_python_sync-3.33.0/test/test_get_rfqs_response.py +0 -101
  825. kalshi_python_sync-3.33.0/test/test_get_series_fee_changes_response.py +0 -66
  826. kalshi_python_sync-3.33.0/test/test_get_series_list_response.py +0 -108
  827. kalshi_python_sync-3.33.0/test/test_get_series_response.py +0 -104
  828. kalshi_python_sync-3.33.0/test/test_get_settlements_response.py +0 -81
  829. kalshi_python_sync-3.33.0/test/test_get_structured_target_response.py +0 -60
  830. kalshi_python_sync-3.33.0/test/test_get_structured_targets_response.py +0 -63
  831. kalshi_python_sync-3.33.0/test/test_get_subaccount_balances_response.py +0 -64
  832. kalshi_python_sync-3.33.0/test/test_get_subaccount_netting_response.py +0 -62
  833. kalshi_python_sync-3.33.0/test/test_get_subaccount_transfers_response.py +0 -69
  834. kalshi_python_sync-3.33.0/test/test_get_tags_for_series_categories_response.py +0 -60
  835. kalshi_python_sync-3.33.0/test/test_get_target_balance_allocation_response.py +0 -62
  836. kalshi_python_sync-3.33.0/test/test_get_trades_response.py +0 -78
  837. kalshi_python_sync-3.33.0/test/test_get_user_data_timestamp_response.py +0 -52
  838. kalshi_python_sync-3.33.0/test/test_get_weather_index_calibrations_response.py +0 -88
  839. kalshi_python_sync-3.33.0/test/test_get_weather_index_response.py +0 -91
  840. kalshi_python_sync-3.33.0/test/test_get_withdrawals_response.py +0 -71
  841. kalshi_python_sync-3.33.0/test/test_historical_api.py +0 -87
  842. kalshi_python_sync-3.33.0/test/test_incentive_program.py +0 -71
  843. kalshi_python_sync-3.33.0/test/test_incentive_programs_api.py +0 -38
  844. kalshi_python_sync-3.33.0/test/test_indexed_balance.py +0 -54
  845. kalshi_python_sync-3.33.0/test/test_intra_exchange_instance_transfer.py +0 -66
  846. kalshi_python_sync-3.33.0/test/test_intra_exchange_instance_transfer_request.py +0 -60
  847. kalshi_python_sync-3.33.0/test/test_intra_exchange_instance_transfer_response.py +0 -52
  848. kalshi_python_sync-3.33.0/test/test_intra_exchange_instance_transfer_status.py +0 -33
  849. kalshi_python_sync-3.33.0/test/test_list_fcm_subtraders_response.py +0 -70
  850. kalshi_python_sync-3.33.0/test/test_live_data.py +0 -56
  851. kalshi_python_sync-3.33.0/test/test_live_data_api.py +0 -80
  852. kalshi_python_sync-3.33.0/test/test_maintenance_window.py +0 -54
  853. kalshi_python_sync-3.33.0/test/test_market.py +0 -154
  854. kalshi_python_sync-3.33.0/test/test_market_api.py +0 -94
  855. kalshi_python_sync-3.33.0/test/test_market_candlestick.py +0 -94
  856. kalshi_python_sync-3.33.0/test/test_market_candlestick_historical.py +0 -90
  857. kalshi_python_sync-3.33.0/test/test_market_candlesticks_response.py +0 -94
  858. kalshi_python_sync-3.33.0/test/test_market_metadata.py +0 -56
  859. kalshi_python_sync-3.33.0/test/test_market_orderbook_fp.py +0 -66
  860. kalshi_python_sync-3.33.0/test/test_market_position.py +0 -66
  861. kalshi_python_sync-3.33.0/test/test_milestone.py +0 -83
  862. kalshi_python_sync-3.33.0/test/test_milestone_api.py +0 -45
  863. kalshi_python_sync-3.33.0/test/test_multivariate_api.py +0 -52
  864. kalshi_python_sync-3.33.0/test/test_multivariate_event_collection.py +0 -115
  865. kalshi_python_sync-3.33.0/test/test_mve_selected_leg.py +0 -54
  866. kalshi_python_sync-3.33.0/test/test_order.py +0 -94
  867. kalshi_python_sync-3.33.0/test/test_order_group.py +0 -56
  868. kalshi_python_sync-3.33.0/test/test_order_groups_api.py +0 -80
  869. kalshi_python_sync-3.33.0/test/test_order_queue_position.py +0 -56
  870. kalshi_python_sync-3.33.0/test/test_order_status.py +0 -33
  871. kalshi_python_sync-3.33.0/test/test_orderbook_count_fp.py +0 -62
  872. kalshi_python_sync-3.33.0/test/test_orders_api.py +0 -108
  873. kalshi_python_sync-3.33.0/test/test_outcome_side.py +0 -33
  874. kalshi_python_sync-3.33.0/test/test_percentile_point.py +0 -58
  875. kalshi_python_sync-3.33.0/test/test_play_by_play.py +0 -56
  876. kalshi_python_sync-3.33.0/test/test_play_by_play_periods_inner.py +0 -53
  877. kalshi_python_sync-3.33.0/test/test_portfolio_api.py +0 -157
  878. kalshi_python_sync-3.33.0/test/test_price_distribution.py +0 -58
  879. kalshi_python_sync-3.33.0/test/test_price_distribution_historical.py +0 -62
  880. kalshi_python_sync-3.33.0/test/test_price_range.py +0 -56
  881. kalshi_python_sync-3.33.0/test/test_propose_block_trade_request.py +0 -68
  882. kalshi_python_sync-3.33.0/test/test_propose_block_trade_response.py +0 -52
  883. kalshi_python_sync-3.33.0/test/test_quote.py +0 -90
  884. kalshi_python_sync-3.33.0/test/test_resting_margin_reservation.py +0 -33
  885. kalshi_python_sync-3.33.0/test/test_rfq.py +0 -78
  886. kalshi_python_sync-3.33.0/test/test_schedule.py +0 -120
  887. kalshi_python_sync-3.33.0/test/test_scope_list.py +0 -56
  888. kalshi_python_sync-3.33.0/test/test_search_api.py +0 -45
  889. kalshi_python_sync-3.33.0/test/test_self_trade_prevention_type.py +0 -33
  890. kalshi_python_sync-3.33.0/test/test_series.py +0 -98
  891. kalshi_python_sync-3.33.0/test/test_series_fee_change.py +0 -60
  892. kalshi_python_sync-3.33.0/test/test_set_target_balance_allocation_request.py +0 -61
  893. kalshi_python_sync-3.33.0/test/test_settlement.py +0 -73
  894. kalshi_python_sync-3.33.0/test/test_settlement_source.py +0 -52
  895. kalshi_python_sync-3.33.0/test/test_sport_filter_details.py +0 -68
  896. kalshi_python_sync-3.33.0/test/test_structured_target.py +0 -59
  897. kalshi_python_sync-3.33.0/test/test_structured_targets_api.py +0 -45
  898. kalshi_python_sync-3.33.0/test/test_subaccount_balance.py +0 -58
  899. kalshi_python_sync-3.33.0/test/test_subaccount_netting_config.py +0 -56
  900. kalshi_python_sync-3.33.0/test/test_subaccount_transfer.py +0 -62
  901. kalshi_python_sync-3.33.0/test/test_target_balance_allocation.py +0 -54
  902. kalshi_python_sync-3.33.0/test/test_target_balance_allocation_input.py +0 -54
  903. kalshi_python_sync-3.33.0/test/test_ticker_pair.py +0 -56
  904. kalshi_python_sync-3.33.0/test/test_trade.py +0 -69
  905. kalshi_python_sync-3.33.0/test/test_update_fcm_event_contract_daily_cap_request.py +0 -54
  906. kalshi_python_sync-3.33.0/test/test_update_fcm_subtrader_blocked_categories_request.py +0 -56
  907. kalshi_python_sync-3.33.0/test/test_update_fcm_subtrader_blocked_categories_response.py +0 -56
  908. kalshi_python_sync-3.33.0/test/test_update_order_group_limit_request.py +0 -52
  909. kalshi_python_sync-3.33.0/test/test_update_subaccount_netting_request.py +0 -54
  910. kalshi_python_sync-3.33.0/test/test_user_filter.py +0 -33
  911. kalshi_python_sync-3.33.0/test/test_weather_index_calibration.py +0 -74
  912. kalshi_python_sync-3.33.0/test/test_weather_index_calibration_station.py +0 -57
  913. kalshi_python_sync-3.33.0/test/test_weather_index_point.py +0 -67
  914. kalshi_python_sync-3.33.0/test/test_weather_index_station_reading.py +0 -59
  915. kalshi_python_sync-3.33.0/test/test_weekly_schedule.py +0 -124
  916. kalshi_python_sync-3.33.0/test/test_withdrawal.py +0 -63
  917. {kalshi_python_sync-3.33.0 → kalshi_python_sync-3.34.0}/kalshi_python_sync/api/__init__.py +0 -0
  918. {kalshi_python_sync-3.33.0 → kalshi_python_sync-3.34.0}/kalshi_python_sync/api_response.py +0 -0
  919. {kalshi_python_sync-3.33.0 → kalshi_python_sync-3.34.0}/kalshi_python_sync/auth.py +0 -0
  920. {kalshi_python_sync-3.33.0 → kalshi_python_sync-3.34.0}/kalshi_python_sync/py.typed +0 -0
  921. {kalshi_python_sync-3.33.0 → kalshi_python_sync-3.34.0}/kalshi_python_sync.egg-info/dependency_links.txt +0 -0
  922. {kalshi_python_sync-3.33.0 → kalshi_python_sync-3.34.0}/kalshi_python_sync.egg-info/requires.txt +0 -0
  923. {kalshi_python_sync-3.33.0 → kalshi_python_sync-3.34.0}/kalshi_python_sync.egg-info/top_level.txt +0 -0
  924. {kalshi_python_sync-3.33.0 → kalshi_python_sync-3.34.0}/setup.cfg +0 -0
@@ -0,0 +1,77 @@
1
+ Metadata-Version: 2.4
2
+ Name: kalshi_python_sync
3
+ Version: 3.34.0
4
+ Summary: Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
5
+ Home-page: https://github.com/Kalshi/exchange-infra
6
+ Author: OpenAPI Generator community
7
+ Author-email: Kalshi <support@kalshi.com>
8
+ License: LicenseRef-Proprietary
9
+ Project-URL: Repository, https://github.com/Kalshi/exchange-infra
10
+ Keywords: OpenAPI,OpenAPI-Generator,Kalshi Trading API
11
+ Requires-Python: >=3.13
12
+ Description-Content-Type: text/markdown
13
+ Requires-Dist: urllib3<3.0.0,>=2.1.0
14
+ Requires-Dist: python-dateutil>=2.8.2
15
+ Requires-Dist: pydantic>=2
16
+ Requires-Dist: typing-extensions>=4.7.1
17
+ Requires-Dist: lazy-imports<2,>=1
18
+ Requires-Dist: cryptography>=41.0.0
19
+ Provides-Extra: dev
20
+ Requires-Dist: pytest>=7.2.1; extra == "dev"
21
+ Requires-Dist: pytest-cov>=2.8.1; extra == "dev"
22
+ Requires-Dist: mypy>=1.5; extra == "dev"
23
+ Dynamic: author
24
+ Dynamic: home-page
25
+
26
+ # Kalshi Trading API
27
+ Complete API for the Kalshi trading platform including all handlers for SDK generation
28
+
29
+ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
30
+
31
+ - API version: 3.34.0
32
+ - Package version: 3.34.0
33
+ - Generator version: 7.17.0
34
+ - Build package: org.openapitools.codegen.languages.PythonClientCodegen
35
+ For more information, please visit []()
36
+
37
+ ## Requirements.
38
+
39
+ Python 3.13+
40
+
41
+ ## Installation & Usage
42
+ ```python
43
+ pip install kalshi_python_sync
44
+ import kalshi_python_sync
45
+ ```
46
+
47
+ ## Getting Started
48
+
49
+ Please follow the [installation procedure](#installation--usage) and then run the following:
50
+
51
+ ```python
52
+ from kalshi_python_sync import Configuration, KalshiClient
53
+
54
+ # Configure the client
55
+ config = Configuration(
56
+ host="https://api.elections.kalshi.com/trade-api/v2"
57
+ )
58
+
59
+ # For authenticated requests
60
+ # Read private key from file
61
+ with open("path/to/private_key.pem", "r") as f:
62
+ private_key = f.read()
63
+
64
+ config.api_key_id = "your-api-key-id"
65
+ config.private_key_pem = private_key
66
+
67
+ # Initialize the client
68
+ client = KalshiClient(config)
69
+
70
+ # Make API calls
71
+ balance = client.get_balance()
72
+ print(f"Balance: ${balance.balance / 100:.2f}")
73
+ ```
74
+
75
+ ## Documentation
76
+
77
+ Full documentation is available at [docs.kalshi.com](https://docs.kalshi.com)
@@ -0,0 +1,52 @@
1
+ # Kalshi Trading API
2
+ Complete API for the Kalshi trading platform including all handlers for SDK generation
3
+
4
+ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5
+
6
+ - API version: 3.34.0
7
+ - Package version: 3.34.0
8
+ - Generator version: 7.17.0
9
+ - Build package: org.openapitools.codegen.languages.PythonClientCodegen
10
+ For more information, please visit []()
11
+
12
+ ## Requirements.
13
+
14
+ Python 3.13+
15
+
16
+ ## Installation & Usage
17
+ ```python
18
+ pip install kalshi_python_sync
19
+ import kalshi_python_sync
20
+ ```
21
+
22
+ ## Getting Started
23
+
24
+ Please follow the [installation procedure](#installation--usage) and then run the following:
25
+
26
+ ```python
27
+ from kalshi_python_sync import Configuration, KalshiClient
28
+
29
+ # Configure the client
30
+ config = Configuration(
31
+ host="https://api.elections.kalshi.com/trade-api/v2"
32
+ )
33
+
34
+ # For authenticated requests
35
+ # Read private key from file
36
+ with open("path/to/private_key.pem", "r") as f:
37
+ private_key = f.read()
38
+
39
+ config.api_key_id = "your-api-key-id"
40
+ config.private_key_pem = private_key
41
+
42
+ # Initialize the client
43
+ client = KalshiClient(config)
44
+
45
+ # Make API calls
46
+ balance = client.get_balance()
47
+ print(f"Balance: ${balance.balance / 100:.2f}")
48
+ ```
49
+
50
+ ## Documentation
51
+
52
+ Full documentation is available at [docs.kalshi.com](https://docs.kalshi.com)
@@ -0,0 +1,365 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+
5
+ """
6
+ Kalshi Trade API Manual Endpoints
7
+
8
+ Manually defined OpenAPI spec for endpoints being migrated to spec-first approach
9
+
10
+ The version of the OpenAPI document: 3.34.0
11
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
12
+
13
+ Do not edit the class manually.
14
+ """ # noqa: E501
15
+
16
+ __version__ = "3.34.0"
17
+
18
+ # import apis into sdk package
19
+ from kalshi_python_sync.api.account_api import AccountApi
20
+ from kalshi_python_sync.api.api_keys_api import ApiKeysApi
21
+ from kalshi_python_sync.api.communications_api import CommunicationsApi
22
+ from kalshi_python_sync.api.events_api import EventsApi
23
+ from kalshi_python_sync.api.exchange_api import ExchangeApi
24
+ from kalshi_python_sync.api.fcm_api import FcmApi
25
+ from kalshi_python_sync.api.historical_api import HistoricalApi
26
+ from kalshi_python_sync.api.incentive_programs_api import IncentiveProgramsApi
27
+ from kalshi_python_sync.api.live_data_api import LiveDataApi
28
+ from kalshi_python_sync.api.market_api import MarketApi
29
+ from kalshi_python_sync.api.milestone_api import MilestoneApi
30
+ from kalshi_python_sync.api.multivariate_api import MultivariateApi
31
+ from kalshi_python_sync.api.order_groups_api import OrderGroupsApi
32
+ from kalshi_python_sync.api.orders_api import OrdersApi
33
+ from kalshi_python_sync.api.portfolio_api import PortfolioApi
34
+ from kalshi_python_sync.api.search_api import SearchApi
35
+ from kalshi_python_sync.api.structured_targets_api import StructuredTargetsApi
36
+
37
+
38
+ # import ApiClient
39
+ from kalshi_python_sync.api_response import ApiResponse
40
+ from kalshi_python_sync.api_client import ApiClient
41
+ from kalshi_python_sync.configuration import Configuration
42
+ from kalshi_python_sync.exceptions import OpenApiException
43
+ from kalshi_python_sync.exceptions import ApiTypeError
44
+ from kalshi_python_sync.exceptions import ApiValueError
45
+ from kalshi_python_sync.exceptions import ApiKeyError
46
+ from kalshi_python_sync.exceptions import ApiAttributeError
47
+ from kalshi_python_sync.exceptions import ApiException
48
+
49
+ # Kalshi-specific authentication
50
+ from kalshi_python_sync.auth import KalshiAuth
51
+
52
+ # Convenience imports for exceptions
53
+ from kalshi_python_sync.exceptions import (
54
+ BadRequestException,
55
+ UnauthorizedException,
56
+ ForbiddenException,
57
+ NotFoundException,
58
+ ConflictException,
59
+ ServiceException,
60
+ UnprocessableEntityException,
61
+ )
62
+
63
+ # import models into sdk package
64
+ from kalshi_python_sync.models.accept_block_trade_proposal_request import AcceptBlockTradeProposalRequest
65
+ from kalshi_python_sync.models.accept_quote_request import AcceptQuoteRequest
66
+ from kalshi_python_sync.models.account_api_usage_level_volume_goal import AccountApiUsageLevelVolumeGoal
67
+ from kalshi_python_sync.models.account_api_usage_level_volume_progress import AccountApiUsageLevelVolumeProgress
68
+ from kalshi_python_sync.models.amend_order_request import AmendOrderRequest
69
+ from kalshi_python_sync.models.amend_order_response import AmendOrderResponse
70
+ from kalshi_python_sync.models.amend_order_v2_request import AmendOrderV2Request
71
+ from kalshi_python_sync.models.amend_order_v2_response import AmendOrderV2Response
72
+ from kalshi_python_sync.models.api_key import ApiKey
73
+ from kalshi_python_sync.models.api_key_scope import ApiKeyScope
74
+ from kalshi_python_sync.models.api_key_type import ApiKeyType
75
+ from kalshi_python_sync.models.api_usage_level_grant import ApiUsageLevelGrant
76
+ from kalshi_python_sync.models.apply_subaccount_transfer_request import ApplySubaccountTransferRequest
77
+ from kalshi_python_sync.models.associated_event import AssociatedEvent
78
+ from kalshi_python_sync.models.batch_cancel_orders_individual_response import BatchCancelOrdersIndividualResponse
79
+ from kalshi_python_sync.models.batch_cancel_orders_request import BatchCancelOrdersRequest
80
+ from kalshi_python_sync.models.batch_cancel_orders_request_order import BatchCancelOrdersRequestOrder
81
+ from kalshi_python_sync.models.batch_cancel_orders_response import BatchCancelOrdersResponse
82
+ from kalshi_python_sync.models.batch_cancel_orders_v2_request import BatchCancelOrdersV2Request
83
+ from kalshi_python_sync.models.batch_cancel_orders_v2_request_orders_inner import BatchCancelOrdersV2RequestOrdersInner
84
+ from kalshi_python_sync.models.batch_cancel_orders_v2_response import BatchCancelOrdersV2Response
85
+ from kalshi_python_sync.models.batch_cancel_orders_v2_response_orders_inner import BatchCancelOrdersV2ResponseOrdersInner
86
+ from kalshi_python_sync.models.batch_create_orders_individual_response import BatchCreateOrdersIndividualResponse
87
+ from kalshi_python_sync.models.batch_create_orders_request import BatchCreateOrdersRequest
88
+ from kalshi_python_sync.models.batch_create_orders_response import BatchCreateOrdersResponse
89
+ from kalshi_python_sync.models.batch_create_orders_v2_request import BatchCreateOrdersV2Request
90
+ from kalshi_python_sync.models.batch_create_orders_v2_response import BatchCreateOrdersV2Response
91
+ from kalshi_python_sync.models.batch_create_orders_v2_response_orders_inner import BatchCreateOrdersV2ResponseOrdersInner
92
+ from kalshi_python_sync.models.batch_get_market_candlesticks_response import BatchGetMarketCandlesticksResponse
93
+ from kalshi_python_sync.models.bid_ask_distribution import BidAskDistribution
94
+ from kalshi_python_sync.models.bid_ask_distribution_historical import BidAskDistributionHistorical
95
+ from kalshi_python_sync.models.block_trade_proposal import BlockTradeProposal
96
+ from kalshi_python_sync.models.book_side import BookSide
97
+ from kalshi_python_sync.models.bucket_limit import BucketLimit
98
+ from kalshi_python_sync.models.cancel_order_v2_response import CancelOrderV2Response
99
+ from kalshi_python_sync.models.create_api_key_request import CreateApiKeyRequest
100
+ from kalshi_python_sync.models.create_api_key_response import CreateApiKeyResponse
101
+ from kalshi_python_sync.models.create_fcm_position_transfer_request import CreateFCMPositionTransferRequest
102
+ from kalshi_python_sync.models.create_fcm_position_transfer_response import CreateFCMPositionTransferResponse
103
+ from kalshi_python_sync.models.create_fcm_subtrader_request import CreateFCMSubtraderRequest
104
+ from kalshi_python_sync.models.create_fcm_subtrader_response import CreateFCMSubtraderResponse
105
+ from kalshi_python_sync.models.create_market_in_multivariate_event_collection_request import CreateMarketInMultivariateEventCollectionRequest
106
+ from kalshi_python_sync.models.create_market_in_multivariate_event_collection_response import CreateMarketInMultivariateEventCollectionResponse
107
+ from kalshi_python_sync.models.create_order_group_request import CreateOrderGroupRequest
108
+ from kalshi_python_sync.models.create_order_group_response import CreateOrderGroupResponse
109
+ from kalshi_python_sync.models.create_order_request import CreateOrderRequest
110
+ from kalshi_python_sync.models.create_order_response import CreateOrderResponse
111
+ from kalshi_python_sync.models.create_order_v2_request import CreateOrderV2Request
112
+ from kalshi_python_sync.models.create_order_v2_response import CreateOrderV2Response
113
+ from kalshi_python_sync.models.create_quote_request import CreateQuoteRequest
114
+ from kalshi_python_sync.models.create_quote_response import CreateQuoteResponse
115
+ from kalshi_python_sync.models.create_rfq_request import CreateRFQRequest
116
+ from kalshi_python_sync.models.create_rfq_response import CreateRFQResponse
117
+ from kalshi_python_sync.models.create_subaccount_request import CreateSubaccountRequest
118
+ from kalshi_python_sync.models.create_subaccount_response import CreateSubaccountResponse
119
+ from kalshi_python_sync.models.daily_schedule import DailySchedule
120
+ from kalshi_python_sync.models.decrease_order_v2_request import DecreaseOrderV2Request
121
+ from kalshi_python_sync.models.decrease_order_v2_response import DecreaseOrderV2Response
122
+ from kalshi_python_sync.models.deposit import Deposit
123
+ from kalshi_python_sync.models.endpoint_token_cost import EndpointTokenCost
124
+ from kalshi_python_sync.models.error_response import ErrorResponse
125
+ from kalshi_python_sync.models.event_data import EventData
126
+ from kalshi_python_sync.models.event_fee_change import EventFeeChange
127
+ from kalshi_python_sync.models.event_live_data import EventLiveData
128
+ from kalshi_python_sync.models.event_position import EventPosition
129
+ from kalshi_python_sync.models.exchange_index_status import ExchangeIndexStatus
130
+ from kalshi_python_sync.models.exchange_instance import ExchangeInstance
131
+ from kalshi_python_sync.models.exchange_status import ExchangeStatus
132
+ from kalshi_python_sync.models.fcm_subtrader import FCMSubtrader
133
+ from kalshi_python_sync.models.fcm_fill import FcmFill
134
+ from kalshi_python_sync.models.fee_type import FeeType
135
+ from kalshi_python_sync.models.fill import Fill
136
+ from kalshi_python_sync.models.forecast_percentiles_point import ForecastPercentilesPoint
137
+ from kalshi_python_sync.models.generate_api_key_request import GenerateApiKeyRequest
138
+ from kalshi_python_sync.models.generate_api_key_response import GenerateApiKeyResponse
139
+ from kalshi_python_sync.models.get_account_api_limits_response import GetAccountApiLimitsResponse
140
+ from kalshi_python_sync.models.get_account_api_usage_level_volume_progress_response import GetAccountApiUsageLevelVolumeProgressResponse
141
+ from kalshi_python_sync.models.get_account_endpoint_costs_response import GetAccountEndpointCostsResponse
142
+ from kalshi_python_sync.models.get_api_keys_response import GetApiKeysResponse
143
+ from kalshi_python_sync.models.get_balance_response import GetBalanceResponse
144
+ from kalshi_python_sync.models.get_block_trade_proposals_response import GetBlockTradeProposalsResponse
145
+ from kalshi_python_sync.models.get_communications_id_response import GetCommunicationsIDResponse
146
+ from kalshi_python_sync.models.get_deposits_response import GetDepositsResponse
147
+ from kalshi_python_sync.models.get_event_candlesticks_response import GetEventCandlesticksResponse
148
+ from kalshi_python_sync.models.get_event_fee_changes_response import GetEventFeeChangesResponse
149
+ from kalshi_python_sync.models.get_event_forecast_percentiles_history_response import GetEventForecastPercentilesHistoryResponse
150
+ from kalshi_python_sync.models.get_event_live_data_response import GetEventLiveDataResponse
151
+ from kalshi_python_sync.models.get_event_metadata_response import GetEventMetadataResponse
152
+ from kalshi_python_sync.models.get_event_response import GetEventResponse
153
+ from kalshi_python_sync.models.get_events_response import GetEventsResponse
154
+ from kalshi_python_sync.models.get_exchange_schedule_response import GetExchangeScheduleResponse
155
+ from kalshi_python_sync.models.get_fcm_event_contract_daily_cap_response import GetFCMEventContractDailyCapResponse
156
+ from kalshi_python_sync.models.get_fcm_subtrader_blocked_categories_response import GetFCMSubtraderBlockedCategoriesResponse
157
+ from kalshi_python_sync.models.get_fcm_fills_response import GetFcmFillsResponse
158
+ from kalshi_python_sync.models.get_fills_response import GetFillsResponse
159
+ from kalshi_python_sync.models.get_filters_by_sports_response import GetFiltersBySportsResponse
160
+ from kalshi_python_sync.models.get_game_stats_response import GetGameStatsResponse
161
+ from kalshi_python_sync.models.get_historical_cutoff_response import GetHistoricalCutoffResponse
162
+ from kalshi_python_sync.models.get_incentive_programs_response import GetIncentiveProgramsResponse
163
+ from kalshi_python_sync.models.get_intra_exchange_instance_transfer_response import GetIntraExchangeInstanceTransferResponse
164
+ from kalshi_python_sync.models.get_intra_exchange_instance_transfers_response import GetIntraExchangeInstanceTransfersResponse
165
+ from kalshi_python_sync.models.get_live_data_response import GetLiveDataResponse
166
+ from kalshi_python_sync.models.get_live_datas_response import GetLiveDatasResponse
167
+ from kalshi_python_sync.models.get_market_candlesticks_historical_response import GetMarketCandlesticksHistoricalResponse
168
+ from kalshi_python_sync.models.get_market_candlesticks_response import GetMarketCandlesticksResponse
169
+ from kalshi_python_sync.models.get_market_orderbook_response import GetMarketOrderbookResponse
170
+ from kalshi_python_sync.models.get_market_orderbooks_response import GetMarketOrderbooksResponse
171
+ from kalshi_python_sync.models.get_market_response import GetMarketResponse
172
+ from kalshi_python_sync.models.get_markets_response import GetMarketsResponse
173
+ from kalshi_python_sync.models.get_milestone_response import GetMilestoneResponse
174
+ from kalshi_python_sync.models.get_milestones_response import GetMilestonesResponse
175
+ from kalshi_python_sync.models.get_multivariate_event_collection_response import GetMultivariateEventCollectionResponse
176
+ from kalshi_python_sync.models.get_multivariate_event_collections_response import GetMultivariateEventCollectionsResponse
177
+ from kalshi_python_sync.models.get_multivariate_events_response import GetMultivariateEventsResponse
178
+ from kalshi_python_sync.models.get_order_group_response import GetOrderGroupResponse
179
+ from kalshi_python_sync.models.get_order_groups_response import GetOrderGroupsResponse
180
+ from kalshi_python_sync.models.get_order_queue_position_response import GetOrderQueuePositionResponse
181
+ from kalshi_python_sync.models.get_order_queue_positions_response import GetOrderQueuePositionsResponse
182
+ from kalshi_python_sync.models.get_order_response import GetOrderResponse
183
+ from kalshi_python_sync.models.get_orders_response import GetOrdersResponse
184
+ from kalshi_python_sync.models.get_portfolio_resting_order_total_value_response import GetPortfolioRestingOrderTotalValueResponse
185
+ from kalshi_python_sync.models.get_positions_response import GetPositionsResponse
186
+ from kalshi_python_sync.models.get_quote_response import GetQuoteResponse
187
+ from kalshi_python_sync.models.get_quotes_response import GetQuotesResponse
188
+ from kalshi_python_sync.models.get_rfq_response import GetRFQResponse
189
+ from kalshi_python_sync.models.get_rfqs_response import GetRFQsResponse
190
+ from kalshi_python_sync.models.get_series_fee_changes_response import GetSeriesFeeChangesResponse
191
+ from kalshi_python_sync.models.get_series_list_response import GetSeriesListResponse
192
+ from kalshi_python_sync.models.get_series_response import GetSeriesResponse
193
+ from kalshi_python_sync.models.get_settlements_response import GetSettlementsResponse
194
+ from kalshi_python_sync.models.get_structured_target_response import GetStructuredTargetResponse
195
+ from kalshi_python_sync.models.get_structured_targets_response import GetStructuredTargetsResponse
196
+ from kalshi_python_sync.models.get_subaccount_balances_response import GetSubaccountBalancesResponse
197
+ from kalshi_python_sync.models.get_subaccount_netting_response import GetSubaccountNettingResponse
198
+ from kalshi_python_sync.models.get_subaccount_transfers_response import GetSubaccountTransfersResponse
199
+ from kalshi_python_sync.models.get_tags_for_series_categories_response import GetTagsForSeriesCategoriesResponse
200
+ from kalshi_python_sync.models.get_target_balance_allocation_response import GetTargetBalanceAllocationResponse
201
+ from kalshi_python_sync.models.get_trades_response import GetTradesResponse
202
+ from kalshi_python_sync.models.get_user_data_timestamp_response import GetUserDataTimestampResponse
203
+ from kalshi_python_sync.models.get_weather_index_calibrations_response import GetWeatherIndexCalibrationsResponse
204
+ from kalshi_python_sync.models.get_weather_index_response import GetWeatherIndexResponse
205
+ from kalshi_python_sync.models.get_withdrawals_response import GetWithdrawalsResponse
206
+ from kalshi_python_sync.models.incentive_program import IncentiveProgram
207
+ from kalshi_python_sync.models.indexed_balance import IndexedBalance
208
+ from kalshi_python_sync.models.intra_exchange_instance_transfer import IntraExchangeInstanceTransfer
209
+ from kalshi_python_sync.models.intra_exchange_instance_transfer_request import IntraExchangeInstanceTransferRequest
210
+ from kalshi_python_sync.models.intra_exchange_instance_transfer_response import IntraExchangeInstanceTransferResponse
211
+ from kalshi_python_sync.models.intra_exchange_instance_transfer_status import IntraExchangeInstanceTransferStatus
212
+ from kalshi_python_sync.models.list_fcm_subtraders_response import ListFCMSubtradersResponse
213
+ from kalshi_python_sync.models.live_data import LiveData
214
+ from kalshi_python_sync.models.maintenance_window import MaintenanceWindow
215
+ from kalshi_python_sync.models.market import Market
216
+ from kalshi_python_sync.models.market_candlestick import MarketCandlestick
217
+ from kalshi_python_sync.models.market_candlestick_historical import MarketCandlestickHistorical
218
+ from kalshi_python_sync.models.market_candlesticks_response import MarketCandlesticksResponse
219
+ from kalshi_python_sync.models.market_metadata import MarketMetadata
220
+ from kalshi_python_sync.models.market_orderbook_fp import MarketOrderbookFp
221
+ from kalshi_python_sync.models.market_position import MarketPosition
222
+ from kalshi_python_sync.models.milestone import Milestone
223
+ from kalshi_python_sync.models.multivariate_event_collection import MultivariateEventCollection
224
+ from kalshi_python_sync.models.mve_selected_leg import MveSelectedLeg
225
+ from kalshi_python_sync.models.order import Order
226
+ from kalshi_python_sync.models.order_group import OrderGroup
227
+ from kalshi_python_sync.models.order_queue_position import OrderQueuePosition
228
+ from kalshi_python_sync.models.order_status import OrderStatus
229
+ from kalshi_python_sync.models.orderbook_count_fp import OrderbookCountFp
230
+ from kalshi_python_sync.models.outcome_side import OutcomeSide
231
+ from kalshi_python_sync.models.percentile_point import PercentilePoint
232
+ from kalshi_python_sync.models.play_by_play import PlayByPlay
233
+ from kalshi_python_sync.models.play_by_play_periods_inner import PlayByPlayPeriodsInner
234
+ from kalshi_python_sync.models.price_distribution import PriceDistribution
235
+ from kalshi_python_sync.models.price_distribution_historical import PriceDistributionHistorical
236
+ from kalshi_python_sync.models.price_range import PriceRange
237
+ from kalshi_python_sync.models.propose_block_trade_request import ProposeBlockTradeRequest
238
+ from kalshi_python_sync.models.propose_block_trade_response import ProposeBlockTradeResponse
239
+ from kalshi_python_sync.models.quote import Quote
240
+ from kalshi_python_sync.models.rfq import RFQ
241
+ from kalshi_python_sync.models.resting_margin_reservation import RestingMarginReservation
242
+ from kalshi_python_sync.models.schedule import Schedule
243
+ from kalshi_python_sync.models.scope_list import ScopeList
244
+ from kalshi_python_sync.models.self_trade_prevention_type import SelfTradePreventionType
245
+ from kalshi_python_sync.models.series import Series
246
+ from kalshi_python_sync.models.series_fee_change import SeriesFeeChange
247
+ from kalshi_python_sync.models.set_target_balance_allocation_request import SetTargetBalanceAllocationRequest
248
+ from kalshi_python_sync.models.settlement import Settlement
249
+ from kalshi_python_sync.models.settlement_source import SettlementSource
250
+ from kalshi_python_sync.models.sport_filter_details import SportFilterDetails
251
+ from kalshi_python_sync.models.structured_target import StructuredTarget
252
+ from kalshi_python_sync.models.subaccount_balance import SubaccountBalance
253
+ from kalshi_python_sync.models.subaccount_netting_config import SubaccountNettingConfig
254
+ from kalshi_python_sync.models.subaccount_transfer import SubaccountTransfer
255
+ from kalshi_python_sync.models.target_balance_allocation import TargetBalanceAllocation
256
+ from kalshi_python_sync.models.target_balance_allocation_input import TargetBalanceAllocationInput
257
+ from kalshi_python_sync.models.ticker_pair import TickerPair
258
+ from kalshi_python_sync.models.trade import Trade
259
+ from kalshi_python_sync.models.update_fcm_event_contract_daily_cap_request import UpdateFCMEventContractDailyCapRequest
260
+ from kalshi_python_sync.models.update_fcm_subtrader_blocked_categories_request import UpdateFCMSubtraderBlockedCategoriesRequest
261
+ from kalshi_python_sync.models.update_fcm_subtrader_blocked_categories_response import UpdateFCMSubtraderBlockedCategoriesResponse
262
+ from kalshi_python_sync.models.update_order_group_limit_request import UpdateOrderGroupLimitRequest
263
+ from kalshi_python_sync.models.update_subaccount_netting_request import UpdateSubaccountNettingRequest
264
+ from kalshi_python_sync.models.user_filter import UserFilter
265
+ from kalshi_python_sync.models.weather_index_calibration import WeatherIndexCalibration
266
+ from kalshi_python_sync.models.weather_index_calibration_station import WeatherIndexCalibrationStation
267
+ from kalshi_python_sync.models.weather_index_point import WeatherIndexPoint
268
+ from kalshi_python_sync.models.weather_index_station_reading import WeatherIndexStationReading
269
+ from kalshi_python_sync.models.weekly_schedule import WeeklySchedule
270
+ from kalshi_python_sync.models.withdrawal import Withdrawal
271
+
272
+
273
+ # KalshiClient with custom authentication
274
+ class KalshiClient(ApiClient):
275
+ """Convenience client that combines all API classes into a single interface with Kalshi auth"""
276
+
277
+ def __init__(self, configuration=None):
278
+ super().__init__(configuration)
279
+
280
+ # Initialize Kalshi authentication if credentials are configured
281
+ self.kalshi_auth = None
282
+ if configuration and hasattr(configuration, 'api_key_id') and hasattr(configuration, 'private_key_pem'):
283
+ self.kalshi_auth = KalshiAuth(
284
+ configuration.api_key_id,
285
+ configuration.private_key_pem
286
+ )
287
+
288
+ # Initialize all API instances
289
+ self._account_api = AccountApi(self)
290
+ self._api_keys_api = ApiKeysApi(self)
291
+ self._communications_api = CommunicationsApi(self)
292
+ self._events_api = EventsApi(self)
293
+ self._exchange_api = ExchangeApi(self)
294
+ self._fcm_api = FcmApi(self)
295
+ self._historical_api = HistoricalApi(self)
296
+ self._incentive_programs_api = IncentiveProgramsApi(self)
297
+ self._live_data_api = LiveDataApi(self)
298
+ self._market_api = MarketApi(self)
299
+ self._milestone_api = MilestoneApi(self)
300
+ self._multivariate_api = MultivariateApi(self)
301
+ self._order_groups_api = OrderGroupsApi(self)
302
+ self._orders_api = OrdersApi(self)
303
+ self._portfolio_api = PortfolioApi(self)
304
+ self._search_api = SearchApi(self)
305
+ self._structured_targets_api = StructuredTargetsApi(self)
306
+
307
+
308
+ def update_params_for_auth(
309
+ self,
310
+ headers,
311
+ queries,
312
+ auth_settings,
313
+ resource_path,
314
+ method,
315
+ body,
316
+ request_auth=None
317
+ ):
318
+ """Override to add Kalshi custom authentication headers"""
319
+ # Skip if no authentication configured
320
+ if not self.kalshi_auth:
321
+ return super().update_params_for_auth(
322
+ headers, queries, auth_settings, resource_path, method, body, request_auth
323
+ )
324
+
325
+ # Build full path - resource_path doesn't include base path
326
+ full_path = f"/trade-api/v2{resource_path}"
327
+
328
+ # Get auth headers from KalshiAuth
329
+ auth_headers = self.kalshi_auth.create_auth_headers(method, full_path)
330
+ headers.update(auth_headers)
331
+
332
+ return super().update_params_for_auth(
333
+ headers, queries, auth_settings, resource_path, method, body, request_auth
334
+ )
335
+
336
+ def __getattr__(self, name):
337
+ """Dynamically forward method calls to the appropriate API instance"""
338
+ # Try each API instance to see if it has the method
339
+ api_names = [
340
+ '_account_api',
341
+ '_api_keys_api',
342
+ '_communications_api',
343
+ '_events_api',
344
+ '_exchange_api',
345
+ '_fcm_api',
346
+ '_historical_api',
347
+ '_incentive_programs_api',
348
+ '_live_data_api',
349
+ '_market_api',
350
+ '_milestone_api',
351
+ '_multivariate_api',
352
+ '_order_groups_api',
353
+ '_orders_api',
354
+ '_portfolio_api',
355
+ '_search_api',
356
+ '_structured_targets_api',
357
+ ]
358
+ for api_name in api_names:
359
+ if hasattr(self, api_name):
360
+ api_instance = getattr(self, api_name)
361
+ if hasattr(api_instance, name):
362
+ return getattr(api_instance, name)
363
+
364
+ # If not found in any API, raise AttributeError
365
+ raise AttributeError(f"'{type(self).__name__}' object has no attribute '{name}'")