upstox-python-sdk 2.27.0__tar.gz → 2.28.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 (381) hide show
  1. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/PKG-INFO +17 -4
  2. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/setup.py +1 -1
  3. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/__init__.py +14 -0
  4. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/__init__.py +1 -0
  5. upstox_python_sdk-2.28.0/upstox_client/api/ipo_api.py +231 -0
  6. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/market_api.py +301 -0
  7. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/user_api.py +380 -0
  8. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api_client.py +1 -1
  9. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/__init__.py +13 -0
  10. upstox_python_sdk-2.28.0/upstox_client/models/initiate_payout_request.py +142 -0
  11. upstox_python_sdk-2.28.0/upstox_client/models/ipo_details_data.py +760 -0
  12. upstox_python_sdk-2.28.0/upstox_client/models/ipo_details_response.py +136 -0
  13. upstox_python_sdk-2.28.0/upstox_client/models/ipo_listing_data.py +422 -0
  14. upstox_python_sdk-2.28.0/upstox_client/models/ipo_listing_response.py +162 -0
  15. upstox_python_sdk-2.28.0/upstox_client/models/ipo_meta_data.py +110 -0
  16. upstox_python_sdk-2.28.0/upstox_client/models/ipo_registrar_info.py +240 -0
  17. upstox_python_sdk-2.28.0/upstox_client/models/ipo_timeline.py +292 -0
  18. upstox_python_sdk-2.28.0/upstox_client/models/modify_payout_request.py +113 -0
  19. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/payment_history_data.py +81 -3
  20. upstox_python_sdk-2.28.0/upstox_client/models/payout_details.py +344 -0
  21. upstox_python_sdk-2.28.0/upstox_client/models/payout_details_response.py +138 -0
  22. upstox_python_sdk-2.28.0/upstox_client/models/payout_modes_data.py +84 -0
  23. upstox_python_sdk-2.28.0/upstox_client/models/payout_modes_response.py +138 -0
  24. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_python_sdk.egg-info/PKG-INFO +17 -4
  25. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_python_sdk.egg-info/SOURCES.txt +14 -0
  26. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/LICENSE.txt +0 -0
  27. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/README.md +0 -0
  28. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/setup.cfg +0 -0
  29. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/__init__.py +0 -0
  30. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/sanity_test.py +0 -0
  31. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_analytics_data.py +0 -0
  32. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_api_gateway_error_response.py +0 -0
  33. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_batch_execution_summary.py +0 -0
  34. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_brokerage_data.py +0 -0
  35. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_brokerage_taxes.py +0 -0
  36. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_brokerage_wrapper_data.py +0 -0
  37. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_cancel_or_exit_multi_order_data.py +0 -0
  38. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_cancel_or_exit_multi_order_response.py +0 -0
  39. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_cancel_or_exit_order_error_data.py +0 -0
  40. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_cancel_order_data.py +0 -0
  41. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_cancel_order_response.py +0 -0
  42. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_cancel_order_v3_response.py +0 -0
  43. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_charge_api.py +0 -0
  44. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_convert_position_data.py +0 -0
  45. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_convert_position_request.py +0 -0
  46. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_convert_position_response.py +0 -0
  47. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_depth.py +0 -0
  48. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_depth_map.py +0 -0
  49. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_dp_plan.py +0 -0
  50. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_exchange_timing_data.py +0 -0
  51. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_brokerage_response.py +0 -0
  52. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_exchange_timing_response.py +0 -0
  53. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_full_market_quote_response.py +0 -0
  54. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_gtt_order_response.py +0 -0
  55. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_historical_candle_response.py +0 -0
  56. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_holdings_response.py +0 -0
  57. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_holiday_response.py +0 -0
  58. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_intra_day_candle_response.py +0 -0
  59. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_market_quote_last_traded_price_response.py +0 -0
  60. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_market_quote_ohlc_response.py +0 -0
  61. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_market_status_response.py +0 -0
  62. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_option_chain_response.py +0 -0
  63. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_option_contract_response.py +0 -0
  64. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_order_book_response.py +0 -0
  65. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_order_details_response.py +0 -0
  66. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_order_response.py +0 -0
  67. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_position_response.py +0 -0
  68. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_profile_response.py +0 -0
  69. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_profit_and_loss_charges_response.py +0 -0
  70. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_trade_response.py +0 -0
  71. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_trade_wise_profit_and_loss_data_response.py +0 -0
  72. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
  73. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_get_user_fund_margin_response.py +0 -0
  74. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_gtt_cancel_order_request.py +0 -0
  75. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_gtt_modify_order_request.py +0 -0
  76. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_gtt_order_data.py +0 -0
  77. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_gtt_order_details.py +0 -0
  78. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_gtt_place_order_request.py +0 -0
  79. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_gtt_rule.py +0 -0
  80. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_gtt_trigger_order_response.py +0 -0
  81. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_historical_candle_data.py +0 -0
  82. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_history_api.py +0 -0
  83. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_holdings_data.py +0 -0
  84. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_holiday_data.py +0 -0
  85. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_indie_user_init_token_data.py +0 -0
  86. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_indie_user_init_token_response.py +0 -0
  87. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_indie_user_token_request.py +0 -0
  88. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_instrument.py +0 -0
  89. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_instrument_data.py +0 -0
  90. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_intra_day_candle_data.py +0 -0
  91. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_login_api.py +0 -0
  92. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_logout_response.py +0 -0
  93. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_margin.py +0 -0
  94. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_margin_data.py +0 -0
  95. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_margin_request.py +0 -0
  96. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_market_data.py +0 -0
  97. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_market_holidays_and_timings_api.py +0 -0
  98. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_market_quote_api.py +0 -0
  99. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_market_quote_ohlc.py +0 -0
  100. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_market_quote_symbol.py +0 -0
  101. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_market_quote_symbol_ltp.py +0 -0
  102. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_market_status_data.py +0 -0
  103. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_modify_order_data.py +0 -0
  104. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_modify_order_request.py +0 -0
  105. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_modify_order_response.py +0 -0
  106. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_modify_order_v3_response.py +0 -0
  107. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_multi_order_data.py +0 -0
  108. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_multi_order_error.py +0 -0
  109. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_multi_order_request.py +0 -0
  110. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_multi_order_response.py +0 -0
  111. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_multi_order_summary.py +0 -0
  112. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_multi_order_v3_data.py +0 -0
  113. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_o_auth_client_exception.py +0 -0
  114. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_o_auth_client_exception_cause.py +0 -0
  115. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_o_auth_client_exception_cause_stack_trace.py +0 -0
  116. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_o_auth_client_exception_cause_suppressed.py +0 -0
  117. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_ohlc.py +0 -0
  118. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_option_strike_data.py +0 -0
  119. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_options_api.py +0 -0
  120. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_order_api.py +0 -0
  121. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_order_book_data.py +0 -0
  122. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_order_controller_v_3_api.py +0 -0
  123. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_order_data.py +0 -0
  124. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_order_metadata.py +0 -0
  125. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_other_taxes.py +0 -0
  126. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_place_order_data.py +0 -0
  127. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_place_order_request.py +0 -0
  128. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_place_order_response.py +0 -0
  129. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_place_order_v3_request.py +0 -0
  130. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_place_order_v3_response.py +0 -0
  131. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_portfolio_api.py +0 -0
  132. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_position_data.py +0 -0
  133. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_post_margin_response.py +0 -0
  134. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_post_trade_api.py +0 -0
  135. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_problem.py +0 -0
  136. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_profile_data.py +0 -0
  137. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_profit_and_loss_charges_data.py +0 -0
  138. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_profit_and_loss_charges_taxes.py +0 -0
  139. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_profit_and_loss_charges_wrapper_data.py +0 -0
  140. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_profit_and_loss_meta_data.py +0 -0
  141. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_profit_and_loss_meta_data_wrapper.py +0 -0
  142. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_profit_and_loss_other_charges_taxes.py +0 -0
  143. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_put_call_option_chain_data.py +0 -0
  144. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_rule.py +0 -0
  145. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_token_request.py +0 -0
  146. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_token_response.py +0 -0
  147. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_trade_data.py +0 -0
  148. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_trade_history_response.py +0 -0
  149. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_trade_history_response_meta_data.py +0 -0
  150. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_trade_history_response_page_data.py +0 -0
  151. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_trade_history_response_trade_data.py +0 -0
  152. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_trade_profit_and_loss_api.py +0 -0
  153. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_trade_wise_meta_data.py +0 -0
  154. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_trade_wise_profit_and_loss_data.py +0 -0
  155. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_user_api.py +0 -0
  156. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_user_fund_margin_data.py +0 -0
  157. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_websocket_api.py +0 -0
  158. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_websocket_auth_redirect_response.py +0 -0
  159. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/test/test_websocket_auth_redirect_response_data.py +0 -0
  160. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/charge_api.py +0 -0
  161. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/expired_instrument_api.py +0 -0
  162. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/fundamentals_api.py +0 -0
  163. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/history_api.py +0 -0
  164. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/history_v3_api.py +0 -0
  165. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/instruments_api.py +0 -0
  166. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/login_api.py +0 -0
  167. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/market_holidays_and_timings_api.py +0 -0
  168. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/market_quote_api.py +0 -0
  169. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/market_quote_v3_api.py +0 -0
  170. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/mutual_fund_api.py +0 -0
  171. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/news_api.py +0 -0
  172. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/options_api.py +0 -0
  173. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/order_api.py +0 -0
  174. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/order_controller_v_3_api.py +0 -0
  175. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/portfolio_api.py +0 -0
  176. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/post_trade_api.py +0 -0
  177. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/trade_profit_and_loss_api.py +0 -0
  178. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/api/websocket_api.py +0 -0
  179. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/configuration.py +0 -0
  180. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/feeder/__init__.py +0 -0
  181. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/feeder/feeder.py +0 -0
  182. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/feeder/market_data_feeder_v3.py +0 -0
  183. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/feeder/market_data_streamer_v3.py +0 -0
  184. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/feeder/portfolio_data_feeder.py +0 -0
  185. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/feeder/portfolio_data_streamer.py +0 -0
  186. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/feeder/proto/MarketDataFeedV3_pb2.py +0 -0
  187. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/feeder/proto/__init__.py +0 -0
  188. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/feeder/streamer.py +0 -0
  189. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/analytics_data.py +0 -0
  190. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/analytics_response.py +0 -0
  191. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/api_gateway_error_response.py +0 -0
  192. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/available_to_trade.py +0 -0
  193. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/balance_sheet_data.py +0 -0
  194. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/balance_sheet_history_item.py +0 -0
  195. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/balance_sheet_response.py +0 -0
  196. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/batch_execution_summary.py +0 -0
  197. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/brokerage_data.py +0 -0
  198. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/brokerage_taxes.py +0 -0
  199. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/brokerage_wrapper_data.py +0 -0
  200. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/cancel_or_exit_multi_order_data.py +0 -0
  201. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/cancel_or_exit_multi_order_response.py +0 -0
  202. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/cancel_or_exit_order_error_data.py +0 -0
  203. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/cancel_order_data.py +0 -0
  204. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/cancel_order_response.py +0 -0
  205. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/cancel_order_v3_response.py +0 -0
  206. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/cash_available_to_trade.py +0 -0
  207. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/cash_breakdown.py +0 -0
  208. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/cash_flow_data.py +0 -0
  209. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/cash_flow_entry.py +0 -0
  210. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/cash_flow_response.py +0 -0
  211. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/cash_margin_used.py +0 -0
  212. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/cash_unavailable_to_trade.py +0 -0
  213. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/company_profile_data.py +0 -0
  214. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/company_profile_response.py +0 -0
  215. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/competitor_data.py +0 -0
  216. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/competitors_response.py +0 -0
  217. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/convert_position_data.py +0 -0
  218. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/convert_position_request.py +0 -0
  219. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/convert_position_response.py +0 -0
  220. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/corporate_action_data.py +0 -0
  221. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/corporate_action_event_detail.py +0 -0
  222. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/corporate_actions_response.py +0 -0
  223. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/delivery_margin.py +0 -0
  224. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/depth.py +0 -0
  225. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/depth_map.py +0 -0
  226. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/dp_plan.py +0 -0
  227. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/exchange_timing_data.py +0 -0
  228. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/expired_future_data.py +0 -0
  229. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/family_member_data.py +0 -0
  230. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/financial_statement_entry.py +0 -0
  231. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_brokerage_response.py +0 -0
  232. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_exchange_timing_response.py +0 -0
  233. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_expired_futures_contract_response.py +0 -0
  234. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_expiries.py +0 -0
  235. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_full_market_quote_response.py +0 -0
  236. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_gtt_order_response.py +0 -0
  237. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_historical_candle_response.py +0 -0
  238. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_holdings_response.py +0 -0
  239. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_holiday_response.py +0 -0
  240. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_intra_day_candle_response.py +0 -0
  241. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_market_quote_last_traded_price_response.py +0 -0
  242. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_market_quote_last_traded_price_response_v3.py +0 -0
  243. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_market_quote_ohlc_response.py +0 -0
  244. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_market_quote_ohlc_response_v3.py +0 -0
  245. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_market_quote_option_greek_response_v3.py +0 -0
  246. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_market_status_response.py +0 -0
  247. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_mutual_fund_holdings_response.py +0 -0
  248. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_mutual_fund_order_details_response.py +0 -0
  249. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_mutual_fund_orders_response.py +0 -0
  250. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_mutual_fund_sips_response.py +0 -0
  251. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_news_response.py +0 -0
  252. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_option_chain_response.py +0 -0
  253. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_option_contract_response.py +0 -0
  254. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_order_book_response.py +0 -0
  255. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_order_details_response.py +0 -0
  256. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_order_response.py +0 -0
  257. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_position_response.py +0 -0
  258. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_profile_response.py +0 -0
  259. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_profit_and_loss_charges_response.py +0 -0
  260. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_trade_response.py +0 -0
  261. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_trade_wise_profit_and_loss_data_response.py +0 -0
  262. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
  263. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_user_fund_margin_response.py +0 -0
  264. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/get_user_fund_margin_v3_response.py +0 -0
  265. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/gtt_cancel_order_request.py +0 -0
  266. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/gtt_modify_order_request.py +0 -0
  267. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/gtt_order_data.py +0 -0
  268. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/gtt_order_details.py +0 -0
  269. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/gtt_place_order_request.py +0 -0
  270. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/gtt_rule.py +0 -0
  271. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/gtt_trigger_order_response.py +0 -0
  272. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/historical_candle_data.py +0 -0
  273. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/history_item.py +0 -0
  274. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/holdings_data.py +0 -0
  275. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/holiday_data.py +0 -0
  276. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/income_statement_data.py +0 -0
  277. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/income_statement_entry.py +0 -0
  278. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/income_statement_response.py +0 -0
  279. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/indie_user_init_token_data.py +0 -0
  280. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/indie_user_init_token_response.py +0 -0
  281. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/indie_user_token_request.py +0 -0
  282. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/instrument.py +0 -0
  283. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/instrument_data.py +0 -0
  284. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/intra_day_candle_data.py +0 -0
  285. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/key_ratio_data.py +0 -0
  286. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/key_ratios_response.py +0 -0
  287. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/kill_switch_response.py +0 -0
  288. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/kill_switch_segment_data.py +0 -0
  289. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/kill_switch_segment_update_request.py +0 -0
  290. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/logout_response.py +0 -0
  291. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/loss.py +0 -0
  292. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/margin.py +0 -0
  293. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/margin_data.py +0 -0
  294. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/margin_from_pledge.py +0 -0
  295. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/margin_request.py +0 -0
  296. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/market_data.py +0 -0
  297. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/market_quote_ohlc.py +0 -0
  298. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/market_quote_ohlcv3.py +0 -0
  299. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/market_quote_option_greek_v3.py +0 -0
  300. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/market_quote_symbol.py +0 -0
  301. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/market_quote_symbol_ltp.py +0 -0
  302. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/market_quote_symbol_ltp_v3.py +0 -0
  303. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/market_status_data.py +0 -0
  304. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/modify_order_data.py +0 -0
  305. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/modify_order_request.py +0 -0
  306. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/modify_order_response.py +0 -0
  307. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/modify_order_v3_response.py +0 -0
  308. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/multi_order_data.py +0 -0
  309. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/multi_order_error.py +0 -0
  310. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/multi_order_request.py +0 -0
  311. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/multi_order_response.py +0 -0
  312. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/multi_order_summary.py +0 -0
  313. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/multi_order_v3_data.py +0 -0
  314. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/mutual_fund_holding_data.py +0 -0
  315. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/mutual_fund_meta_data.py +0 -0
  316. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/mutual_fund_order_data.py +0 -0
  317. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/mutual_fund_sip_data.py +0 -0
  318. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/news_item_data.py +0 -0
  319. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/news_response_meta_data.py +0 -0
  320. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/news_response_page_data.py +0 -0
  321. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/o_auth_client_exception.py +0 -0
  322. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/o_auth_client_exception_cause.py +0 -0
  323. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/o_auth_client_exception_cause_stack_trace.py +0 -0
  324. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/o_auth_client_exception_cause_suppressed.py +0 -0
  325. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/ohlc.py +0 -0
  326. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/ohlc_v3.py +0 -0
  327. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/option_strike_data.py +0 -0
  328. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/order_book_data.py +0 -0
  329. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/order_data.py +0 -0
  330. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/order_metadata.py +0 -0
  331. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/other_taxes.py +0 -0
  332. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/pagination.py +0 -0
  333. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/payment_history_response.py +0 -0
  334. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/place_order_data.py +0 -0
  335. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/place_order_request.py +0 -0
  336. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/place_order_response.py +0 -0
  337. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/place_order_v3_request.py +0 -0
  338. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/place_order_v3_response.py +0 -0
  339. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/pledge_available_to_trade.py +0 -0
  340. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/pledge_margin_used.py +0 -0
  341. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/pledge_unavailable_to_trade.py +0 -0
  342. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/position_data.py +0 -0
  343. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/post_margin_response.py +0 -0
  344. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/problem.py +0 -0
  345. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/profile_data.py +0 -0
  346. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/profit_and_loss_charges_data.py +0 -0
  347. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/profit_and_loss_charges_taxes.py +0 -0
  348. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/profit_and_loss_charges_wrapper_data.py +0 -0
  349. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/profit_and_loss_meta_data.py +0 -0
  350. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/profit_and_loss_meta_data_wrapper.py +0 -0
  351. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/profit_and_loss_other_charges_taxes.py +0 -0
  352. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/put_call_option_chain_data.py +0 -0
  353. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/rule.py +0 -0
  354. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/search_instrument_response.py +0 -0
  355. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/search_meta_data.py +0 -0
  356. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/search_page.py +0 -0
  357. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/sector_market_cap_amount.py +0 -0
  358. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/share_holding_data.py +0 -0
  359. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/share_holdings_response.py +0 -0
  360. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/token_request.py +0 -0
  361. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/token_response.py +0 -0
  362. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/trade_data.py +0 -0
  363. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/trade_history_response.py +0 -0
  364. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/trade_history_response_meta_data.py +0 -0
  365. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/trade_history_response_page_data.py +0 -0
  366. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/trade_history_response_trade_data.py +0 -0
  367. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/trade_wise_meta_data.py +0 -0
  368. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/trade_wise_profit_and_loss_data.py +0 -0
  369. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/unavailable_to_trade.py +0 -0
  370. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/unsettled_profit.py +0 -0
  371. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/update_user_ip_request.py +0 -0
  372. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/user_fund_margin_data.py +0 -0
  373. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/user_fund_margin_v3_data.py +0 -0
  374. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/user_ip_response.py +0 -0
  375. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/user_ip_response_data.py +0 -0
  376. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/websocket_auth_redirect_response.py +0 -0
  377. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/models/websocket_auth_redirect_response_data.py +0 -0
  378. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_client/rest.py +0 -0
  379. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_python_sdk.egg-info/dependency_links.txt +0 -0
  380. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_python_sdk.egg-info/requires.txt +0 -0
  381. {upstox-python-sdk-2.27.0 → upstox_python_sdk-2.28.0}/upstox_python_sdk.egg-info/top_level.txt +0 -0
@@ -1,13 +1,27 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: upstox-python-sdk
3
- Version: 2.27.0
3
+ Version: 2.28.0
4
4
  Summary: Upstox Developer API
5
5
  Home-page: https://github.com/upstox/upstox-python
6
6
  License: MIT
7
7
  Keywords: Upstox Developer API
8
- Platform: UNKNOWN
9
8
  Description-Content-Type: text/markdown
10
9
  License-File: LICENSE.txt
10
+ Requires-Dist: urllib3>=1.15
11
+ Requires-Dist: six>=1.10
12
+ Requires-Dist: certifi
13
+ Requires-Dist: python-dateutil
14
+ Requires-Dist: websocket-client
15
+ Requires-Dist: uuid
16
+ Requires-Dist: protobuf
17
+ Dynamic: description
18
+ Dynamic: description-content-type
19
+ Dynamic: home-page
20
+ Dynamic: keywords
21
+ Dynamic: license
22
+ Dynamic: license-file
23
+ Dynamic: requires-dist
24
+ Dynamic: summary
11
25
 
12
26
  # Upstox Python SDK for API v2
13
27
 
@@ -515,4 +529,3 @@ if __name__ == "__main__":
515
529
  - **error**: Signals an error has occurred.
516
530
  - **reconnecting**: Announced when a reconnect attempt is initiated.
517
531
  - **autoReconnectStopped**: Informs when auto-reconnect efforts have ceased after exhausting the retry count.
518
-
@@ -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.27.0"
21
+ VERSION = "2.28.0"
22
22
  # To install the library, run the following
23
23
  #
24
24
  # python setup.py install
@@ -21,6 +21,7 @@ from upstox_client.api.fundamentals_api import FundamentalsApi
21
21
  from upstox_client.api.history_api import HistoryApi
22
22
  from upstox_client.api.history_v3_api import HistoryV3Api
23
23
  from upstox_client.api.instruments_api import InstrumentsApi
24
+ from upstox_client.api.ipo_api import IpoApi
24
25
  from upstox_client.api.login_api import LoginApi
25
26
  from upstox_client.api.market_api import MarketApi
26
27
  from upstox_client.api.market_holidays_and_timings_api import MarketHolidaysAndTimingsApi
@@ -136,12 +137,20 @@ from upstox_client.models.income_statement_response import IncomeStatementRespon
136
137
  from upstox_client.models.indie_user_init_token_data import IndieUserInitTokenData
137
138
  from upstox_client.models.indie_user_init_token_response import IndieUserInitTokenResponse
138
139
  from upstox_client.models.indie_user_token_request import IndieUserTokenRequest
140
+ from upstox_client.models.initiate_payout_request import InitiatePayoutRequest
139
141
  from upstox_client.models.instrument import Instrument
140
142
  from upstox_client.models.instrument_data import InstrumentData
141
143
  from upstox_client.models.search_instrument_response import SearchInstrumentResponse
142
144
  from upstox_client.models.search_meta_data import SearchMetaData
143
145
  from upstox_client.models.search_page import SearchPage
144
146
  from upstox_client.models.intra_day_candle_data import IntraDayCandleData
147
+ from upstox_client.models.ipo_details_data import IpoDetailsData
148
+ from upstox_client.models.ipo_details_response import IpoDetailsResponse
149
+ from upstox_client.models.ipo_listing_data import IpoListingData
150
+ from upstox_client.models.ipo_listing_response import IpoListingResponse
151
+ from upstox_client.models.ipo_meta_data import IpoMetaData
152
+ from upstox_client.models.ipo_registrar_info import IpoRegistrarInfo
153
+ from upstox_client.models.ipo_timeline import IpoTimeline
145
154
  from upstox_client.models.key_ratio_data import KeyRatioData
146
155
  from upstox_client.models.key_ratios_response import KeyRatiosResponse
147
156
  from upstox_client.models.kill_switch_response import KillSwitchResponse
@@ -165,6 +174,7 @@ from upstox_client.models.modify_order_data import ModifyOrderData
165
174
  from upstox_client.models.modify_order_request import ModifyOrderRequest
166
175
  from upstox_client.models.modify_order_response import ModifyOrderResponse
167
176
  from upstox_client.models.modify_order_v3_response import ModifyOrderV3Response
177
+ from upstox_client.models.modify_payout_request import ModifyPayoutRequest
168
178
  from upstox_client.models.multi_order_data import MultiOrderData
169
179
  from upstox_client.models.multi_order_error import MultiOrderError
170
180
  from upstox_client.models.multi_order_request import MultiOrderRequest
@@ -192,6 +202,10 @@ from upstox_client.models.other_taxes import OtherTaxes
192
202
  from upstox_client.models.pagination import Pagination
193
203
  from upstox_client.models.payment_history_data import PaymentHistoryData
194
204
  from upstox_client.models.payment_history_response import PaymentHistoryResponse
205
+ from upstox_client.models.payout_details import PayoutDetails
206
+ from upstox_client.models.payout_details_response import PayoutDetailsResponse
207
+ from upstox_client.models.payout_modes_data import PayoutModesData
208
+ from upstox_client.models.payout_modes_response import PayoutModesResponse
195
209
  from upstox_client.models.place_order_data import PlaceOrderData
196
210
  from upstox_client.models.place_order_request import PlaceOrderRequest
197
211
  from upstox_client.models.place_order_response import PlaceOrderResponse
@@ -9,6 +9,7 @@ from upstox_client.api.fundamentals_api import FundamentalsApi
9
9
  from upstox_client.api.history_api import HistoryApi
10
10
  from upstox_client.api.history_v3_api import HistoryV3Api
11
11
  from upstox_client.api.instruments_api import InstrumentsApi
12
+ from upstox_client.api.ipo_api import IpoApi
12
13
  from upstox_client.api.login_api import LoginApi
13
14
  from upstox_client.api.market_api import MarketApi
14
15
  from upstox_client.api.market_holidays_and_timings_api import MarketHolidaysAndTimingsApi
@@ -0,0 +1,231 @@
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)
@@ -713,3 +713,304 @@ class MarketApi(object):
713
713
  _preload_content=params.get('_preload_content', True),
714
714
  _request_timeout=params.get('_request_timeout'),
715
715
  collection_formats=collection_formats)
716
+
717
+ def get_smartlist_futures(self, **kwargs): # noqa: E501
718
+ """Get Smartlist Futures # noqa: E501
719
+
720
+ Fetches the smartlist of futures for the given asset type and category. # noqa: E501
721
+ This method makes a synchronous HTTP request by default. To make an
722
+ asynchronous HTTP request, please pass async_req=True
723
+ >>> thread = api.get_smartlist_futures(async_req=True)
724
+ >>> result = thread.get()
725
+
726
+ :param async_req bool
727
+ :param object asset_type: Asset type. Allowed values: INDEX, STOCK, COMMODITY
728
+ :param object category: Category. Allowed values: TOP_TRADED, MOST_ACTIVE, OI_GAINERS, OI_LOSERS, PRICE_GAINERS, PRICE_LOSERS, PREMIUM, DISCOUNT (COMMODITY supports only: TOP_TRADED, MOST_ACTIVE, OI_GAINERS, OI_LOSERS)
729
+ :param object page_number: Page number (optional, 1-indexed)
730
+ :param object page_size: Page size (optional, max 50)
731
+ :return: AnalyticsResponse
732
+ If the method is called asynchronously,
733
+ returns the request thread.
734
+ """
735
+ kwargs['_return_http_data_only'] = True
736
+ if kwargs.get('async_req'):
737
+ return self.get_smartlist_futures_with_http_info(**kwargs) # noqa: E501
738
+ else:
739
+ (data) = self.get_smartlist_futures_with_http_info(**kwargs) # noqa: E501
740
+ return data
741
+
742
+ def get_smartlist_futures_with_http_info(self, **kwargs): # noqa: E501
743
+ """Get Smartlist Futures # noqa: E501
744
+
745
+ Fetches the smartlist of futures for the given asset type and category. # noqa: E501
746
+ This method makes a synchronous HTTP request by default. To make an
747
+ asynchronous HTTP request, please pass async_req=True
748
+ >>> thread = api.get_smartlist_futures_with_http_info(async_req=True)
749
+ >>> result = thread.get()
750
+
751
+ :param async_req bool
752
+ :param object asset_type: Asset type. Allowed values: INDEX, STOCK, COMMODITY
753
+ :param object category: Category. Allowed values: TOP_TRADED, MOST_ACTIVE, OI_GAINERS, OI_LOSERS, PRICE_GAINERS, PRICE_LOSERS, PREMIUM, DISCOUNT (COMMODITY supports only: TOP_TRADED, MOST_ACTIVE, OI_GAINERS, OI_LOSERS)
754
+ :param object page_number: Page number (optional, 1-indexed)
755
+ :param object page_size: Page size (optional, max 50)
756
+ :return: AnalyticsResponse
757
+ If the method is called asynchronously,
758
+ returns the request thread.
759
+ """
760
+
761
+ all_params = ['asset_type', 'category', 'page_number', 'page_size'] # noqa: E501
762
+ all_params.append('async_req')
763
+ all_params.append('_return_http_data_only')
764
+ all_params.append('_preload_content')
765
+ all_params.append('_request_timeout')
766
+
767
+ params = locals()
768
+ for key, val in six.iteritems(params['kwargs']):
769
+ if key not in all_params:
770
+ raise TypeError(
771
+ "Got an unexpected keyword argument '%s'"
772
+ " to method get_smartlist_futures" % key
773
+ )
774
+ params[key] = val
775
+ del params['kwargs']
776
+
777
+ collection_formats = {}
778
+
779
+ path_params = {}
780
+
781
+ query_params = []
782
+ if 'asset_type' in params:
783
+ query_params.append(('asset_type', params['asset_type'])) # noqa: E501
784
+ if 'category' in params:
785
+ query_params.append(('category', params['category'])) # noqa: E501
786
+ if 'page_number' in params:
787
+ query_params.append(('page_number', params['page_number'])) # noqa: E501
788
+ if 'page_size' in params:
789
+ query_params.append(('page_size', params['page_size'])) # noqa: E501
790
+
791
+ header_params = {}
792
+
793
+ form_params = []
794
+ local_var_files = {}
795
+
796
+ body_params = None
797
+ # HTTP header `Accept`
798
+ header_params['Accept'] = self.api_client.select_header_accept(
799
+ ['*/*', 'application/json']) # noqa: E501
800
+
801
+ # Authentication setting
802
+ auth_settings = ['OAUTH2'] # noqa: E501
803
+
804
+ return self.api_client.call_api(
805
+ '/v2/market/smartlist/futures', 'GET',
806
+ path_params,
807
+ query_params,
808
+ header_params,
809
+ body=body_params,
810
+ post_params=form_params,
811
+ files=local_var_files,
812
+ response_type='AnalyticsResponse', # noqa: E501
813
+ auth_settings=auth_settings,
814
+ async_req=params.get('async_req'),
815
+ _return_http_data_only=params.get('_return_http_data_only'),
816
+ _preload_content=params.get('_preload_content', True),
817
+ _request_timeout=params.get('_request_timeout'),
818
+ collection_formats=collection_formats)
819
+
820
+ def get_smartlist_mtf(self, **kwargs): # noqa: E501
821
+ """Get Smartlist MTF # noqa: E501
822
+
823
+ Fetches the smartlist of MTF (Margin Trade Funding) stocks. Prices are enriched with live LTP data. # noqa: E501
824
+ This method makes a synchronous HTTP request by default. To make an
825
+ asynchronous HTTP request, please pass async_req=True
826
+ >>> thread = api.get_smartlist_mtf(async_req=True)
827
+ >>> result = thread.get()
828
+
829
+ :param async_req bool
830
+ :param object page_number: Page number (optional, 1-indexed)
831
+ :param object page_size: Page size (optional, max 50)
832
+ :return: AnalyticsResponse
833
+ If the method is called asynchronously,
834
+ returns the request thread.
835
+ """
836
+ kwargs['_return_http_data_only'] = True
837
+ if kwargs.get('async_req'):
838
+ return self.get_smartlist_mtf_with_http_info(**kwargs) # noqa: E501
839
+ else:
840
+ (data) = self.get_smartlist_mtf_with_http_info(**kwargs) # noqa: E501
841
+ return data
842
+
843
+ def get_smartlist_mtf_with_http_info(self, **kwargs): # noqa: E501
844
+ """Get Smartlist MTF # noqa: E501
845
+
846
+ Fetches the smartlist of MTF (Margin Trade Funding) stocks. Prices are enriched with live LTP data. # noqa: E501
847
+ This method makes a synchronous HTTP request by default. To make an
848
+ asynchronous HTTP request, please pass async_req=True
849
+ >>> thread = api.get_smartlist_mtf_with_http_info(async_req=True)
850
+ >>> result = thread.get()
851
+
852
+ :param async_req bool
853
+ :param object page_number: Page number (optional, 1-indexed)
854
+ :param object page_size: Page size (optional, max 50)
855
+ :return: AnalyticsResponse
856
+ If the method is called asynchronously,
857
+ returns the request thread.
858
+ """
859
+
860
+ all_params = ['page_number', 'page_size'] # noqa: E501
861
+ all_params.append('async_req')
862
+ all_params.append('_return_http_data_only')
863
+ all_params.append('_preload_content')
864
+ all_params.append('_request_timeout')
865
+
866
+ params = locals()
867
+ for key, val in six.iteritems(params['kwargs']):
868
+ if key not in all_params:
869
+ raise TypeError(
870
+ "Got an unexpected keyword argument '%s'"
871
+ " to method get_smartlist_mtf" % key
872
+ )
873
+ params[key] = val
874
+ del params['kwargs']
875
+
876
+ collection_formats = {}
877
+
878
+ path_params = {}
879
+
880
+ query_params = []
881
+ if 'page_number' in params:
882
+ query_params.append(('page_number', params['page_number'])) # noqa: E501
883
+ if 'page_size' in params:
884
+ query_params.append(('page_size', params['page_size'])) # noqa: E501
885
+
886
+ header_params = {}
887
+
888
+ form_params = []
889
+ local_var_files = {}
890
+
891
+ body_params = None
892
+ # HTTP header `Accept`
893
+ header_params['Accept'] = self.api_client.select_header_accept(
894
+ ['*/*', 'application/json']) # noqa: E501
895
+
896
+ # Authentication setting
897
+ auth_settings = ['OAUTH2'] # noqa: E501
898
+
899
+ return self.api_client.call_api(
900
+ '/v2/market/smartlist/mtf', 'GET',
901
+ path_params,
902
+ query_params,
903
+ header_params,
904
+ body=body_params,
905
+ post_params=form_params,
906
+ files=local_var_files,
907
+ response_type='AnalyticsResponse', # noqa: E501
908
+ auth_settings=auth_settings,
909
+ async_req=params.get('async_req'),
910
+ _return_http_data_only=params.get('_return_http_data_only'),
911
+ _preload_content=params.get('_preload_content', True),
912
+ _request_timeout=params.get('_request_timeout'),
913
+ collection_formats=collection_formats)
914
+
915
+ def get_smartlist_options(self, **kwargs): # noqa: E501
916
+ """Get Smartlist Options # noqa: E501
917
+
918
+ Fetches the smartlist of options for the given asset type and category. # noqa: E501
919
+ This method makes a synchronous HTTP request by default. To make an
920
+ asynchronous HTTP request, please pass async_req=True
921
+ >>> thread = api.get_smartlist_options(async_req=True)
922
+ >>> result = thread.get()
923
+
924
+ :param async_req bool
925
+ :param object asset_type: Asset type. Allowed values: INDEX, STOCK, COMMODITY
926
+ :param object category: Category. Allowed values: TOP_TRADED, MOST_ACTIVE, OI_GAINERS, OI_LOSERS, PRICE_GAINERS, PRICE_LOSERS, IV_GAINERS, IV_LOSERS, UNDER_5000, UNDER_10000 (COMMODITY supports only: TOP_TRADED, MOST_ACTIVE, OI_GAINERS, OI_LOSERS)
927
+ :param object page_number: Page number (optional, 1-indexed)
928
+ :param object page_size: Page size (optional, max 50)
929
+ :return: AnalyticsResponse
930
+ If the method is called asynchronously,
931
+ returns the request thread.
932
+ """
933
+ kwargs['_return_http_data_only'] = True
934
+ if kwargs.get('async_req'):
935
+ return self.get_smartlist_options_with_http_info(**kwargs) # noqa: E501
936
+ else:
937
+ (data) = self.get_smartlist_options_with_http_info(**kwargs) # noqa: E501
938
+ return data
939
+
940
+ def get_smartlist_options_with_http_info(self, **kwargs): # noqa: E501
941
+ """Get Smartlist Options # noqa: E501
942
+
943
+ Fetches the smartlist of options for the given asset type and category. # noqa: E501
944
+ This method makes a synchronous HTTP request by default. To make an
945
+ asynchronous HTTP request, please pass async_req=True
946
+ >>> thread = api.get_smartlist_options_with_http_info(async_req=True)
947
+ >>> result = thread.get()
948
+
949
+ :param async_req bool
950
+ :param object asset_type: Asset type. Allowed values: INDEX, STOCK, COMMODITY
951
+ :param object category: Category. Allowed values: TOP_TRADED, MOST_ACTIVE, OI_GAINERS, OI_LOSERS, PRICE_GAINERS, PRICE_LOSERS, IV_GAINERS, IV_LOSERS, UNDER_5000, UNDER_10000 (COMMODITY supports only: TOP_TRADED, MOST_ACTIVE, OI_GAINERS, OI_LOSERS)
952
+ :param object page_number: Page number (optional, 1-indexed)
953
+ :param object page_size: Page size (optional, max 50)
954
+ :return: AnalyticsResponse
955
+ If the method is called asynchronously,
956
+ returns the request thread.
957
+ """
958
+
959
+ all_params = ['asset_type', 'category', 'page_number', 'page_size'] # noqa: E501
960
+ all_params.append('async_req')
961
+ all_params.append('_return_http_data_only')
962
+ all_params.append('_preload_content')
963
+ all_params.append('_request_timeout')
964
+
965
+ params = locals()
966
+ for key, val in six.iteritems(params['kwargs']):
967
+ if key not in all_params:
968
+ raise TypeError(
969
+ "Got an unexpected keyword argument '%s'"
970
+ " to method get_smartlist_options" % key
971
+ )
972
+ params[key] = val
973
+ del params['kwargs']
974
+
975
+ collection_formats = {}
976
+
977
+ path_params = {}
978
+
979
+ query_params = []
980
+ if 'asset_type' in params:
981
+ query_params.append(('asset_type', params['asset_type'])) # noqa: E501
982
+ if 'category' in params:
983
+ query_params.append(('category', params['category'])) # noqa: E501
984
+ if 'page_number' in params:
985
+ query_params.append(('page_number', params['page_number'])) # noqa: E501
986
+ if 'page_size' in params:
987
+ query_params.append(('page_size', params['page_size'])) # noqa: E501
988
+
989
+ header_params = {}
990
+
991
+ form_params = []
992
+ local_var_files = {}
993
+
994
+ body_params = None
995
+ # HTTP header `Accept`
996
+ header_params['Accept'] = self.api_client.select_header_accept(
997
+ ['*/*', 'application/json']) # noqa: E501
998
+
999
+ # Authentication setting
1000
+ auth_settings = ['OAUTH2'] # noqa: E501
1001
+
1002
+ return self.api_client.call_api(
1003
+ '/v2/market/smartlist/options', 'GET',
1004
+ path_params,
1005
+ query_params,
1006
+ header_params,
1007
+ body=body_params,
1008
+ post_params=form_params,
1009
+ files=local_var_files,
1010
+ response_type='AnalyticsResponse', # noqa: E501
1011
+ auth_settings=auth_settings,
1012
+ async_req=params.get('async_req'),
1013
+ _return_http_data_only=params.get('_return_http_data_only'),
1014
+ _preload_content=params.get('_preload_content', True),
1015
+ _request_timeout=params.get('_request_timeout'),
1016
+ collection_formats=collection_formats)