upstox-python-sdk 2.28.0__tar.gz → 2.30.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 (396) hide show
  1. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/PKG-INFO +1 -1
  2. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/setup.py +1 -1
  3. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/__init__.py +13 -0
  4. upstox_python_sdk-2.30.0/upstox_client/api/ipo_api.py +615 -0
  5. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/market_quote_v3_api.py +91 -0
  6. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api_client.py +1 -1
  7. upstox_python_sdk-2.30.0/upstox_client/feeder/proto/MarketDataFeedV3_pb2.py +75 -0
  8. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/__init__.py +13 -0
  9. upstox_python_sdk-2.30.0/upstox_client/models/get_full_market_quote_response_v3.py +142 -0
  10. upstox_python_sdk-2.30.0/upstox_client/models/ipo_apply_data.py +112 -0
  11. upstox_python_sdk-2.30.0/upstox_client/models/ipo_apply_request.py +200 -0
  12. upstox_python_sdk-2.30.0/upstox_client/models/ipo_apply_response.py +136 -0
  13. upstox_python_sdk-2.30.0/upstox_client/models/ipo_bid_request.py +142 -0
  14. upstox_python_sdk-2.30.0/upstox_client/models/ipo_cancel_data.py +140 -0
  15. upstox_python_sdk-2.30.0/upstox_client/models/ipo_cancel_response.py +136 -0
  16. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/ipo_details_data.py +29 -3
  17. upstox_python_sdk-2.30.0/upstox_client/models/ipo_investor_type.py +140 -0
  18. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/ipo_listing_data.py +29 -3
  19. upstox_python_sdk-2.30.0/upstox_client/models/ipo_order_bid.py +196 -0
  20. upstox_python_sdk-2.30.0/upstox_client/models/ipo_order_data.py +756 -0
  21. upstox_python_sdk-2.30.0/upstox_client/models/ipo_order_detail_response.py +136 -0
  22. upstox_python_sdk-2.30.0/upstox_client/models/ipo_order_response.py +162 -0
  23. upstox_python_sdk-2.30.0/upstox_client/models/market_quote_symbol_v3.py +836 -0
  24. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_python_sdk.egg-info/PKG-INFO +1 -1
  25. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_python_sdk.egg-info/SOURCES.txt +13 -0
  26. upstox_python_sdk-2.28.0/upstox_client/api/ipo_api.py +0 -231
  27. upstox_python_sdk-2.28.0/upstox_client/feeder/proto/MarketDataFeedV3_pb2.py +0 -63
  28. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/LICENSE.txt +0 -0
  29. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/README.md +0 -0
  30. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/setup.cfg +0 -0
  31. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/__init__.py +0 -0
  32. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/sanity_test.py +0 -0
  33. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_analytics_data.py +0 -0
  34. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_api_gateway_error_response.py +0 -0
  35. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_batch_execution_summary.py +0 -0
  36. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_brokerage_data.py +0 -0
  37. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_brokerage_taxes.py +0 -0
  38. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_brokerage_wrapper_data.py +0 -0
  39. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_cancel_or_exit_multi_order_data.py +0 -0
  40. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_cancel_or_exit_multi_order_response.py +0 -0
  41. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_cancel_or_exit_order_error_data.py +0 -0
  42. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_cancel_order_data.py +0 -0
  43. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_cancel_order_response.py +0 -0
  44. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_cancel_order_v3_response.py +0 -0
  45. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_charge_api.py +0 -0
  46. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_convert_position_data.py +0 -0
  47. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_convert_position_request.py +0 -0
  48. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_convert_position_response.py +0 -0
  49. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_depth.py +0 -0
  50. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_depth_map.py +0 -0
  51. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_dp_plan.py +0 -0
  52. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_exchange_timing_data.py +0 -0
  53. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_brokerage_response.py +0 -0
  54. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_exchange_timing_response.py +0 -0
  55. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_full_market_quote_response.py +0 -0
  56. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_gtt_order_response.py +0 -0
  57. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_historical_candle_response.py +0 -0
  58. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_holdings_response.py +0 -0
  59. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_holiday_response.py +0 -0
  60. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_intra_day_candle_response.py +0 -0
  61. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_market_quote_last_traded_price_response.py +0 -0
  62. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_market_quote_ohlc_response.py +0 -0
  63. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_market_status_response.py +0 -0
  64. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_option_chain_response.py +0 -0
  65. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_option_contract_response.py +0 -0
  66. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_order_book_response.py +0 -0
  67. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_order_details_response.py +0 -0
  68. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_order_response.py +0 -0
  69. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_position_response.py +0 -0
  70. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_profile_response.py +0 -0
  71. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_profit_and_loss_charges_response.py +0 -0
  72. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_trade_response.py +0 -0
  73. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_trade_wise_profit_and_loss_data_response.py +0 -0
  74. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
  75. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_get_user_fund_margin_response.py +0 -0
  76. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_gtt_cancel_order_request.py +0 -0
  77. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_gtt_modify_order_request.py +0 -0
  78. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_gtt_order_data.py +0 -0
  79. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_gtt_order_details.py +0 -0
  80. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_gtt_place_order_request.py +0 -0
  81. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_gtt_rule.py +0 -0
  82. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_gtt_trigger_order_response.py +0 -0
  83. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_historical_candle_data.py +0 -0
  84. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_history_api.py +0 -0
  85. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_holdings_data.py +0 -0
  86. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_holiday_data.py +0 -0
  87. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_indie_user_init_token_data.py +0 -0
  88. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_indie_user_init_token_response.py +0 -0
  89. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_indie_user_token_request.py +0 -0
  90. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_instrument.py +0 -0
  91. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_instrument_data.py +0 -0
  92. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_intra_day_candle_data.py +0 -0
  93. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_login_api.py +0 -0
  94. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_logout_response.py +0 -0
  95. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_margin.py +0 -0
  96. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_margin_data.py +0 -0
  97. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_margin_request.py +0 -0
  98. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_market_data.py +0 -0
  99. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_market_holidays_and_timings_api.py +0 -0
  100. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_market_quote_api.py +0 -0
  101. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_market_quote_ohlc.py +0 -0
  102. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_market_quote_symbol.py +0 -0
  103. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_market_quote_symbol_ltp.py +0 -0
  104. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_market_status_data.py +0 -0
  105. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_modify_order_data.py +0 -0
  106. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_modify_order_request.py +0 -0
  107. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_modify_order_response.py +0 -0
  108. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_modify_order_v3_response.py +0 -0
  109. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_multi_order_data.py +0 -0
  110. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_multi_order_error.py +0 -0
  111. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_multi_order_request.py +0 -0
  112. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_multi_order_response.py +0 -0
  113. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_multi_order_summary.py +0 -0
  114. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_multi_order_v3_data.py +0 -0
  115. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_o_auth_client_exception.py +0 -0
  116. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_o_auth_client_exception_cause.py +0 -0
  117. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_o_auth_client_exception_cause_stack_trace.py +0 -0
  118. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_o_auth_client_exception_cause_suppressed.py +0 -0
  119. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_ohlc.py +0 -0
  120. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_option_strike_data.py +0 -0
  121. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_options_api.py +0 -0
  122. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_order_api.py +0 -0
  123. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_order_book_data.py +0 -0
  124. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_order_controller_v_3_api.py +0 -0
  125. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_order_data.py +0 -0
  126. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_order_metadata.py +0 -0
  127. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_other_taxes.py +0 -0
  128. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_place_order_data.py +0 -0
  129. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_place_order_request.py +0 -0
  130. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_place_order_response.py +0 -0
  131. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_place_order_v3_request.py +0 -0
  132. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_place_order_v3_response.py +0 -0
  133. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_portfolio_api.py +0 -0
  134. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_position_data.py +0 -0
  135. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_post_margin_response.py +0 -0
  136. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_post_trade_api.py +0 -0
  137. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_problem.py +0 -0
  138. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_profile_data.py +0 -0
  139. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_profit_and_loss_charges_data.py +0 -0
  140. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_profit_and_loss_charges_taxes.py +0 -0
  141. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_profit_and_loss_charges_wrapper_data.py +0 -0
  142. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_profit_and_loss_meta_data.py +0 -0
  143. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_profit_and_loss_meta_data_wrapper.py +0 -0
  144. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_profit_and_loss_other_charges_taxes.py +0 -0
  145. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_put_call_option_chain_data.py +0 -0
  146. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_rule.py +0 -0
  147. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_token_request.py +0 -0
  148. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_token_response.py +0 -0
  149. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_trade_data.py +0 -0
  150. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_trade_history_response.py +0 -0
  151. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_trade_history_response_meta_data.py +0 -0
  152. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_trade_history_response_page_data.py +0 -0
  153. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_trade_history_response_trade_data.py +0 -0
  154. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_trade_profit_and_loss_api.py +0 -0
  155. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_trade_wise_meta_data.py +0 -0
  156. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_trade_wise_profit_and_loss_data.py +0 -0
  157. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_user_api.py +0 -0
  158. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_user_fund_margin_data.py +0 -0
  159. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_websocket_api.py +0 -0
  160. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_websocket_auth_redirect_response.py +0 -0
  161. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/test/test_websocket_auth_redirect_response_data.py +0 -0
  162. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/__init__.py +0 -0
  163. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/charge_api.py +0 -0
  164. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/expired_instrument_api.py +0 -0
  165. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/fundamentals_api.py +0 -0
  166. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/history_api.py +0 -0
  167. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/history_v3_api.py +0 -0
  168. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/instruments_api.py +0 -0
  169. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/login_api.py +0 -0
  170. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/market_api.py +0 -0
  171. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/market_holidays_and_timings_api.py +0 -0
  172. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/market_quote_api.py +0 -0
  173. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/mutual_fund_api.py +0 -0
  174. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/news_api.py +0 -0
  175. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/options_api.py +0 -0
  176. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/order_api.py +0 -0
  177. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/order_controller_v_3_api.py +0 -0
  178. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/portfolio_api.py +0 -0
  179. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/post_trade_api.py +0 -0
  180. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/trade_profit_and_loss_api.py +0 -0
  181. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/user_api.py +0 -0
  182. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/api/websocket_api.py +0 -0
  183. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/configuration.py +0 -0
  184. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/feeder/__init__.py +0 -0
  185. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/feeder/feeder.py +0 -0
  186. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/feeder/market_data_feeder_v3.py +0 -0
  187. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/feeder/market_data_streamer_v3.py +0 -0
  188. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/feeder/portfolio_data_feeder.py +0 -0
  189. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/feeder/portfolio_data_streamer.py +0 -0
  190. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/feeder/proto/__init__.py +0 -0
  191. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/feeder/streamer.py +0 -0
  192. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/analytics_data.py +0 -0
  193. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/analytics_response.py +0 -0
  194. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/api_gateway_error_response.py +0 -0
  195. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/available_to_trade.py +0 -0
  196. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/balance_sheet_data.py +0 -0
  197. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/balance_sheet_history_item.py +0 -0
  198. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/balance_sheet_response.py +0 -0
  199. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/batch_execution_summary.py +0 -0
  200. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/brokerage_data.py +0 -0
  201. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/brokerage_taxes.py +0 -0
  202. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/brokerage_wrapper_data.py +0 -0
  203. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/cancel_or_exit_multi_order_data.py +0 -0
  204. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/cancel_or_exit_multi_order_response.py +0 -0
  205. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/cancel_or_exit_order_error_data.py +0 -0
  206. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/cancel_order_data.py +0 -0
  207. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/cancel_order_response.py +0 -0
  208. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/cancel_order_v3_response.py +0 -0
  209. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/cash_available_to_trade.py +0 -0
  210. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/cash_breakdown.py +0 -0
  211. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/cash_flow_data.py +0 -0
  212. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/cash_flow_entry.py +0 -0
  213. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/cash_flow_response.py +0 -0
  214. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/cash_margin_used.py +0 -0
  215. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/cash_unavailable_to_trade.py +0 -0
  216. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/company_profile_data.py +0 -0
  217. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/company_profile_response.py +0 -0
  218. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/competitor_data.py +0 -0
  219. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/competitors_response.py +0 -0
  220. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/convert_position_data.py +0 -0
  221. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/convert_position_request.py +0 -0
  222. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/convert_position_response.py +0 -0
  223. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/corporate_action_data.py +0 -0
  224. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/corporate_action_event_detail.py +0 -0
  225. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/corporate_actions_response.py +0 -0
  226. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/delivery_margin.py +0 -0
  227. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/depth.py +0 -0
  228. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/depth_map.py +0 -0
  229. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/dp_plan.py +0 -0
  230. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/exchange_timing_data.py +0 -0
  231. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/expired_future_data.py +0 -0
  232. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/family_member_data.py +0 -0
  233. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/financial_statement_entry.py +0 -0
  234. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_brokerage_response.py +0 -0
  235. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_exchange_timing_response.py +0 -0
  236. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_expired_futures_contract_response.py +0 -0
  237. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_expiries.py +0 -0
  238. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_full_market_quote_response.py +0 -0
  239. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_gtt_order_response.py +0 -0
  240. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_historical_candle_response.py +0 -0
  241. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_holdings_response.py +0 -0
  242. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_holiday_response.py +0 -0
  243. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_intra_day_candle_response.py +0 -0
  244. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_market_quote_last_traded_price_response.py +0 -0
  245. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_market_quote_last_traded_price_response_v3.py +0 -0
  246. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_market_quote_ohlc_response.py +0 -0
  247. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_market_quote_ohlc_response_v3.py +0 -0
  248. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_market_quote_option_greek_response_v3.py +0 -0
  249. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_market_status_response.py +0 -0
  250. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_mutual_fund_holdings_response.py +0 -0
  251. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_mutual_fund_order_details_response.py +0 -0
  252. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_mutual_fund_orders_response.py +0 -0
  253. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_mutual_fund_sips_response.py +0 -0
  254. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_news_response.py +0 -0
  255. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_option_chain_response.py +0 -0
  256. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_option_contract_response.py +0 -0
  257. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_order_book_response.py +0 -0
  258. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_order_details_response.py +0 -0
  259. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_order_response.py +0 -0
  260. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_position_response.py +0 -0
  261. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_profile_response.py +0 -0
  262. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_profit_and_loss_charges_response.py +0 -0
  263. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_trade_response.py +0 -0
  264. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_trade_wise_profit_and_loss_data_response.py +0 -0
  265. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
  266. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_user_fund_margin_response.py +0 -0
  267. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/get_user_fund_margin_v3_response.py +0 -0
  268. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/gtt_cancel_order_request.py +0 -0
  269. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/gtt_modify_order_request.py +0 -0
  270. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/gtt_order_data.py +0 -0
  271. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/gtt_order_details.py +0 -0
  272. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/gtt_place_order_request.py +0 -0
  273. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/gtt_rule.py +0 -0
  274. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/gtt_trigger_order_response.py +0 -0
  275. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/historical_candle_data.py +0 -0
  276. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/history_item.py +0 -0
  277. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/holdings_data.py +0 -0
  278. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/holiday_data.py +0 -0
  279. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/income_statement_data.py +0 -0
  280. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/income_statement_entry.py +0 -0
  281. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/income_statement_response.py +0 -0
  282. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/indie_user_init_token_data.py +0 -0
  283. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/indie_user_init_token_response.py +0 -0
  284. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/indie_user_token_request.py +0 -0
  285. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/initiate_payout_request.py +0 -0
  286. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/instrument.py +0 -0
  287. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/instrument_data.py +0 -0
  288. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/intra_day_candle_data.py +0 -0
  289. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/ipo_details_response.py +0 -0
  290. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/ipo_listing_response.py +0 -0
  291. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/ipo_meta_data.py +0 -0
  292. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/ipo_registrar_info.py +0 -0
  293. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/ipo_timeline.py +0 -0
  294. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/key_ratio_data.py +0 -0
  295. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/key_ratios_response.py +0 -0
  296. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/kill_switch_response.py +0 -0
  297. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/kill_switch_segment_data.py +0 -0
  298. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/kill_switch_segment_update_request.py +0 -0
  299. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/logout_response.py +0 -0
  300. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/loss.py +0 -0
  301. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/margin.py +0 -0
  302. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/margin_data.py +0 -0
  303. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/margin_from_pledge.py +0 -0
  304. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/margin_request.py +0 -0
  305. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/market_data.py +0 -0
  306. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/market_quote_ohlc.py +0 -0
  307. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/market_quote_ohlcv3.py +0 -0
  308. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/market_quote_option_greek_v3.py +0 -0
  309. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/market_quote_symbol.py +0 -0
  310. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/market_quote_symbol_ltp.py +0 -0
  311. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/market_quote_symbol_ltp_v3.py +0 -0
  312. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/market_status_data.py +0 -0
  313. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/modify_order_data.py +0 -0
  314. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/modify_order_request.py +0 -0
  315. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/modify_order_response.py +0 -0
  316. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/modify_order_v3_response.py +0 -0
  317. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/modify_payout_request.py +0 -0
  318. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/multi_order_data.py +0 -0
  319. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/multi_order_error.py +0 -0
  320. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/multi_order_request.py +0 -0
  321. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/multi_order_response.py +0 -0
  322. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/multi_order_summary.py +0 -0
  323. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/multi_order_v3_data.py +0 -0
  324. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/mutual_fund_holding_data.py +0 -0
  325. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/mutual_fund_meta_data.py +0 -0
  326. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/mutual_fund_order_data.py +0 -0
  327. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/mutual_fund_sip_data.py +0 -0
  328. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/news_item_data.py +0 -0
  329. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/news_response_meta_data.py +0 -0
  330. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/news_response_page_data.py +0 -0
  331. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/o_auth_client_exception.py +0 -0
  332. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/o_auth_client_exception_cause.py +0 -0
  333. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/o_auth_client_exception_cause_stack_trace.py +0 -0
  334. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/o_auth_client_exception_cause_suppressed.py +0 -0
  335. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/ohlc.py +0 -0
  336. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/ohlc_v3.py +0 -0
  337. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/option_strike_data.py +0 -0
  338. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/order_book_data.py +0 -0
  339. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/order_data.py +0 -0
  340. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/order_metadata.py +0 -0
  341. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/other_taxes.py +0 -0
  342. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/pagination.py +0 -0
  343. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/payment_history_data.py +0 -0
  344. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/payment_history_response.py +0 -0
  345. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/payout_details.py +0 -0
  346. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/payout_details_response.py +0 -0
  347. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/payout_modes_data.py +0 -0
  348. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/payout_modes_response.py +0 -0
  349. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/place_order_data.py +0 -0
  350. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/place_order_request.py +0 -0
  351. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/place_order_response.py +0 -0
  352. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/place_order_v3_request.py +0 -0
  353. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/place_order_v3_response.py +0 -0
  354. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/pledge_available_to_trade.py +0 -0
  355. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/pledge_margin_used.py +0 -0
  356. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/pledge_unavailable_to_trade.py +0 -0
  357. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/position_data.py +0 -0
  358. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/post_margin_response.py +0 -0
  359. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/problem.py +0 -0
  360. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/profile_data.py +0 -0
  361. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/profit_and_loss_charges_data.py +0 -0
  362. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/profit_and_loss_charges_taxes.py +0 -0
  363. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/profit_and_loss_charges_wrapper_data.py +0 -0
  364. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/profit_and_loss_meta_data.py +0 -0
  365. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/profit_and_loss_meta_data_wrapper.py +0 -0
  366. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/profit_and_loss_other_charges_taxes.py +0 -0
  367. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/put_call_option_chain_data.py +0 -0
  368. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/rule.py +0 -0
  369. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/search_instrument_response.py +0 -0
  370. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/search_meta_data.py +0 -0
  371. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/search_page.py +0 -0
  372. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/sector_market_cap_amount.py +0 -0
  373. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/share_holding_data.py +0 -0
  374. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/share_holdings_response.py +0 -0
  375. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/token_request.py +0 -0
  376. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/token_response.py +0 -0
  377. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/trade_data.py +0 -0
  378. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/trade_history_response.py +0 -0
  379. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/trade_history_response_meta_data.py +0 -0
  380. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/trade_history_response_page_data.py +0 -0
  381. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/trade_history_response_trade_data.py +0 -0
  382. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/trade_wise_meta_data.py +0 -0
  383. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/trade_wise_profit_and_loss_data.py +0 -0
  384. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/unavailable_to_trade.py +0 -0
  385. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/unsettled_profit.py +0 -0
  386. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/update_user_ip_request.py +0 -0
  387. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/user_fund_margin_data.py +0 -0
  388. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/user_fund_margin_v3_data.py +0 -0
  389. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/user_ip_response.py +0 -0
  390. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/user_ip_response_data.py +0 -0
  391. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/websocket_auth_redirect_response.py +0 -0
  392. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/models/websocket_auth_redirect_response_data.py +0 -0
  393. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_client/rest.py +0 -0
  394. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_python_sdk.egg-info/dependency_links.txt +0 -0
  395. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_python_sdk.egg-info/requires.txt +0 -0
  396. {upstox_python_sdk-2.28.0 → upstox_python_sdk-2.30.0}/upstox_python_sdk.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: upstox-python-sdk
3
- Version: 2.28.0
3
+ Version: 2.30.0
4
4
  Summary: Upstox Developer API
5
5
  Home-page: https://github.com/upstox/upstox-python
6
6
  License: MIT
@@ -18,7 +18,7 @@ this_directory = Path(__file__).parent
18
18
  long_description = (this_directory / "README.md").read_text()
19
19
 
20
20
  NAME = "upstox-python-sdk"
21
- VERSION = "2.28.0"
21
+ VERSION = "2.30.0"
22
22
  # To install the library, run the following
23
23
  #
24
24
  # python setup.py install
@@ -91,6 +91,7 @@ from upstox_client.models.get_exchange_timing_response import GetExchangeTimingR
91
91
  from upstox_client.models.get_expired_futures_contract_response import GetExpiredFuturesContractResponse
92
92
  from upstox_client.models.get_expiries import GetExpiriesResponse
93
93
  from upstox_client.models.get_full_market_quote_response import GetFullMarketQuoteResponse
94
+ from upstox_client.models.get_full_market_quote_response_v3 import GetFullMarketQuoteResponseV3
94
95
  from upstox_client.models.get_gtt_order_response import GetGttOrderResponse
95
96
  from upstox_client.models.get_historical_candle_response import GetHistoricalCandleResponse
96
97
  from upstox_client.models.get_holdings_response import GetHoldingsResponse
@@ -144,11 +145,22 @@ from upstox_client.models.search_instrument_response import SearchInstrumentResp
144
145
  from upstox_client.models.search_meta_data import SearchMetaData
145
146
  from upstox_client.models.search_page import SearchPage
146
147
  from upstox_client.models.intra_day_candle_data import IntraDayCandleData
148
+ from upstox_client.models.ipo_apply_data import IpoApplyData
149
+ from upstox_client.models.ipo_apply_request import IpoApplyRequest
150
+ from upstox_client.models.ipo_apply_response import IpoApplyResponse
151
+ from upstox_client.models.ipo_bid_request import IpoBidRequest
152
+ from upstox_client.models.ipo_cancel_data import IpoCancelData
153
+ from upstox_client.models.ipo_cancel_response import IpoCancelResponse
147
154
  from upstox_client.models.ipo_details_data import IpoDetailsData
148
155
  from upstox_client.models.ipo_details_response import IpoDetailsResponse
156
+ from upstox_client.models.ipo_investor_type import IpoInvestorType
149
157
  from upstox_client.models.ipo_listing_data import IpoListingData
150
158
  from upstox_client.models.ipo_listing_response import IpoListingResponse
151
159
  from upstox_client.models.ipo_meta_data import IpoMetaData
160
+ from upstox_client.models.ipo_order_bid import IpoOrderBid
161
+ from upstox_client.models.ipo_order_data import IpoOrderData
162
+ from upstox_client.models.ipo_order_detail_response import IpoOrderDetailResponse
163
+ from upstox_client.models.ipo_order_response import IpoOrderResponse
152
164
  from upstox_client.models.ipo_registrar_info import IpoRegistrarInfo
153
165
  from upstox_client.models.ipo_timeline import IpoTimeline
154
166
  from upstox_client.models.key_ratio_data import KeyRatioData
@@ -169,6 +181,7 @@ from upstox_client.models.market_quote_option_greek_v3 import MarketQuoteOptionG
169
181
  from upstox_client.models.market_quote_symbol import MarketQuoteSymbol
170
182
  from upstox_client.models.market_quote_symbol_ltp import MarketQuoteSymbolLtp
171
183
  from upstox_client.models.market_quote_symbol_ltp_v3 import MarketQuoteSymbolLtpV3
184
+ from upstox_client.models.market_quote_symbol_v3 import MarketQuoteSymbolV3
172
185
  from upstox_client.models.market_status_data import MarketStatusData
173
186
  from upstox_client.models.modify_order_data import ModifyOrderData
174
187
  from upstox_client.models.modify_order_request import ModifyOrderRequest
@@ -0,0 +1,615 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ OpenAPI definition
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: v0
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import re # noqa: F401
16
+
17
+ # python 2 and python 3 compatibility library
18
+ import six
19
+
20
+ from upstox_client.api_client import ApiClient
21
+
22
+
23
+ class IpoApi(object):
24
+ """NOTE: This class is auto generated by the swagger code generator program.
25
+
26
+ Do not edit the class manually.
27
+ Ref: https://github.com/swagger-api/swagger-codegen
28
+ """
29
+
30
+ def __init__(self, api_client=None):
31
+ if api_client is None:
32
+ api_client = ApiClient()
33
+ self.api_client = api_client
34
+
35
+ def get_ipo_details(self, id, **kwargs): # noqa: E501
36
+ """Get IPO Details # noqa: E501
37
+
38
+ Fetches detailed information for an IPO by its slug ID. # noqa: E501
39
+ This method makes a synchronous HTTP request by default. To make an
40
+ asynchronous HTTP request, please pass async_req=True
41
+ >>> thread = api.get_ipo_details(id, async_req=True)
42
+ >>> result = thread.get()
43
+
44
+ :param async_req bool
45
+ :param object id: IPO slug ID (required)
46
+ :return: IpoDetailsResponse
47
+ If the method is called asynchronously,
48
+ returns the request thread.
49
+ """
50
+ kwargs['_return_http_data_only'] = True
51
+ if kwargs.get('async_req'):
52
+ return self.get_ipo_details_with_http_info(id, **kwargs) # noqa: E501
53
+ else:
54
+ (data) = self.get_ipo_details_with_http_info(id, **kwargs) # noqa: E501
55
+ return data
56
+
57
+ def get_ipo_details_with_http_info(self, id, **kwargs): # noqa: E501
58
+ """Get IPO Details # noqa: E501
59
+
60
+ Fetches detailed information for an IPO by its slug ID. # noqa: E501
61
+ This method makes a synchronous HTTP request by default. To make an
62
+ asynchronous HTTP request, please pass async_req=True
63
+ >>> thread = api.get_ipo_details_with_http_info(id, async_req=True)
64
+ >>> result = thread.get()
65
+
66
+ :param async_req bool
67
+ :param object id: IPO slug ID (required)
68
+ :return: IpoDetailsResponse
69
+ If the method is called asynchronously,
70
+ returns the request thread.
71
+ """
72
+
73
+ all_params = ['id'] # noqa: E501
74
+ all_params.append('async_req')
75
+ all_params.append('_return_http_data_only')
76
+ all_params.append('_preload_content')
77
+ all_params.append('_request_timeout')
78
+
79
+ params = locals()
80
+ for key, val in six.iteritems(params['kwargs']):
81
+ if key not in all_params:
82
+ raise TypeError(
83
+ "Got an unexpected keyword argument '%s'"
84
+ " to method get_ipo_details" % key
85
+ )
86
+ params[key] = val
87
+ del params['kwargs']
88
+ # verify the required parameter 'id' is set
89
+ if ('id' not in params or
90
+ params['id'] is None):
91
+ raise ValueError("Missing the required parameter `id` when calling `get_ipo_details`") # noqa: E501
92
+
93
+ collection_formats = {}
94
+
95
+ path_params = {}
96
+ if 'id' in params:
97
+ path_params['id'] = params['id'] # noqa: E501
98
+
99
+ query_params = []
100
+
101
+ header_params = {}
102
+
103
+ form_params = []
104
+ local_var_files = {}
105
+
106
+ body_params = None
107
+ # HTTP header `Accept`
108
+ header_params['Accept'] = self.api_client.select_header_accept(
109
+ ['*/*', 'application/json']) # noqa: E501
110
+
111
+ # Authentication setting
112
+ auth_settings = ['OAUTH2'] # noqa: E501
113
+
114
+ return self.api_client.call_api(
115
+ '/v2/ipos/{id}', 'GET',
116
+ path_params,
117
+ query_params,
118
+ header_params,
119
+ body=body_params,
120
+ post_params=form_params,
121
+ files=local_var_files,
122
+ response_type='IpoDetailsResponse', # noqa: E501
123
+ auth_settings=auth_settings,
124
+ async_req=params.get('async_req'),
125
+ _return_http_data_only=params.get('_return_http_data_only'),
126
+ _preload_content=params.get('_preload_content', True),
127
+ _request_timeout=params.get('_request_timeout'),
128
+ collection_formats=collection_formats)
129
+
130
+ def get_ipo_listing(self, **kwargs): # noqa: E501
131
+ """Get IPO Listing # noqa: E501
132
+
133
+ Fetches list of IPOs filtered by status. # noqa: E501
134
+ This method makes a synchronous HTTP request by default. To make an
135
+ asynchronous HTTP request, please pass async_req=True
136
+ >>> thread = api.get_ipo_listing(async_req=True)
137
+ >>> result = thread.get()
138
+
139
+ :param async_req bool
140
+ :param object status: IPO status. Allowed values: open, closed, listed, upcoming
141
+ :param object issue_type: Issue type filter. Allowed values: regular, sme
142
+ :param object page_number: Page number (default: 1)
143
+ :param object records: Number of records per page (default: 20, max: 30)
144
+ :return: IpoListingResponse
145
+ If the method is called asynchronously,
146
+ returns the request thread.
147
+ """
148
+ kwargs['_return_http_data_only'] = True
149
+ if kwargs.get('async_req'):
150
+ return self.get_ipo_listing_with_http_info(**kwargs) # noqa: E501
151
+ else:
152
+ (data) = self.get_ipo_listing_with_http_info(**kwargs) # noqa: E501
153
+ return data
154
+
155
+ def get_ipo_listing_with_http_info(self, **kwargs): # noqa: E501
156
+ """Get IPO Listing # noqa: E501
157
+
158
+ Fetches list of IPOs filtered by status. # noqa: E501
159
+ This method makes a synchronous HTTP request by default. To make an
160
+ asynchronous HTTP request, please pass async_req=True
161
+ >>> thread = api.get_ipo_listing_with_http_info(async_req=True)
162
+ >>> result = thread.get()
163
+
164
+ :param async_req bool
165
+ :param object status: IPO status. Allowed values: open, closed, listed, upcoming
166
+ :param object issue_type: Issue type filter. Allowed values: regular, sme
167
+ :param object page_number: Page number (default: 1)
168
+ :param object records: Number of records per page (default: 20, max: 30)
169
+ :return: IpoListingResponse
170
+ If the method is called asynchronously,
171
+ returns the request thread.
172
+ """
173
+
174
+ all_params = ['status', 'issue_type', 'page_number', 'records'] # noqa: E501
175
+ all_params.append('async_req')
176
+ all_params.append('_return_http_data_only')
177
+ all_params.append('_preload_content')
178
+ all_params.append('_request_timeout')
179
+
180
+ params = locals()
181
+ for key, val in six.iteritems(params['kwargs']):
182
+ if key not in all_params:
183
+ raise TypeError(
184
+ "Got an unexpected keyword argument '%s'"
185
+ " to method get_ipo_listing" % key
186
+ )
187
+ params[key] = val
188
+ del params['kwargs']
189
+
190
+ collection_formats = {}
191
+
192
+ path_params = {}
193
+
194
+ query_params = []
195
+ if 'status' in params:
196
+ query_params.append(('status', params['status'])) # noqa: E501
197
+ if 'issue_type' in params:
198
+ query_params.append(('issue_type', params['issue_type'])) # noqa: E501
199
+ if 'page_number' in params:
200
+ query_params.append(('page_number', params['page_number'])) # noqa: E501
201
+ if 'records' in params:
202
+ query_params.append(('records', params['records'])) # noqa: E501
203
+
204
+ header_params = {}
205
+
206
+ form_params = []
207
+ local_var_files = {}
208
+
209
+ body_params = None
210
+ # HTTP header `Accept`
211
+ header_params['Accept'] = self.api_client.select_header_accept(
212
+ ['*/*', 'application/json']) # noqa: E501
213
+
214
+ # Authentication setting
215
+ auth_settings = ['OAUTH2'] # noqa: E501
216
+
217
+ return self.api_client.call_api(
218
+ '/v2/ipos', 'GET',
219
+ path_params,
220
+ query_params,
221
+ header_params,
222
+ body=body_params,
223
+ post_params=form_params,
224
+ files=local_var_files,
225
+ response_type='IpoListingResponse', # noqa: E501
226
+ auth_settings=auth_settings,
227
+ async_req=params.get('async_req'),
228
+ _return_http_data_only=params.get('_return_http_data_only'),
229
+ _preload_content=params.get('_preload_content', True),
230
+ _request_timeout=params.get('_request_timeout'),
231
+ collection_formats=collection_formats)
232
+
233
+ def apply_for_ipo(self, body, **kwargs): # noqa: E501
234
+ """Apply for IPO # noqa: E501
235
+
236
+ Places an IPO application for the authenticated user. # noqa: E501
237
+ This method makes a synchronous HTTP request by default. To make an
238
+ asynchronous HTTP request, please pass async_req=True
239
+ >>> thread = api.apply_for_ipo(body, async_req=True)
240
+ >>> result = thread.get()
241
+
242
+ :param async_req bool
243
+ :param IpoApplyRequest body: (required)
244
+ :return: IpoApplyResponse
245
+ If the method is called asynchronously,
246
+ returns the request thread.
247
+ """
248
+ kwargs['_return_http_data_only'] = True
249
+ if kwargs.get('async_req'):
250
+ return self.apply_for_ipo_with_http_info(body, **kwargs) # noqa: E501
251
+ else:
252
+ (data) = self.apply_for_ipo_with_http_info(body, **kwargs) # noqa: E501
253
+ return data
254
+
255
+ def apply_for_ipo_with_http_info(self, body, **kwargs): # noqa: E501
256
+ """Apply for IPO # noqa: E501
257
+
258
+ Places an IPO application for the authenticated user. # noqa: E501
259
+ This method makes a synchronous HTTP request by default. To make an
260
+ asynchronous HTTP request, please pass async_req=True
261
+ >>> thread = api.apply_for_ipo_with_http_info(body, async_req=True)
262
+ >>> result = thread.get()
263
+
264
+ :param async_req bool
265
+ :param IpoApplyRequest body: (required)
266
+ :return: IpoApplyResponse
267
+ If the method is called asynchronously,
268
+ returns the request thread.
269
+ """
270
+
271
+ all_params = ['body'] # noqa: E501
272
+ all_params.append('async_req')
273
+ all_params.append('_return_http_data_only')
274
+ all_params.append('_preload_content')
275
+ all_params.append('_request_timeout')
276
+
277
+ params = locals()
278
+ for key, val in six.iteritems(params['kwargs']):
279
+ if key not in all_params:
280
+ raise TypeError(
281
+ "Got an unexpected keyword argument '%s'"
282
+ " to method apply_for_ipo" % key
283
+ )
284
+ params[key] = val
285
+ del params['kwargs']
286
+ # verify the required parameter 'body' is set
287
+ if ('body' not in params or
288
+ params['body'] is None):
289
+ raise ValueError("Missing the required parameter `body` when calling `apply_for_ipo`") # noqa: E501
290
+
291
+ collection_formats = {}
292
+
293
+ path_params = {}
294
+
295
+ query_params = []
296
+
297
+ header_params = {}
298
+
299
+ form_params = []
300
+ local_var_files = {}
301
+
302
+ body_params = None
303
+ if 'body' in params:
304
+ body_params = params['body']
305
+ # HTTP header `Accept`
306
+ header_params['Accept'] = self.api_client.select_header_accept(
307
+ ['*/*', 'application/json']) # noqa: E501
308
+
309
+ # HTTP header `Content-Type`
310
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
311
+ ['application/json']) # noqa: E501
312
+
313
+ # Authentication setting
314
+ auth_settings = ['OAUTH2'] # noqa: E501
315
+
316
+ return self.api_client.call_api(
317
+ '/v2/ipos/orders', 'POST',
318
+ path_params,
319
+ query_params,
320
+ header_params,
321
+ body=body_params,
322
+ post_params=form_params,
323
+ files=local_var_files,
324
+ response_type='IpoApplyResponse', # noqa: E501
325
+ auth_settings=auth_settings,
326
+ async_req=params.get('async_req'),
327
+ _return_http_data_only=params.get('_return_http_data_only'),
328
+ _preload_content=params.get('_preload_content', True),
329
+ _request_timeout=params.get('_request_timeout'),
330
+ collection_formats=collection_formats)
331
+
332
+ def cancel_ipo_order(self, order_id, **kwargs): # noqa: E501
333
+ """Cancel IPO Order # noqa: E501
334
+
335
+ Cancels/deletes an IPO order of the authenticated user by order id. # noqa: E501
336
+ This method makes a synchronous HTTP request by default. To make an
337
+ asynchronous HTTP request, please pass async_req=True
338
+ >>> thread = api.cancel_ipo_order(order_id, async_req=True)
339
+ >>> result = thread.get()
340
+
341
+ :param async_req bool
342
+ :param object order_id: IPO application id, as returned in `order_id` by the apply and orders APIs (required)
343
+ :return: IpoCancelResponse
344
+ If the method is called asynchronously,
345
+ returns the request thread.
346
+ """
347
+ kwargs['_return_http_data_only'] = True
348
+ if kwargs.get('async_req'):
349
+ return self.cancel_ipo_order_with_http_info(order_id, **kwargs) # noqa: E501
350
+ else:
351
+ (data) = self.cancel_ipo_order_with_http_info(order_id, **kwargs) # noqa: E501
352
+ return data
353
+
354
+ def cancel_ipo_order_with_http_info(self, order_id, **kwargs): # noqa: E501
355
+ """Cancel IPO Order # noqa: E501
356
+
357
+ Cancels/deletes an IPO order of the authenticated user by order id. # noqa: E501
358
+ This method makes a synchronous HTTP request by default. To make an
359
+ asynchronous HTTP request, please pass async_req=True
360
+ >>> thread = api.cancel_ipo_order_with_http_info(order_id, async_req=True)
361
+ >>> result = thread.get()
362
+
363
+ :param async_req bool
364
+ :param object order_id: IPO application id, as returned in `order_id` by the apply and orders APIs (required)
365
+ :return: IpoCancelResponse
366
+ If the method is called asynchronously,
367
+ returns the request thread.
368
+ """
369
+
370
+ all_params = ['order_id'] # noqa: E501
371
+ all_params.append('async_req')
372
+ all_params.append('_return_http_data_only')
373
+ all_params.append('_preload_content')
374
+ all_params.append('_request_timeout')
375
+
376
+ params = locals()
377
+ for key, val in six.iteritems(params['kwargs']):
378
+ if key not in all_params:
379
+ raise TypeError(
380
+ "Got an unexpected keyword argument '%s'"
381
+ " to method cancel_ipo_order" % key
382
+ )
383
+ params[key] = val
384
+ del params['kwargs']
385
+ # verify the required parameter 'order_id' is set
386
+ if ('order_id' not in params or
387
+ params['order_id'] is None):
388
+ raise ValueError("Missing the required parameter `order_id` when calling `cancel_ipo_order`") # noqa: E501
389
+
390
+ collection_formats = {}
391
+
392
+ path_params = {}
393
+ if 'order_id' in params:
394
+ path_params['order_id'] = params['order_id'] # noqa: E501
395
+
396
+ query_params = []
397
+
398
+ header_params = {}
399
+
400
+ form_params = []
401
+ local_var_files = {}
402
+
403
+ body_params = None
404
+ # HTTP header `Accept`
405
+ header_params['Accept'] = self.api_client.select_header_accept(
406
+ ['*/*', 'application/json']) # noqa: E501
407
+
408
+ # Authentication setting
409
+ auth_settings = ['OAUTH2'] # noqa: E501
410
+
411
+ return self.api_client.call_api(
412
+ '/v2/ipos/orders/{order_id}', 'DELETE',
413
+ path_params,
414
+ query_params,
415
+ header_params,
416
+ body=body_params,
417
+ post_params=form_params,
418
+ files=local_var_files,
419
+ response_type='IpoCancelResponse', # noqa: E501
420
+ auth_settings=auth_settings,
421
+ async_req=params.get('async_req'),
422
+ _return_http_data_only=params.get('_return_http_data_only'),
423
+ _preload_content=params.get('_preload_content', True),
424
+ _request_timeout=params.get('_request_timeout'),
425
+ collection_formats=collection_formats)
426
+
427
+ def get_ipo_order_by_id(self, order_id, **kwargs): # noqa: E501
428
+ """Get IPO Order # noqa: E501
429
+
430
+ Fetches a single IPO order of the authenticated user by order id. # noqa: E501
431
+ This method makes a synchronous HTTP request by default. To make an
432
+ asynchronous HTTP request, please pass async_req=True
433
+ >>> thread = api.get_ipo_order_by_id(order_id, async_req=True)
434
+ >>> result = thread.get()
435
+
436
+ :param async_req bool
437
+ :param object order_id: IPO application id, as returned in `order_id` by the apply and orders APIs (required)
438
+ :return: IpoOrderDetailResponse
439
+ If the method is called asynchronously,
440
+ returns the request thread.
441
+ """
442
+ kwargs['_return_http_data_only'] = True
443
+ if kwargs.get('async_req'):
444
+ return self.get_ipo_order_by_id_with_http_info(order_id, **kwargs) # noqa: E501
445
+ else:
446
+ (data) = self.get_ipo_order_by_id_with_http_info(order_id, **kwargs) # noqa: E501
447
+ return data
448
+
449
+ def get_ipo_order_by_id_with_http_info(self, order_id, **kwargs): # noqa: E501
450
+ """Get IPO Order # noqa: E501
451
+
452
+ Fetches a single IPO order of the authenticated user by order id. # noqa: E501
453
+ This method makes a synchronous HTTP request by default. To make an
454
+ asynchronous HTTP request, please pass async_req=True
455
+ >>> thread = api.get_ipo_order_by_id_with_http_info(order_id, async_req=True)
456
+ >>> result = thread.get()
457
+
458
+ :param async_req bool
459
+ :param object order_id: IPO application id, as returned in `order_id` by the apply and orders APIs (required)
460
+ :return: IpoOrderDetailResponse
461
+ If the method is called asynchronously,
462
+ returns the request thread.
463
+ """
464
+
465
+ all_params = ['order_id'] # noqa: E501
466
+ all_params.append('async_req')
467
+ all_params.append('_return_http_data_only')
468
+ all_params.append('_preload_content')
469
+ all_params.append('_request_timeout')
470
+
471
+ params = locals()
472
+ for key, val in six.iteritems(params['kwargs']):
473
+ if key not in all_params:
474
+ raise TypeError(
475
+ "Got an unexpected keyword argument '%s'"
476
+ " to method get_ipo_order_by_id" % key
477
+ )
478
+ params[key] = val
479
+ del params['kwargs']
480
+ # verify the required parameter 'order_id' is set
481
+ if ('order_id' not in params or
482
+ params['order_id'] is None):
483
+ raise ValueError("Missing the required parameter `order_id` when calling `get_ipo_order_by_id`") # noqa: E501
484
+
485
+ collection_formats = {}
486
+
487
+ path_params = {}
488
+ if 'order_id' in params:
489
+ path_params['order_id'] = params['order_id'] # noqa: E501
490
+
491
+ query_params = []
492
+
493
+ header_params = {}
494
+
495
+ form_params = []
496
+ local_var_files = {}
497
+
498
+ body_params = None
499
+ # HTTP header `Accept`
500
+ header_params['Accept'] = self.api_client.select_header_accept(
501
+ ['*/*', 'application/json']) # noqa: E501
502
+
503
+ # Authentication setting
504
+ auth_settings = ['OAUTH2'] # noqa: E501
505
+
506
+ return self.api_client.call_api(
507
+ '/v2/ipos/orders/{order_id}', 'GET',
508
+ path_params,
509
+ query_params,
510
+ header_params,
511
+ body=body_params,
512
+ post_params=form_params,
513
+ files=local_var_files,
514
+ response_type='IpoOrderDetailResponse', # noqa: E501
515
+ auth_settings=auth_settings,
516
+ async_req=params.get('async_req'),
517
+ _return_http_data_only=params.get('_return_http_data_only'),
518
+ _preload_content=params.get('_preload_content', True),
519
+ _request_timeout=params.get('_request_timeout'),
520
+ collection_formats=collection_formats)
521
+
522
+ def get_ipo_orders(self, **kwargs): # noqa: E501
523
+ """Get IPO Orders # noqa: E501
524
+
525
+ Fetches the authenticated user's IPO orders/applications. # noqa: E501
526
+ This method makes a synchronous HTTP request by default. To make an
527
+ asynchronous HTTP request, please pass async_req=True
528
+ >>> thread = api.get_ipo_orders(async_req=True)
529
+ >>> result = thread.get()
530
+
531
+ :param async_req bool
532
+ :param object page_number: Page number, starting at 1
533
+ :param object records: Number of records per page
534
+ :return: IpoOrderResponse
535
+ If the method is called asynchronously,
536
+ returns the request thread.
537
+ """
538
+ kwargs['_return_http_data_only'] = True
539
+ if kwargs.get('async_req'):
540
+ return self.get_ipo_orders_with_http_info(**kwargs) # noqa: E501
541
+ else:
542
+ (data) = self.get_ipo_orders_with_http_info(**kwargs) # noqa: E501
543
+ return data
544
+
545
+ def get_ipo_orders_with_http_info(self, **kwargs): # noqa: E501
546
+ """Get IPO Orders # noqa: E501
547
+
548
+ Fetches the authenticated user's IPO orders/applications. # noqa: E501
549
+ This method makes a synchronous HTTP request by default. To make an
550
+ asynchronous HTTP request, please pass async_req=True
551
+ >>> thread = api.get_ipo_orders_with_http_info(async_req=True)
552
+ >>> result = thread.get()
553
+
554
+ :param async_req bool
555
+ :param object page_number: Page number, starting at 1
556
+ :param object records: Number of records per page
557
+ :return: IpoOrderResponse
558
+ If the method is called asynchronously,
559
+ returns the request thread.
560
+ """
561
+
562
+ all_params = ['page_number', 'records'] # noqa: E501
563
+ all_params.append('async_req')
564
+ all_params.append('_return_http_data_only')
565
+ all_params.append('_preload_content')
566
+ all_params.append('_request_timeout')
567
+
568
+ params = locals()
569
+ for key, val in six.iteritems(params['kwargs']):
570
+ if key not in all_params:
571
+ raise TypeError(
572
+ "Got an unexpected keyword argument '%s'"
573
+ " to method get_ipo_orders" % key
574
+ )
575
+ params[key] = val
576
+ del params['kwargs']
577
+
578
+ collection_formats = {}
579
+
580
+ path_params = {}
581
+
582
+ query_params = []
583
+ if 'page_number' in params:
584
+ query_params.append(('page_number', params['page_number'])) # noqa: E501
585
+ if 'records' in params:
586
+ query_params.append(('records', params['records'])) # noqa: E501
587
+
588
+ header_params = {}
589
+
590
+ form_params = []
591
+ local_var_files = {}
592
+
593
+ body_params = None
594
+ # HTTP header `Accept`
595
+ header_params['Accept'] = self.api_client.select_header_accept(
596
+ ['*/*', 'application/json']) # noqa: E501
597
+
598
+ # Authentication setting
599
+ auth_settings = ['OAUTH2'] # noqa: E501
600
+
601
+ return self.api_client.call_api(
602
+ '/v2/ipos/orders', 'GET',
603
+ path_params,
604
+ query_params,
605
+ header_params,
606
+ body=body_params,
607
+ post_params=form_params,
608
+ files=local_var_files,
609
+ response_type='IpoOrderResponse', # noqa: E501
610
+ auth_settings=auth_settings,
611
+ async_req=params.get('async_req'),
612
+ _return_http_data_only=params.get('_return_http_data_only'),
613
+ _preload_content=params.get('_preload_content', True),
614
+ _request_timeout=params.get('_request_timeout'),
615
+ collection_formats=collection_formats)