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