upstox-python-sdk 2.22.0__tar.gz → 2.23.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 (328) hide show
  1. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/PKG-INFO +2 -2
  2. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/README.md +1 -1
  3. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/setup.py +1 -1
  4. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/__init__.py +5 -0
  5. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/__init__.py +1 -0
  6. upstox-python-sdk-2.23.0/upstox_client/api/news_api.py +140 -0
  7. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api_client.py +1 -1
  8. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/__init__.py +4 -0
  9. upstox-python-sdk-2.23.0/upstox_client/models/get_news_response.py +162 -0
  10. upstox-python-sdk-2.23.0/upstox_client/models/news_item_data.py +214 -0
  11. upstox-python-sdk-2.23.0/upstox_client/models/news_response_meta_data.py +110 -0
  12. upstox-python-sdk-2.23.0/upstox_client/models/news_response_page_data.py +188 -0
  13. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_python_sdk.egg-info/PKG-INFO +2 -2
  14. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_python_sdk.egg-info/SOURCES.txt +5 -0
  15. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/LICENSE.txt +0 -0
  16. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/setup.cfg +0 -0
  17. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/__init__.py +0 -0
  18. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/sanity_test.py +0 -0
  19. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_analytics_data.py +0 -0
  20. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_api_gateway_error_response.py +0 -0
  21. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_batch_execution_summary.py +0 -0
  22. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_brokerage_data.py +0 -0
  23. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_brokerage_taxes.py +0 -0
  24. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_brokerage_wrapper_data.py +0 -0
  25. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_cancel_or_exit_multi_order_data.py +0 -0
  26. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_cancel_or_exit_multi_order_response.py +0 -0
  27. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_cancel_or_exit_order_error_data.py +0 -0
  28. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_cancel_order_data.py +0 -0
  29. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_cancel_order_response.py +0 -0
  30. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_cancel_order_v3_response.py +0 -0
  31. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_charge_api.py +0 -0
  32. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_convert_position_data.py +0 -0
  33. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_convert_position_request.py +0 -0
  34. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_convert_position_response.py +0 -0
  35. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_depth.py +0 -0
  36. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_depth_map.py +0 -0
  37. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_dp_plan.py +0 -0
  38. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_exchange_timing_data.py +0 -0
  39. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_brokerage_response.py +0 -0
  40. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_exchange_timing_response.py +0 -0
  41. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_full_market_quote_response.py +0 -0
  42. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_gtt_order_response.py +0 -0
  43. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_historical_candle_response.py +0 -0
  44. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_holdings_response.py +0 -0
  45. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_holiday_response.py +0 -0
  46. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_intra_day_candle_response.py +0 -0
  47. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_market_quote_last_traded_price_response.py +0 -0
  48. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_market_quote_ohlc_response.py +0 -0
  49. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_market_status_response.py +0 -0
  50. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_option_chain_response.py +0 -0
  51. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_option_contract_response.py +0 -0
  52. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_order_book_response.py +0 -0
  53. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_order_details_response.py +0 -0
  54. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_order_response.py +0 -0
  55. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_position_response.py +0 -0
  56. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_profile_response.py +0 -0
  57. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_profit_and_loss_charges_response.py +0 -0
  58. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_trade_response.py +0 -0
  59. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_trade_wise_profit_and_loss_data_response.py +0 -0
  60. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
  61. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_get_user_fund_margin_response.py +0 -0
  62. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_gtt_cancel_order_request.py +0 -0
  63. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_gtt_modify_order_request.py +0 -0
  64. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_gtt_order_data.py +0 -0
  65. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_gtt_order_details.py +0 -0
  66. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_gtt_place_order_request.py +0 -0
  67. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_gtt_rule.py +0 -0
  68. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_gtt_trigger_order_response.py +0 -0
  69. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_historical_candle_data.py +0 -0
  70. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_history_api.py +0 -0
  71. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_holdings_data.py +0 -0
  72. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_holiday_data.py +0 -0
  73. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_indie_user_init_token_data.py +0 -0
  74. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_indie_user_init_token_response.py +0 -0
  75. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_indie_user_token_request.py +0 -0
  76. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_instrument.py +0 -0
  77. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_instrument_data.py +0 -0
  78. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_intra_day_candle_data.py +0 -0
  79. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_login_api.py +0 -0
  80. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_logout_response.py +0 -0
  81. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_margin.py +0 -0
  82. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_margin_data.py +0 -0
  83. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_margin_request.py +0 -0
  84. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_market_data.py +0 -0
  85. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_market_holidays_and_timings_api.py +0 -0
  86. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_market_quote_api.py +0 -0
  87. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_market_quote_ohlc.py +0 -0
  88. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_market_quote_symbol.py +0 -0
  89. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_market_quote_symbol_ltp.py +0 -0
  90. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_market_status_data.py +0 -0
  91. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_modify_order_data.py +0 -0
  92. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_modify_order_request.py +0 -0
  93. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_modify_order_response.py +0 -0
  94. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_modify_order_v3_response.py +0 -0
  95. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_multi_order_data.py +0 -0
  96. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_multi_order_error.py +0 -0
  97. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_multi_order_request.py +0 -0
  98. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_multi_order_response.py +0 -0
  99. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_multi_order_summary.py +0 -0
  100. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_multi_order_v3_data.py +0 -0
  101. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_o_auth_client_exception.py +0 -0
  102. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_o_auth_client_exception_cause.py +0 -0
  103. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_o_auth_client_exception_cause_stack_trace.py +0 -0
  104. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_o_auth_client_exception_cause_suppressed.py +0 -0
  105. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_ohlc.py +0 -0
  106. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_option_strike_data.py +0 -0
  107. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_options_api.py +0 -0
  108. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_order_api.py +0 -0
  109. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_order_book_data.py +0 -0
  110. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_order_controller_v_3_api.py +0 -0
  111. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_order_data.py +0 -0
  112. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_order_metadata.py +0 -0
  113. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_other_taxes.py +0 -0
  114. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_place_order_data.py +0 -0
  115. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_place_order_request.py +0 -0
  116. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_place_order_response.py +0 -0
  117. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_place_order_v3_request.py +0 -0
  118. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_place_order_v3_response.py +0 -0
  119. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_portfolio_api.py +0 -0
  120. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_position_data.py +0 -0
  121. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_post_margin_response.py +0 -0
  122. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_post_trade_api.py +0 -0
  123. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_problem.py +0 -0
  124. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_profile_data.py +0 -0
  125. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_profit_and_loss_charges_data.py +0 -0
  126. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_profit_and_loss_charges_taxes.py +0 -0
  127. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_profit_and_loss_charges_wrapper_data.py +0 -0
  128. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_profit_and_loss_meta_data.py +0 -0
  129. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_profit_and_loss_meta_data_wrapper.py +0 -0
  130. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_profit_and_loss_other_charges_taxes.py +0 -0
  131. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_put_call_option_chain_data.py +0 -0
  132. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_rule.py +0 -0
  133. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_token_request.py +0 -0
  134. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_token_response.py +0 -0
  135. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_trade_data.py +0 -0
  136. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_trade_history_response.py +0 -0
  137. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_trade_history_response_meta_data.py +0 -0
  138. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_trade_history_response_page_data.py +0 -0
  139. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_trade_history_response_trade_data.py +0 -0
  140. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_trade_profit_and_loss_api.py +0 -0
  141. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_trade_wise_meta_data.py +0 -0
  142. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_trade_wise_profit_and_loss_data.py +0 -0
  143. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_user_api.py +0 -0
  144. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_user_fund_margin_data.py +0 -0
  145. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_websocket_api.py +0 -0
  146. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_websocket_auth_redirect_response.py +0 -0
  147. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/test/test_websocket_auth_redirect_response_data.py +0 -0
  148. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/charge_api.py +0 -0
  149. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/expired_instrument_api.py +0 -0
  150. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/history_api.py +0 -0
  151. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/history_v3_api.py +0 -0
  152. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/instruments_api.py +0 -0
  153. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/login_api.py +0 -0
  154. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/market_holidays_and_timings_api.py +0 -0
  155. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/market_quote_api.py +0 -0
  156. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/market_quote_v3_api.py +0 -0
  157. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/options_api.py +0 -0
  158. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/order_api.py +0 -0
  159. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/order_controller_v_3_api.py +0 -0
  160. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/portfolio_api.py +0 -0
  161. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/post_trade_api.py +0 -0
  162. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/trade_profit_and_loss_api.py +0 -0
  163. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/user_api.py +0 -0
  164. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/api/websocket_api.py +0 -0
  165. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/configuration.py +0 -0
  166. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/feeder/__init__.py +0 -0
  167. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/feeder/feeder.py +0 -0
  168. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/feeder/market_data_feeder_v3.py +0 -0
  169. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/feeder/market_data_streamer_v3.py +0 -0
  170. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/feeder/portfolio_data_feeder.py +0 -0
  171. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/feeder/portfolio_data_streamer.py +0 -0
  172. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/feeder/proto/MarketDataFeedV3_pb2.py +0 -0
  173. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/feeder/proto/__init__.py +0 -0
  174. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/feeder/streamer.py +0 -0
  175. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/analytics_data.py +0 -0
  176. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/api_gateway_error_response.py +0 -0
  177. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/available_to_trade.py +0 -0
  178. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/batch_execution_summary.py +0 -0
  179. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/brokerage_data.py +0 -0
  180. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/brokerage_taxes.py +0 -0
  181. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/brokerage_wrapper_data.py +0 -0
  182. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/cancel_or_exit_multi_order_data.py +0 -0
  183. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/cancel_or_exit_multi_order_response.py +0 -0
  184. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/cancel_or_exit_order_error_data.py +0 -0
  185. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/cancel_order_data.py +0 -0
  186. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/cancel_order_response.py +0 -0
  187. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/cancel_order_v3_response.py +0 -0
  188. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/cash_available_to_trade.py +0 -0
  189. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/cash_breakdown.py +0 -0
  190. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/cash_margin_used.py +0 -0
  191. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/cash_unavailable_to_trade.py +0 -0
  192. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/convert_position_data.py +0 -0
  193. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/convert_position_request.py +0 -0
  194. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/convert_position_response.py +0 -0
  195. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/delivery_margin.py +0 -0
  196. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/depth.py +0 -0
  197. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/depth_map.py +0 -0
  198. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/dp_plan.py +0 -0
  199. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/exchange_timing_data.py +0 -0
  200. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/expired_future_data.py +0 -0
  201. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_brokerage_response.py +0 -0
  202. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_exchange_timing_response.py +0 -0
  203. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_expired_futures_contract_response.py +0 -0
  204. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_expiries.py +0 -0
  205. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_full_market_quote_response.py +0 -0
  206. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_gtt_order_response.py +0 -0
  207. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_historical_candle_response.py +0 -0
  208. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_holdings_response.py +0 -0
  209. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_holiday_response.py +0 -0
  210. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_intra_day_candle_response.py +0 -0
  211. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_market_quote_last_traded_price_response.py +0 -0
  212. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_market_quote_last_traded_price_response_v3.py +0 -0
  213. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_market_quote_ohlc_response.py +0 -0
  214. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_market_quote_ohlc_response_v3.py +0 -0
  215. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_market_quote_option_greek_response_v3.py +0 -0
  216. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_market_status_response.py +0 -0
  217. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_option_chain_response.py +0 -0
  218. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_option_contract_response.py +0 -0
  219. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_order_book_response.py +0 -0
  220. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_order_details_response.py +0 -0
  221. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_order_response.py +0 -0
  222. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_position_response.py +0 -0
  223. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_profile_response.py +0 -0
  224. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_profit_and_loss_charges_response.py +0 -0
  225. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_trade_response.py +0 -0
  226. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_trade_wise_profit_and_loss_data_response.py +0 -0
  227. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
  228. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_user_fund_margin_response.py +0 -0
  229. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/get_user_fund_margin_v3_response.py +0 -0
  230. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/gtt_cancel_order_request.py +0 -0
  231. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/gtt_modify_order_request.py +0 -0
  232. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/gtt_order_data.py +0 -0
  233. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/gtt_order_details.py +0 -0
  234. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/gtt_place_order_request.py +0 -0
  235. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/gtt_rule.py +0 -0
  236. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/gtt_trigger_order_response.py +0 -0
  237. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/historical_candle_data.py +0 -0
  238. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/holdings_data.py +0 -0
  239. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/holiday_data.py +0 -0
  240. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/indie_user_init_token_data.py +0 -0
  241. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/indie_user_init_token_response.py +0 -0
  242. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/indie_user_token_request.py +0 -0
  243. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/instrument.py +0 -0
  244. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/instrument_data.py +0 -0
  245. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/intra_day_candle_data.py +0 -0
  246. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/kill_switch_response.py +0 -0
  247. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/kill_switch_segment_data.py +0 -0
  248. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/kill_switch_segment_update_request.py +0 -0
  249. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/logout_response.py +0 -0
  250. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/loss.py +0 -0
  251. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/margin.py +0 -0
  252. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/margin_data.py +0 -0
  253. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/margin_from_pledge.py +0 -0
  254. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/margin_request.py +0 -0
  255. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/market_data.py +0 -0
  256. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/market_quote_ohlc.py +0 -0
  257. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/market_quote_ohlcv3.py +0 -0
  258. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/market_quote_option_greek_v3.py +0 -0
  259. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/market_quote_symbol.py +0 -0
  260. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/market_quote_symbol_ltp.py +0 -0
  261. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/market_quote_symbol_ltp_v3.py +0 -0
  262. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/market_status_data.py +0 -0
  263. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/modify_order_data.py +0 -0
  264. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/modify_order_request.py +0 -0
  265. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/modify_order_response.py +0 -0
  266. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/modify_order_v3_response.py +0 -0
  267. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/multi_order_data.py +0 -0
  268. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/multi_order_error.py +0 -0
  269. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/multi_order_request.py +0 -0
  270. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/multi_order_response.py +0 -0
  271. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/multi_order_summary.py +0 -0
  272. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/multi_order_v3_data.py +0 -0
  273. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/o_auth_client_exception.py +0 -0
  274. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/o_auth_client_exception_cause.py +0 -0
  275. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/o_auth_client_exception_cause_stack_trace.py +0 -0
  276. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/o_auth_client_exception_cause_suppressed.py +0 -0
  277. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/ohlc.py +0 -0
  278. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/ohlc_v3.py +0 -0
  279. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/option_strike_data.py +0 -0
  280. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/order_book_data.py +0 -0
  281. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/order_data.py +0 -0
  282. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/order_metadata.py +0 -0
  283. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/other_taxes.py +0 -0
  284. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/place_order_data.py +0 -0
  285. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/place_order_request.py +0 -0
  286. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/place_order_response.py +0 -0
  287. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/place_order_v3_request.py +0 -0
  288. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/place_order_v3_response.py +0 -0
  289. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/pledge_available_to_trade.py +0 -0
  290. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/pledge_margin_used.py +0 -0
  291. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/pledge_unavailable_to_trade.py +0 -0
  292. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/position_data.py +0 -0
  293. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/post_margin_response.py +0 -0
  294. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/problem.py +0 -0
  295. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/profile_data.py +0 -0
  296. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/profit_and_loss_charges_data.py +0 -0
  297. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/profit_and_loss_charges_taxes.py +0 -0
  298. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/profit_and_loss_charges_wrapper_data.py +0 -0
  299. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/profit_and_loss_meta_data.py +0 -0
  300. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/profit_and_loss_meta_data_wrapper.py +0 -0
  301. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/profit_and_loss_other_charges_taxes.py +0 -0
  302. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/put_call_option_chain_data.py +0 -0
  303. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/rule.py +0 -0
  304. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/search_instrument_response.py +0 -0
  305. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/search_meta_data.py +0 -0
  306. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/search_page.py +0 -0
  307. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/token_request.py +0 -0
  308. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/token_response.py +0 -0
  309. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/trade_data.py +0 -0
  310. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/trade_history_response.py +0 -0
  311. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/trade_history_response_meta_data.py +0 -0
  312. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/trade_history_response_page_data.py +0 -0
  313. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/trade_history_response_trade_data.py +0 -0
  314. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/trade_wise_meta_data.py +0 -0
  315. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/trade_wise_profit_and_loss_data.py +0 -0
  316. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/unavailable_to_trade.py +0 -0
  317. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/unsettled_profit.py +0 -0
  318. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/update_user_ip_request.py +0 -0
  319. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/user_fund_margin_data.py +0 -0
  320. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/user_fund_margin_v3_data.py +0 -0
  321. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/user_ip_response.py +0 -0
  322. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/user_ip_response_data.py +0 -0
  323. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/websocket_auth_redirect_response.py +0 -0
  324. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/models/websocket_auth_redirect_response_data.py +0 -0
  325. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_client/rest.py +0 -0
  326. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_python_sdk.egg-info/dependency_links.txt +0 -0
  327. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_python_sdk.egg-info/requires.txt +0 -0
  328. {upstox-python-sdk-2.22.0 → upstox-python-sdk-2.23.0}/upstox_python_sdk.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: upstox-python-sdk
3
- Version: 2.22.0
3
+ Version: 2.23.0
4
4
  Summary: Upstox Developer API
5
5
  Home-page: https://github.com/upstox/upstox-python
6
6
  License: MIT
@@ -20,7 +20,7 @@ The official Python client for communicating with the <a href="https://upstox.co
20
20
  Upstox API is a set of rest APIs that provide data required to build a complete investment and trading platform. Execute orders in real time, manage user portfolio, stream live market data (using Websocket), and more, with the easy to understand API collection.
21
21
 
22
22
  - API version: v2
23
- - Package version: 2.22.0
23
+ - Package version: 2.23.0
24
24
  - Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
25
25
 
26
26
  This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.
@@ -9,7 +9,7 @@ The official Python client for communicating with the <a href="https://upstox.co
9
9
  Upstox API is a set of rest APIs that provide data required to build a complete investment and trading platform. Execute orders in real time, manage user portfolio, stream live market data (using Websocket), and more, with the easy to understand API collection.
10
10
 
11
11
  - API version: v2
12
- - Package version: 2.22.0
12
+ - Package version: 2.23.0
13
13
  - Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
14
14
 
15
15
  This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.
@@ -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.22.0"
21
+ VERSION = "2.23.0"
22
22
  # To install the library, run the following
23
23
  #
24
24
  # python setup.py install
@@ -24,6 +24,7 @@ from upstox_client.api.login_api import LoginApi
24
24
  from upstox_client.api.market_holidays_and_timings_api import MarketHolidaysAndTimingsApi
25
25
  from upstox_client.api.market_quote_api import MarketQuoteApi
26
26
  from upstox_client.api.market_quote_v3_api import MarketQuoteV3Api
27
+ from upstox_client.api.news_api import NewsApi
27
28
  from upstox_client.api.options_api import OptionsApi
28
29
  from upstox_client.api.order_api import OrderApi
29
30
  from upstox_client.api.portfolio_api import PortfolioApi
@@ -81,6 +82,7 @@ from upstox_client.models.get_market_quote_ohlc_response import GetMarketQuoteOH
81
82
  from upstox_client.models.get_market_quote_ohlc_response_v3 import GetMarketQuoteOHLCResponseV3
82
83
  from upstox_client.models.get_market_quote_option_greek_response_v3 import GetMarketQuoteOptionGreekResponseV3
83
84
  from upstox_client.models.get_market_status_response import GetMarketStatusResponse
85
+ from upstox_client.models.get_news_response import GetNewsResponse
84
86
  from upstox_client.models.get_option_chain_response import GetOptionChainResponse
85
87
  from upstox_client.models.get_option_contract_response import GetOptionContractResponse
86
88
  from upstox_client.models.get_order_book_response import GetOrderBookResponse
@@ -140,6 +142,9 @@ from upstox_client.models.multi_order_request import MultiOrderRequest
140
142
  from upstox_client.models.multi_order_response import MultiOrderResponse
141
143
  from upstox_client.models.multi_order_summary import MultiOrderSummary
142
144
  from upstox_client.models.multi_order_v3_data import MultiOrderV3Data
145
+ from upstox_client.models.news_item_data import NewsItemData
146
+ from upstox_client.models.news_response_meta_data import NewsResponseMetaData
147
+ from upstox_client.models.news_response_page_data import NewsResponsePageData
143
148
  from upstox_client.models.o_auth_client_exception import OAuthClientException
144
149
  from upstox_client.models.o_auth_client_exception_cause import OAuthClientExceptionCause
145
150
  from upstox_client.models.o_auth_client_exception_cause_stack_trace import OAuthClientExceptionCauseStackTrace
@@ -12,6 +12,7 @@ from upstox_client.api.login_api import LoginApi
12
12
  from upstox_client.api.market_holidays_and_timings_api import MarketHolidaysAndTimingsApi
13
13
  from upstox_client.api.market_quote_api import MarketQuoteApi
14
14
  from upstox_client.api.market_quote_v3_api import MarketQuoteV3Api
15
+ from upstox_client.api.news_api import NewsApi
15
16
  from upstox_client.api.options_api import OptionsApi
16
17
  from upstox_client.api.order_api import OrderApi
17
18
  from upstox_client.api.portfolio_api import PortfolioApi
@@ -0,0 +1,140 @@
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 NewsApi(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_news(self, category, **kwargs): # noqa: E501
36
+ """Get News # noqa: E501
37
+
38
+ Fetches news articles for the given instrument keys, or the user's current positions or holdings. # 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_news(category, async_req=True)
42
+ >>> result = thread.get()
43
+
44
+ :param async_req bool
45
+ :param object category: Category of news to fetch. Allowed values: instrument_keys, positions, holdings (required)
46
+ :param object instrument_keys: Comma-separated list of instrument keys. Required when category is instrument_keys.
47
+ :param object page_number: Page number for pagination
48
+ :param object page_size: Number of records per page
49
+ :return: GetNewsResponse
50
+ If the method is called asynchronously,
51
+ returns the request thread.
52
+ """
53
+ kwargs['_return_http_data_only'] = True
54
+ if kwargs.get('async_req'):
55
+ return self.get_news_with_http_info(category, **kwargs) # noqa: E501
56
+ else:
57
+ (data) = self.get_news_with_http_info(category, **kwargs) # noqa: E501
58
+ return data
59
+
60
+ def get_news_with_http_info(self, category, **kwargs): # noqa: E501
61
+ """Get News # noqa: E501
62
+
63
+ Fetches news articles for the given instrument keys, or the user's current positions or holdings. # noqa: E501
64
+ This method makes a synchronous HTTP request by default. To make an
65
+ asynchronous HTTP request, please pass async_req=True
66
+ >>> thread = api.get_news_with_http_info(category, async_req=True)
67
+ >>> result = thread.get()
68
+
69
+ :param async_req bool
70
+ :param object category: Category of news to fetch. Allowed values: instrument_keys, positions, holdings (required)
71
+ :param object instrument_keys: Comma-separated list of instrument keys. Required when category is instrument_keys.
72
+ :param object page_number: Page number for pagination
73
+ :param object page_size: Number of records per page
74
+ :return: GetNewsResponse
75
+ If the method is called asynchronously,
76
+ returns the request thread.
77
+ """
78
+
79
+ all_params = ['category', 'instrument_keys', 'page_number', 'page_size'] # noqa: E501
80
+ all_params.append('async_req')
81
+ all_params.append('_return_http_data_only')
82
+ all_params.append('_preload_content')
83
+ all_params.append('_request_timeout')
84
+
85
+ params = locals()
86
+ for key, val in six.iteritems(params['kwargs']):
87
+ if key not in all_params:
88
+ raise TypeError(
89
+ "Got an unexpected keyword argument '%s'"
90
+ " to method get_news" % key
91
+ )
92
+ params[key] = val
93
+ del params['kwargs']
94
+ # verify the required parameter 'category' is set
95
+ if ('category' not in params or
96
+ params['category'] is None):
97
+ raise ValueError("Missing the required parameter `category` when calling `get_news`") # noqa: E501
98
+
99
+ collection_formats = {}
100
+
101
+ path_params = {}
102
+
103
+ query_params = []
104
+ if 'category' in params:
105
+ query_params.append(('category', params['category'])) # noqa: E501
106
+ if 'instrument_keys' in params:
107
+ query_params.append(('instrument_keys', params['instrument_keys'])) # noqa: E501
108
+ if 'page_number' in params:
109
+ query_params.append(('page_number', params['page_number'])) # noqa: E501
110
+ if 'page_size' in params:
111
+ query_params.append(('page_size', params['page_size'])) # noqa: E501
112
+
113
+ header_params = {}
114
+
115
+ form_params = []
116
+ local_var_files = {}
117
+
118
+ body_params = None
119
+ # HTTP header `Accept`
120
+ header_params['Accept'] = self.api_client.select_header_accept(
121
+ ['*/*', 'application/json']) # noqa: E501
122
+
123
+ # Authentication setting
124
+ auth_settings = ['OAUTH2'] # noqa: E501
125
+
126
+ return self.api_client.call_api(
127
+ '/v2/news', 'GET',
128
+ path_params,
129
+ query_params,
130
+ header_params,
131
+ body=body_params,
132
+ post_params=form_params,
133
+ files=local_var_files,
134
+ response_type='GetNewsResponse', # noqa: E501
135
+ auth_settings=auth_settings,
136
+ async_req=params.get('async_req'),
137
+ _return_http_data_only=params.get('_return_http_data_only'),
138
+ _preload_content=params.get('_preload_content', True),
139
+ _request_timeout=params.get('_request_timeout'),
140
+ collection_formats=collection_formats)
@@ -74,7 +74,7 @@ class ApiClient(object):
74
74
  # Set default User-Agent.
75
75
  self.user_agent = 'Swagger-Codegen/1.0.0/python'
76
76
  self.default_headers["X-Upstox-SDK-Language"] = "python"
77
- self.default_headers["X-Upstox-SDK-Version"] = "2.22.0"
77
+ self.default_headers["X-Upstox-SDK-Version"] = "2.23.0"
78
78
 
79
79
  def __del__(self):
80
80
  try:
@@ -56,6 +56,7 @@ from upstox_client.models.get_market_quote_ohlc_response import GetMarketQuoteOH
56
56
  from upstox_client.models.get_market_quote_ohlc_response_v3 import GetMarketQuoteOHLCResponseV3
57
57
  from upstox_client.models.get_market_quote_option_greek_response_v3 import GetMarketQuoteOptionGreekResponseV3
58
58
  from upstox_client.models.get_market_status_response import GetMarketStatusResponse
59
+ from upstox_client.models.get_news_response import GetNewsResponse
59
60
  from upstox_client.models.get_option_chain_response import GetOptionChainResponse
60
61
  from upstox_client.models.get_option_contract_response import GetOptionContractResponse
61
62
  from upstox_client.models.get_order_book_response import GetOrderBookResponse
@@ -115,6 +116,9 @@ from upstox_client.models.multi_order_request import MultiOrderRequest
115
116
  from upstox_client.models.multi_order_response import MultiOrderResponse
116
117
  from upstox_client.models.multi_order_summary import MultiOrderSummary
117
118
  from upstox_client.models.multi_order_v3_data import MultiOrderV3Data
119
+ from upstox_client.models.news_item_data import NewsItemData
120
+ from upstox_client.models.news_response_meta_data import NewsResponseMetaData
121
+ from upstox_client.models.news_response_page_data import NewsResponsePageData
118
122
  from upstox_client.models.o_auth_client_exception import OAuthClientException
119
123
  from upstox_client.models.o_auth_client_exception_cause import OAuthClientExceptionCause
120
124
  from upstox_client.models.o_auth_client_exception_cause_stack_trace import OAuthClientExceptionCauseStackTrace
@@ -0,0 +1,162 @@
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
+ import pprint
14
+ import re # noqa: F401
15
+
16
+ import six
17
+
18
+ class GetNewsResponse(object):
19
+ """NOTE: This class is auto generated by the swagger code generator program.
20
+
21
+ Do not edit the class manually.
22
+ """
23
+ """
24
+ Attributes:
25
+ swagger_types (dict): The key is attribute name
26
+ and the value is attribute type.
27
+ attribute_map (dict): The key is attribute name
28
+ and the value is json key in definition.
29
+ """
30
+ swagger_types = {
31
+ 'status': 'object',
32
+ 'data': 'object',
33
+ 'metadata': 'NewsResponseMetaData'
34
+ }
35
+
36
+ attribute_map = {
37
+ 'status': 'status',
38
+ 'data': 'data',
39
+ 'metadata': 'metadata'
40
+ }
41
+
42
+ def __init__(self, status=None, data=None, metadata=None): # noqa: E501
43
+ """GetNewsResponse - a model defined in Swagger""" # noqa: E501
44
+ self._status = None
45
+ self._data = None
46
+ self._metadata = None
47
+ self.discriminator = None
48
+ if status is not None:
49
+ self.status = status
50
+ if data is not None:
51
+ self.data = data
52
+ if metadata is not None:
53
+ self.metadata = metadata
54
+
55
+ @property
56
+ def status(self):
57
+ """Gets the status of this GetNewsResponse. # noqa: E501
58
+
59
+
60
+ :return: The status of this GetNewsResponse. # noqa: E501
61
+ :rtype: object
62
+ """
63
+ return self._status
64
+
65
+ @status.setter
66
+ def status(self, status):
67
+ """Sets the status of this GetNewsResponse.
68
+
69
+
70
+ :param status: The status of this GetNewsResponse. # noqa: E501
71
+ :type: object
72
+ """
73
+
74
+ self._status = status
75
+
76
+ @property
77
+ def data(self):
78
+ """Gets the data of this GetNewsResponse. # noqa: E501
79
+
80
+
81
+ :return: The data of this GetNewsResponse. # noqa: E501
82
+ :rtype: object
83
+ """
84
+ return self._data
85
+
86
+ @data.setter
87
+ def data(self, data):
88
+ """Sets the data of this GetNewsResponse.
89
+
90
+
91
+ :param data: The data of this GetNewsResponse. # noqa: E501
92
+ :type: object
93
+ """
94
+
95
+ self._data = data
96
+
97
+ @property
98
+ def metadata(self):
99
+ """Gets the metadata of this GetNewsResponse. # noqa: E501
100
+
101
+
102
+ :return: The metadata of this GetNewsResponse. # noqa: E501
103
+ :rtype: NewsResponseMetaData
104
+ """
105
+ return self._metadata
106
+
107
+ @metadata.setter
108
+ def metadata(self, metadata):
109
+ """Sets the metadata of this GetNewsResponse.
110
+
111
+
112
+ :param metadata: The metadata of this GetNewsResponse. # noqa: E501
113
+ :type: NewsResponseMetaData
114
+ """
115
+
116
+ self._metadata = metadata
117
+
118
+ def to_dict(self):
119
+ """Returns the model properties as a dict"""
120
+ result = {}
121
+
122
+ for attr, _ in six.iteritems(self.swagger_types):
123
+ value = getattr(self, attr)
124
+ if isinstance(value, list):
125
+ result[attr] = list(map(
126
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
127
+ value
128
+ ))
129
+ elif hasattr(value, "to_dict"):
130
+ result[attr] = value.to_dict()
131
+ elif isinstance(value, dict):
132
+ result[attr] = dict(map(
133
+ lambda item: (item[0], item[1].to_dict())
134
+ if hasattr(item[1], "to_dict") else item,
135
+ value.items()
136
+ ))
137
+ else:
138
+ result[attr] = value
139
+ if issubclass(GetNewsResponse, dict):
140
+ for key, value in self.items():
141
+ result[key] = value
142
+
143
+ return result
144
+
145
+ def to_str(self):
146
+ """Returns the string representation of the model"""
147
+ return pprint.pformat(self.to_dict())
148
+
149
+ def __repr__(self):
150
+ """For `print` and `pprint`"""
151
+ return self.to_str()
152
+
153
+ def __eq__(self, other):
154
+ """Returns true if both objects are equal"""
155
+ if not isinstance(other, GetNewsResponse):
156
+ return False
157
+
158
+ return self.__dict__ == other.__dict__
159
+
160
+ def __ne__(self, other):
161
+ """Returns true if both objects are not equal"""
162
+ return not self == other
@@ -0,0 +1,214 @@
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
+ import pprint
14
+ import re # noqa: F401
15
+
16
+ import six
17
+
18
+ class NewsItemData(object):
19
+ """NOTE: This class is auto generated by the swagger code generator program.
20
+
21
+ Do not edit the class manually.
22
+ """
23
+ """
24
+ Attributes:
25
+ swagger_types (dict): The key is attribute name
26
+ and the value is attribute type.
27
+ attribute_map (dict): The key is attribute name
28
+ and the value is json key in definition.
29
+ """
30
+ swagger_types = {
31
+ 'heading': 'object',
32
+ 'summary': 'object',
33
+ 'thumbnail': 'object',
34
+ 'article_link': 'object',
35
+ 'published_time': 'object'
36
+ }
37
+
38
+ attribute_map = {
39
+ 'heading': 'heading',
40
+ 'summary': 'summary',
41
+ 'thumbnail': 'thumbnail',
42
+ 'article_link': 'article_link',
43
+ 'published_time': 'published_time'
44
+ }
45
+
46
+ def __init__(self, heading=None, summary=None, thumbnail=None, article_link=None, published_time=None): # noqa: E501
47
+ """NewsItemData - a model defined in Swagger""" # noqa: E501
48
+ self._heading = None
49
+ self._summary = None
50
+ self._thumbnail = None
51
+ self._article_link = None
52
+ self._published_time = None
53
+ self.discriminator = None
54
+ if heading is not None:
55
+ self.heading = heading
56
+ if summary is not None:
57
+ self.summary = summary
58
+ if thumbnail is not None:
59
+ self.thumbnail = thumbnail
60
+ if article_link is not None:
61
+ self.article_link = article_link
62
+ if published_time is not None:
63
+ self.published_time = published_time
64
+
65
+ @property
66
+ def heading(self):
67
+ """Gets the heading of this NewsItemData. # noqa: E501
68
+
69
+
70
+ :return: The heading of this NewsItemData. # noqa: E501
71
+ :rtype: object
72
+ """
73
+ return self._heading
74
+
75
+ @heading.setter
76
+ def heading(self, heading):
77
+ """Sets the heading of this NewsItemData.
78
+
79
+
80
+ :param heading: The heading of this NewsItemData. # noqa: E501
81
+ :type: object
82
+ """
83
+
84
+ self._heading = heading
85
+
86
+ @property
87
+ def summary(self):
88
+ """Gets the summary of this NewsItemData. # noqa: E501
89
+
90
+
91
+ :return: The summary of this NewsItemData. # noqa: E501
92
+ :rtype: object
93
+ """
94
+ return self._summary
95
+
96
+ @summary.setter
97
+ def summary(self, summary):
98
+ """Sets the summary of this NewsItemData.
99
+
100
+
101
+ :param summary: The summary of this NewsItemData. # noqa: E501
102
+ :type: object
103
+ """
104
+
105
+ self._summary = summary
106
+
107
+ @property
108
+ def thumbnail(self):
109
+ """Gets the thumbnail of this NewsItemData. # noqa: E501
110
+
111
+
112
+ :return: The thumbnail of this NewsItemData. # noqa: E501
113
+ :rtype: object
114
+ """
115
+ return self._thumbnail
116
+
117
+ @thumbnail.setter
118
+ def thumbnail(self, thumbnail):
119
+ """Sets the thumbnail of this NewsItemData.
120
+
121
+
122
+ :param thumbnail: The thumbnail of this NewsItemData. # noqa: E501
123
+ :type: object
124
+ """
125
+
126
+ self._thumbnail = thumbnail
127
+
128
+ @property
129
+ def article_link(self):
130
+ """Gets the article_link of this NewsItemData. # noqa: E501
131
+
132
+
133
+ :return: The article_link of this NewsItemData. # noqa: E501
134
+ :rtype: object
135
+ """
136
+ return self._article_link
137
+
138
+ @article_link.setter
139
+ def article_link(self, article_link):
140
+ """Sets the article_link of this NewsItemData.
141
+
142
+
143
+ :param article_link: The article_link of this NewsItemData. # noqa: E501
144
+ :type: object
145
+ """
146
+
147
+ self._article_link = article_link
148
+
149
+ @property
150
+ def published_time(self):
151
+ """Gets the published_time of this NewsItemData. # noqa: E501
152
+
153
+
154
+ :return: The published_time of this NewsItemData. # noqa: E501
155
+ :rtype: object
156
+ """
157
+ return self._published_time
158
+
159
+ @published_time.setter
160
+ def published_time(self, published_time):
161
+ """Sets the published_time of this NewsItemData.
162
+
163
+
164
+ :param published_time: The published_time of this NewsItemData. # noqa: E501
165
+ :type: object
166
+ """
167
+
168
+ self._published_time = published_time
169
+
170
+ def to_dict(self):
171
+ """Returns the model properties as a dict"""
172
+ result = {}
173
+
174
+ for attr, _ in six.iteritems(self.swagger_types):
175
+ value = getattr(self, attr)
176
+ if isinstance(value, list):
177
+ result[attr] = list(map(
178
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
179
+ value
180
+ ))
181
+ elif hasattr(value, "to_dict"):
182
+ result[attr] = value.to_dict()
183
+ elif isinstance(value, dict):
184
+ result[attr] = dict(map(
185
+ lambda item: (item[0], item[1].to_dict())
186
+ if hasattr(item[1], "to_dict") else item,
187
+ value.items()
188
+ ))
189
+ else:
190
+ result[attr] = value
191
+ if issubclass(NewsItemData, dict):
192
+ for key, value in self.items():
193
+ result[key] = value
194
+
195
+ return result
196
+
197
+ def to_str(self):
198
+ """Returns the string representation of the model"""
199
+ return pprint.pformat(self.to_dict())
200
+
201
+ def __repr__(self):
202
+ """For `print` and `pprint`"""
203
+ return self.to_str()
204
+
205
+ def __eq__(self, other):
206
+ """Returns true if both objects are equal"""
207
+ if not isinstance(other, NewsItemData):
208
+ return False
209
+
210
+ return self.__dict__ == other.__dict__
211
+
212
+ def __ne__(self, other):
213
+ """Returns true if both objects are not equal"""
214
+ return not self == other