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