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