upstox-python-sdk 2.24.0__tar.gz → 2.26.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 (341) hide show
  1. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/PKG-INFO +1 -1
  2. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/setup.py +1 -1
  3. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/__init__.py +8 -6
  4. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/user_api.py +236 -66
  5. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api_client.py +1 -1
  6. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/__init__.py +11 -9
  7. upstox_python_sdk-2.26.0/upstox_client/models/payment_history_data.py +318 -0
  8. upstox_python_sdk-2.26.0/upstox_client/models/payment_history_response.py +138 -0
  9. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_python_sdk.egg-info/PKG-INFO +1 -1
  10. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_python_sdk.egg-info/SOURCES.txt +2 -0
  11. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/LICENSE.txt +0 -0
  12. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/README.md +0 -0
  13. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/setup.cfg +0 -0
  14. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/__init__.py +0 -0
  15. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/sanity_test.py +0 -0
  16. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_analytics_data.py +0 -0
  17. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_api_gateway_error_response.py +0 -0
  18. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_batch_execution_summary.py +0 -0
  19. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_brokerage_data.py +0 -0
  20. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_brokerage_taxes.py +0 -0
  21. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_brokerage_wrapper_data.py +0 -0
  22. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_cancel_or_exit_multi_order_data.py +0 -0
  23. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_cancel_or_exit_multi_order_response.py +0 -0
  24. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_cancel_or_exit_order_error_data.py +0 -0
  25. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_cancel_order_data.py +0 -0
  26. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_cancel_order_response.py +0 -0
  27. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_cancel_order_v3_response.py +0 -0
  28. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_charge_api.py +0 -0
  29. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_convert_position_data.py +0 -0
  30. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_convert_position_request.py +0 -0
  31. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_convert_position_response.py +0 -0
  32. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_depth.py +0 -0
  33. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_depth_map.py +0 -0
  34. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_dp_plan.py +0 -0
  35. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_exchange_timing_data.py +0 -0
  36. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_brokerage_response.py +0 -0
  37. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_exchange_timing_response.py +0 -0
  38. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_full_market_quote_response.py +0 -0
  39. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_gtt_order_response.py +0 -0
  40. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_historical_candle_response.py +0 -0
  41. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_holdings_response.py +0 -0
  42. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_holiday_response.py +0 -0
  43. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_intra_day_candle_response.py +0 -0
  44. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_market_quote_last_traded_price_response.py +0 -0
  45. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_market_quote_ohlc_response.py +0 -0
  46. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_market_status_response.py +0 -0
  47. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_option_chain_response.py +0 -0
  48. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_option_contract_response.py +0 -0
  49. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_order_book_response.py +0 -0
  50. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_order_details_response.py +0 -0
  51. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_order_response.py +0 -0
  52. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_position_response.py +0 -0
  53. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_profile_response.py +0 -0
  54. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_profit_and_loss_charges_response.py +0 -0
  55. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_trade_response.py +0 -0
  56. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_trade_wise_profit_and_loss_data_response.py +0 -0
  57. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
  58. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_get_user_fund_margin_response.py +0 -0
  59. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_gtt_cancel_order_request.py +0 -0
  60. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_gtt_modify_order_request.py +0 -0
  61. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_gtt_order_data.py +0 -0
  62. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_gtt_order_details.py +0 -0
  63. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_gtt_place_order_request.py +0 -0
  64. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_gtt_rule.py +0 -0
  65. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_gtt_trigger_order_response.py +0 -0
  66. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_historical_candle_data.py +0 -0
  67. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_history_api.py +0 -0
  68. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_holdings_data.py +0 -0
  69. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_holiday_data.py +0 -0
  70. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_indie_user_init_token_data.py +0 -0
  71. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_indie_user_init_token_response.py +0 -0
  72. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_indie_user_token_request.py +0 -0
  73. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_instrument.py +0 -0
  74. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_instrument_data.py +0 -0
  75. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_intra_day_candle_data.py +0 -0
  76. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_login_api.py +0 -0
  77. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_logout_response.py +0 -0
  78. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_margin.py +0 -0
  79. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_margin_data.py +0 -0
  80. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_margin_request.py +0 -0
  81. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_market_data.py +0 -0
  82. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_market_holidays_and_timings_api.py +0 -0
  83. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_market_quote_api.py +0 -0
  84. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_market_quote_ohlc.py +0 -0
  85. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_market_quote_symbol.py +0 -0
  86. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_market_quote_symbol_ltp.py +0 -0
  87. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_market_status_data.py +0 -0
  88. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_modify_order_data.py +0 -0
  89. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_modify_order_request.py +0 -0
  90. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_modify_order_response.py +0 -0
  91. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_modify_order_v3_response.py +0 -0
  92. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_multi_order_data.py +0 -0
  93. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_multi_order_error.py +0 -0
  94. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_multi_order_request.py +0 -0
  95. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_multi_order_response.py +0 -0
  96. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_multi_order_summary.py +0 -0
  97. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_multi_order_v3_data.py +0 -0
  98. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_o_auth_client_exception.py +0 -0
  99. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_o_auth_client_exception_cause.py +0 -0
  100. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_o_auth_client_exception_cause_stack_trace.py +0 -0
  101. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_o_auth_client_exception_cause_suppressed.py +0 -0
  102. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_ohlc.py +0 -0
  103. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_option_strike_data.py +0 -0
  104. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_options_api.py +0 -0
  105. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_order_api.py +0 -0
  106. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_order_book_data.py +0 -0
  107. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_order_controller_v_3_api.py +0 -0
  108. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_order_data.py +0 -0
  109. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_order_metadata.py +0 -0
  110. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_other_taxes.py +0 -0
  111. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_place_order_data.py +0 -0
  112. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_place_order_request.py +0 -0
  113. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_place_order_response.py +0 -0
  114. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_place_order_v3_request.py +0 -0
  115. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_place_order_v3_response.py +0 -0
  116. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_portfolio_api.py +0 -0
  117. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_position_data.py +0 -0
  118. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_post_margin_response.py +0 -0
  119. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_post_trade_api.py +0 -0
  120. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_problem.py +0 -0
  121. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_profile_data.py +0 -0
  122. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_profit_and_loss_charges_data.py +0 -0
  123. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_profit_and_loss_charges_taxes.py +0 -0
  124. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_profit_and_loss_charges_wrapper_data.py +0 -0
  125. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_profit_and_loss_meta_data.py +0 -0
  126. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_profit_and_loss_meta_data_wrapper.py +0 -0
  127. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_profit_and_loss_other_charges_taxes.py +0 -0
  128. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_put_call_option_chain_data.py +0 -0
  129. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_rule.py +0 -0
  130. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_token_request.py +0 -0
  131. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_token_response.py +0 -0
  132. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_trade_data.py +0 -0
  133. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_trade_history_response.py +0 -0
  134. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_trade_history_response_meta_data.py +0 -0
  135. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_trade_history_response_page_data.py +0 -0
  136. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_trade_history_response_trade_data.py +0 -0
  137. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_trade_profit_and_loss_api.py +0 -0
  138. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_trade_wise_meta_data.py +0 -0
  139. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_trade_wise_profit_and_loss_data.py +0 -0
  140. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_user_api.py +0 -0
  141. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_user_fund_margin_data.py +0 -0
  142. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_websocket_api.py +0 -0
  143. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_websocket_auth_redirect_response.py +0 -0
  144. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/test/test_websocket_auth_redirect_response_data.py +0 -0
  145. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/__init__.py +0 -0
  146. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/charge_api.py +0 -0
  147. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/expired_instrument_api.py +0 -0
  148. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/history_api.py +0 -0
  149. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/history_v3_api.py +0 -0
  150. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/instruments_api.py +0 -0
  151. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/login_api.py +0 -0
  152. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/market_holidays_and_timings_api.py +0 -0
  153. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/market_quote_api.py +0 -0
  154. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/market_quote_v3_api.py +0 -0
  155. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/mutual_fund_api.py +0 -0
  156. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/news_api.py +0 -0
  157. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/options_api.py +0 -0
  158. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/order_api.py +0 -0
  159. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/order_controller_v_3_api.py +0 -0
  160. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/portfolio_api.py +0 -0
  161. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/post_trade_api.py +0 -0
  162. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/trade_profit_and_loss_api.py +0 -0
  163. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/api/websocket_api.py +0 -0
  164. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/configuration.py +0 -0
  165. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/feeder/__init__.py +0 -0
  166. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/feeder/feeder.py +0 -0
  167. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/feeder/market_data_feeder_v3.py +0 -0
  168. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/feeder/market_data_streamer_v3.py +0 -0
  169. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/feeder/portfolio_data_feeder.py +0 -0
  170. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/feeder/portfolio_data_streamer.py +0 -0
  171. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/feeder/proto/MarketDataFeedV3_pb2.py +0 -0
  172. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/feeder/proto/__init__.py +0 -0
  173. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/feeder/streamer.py +0 -0
  174. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/analytics_data.py +0 -0
  175. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/api_gateway_error_response.py +0 -0
  176. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/available_to_trade.py +0 -0
  177. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/batch_execution_summary.py +0 -0
  178. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/brokerage_data.py +0 -0
  179. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/brokerage_taxes.py +0 -0
  180. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/brokerage_wrapper_data.py +0 -0
  181. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/cancel_or_exit_multi_order_data.py +0 -0
  182. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/cancel_or_exit_multi_order_response.py +0 -0
  183. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/cancel_or_exit_order_error_data.py +0 -0
  184. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/cancel_order_data.py +0 -0
  185. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/cancel_order_response.py +0 -0
  186. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/cancel_order_v3_response.py +0 -0
  187. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/cash_available_to_trade.py +0 -0
  188. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/cash_breakdown.py +0 -0
  189. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/cash_margin_used.py +0 -0
  190. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/cash_unavailable_to_trade.py +0 -0
  191. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/convert_position_data.py +0 -0
  192. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/convert_position_request.py +0 -0
  193. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/convert_position_response.py +0 -0
  194. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/delivery_margin.py +0 -0
  195. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/depth.py +0 -0
  196. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/depth_map.py +0 -0
  197. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/dp_plan.py +0 -0
  198. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/exchange_timing_data.py +0 -0
  199. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/expired_future_data.py +0 -0
  200. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/family_member_data.py +0 -0
  201. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_brokerage_response.py +0 -0
  202. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_exchange_timing_response.py +0 -0
  203. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_expired_futures_contract_response.py +0 -0
  204. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_expiries.py +0 -0
  205. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_full_market_quote_response.py +0 -0
  206. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_gtt_order_response.py +0 -0
  207. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_historical_candle_response.py +0 -0
  208. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_holdings_response.py +0 -0
  209. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_holiday_response.py +0 -0
  210. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_intra_day_candle_response.py +0 -0
  211. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_market_quote_last_traded_price_response.py +0 -0
  212. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_market_quote_last_traded_price_response_v3.py +0 -0
  213. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_market_quote_ohlc_response.py +0 -0
  214. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_market_quote_ohlc_response_v3.py +0 -0
  215. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_market_quote_option_greek_response_v3.py +0 -0
  216. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_market_status_response.py +0 -0
  217. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_mutual_fund_holdings_response.py +0 -0
  218. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_mutual_fund_order_details_response.py +0 -0
  219. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_mutual_fund_orders_response.py +0 -0
  220. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_mutual_fund_sips_response.py +0 -0
  221. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_news_response.py +0 -0
  222. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_option_chain_response.py +0 -0
  223. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_option_contract_response.py +0 -0
  224. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_order_book_response.py +0 -0
  225. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_order_details_response.py +0 -0
  226. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_order_response.py +0 -0
  227. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_position_response.py +0 -0
  228. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_profile_response.py +0 -0
  229. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_profit_and_loss_charges_response.py +0 -0
  230. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_trade_response.py +0 -0
  231. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_trade_wise_profit_and_loss_data_response.py +0 -0
  232. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
  233. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_user_fund_margin_response.py +0 -0
  234. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/get_user_fund_margin_v3_response.py +0 -0
  235. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/gtt_cancel_order_request.py +0 -0
  236. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/gtt_modify_order_request.py +0 -0
  237. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/gtt_order_data.py +0 -0
  238. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/gtt_order_details.py +0 -0
  239. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/gtt_place_order_request.py +0 -0
  240. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/gtt_rule.py +0 -0
  241. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/gtt_trigger_order_response.py +0 -0
  242. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/historical_candle_data.py +0 -0
  243. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/holdings_data.py +0 -0
  244. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/holiday_data.py +0 -0
  245. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/indie_user_init_token_data.py +0 -0
  246. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/indie_user_init_token_response.py +0 -0
  247. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/indie_user_token_request.py +0 -0
  248. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/instrument.py +0 -0
  249. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/instrument_data.py +0 -0
  250. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/intra_day_candle_data.py +0 -0
  251. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/kill_switch_response.py +0 -0
  252. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/kill_switch_segment_data.py +0 -0
  253. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/kill_switch_segment_update_request.py +0 -0
  254. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/logout_response.py +0 -0
  255. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/loss.py +0 -0
  256. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/margin.py +0 -0
  257. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/margin_data.py +0 -0
  258. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/margin_from_pledge.py +0 -0
  259. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/margin_request.py +0 -0
  260. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/market_data.py +0 -0
  261. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/market_quote_ohlc.py +0 -0
  262. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/market_quote_ohlcv3.py +0 -0
  263. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/market_quote_option_greek_v3.py +0 -0
  264. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/market_quote_symbol.py +0 -0
  265. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/market_quote_symbol_ltp.py +0 -0
  266. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/market_quote_symbol_ltp_v3.py +0 -0
  267. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/market_status_data.py +0 -0
  268. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/modify_order_data.py +0 -0
  269. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/modify_order_request.py +0 -0
  270. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/modify_order_response.py +0 -0
  271. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/modify_order_v3_response.py +0 -0
  272. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/multi_order_data.py +0 -0
  273. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/multi_order_error.py +0 -0
  274. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/multi_order_request.py +0 -0
  275. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/multi_order_response.py +0 -0
  276. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/multi_order_summary.py +0 -0
  277. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/multi_order_v3_data.py +0 -0
  278. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/mutual_fund_holding_data.py +0 -0
  279. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/mutual_fund_meta_data.py +0 -0
  280. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/mutual_fund_order_data.py +0 -0
  281. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/mutual_fund_sip_data.py +0 -0
  282. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/news_item_data.py +0 -0
  283. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/news_response_meta_data.py +0 -0
  284. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/news_response_page_data.py +0 -0
  285. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/o_auth_client_exception.py +0 -0
  286. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/o_auth_client_exception_cause.py +0 -0
  287. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/o_auth_client_exception_cause_stack_trace.py +0 -0
  288. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/o_auth_client_exception_cause_suppressed.py +0 -0
  289. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/ohlc.py +0 -0
  290. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/ohlc_v3.py +0 -0
  291. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/option_strike_data.py +0 -0
  292. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/order_book_data.py +0 -0
  293. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/order_data.py +0 -0
  294. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/order_metadata.py +0 -0
  295. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/other_taxes.py +0 -0
  296. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/pagination.py +0 -0
  297. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/place_order_data.py +0 -0
  298. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/place_order_request.py +0 -0
  299. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/place_order_response.py +0 -0
  300. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/place_order_v3_request.py +0 -0
  301. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/place_order_v3_response.py +0 -0
  302. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/pledge_available_to_trade.py +0 -0
  303. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/pledge_margin_used.py +0 -0
  304. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/pledge_unavailable_to_trade.py +0 -0
  305. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/position_data.py +0 -0
  306. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/post_margin_response.py +0 -0
  307. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/problem.py +0 -0
  308. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/profile_data.py +0 -0
  309. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/profit_and_loss_charges_data.py +0 -0
  310. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/profit_and_loss_charges_taxes.py +0 -0
  311. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/profit_and_loss_charges_wrapper_data.py +0 -0
  312. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/profit_and_loss_meta_data.py +0 -0
  313. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/profit_and_loss_meta_data_wrapper.py +0 -0
  314. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/profit_and_loss_other_charges_taxes.py +0 -0
  315. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/put_call_option_chain_data.py +0 -0
  316. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/rule.py +0 -0
  317. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/search_instrument_response.py +0 -0
  318. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/search_meta_data.py +0 -0
  319. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/search_page.py +0 -0
  320. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/token_request.py +0 -0
  321. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/token_response.py +0 -0
  322. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/trade_data.py +0 -0
  323. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/trade_history_response.py +0 -0
  324. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/trade_history_response_meta_data.py +0 -0
  325. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/trade_history_response_page_data.py +0 -0
  326. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/trade_history_response_trade_data.py +0 -0
  327. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/trade_wise_meta_data.py +0 -0
  328. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/trade_wise_profit_and_loss_data.py +0 -0
  329. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/unavailable_to_trade.py +0 -0
  330. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/unsettled_profit.py +0 -0
  331. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/update_user_ip_request.py +0 -0
  332. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/user_fund_margin_data.py +0 -0
  333. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/user_fund_margin_v3_data.py +0 -0
  334. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/user_ip_response.py +0 -0
  335. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/user_ip_response_data.py +0 -0
  336. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/websocket_auth_redirect_response.py +0 -0
  337. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/models/websocket_auth_redirect_response_data.py +0 -0
  338. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_client/rest.py +0 -0
  339. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_python_sdk.egg-info/dependency_links.txt +0 -0
  340. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_python_sdk.egg-info/requires.txt +0 -0
  341. {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.26.0}/upstox_python_sdk.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: upstox-python-sdk
3
- Version: 2.24.0
3
+ Version: 2.26.0
4
4
  Summary: Upstox Developer API
5
5
  Home-page: https://github.com/upstox/upstox-python
6
6
  License: MIT
@@ -18,7 +18,7 @@ this_directory = Path(__file__).parent
18
18
  long_description = (this_directory / "README.md").read_text()
19
19
 
20
20
  NAME = "upstox-python-sdk"
21
- VERSION = "2.24.0"
21
+ VERSION = "2.26.0"
22
22
  # To install the library, run the following
23
23
  #
24
24
  # python setup.py install
@@ -3,12 +3,12 @@
3
3
  # flake8: noqa
4
4
 
5
5
  """
6
- Upstox Developer API
6
+ OpenAPI definition
7
7
 
8
- Build your App on the Upstox platform ![Banner](https://api.upstox.com/api-docs/images/banner.jpg "banner") # Introduction 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. All requests are over HTTPS and the requests are sent with the content-type 'application/json'. Developers have the option of choosing the response type as JSON or CSV for a few API calls. To be able to use these APIs you need to create an App in the Developer Console and generate your **apiKey** and **apiSecret**. You can use a redirect URL which will be called after the login flow. If you are a **trader**, you can directly create apps from Upstox mobile app or the desktop platform itself from **Apps** sections inside the **Account** Tab. Head over to <a href="http://account.upstox.com/developer/apps" target="_blank">account.upstox.com/developer/apps</a>.</br> If you are a **business** looking to integrate Upstox APIs, reach out to us and we will get a custom app created for you in no time. It is highly recommended that you do not embed the **apiSecret** in your frontend app. Create a remote backend which does the handshake on behalf of the frontend app. Marking the apiSecret in the frontend app will make your app vulnerable to threats and potential issues. # noqa: E501
9
-
10
- OpenAPI spec version: v2
8
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
11
9
 
10
+ OpenAPI spec version: v0
11
+
12
12
  Generated by: https://github.com/swagger-api/swagger-codegen.git
13
13
  """
14
14
 
@@ -52,12 +52,12 @@ from upstox_client.models.cancel_or_exit_multi_order_data import CancelOrExitMul
52
52
  from upstox_client.models.cancel_or_exit_multi_order_response import CancelOrExitMultiOrderResponse
53
53
  from upstox_client.models.cancel_or_exit_order_error_data import CancelOrExitOrderErrorData
54
54
  from upstox_client.models.cancel_order_data import CancelOrderData
55
+ from upstox_client.models.cancel_order_response import CancelOrderResponse
56
+ from upstox_client.models.cancel_order_v3_response import CancelOrderV3Response
55
57
  from upstox_client.models.cash_available_to_trade import CashAvailableToTrade
56
58
  from upstox_client.models.cash_breakdown import CashBreakdown
57
59
  from upstox_client.models.cash_margin_used import CashMarginUsed
58
60
  from upstox_client.models.cash_unavailable_to_trade import CashUnavailableToTrade
59
- from upstox_client.models.cancel_order_response import CancelOrderResponse
60
- from upstox_client.models.cancel_order_v3_response import CancelOrderV3Response
61
61
  from upstox_client.models.convert_position_data import ConvertPositionData
62
62
  from upstox_client.models.convert_position_request import ConvertPositionRequest
63
63
  from upstox_client.models.convert_position_response import ConvertPositionResponse
@@ -167,6 +167,8 @@ from upstox_client.models.order_data import OrderData
167
167
  from upstox_client.models.order_metadata import OrderMetadata
168
168
  from upstox_client.models.other_taxes import OtherTaxes
169
169
  from upstox_client.models.pagination import Pagination
170
+ from upstox_client.models.payment_history_data import PaymentHistoryData
171
+ from upstox_client.models.payment_history_response import PaymentHistoryResponse
170
172
  from upstox_client.models.place_order_data import PlaceOrderData
171
173
  from upstox_client.models.place_order_request import PlaceOrderRequest
172
174
  from upstox_client.models.place_order_response import PlaceOrderResponse
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- Upstox Developer API
4
+ OpenAPI definition
5
5
 
6
- Build your App on the Upstox platform ![Banner](https://api.upstox.com/api-docs/images/banner.jpg \"banner\") # Introduction 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. All requests are over HTTPS and the requests are sent with the content-type ‘application/json’. Developers have the option of choosing the response type as JSON or CSV for a few API calls. To be able to use these APIs you need to create an App in the Developer Console and generate your **apiKey** and **apiSecret**. You can use a redirect URL which will be called after the login flow. If you are a **trader**, you can directly create apps from Upstox mobile app or the desktop platform itself from **Apps** sections inside the **Account** Tab. Head over to <a href=\"http://account.upstox.com/developer/apps\" target=\"_blank\">account.upstox.com/developer/apps</a>.</br> If you are a **business** looking to integrate Upstox APIs, reach out to us and we will get a custom app created for you in no time. It is highly recommended that you do not embed the **apiSecret** in your frontend app. Create a remote backend which does the handshake on behalf of the frontend app. Marking the apiSecret in the frontend app will make your app vulnerable to threats and potential issues. # noqa: E501
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
7
 
8
- OpenAPI spec version: v2
8
+ OpenAPI spec version: v0
9
9
 
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
  """
@@ -32,45 +32,43 @@ class UserApi(object):
32
32
  api_client = ApiClient()
33
33
  self.api_client = api_client
34
34
 
35
- def get_profile(self, api_version, **kwargs): # noqa: E501
36
- """Get profile # noqa: E501
35
+ def get_kill_switch(self, **kwargs): # noqa: E501
36
+ """Get kill switch status # noqa: E501
37
37
 
38
- This API allows to fetch the complete information of the user who is logged in including the products, order types and exchanges enabled for the user # noqa: E501
38
+ Returns the disable/enable status of all trading segments for the user. # noqa: E501
39
39
  This method makes a synchronous HTTP request by default. To make an
40
40
  asynchronous HTTP request, please pass async_req=True
41
- >>> thread = api.get_profile(api_version, async_req=True)
41
+ >>> thread = api.get_kill_switch(async_req=True)
42
42
  >>> result = thread.get()
43
43
 
44
44
  :param async_req bool
45
- :param str api_version: API Version Header (required)
46
- :return: GetProfileResponse
45
+ :return: KillSwitchResponse
47
46
  If the method is called asynchronously,
48
47
  returns the request thread.
49
48
  """
50
49
  kwargs['_return_http_data_only'] = True
51
50
  if kwargs.get('async_req'):
52
- return self.get_profile_with_http_info(api_version, **kwargs) # noqa: E501
51
+ return self.get_kill_switch_with_http_info(**kwargs) # noqa: E501
53
52
  else:
54
- (data) = self.get_profile_with_http_info(api_version, **kwargs) # noqa: E501
53
+ (data) = self.get_kill_switch_with_http_info(**kwargs) # noqa: E501
55
54
  return data
56
55
 
57
- def get_profile_with_http_info(self, api_version, **kwargs): # noqa: E501
58
- """Get profile # noqa: E501
56
+ def get_kill_switch_with_http_info(self, **kwargs): # noqa: E501
57
+ """Get kill switch status # noqa: E501
59
58
 
60
- This API allows to fetch the complete information of the user who is logged in including the products, order types and exchanges enabled for the user # noqa: E501
59
+ Returns the disable/enable status of all trading segments for the user. # noqa: E501
61
60
  This method makes a synchronous HTTP request by default. To make an
62
61
  asynchronous HTTP request, please pass async_req=True
63
- >>> thread = api.get_profile_with_http_info(api_version, async_req=True)
62
+ >>> thread = api.get_kill_switch_with_http_info(async_req=True)
64
63
  >>> result = thread.get()
65
64
 
66
65
  :param async_req bool
67
- :param str api_version: API Version Header (required)
68
- :return: GetProfileResponse
66
+ :return: KillSwitchResponse
69
67
  If the method is called asynchronously,
70
68
  returns the request thread.
71
69
  """
72
70
 
73
- all_params = ['api_version'] # noqa: E501
71
+ all_params = [] # noqa: E501
74
72
  all_params.append('async_req')
75
73
  all_params.append('_return_http_data_only')
76
74
  all_params.append('_preload_content')
@@ -81,14 +79,10 @@ class UserApi(object):
81
79
  if key not in all_params:
82
80
  raise TypeError(
83
81
  "Got an unexpected keyword argument '%s'"
84
- " to method get_profile" % key
82
+ " to method get_kill_switch" % key
85
83
  )
86
84
  params[key] = val
87
85
  del params['kwargs']
88
- # verify the required parameter 'api_version' is set
89
- if ('api_version' not in params or
90
- params['api_version'] is None):
91
- raise ValueError("Missing the required parameter `api_version` when calling `get_profile`") # noqa: E501
92
86
 
93
87
  collection_formats = {}
94
88
 
@@ -97,8 +91,6 @@ class UserApi(object):
97
91
  query_params = []
98
92
 
99
93
  header_params = {}
100
- if 'api_version' in params:
101
- header_params['Api-Version'] = params['api_version'] # noqa: E501
102
94
 
103
95
  form_params = []
104
96
  local_var_files = {}
@@ -112,14 +104,14 @@ class UserApi(object):
112
104
  auth_settings = ['OAUTH2'] # noqa: E501
113
105
 
114
106
  return self.api_client.call_api(
115
- '/v2/user/profile', 'GET',
107
+ '/v2/user/kill-switch', 'GET',
116
108
  path_params,
117
109
  query_params,
118
110
  header_params,
119
111
  body=body_params,
120
112
  post_params=form_params,
121
113
  files=local_var_files,
122
- response_type='GetProfileResponse', # noqa: E501
114
+ response_type='KillSwitchResponse', # noqa: E501
123
115
  auth_settings=auth_settings,
124
116
  async_req=params.get('async_req'),
125
117
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -127,47 +119,215 @@ class UserApi(object):
127
119
  _request_timeout=params.get('_request_timeout'),
128
120
  collection_formats=collection_formats)
129
121
 
130
- def get_user_fund_margin(self, api_version, **kwargs): # noqa: E501
131
- """Get User Fund And Margin # noqa: E501
122
+ def get_payin_history(self, **kwargs): # noqa: E501
123
+ """get_payin_history # noqa: E501
132
124
 
133
- Shows the balance of the user in equity and commodity market. # noqa: E501
134
125
  This method makes a synchronous HTTP request by default. To make an
135
126
  asynchronous HTTP request, please pass async_req=True
136
- >>> thread = api.get_user_fund_margin(api_version, async_req=True)
127
+ >>> thread = api.get_payin_history(async_req=True)
128
+ >>> result = thread.get()
129
+
130
+ :param async_req bool
131
+ :return: PaymentHistoryResponse
132
+ If the method is called asynchronously,
133
+ returns the request thread.
134
+ """
135
+ kwargs['_return_http_data_only'] = True
136
+ if kwargs.get('async_req'):
137
+ return self.get_payin_history_with_http_info(**kwargs) # noqa: E501
138
+ else:
139
+ (data) = self.get_payin_history_with_http_info(**kwargs) # noqa: E501
140
+ return data
141
+
142
+ def get_payin_history_with_http_info(self, **kwargs): # noqa: E501
143
+ """get_payin_history # noqa: E501
144
+
145
+ This method makes a synchronous HTTP request by default. To make an
146
+ asynchronous HTTP request, please pass async_req=True
147
+ >>> thread = api.get_payin_history_with_http_info(async_req=True)
148
+ >>> result = thread.get()
149
+
150
+ :param async_req bool
151
+ :return: PaymentHistoryResponse
152
+ If the method is called asynchronously,
153
+ returns the request thread.
154
+ """
155
+
156
+ all_params = [] # noqa: E501
157
+ all_params.append('async_req')
158
+ all_params.append('_return_http_data_only')
159
+ all_params.append('_preload_content')
160
+ all_params.append('_request_timeout')
161
+
162
+ params = locals()
163
+ for key, val in six.iteritems(params['kwargs']):
164
+ if key not in all_params:
165
+ raise TypeError(
166
+ "Got an unexpected keyword argument '%s'"
167
+ " to method get_payin_history" % key
168
+ )
169
+ params[key] = val
170
+ del params['kwargs']
171
+
172
+ collection_formats = {}
173
+
174
+ path_params = {}
175
+
176
+ query_params = []
177
+
178
+ header_params = {}
179
+
180
+ form_params = []
181
+ local_var_files = {}
182
+
183
+ body_params = None
184
+ # HTTP header `Accept`
185
+ header_params['Accept'] = self.api_client.select_header_accept(
186
+ ['*/*']) # noqa: E501
187
+
188
+ # Authentication setting
189
+ auth_settings = ['OAUTH2'] # noqa: E501
190
+
191
+ return self.api_client.call_api(
192
+ '/v2/user/payments/payin', 'GET',
193
+ path_params,
194
+ query_params,
195
+ header_params,
196
+ body=body_params,
197
+ post_params=form_params,
198
+ files=local_var_files,
199
+ response_type='PaymentHistoryResponse', # noqa: E501
200
+ auth_settings=auth_settings,
201
+ async_req=params.get('async_req'),
202
+ _return_http_data_only=params.get('_return_http_data_only'),
203
+ _preload_content=params.get('_preload_content', True),
204
+ _request_timeout=params.get('_request_timeout'),
205
+ collection_formats=collection_formats)
206
+
207
+ def get_payout_history(self, **kwargs): # noqa: E501
208
+ """get_payout_history # noqa: E501
209
+
210
+ This method makes a synchronous HTTP request by default. To make an
211
+ asynchronous HTTP request, please pass async_req=True
212
+ >>> thread = api.get_payout_history(async_req=True)
213
+ >>> result = thread.get()
214
+
215
+ :param async_req bool
216
+ :return: PaymentHistoryResponse
217
+ If the method is called asynchronously,
218
+ returns the request thread.
219
+ """
220
+ kwargs['_return_http_data_only'] = True
221
+ if kwargs.get('async_req'):
222
+ return self.get_payout_history_with_http_info(**kwargs) # noqa: E501
223
+ else:
224
+ (data) = self.get_payout_history_with_http_info(**kwargs) # noqa: E501
225
+ return data
226
+
227
+ def get_payout_history_with_http_info(self, **kwargs): # noqa: E501
228
+ """get_payout_history # noqa: E501
229
+
230
+ This method makes a synchronous HTTP request by default. To make an
231
+ asynchronous HTTP request, please pass async_req=True
232
+ >>> thread = api.get_payout_history_with_http_info(async_req=True)
233
+ >>> result = thread.get()
234
+
235
+ :param async_req bool
236
+ :return: PaymentHistoryResponse
237
+ If the method is called asynchronously,
238
+ returns the request thread.
239
+ """
240
+
241
+ all_params = [] # noqa: E501
242
+ all_params.append('async_req')
243
+ all_params.append('_return_http_data_only')
244
+ all_params.append('_preload_content')
245
+ all_params.append('_request_timeout')
246
+
247
+ params = locals()
248
+ for key, val in six.iteritems(params['kwargs']):
249
+ if key not in all_params:
250
+ raise TypeError(
251
+ "Got an unexpected keyword argument '%s'"
252
+ " to method get_payout_history" % key
253
+ )
254
+ params[key] = val
255
+ del params['kwargs']
256
+
257
+ collection_formats = {}
258
+
259
+ path_params = {}
260
+
261
+ query_params = []
262
+
263
+ header_params = {}
264
+
265
+ form_params = []
266
+ local_var_files = {}
267
+
268
+ body_params = None
269
+ # HTTP header `Accept`
270
+ header_params['Accept'] = self.api_client.select_header_accept(
271
+ ['*/*']) # noqa: E501
272
+
273
+ # Authentication setting
274
+ auth_settings = ['OAUTH2'] # noqa: E501
275
+
276
+ return self.api_client.call_api(
277
+ '/v2/user/payments/payout', 'GET',
278
+ path_params,
279
+ query_params,
280
+ header_params,
281
+ body=body_params,
282
+ post_params=form_params,
283
+ files=local_var_files,
284
+ response_type='PaymentHistoryResponse', # noqa: E501
285
+ auth_settings=auth_settings,
286
+ async_req=params.get('async_req'),
287
+ _return_http_data_only=params.get('_return_http_data_only'),
288
+ _preload_content=params.get('_preload_content', True),
289
+ _request_timeout=params.get('_request_timeout'),
290
+ collection_formats=collection_formats)
291
+
292
+ def get_profile(self, api_version, **kwargs): # noqa: E501
293
+ """Get profile # noqa: E501
294
+
295
+ This API allows to fetch the complete information of the user who is logged in including the products, order types and exchanges enabled for the user # noqa: E501
296
+ This method makes a synchronous HTTP request by default. To make an
297
+ asynchronous HTTP request, please pass async_req=True
298
+ >>> thread = api.get_profile(api_version, async_req=True)
137
299
  >>> result = thread.get()
138
300
 
139
301
  :param async_req bool
140
302
  :param str api_version: API Version Header (required)
141
- :param str segment:
142
- :return: GetUserFundMarginResponse
303
+ :return: GetProfileResponse
143
304
  If the method is called asynchronously,
144
305
  returns the request thread.
145
306
  """
146
307
  kwargs['_return_http_data_only'] = True
147
308
  if kwargs.get('async_req'):
148
- return self.get_user_fund_margin_with_http_info(api_version, **kwargs) # noqa: E501
309
+ return self.get_profile_with_http_info(api_version, **kwargs) # noqa: E501
149
310
  else:
150
- (data) = self.get_user_fund_margin_with_http_info(api_version, **kwargs) # noqa: E501
311
+ (data) = self.get_profile_with_http_info(api_version, **kwargs) # noqa: E501
151
312
  return data
152
313
 
153
- def get_user_fund_margin_with_http_info(self, api_version, **kwargs): # noqa: E501
154
- """Get User Fund And Margin # noqa: E501
314
+ def get_profile_with_http_info(self, api_version, **kwargs): # noqa: E501
315
+ """Get profile # noqa: E501
155
316
 
156
- Shows the balance of the user in equity and commodity market. # noqa: E501
317
+ This API allows to fetch the complete information of the user who is logged in including the products, order types and exchanges enabled for the user # noqa: E501
157
318
  This method makes a synchronous HTTP request by default. To make an
158
319
  asynchronous HTTP request, please pass async_req=True
159
- >>> thread = api.get_user_fund_margin_with_http_info(api_version, async_req=True)
320
+ >>> thread = api.get_profile_with_http_info(api_version, async_req=True)
160
321
  >>> result = thread.get()
161
322
 
162
323
  :param async_req bool
163
324
  :param str api_version: API Version Header (required)
164
- :param str segment:
165
- :return: GetUserFundMarginResponse
325
+ :return: GetProfileResponse
166
326
  If the method is called asynchronously,
167
327
  returns the request thread.
168
328
  """
169
329
 
170
- all_params = ['api_version', 'segment'] # noqa: E501
330
+ all_params = ['api_version'] # noqa: E501
171
331
  all_params.append('async_req')
172
332
  all_params.append('_return_http_data_only')
173
333
  all_params.append('_preload_content')
@@ -178,22 +338,20 @@ class UserApi(object):
178
338
  if key not in all_params:
179
339
  raise TypeError(
180
340
  "Got an unexpected keyword argument '%s'"
181
- " to method get_user_fund_margin" % key
341
+ " to method get_profile" % key
182
342
  )
183
343
  params[key] = val
184
344
  del params['kwargs']
185
345
  # verify the required parameter 'api_version' is set
186
346
  if ('api_version' not in params or
187
347
  params['api_version'] is None):
188
- raise ValueError("Missing the required parameter `api_version` when calling `get_user_fund_margin`") # noqa: E501
348
+ raise ValueError("Missing the required parameter `api_version` when calling `get_profile`") # noqa: E501
189
349
 
190
350
  collection_formats = {}
191
351
 
192
352
  path_params = {}
193
353
 
194
354
  query_params = []
195
- if 'segment' in params:
196
- query_params.append(('segment', params['segment'])) # noqa: E501
197
355
 
198
356
  header_params = {}
199
357
  if 'api_version' in params:
@@ -205,20 +363,20 @@ class UserApi(object):
205
363
  body_params = None
206
364
  # HTTP header `Accept`
207
365
  header_params['Accept'] = self.api_client.select_header_accept(
208
- ['application/json', '*/*']) # noqa: E501
366
+ ['*/*', 'application/json']) # noqa: E501
209
367
 
210
368
  # Authentication setting
211
369
  auth_settings = ['OAUTH2'] # noqa: E501
212
370
 
213
371
  return self.api_client.call_api(
214
- '/v2/user/get-funds-and-margin', 'GET',
372
+ '/v2/user/profile', 'GET',
215
373
  path_params,
216
374
  query_params,
217
375
  header_params,
218
376
  body=body_params,
219
377
  post_params=form_params,
220
378
  files=local_var_files,
221
- response_type='GetUserFundMarginResponse', # noqa: E501
379
+ response_type='GetProfileResponse', # noqa: E501
222
380
  auth_settings=auth_settings,
223
381
  async_req=params.get('async_req'),
224
382
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -226,43 +384,47 @@ class UserApi(object):
226
384
  _request_timeout=params.get('_request_timeout'),
227
385
  collection_formats=collection_formats)
228
386
 
229
- def get_kill_switch(self, **kwargs): # noqa: E501
230
- """Get kill switch status # noqa: E501
387
+ def get_user_fund_margin(self, api_version, **kwargs): # noqa: E501
388
+ """Get User Fund And Margin # noqa: E501
231
389
 
232
- Returns the disable/enable status of all trading segments for the user. # noqa: E501
390
+ Shows the balance of the user in equity and commodity market. # noqa: E501
233
391
  This method makes a synchronous HTTP request by default. To make an
234
392
  asynchronous HTTP request, please pass async_req=True
235
- >>> thread = api.get_kill_switch(async_req=True)
393
+ >>> thread = api.get_user_fund_margin(api_version, async_req=True)
236
394
  >>> result = thread.get()
237
395
 
238
396
  :param async_req bool
239
- :return: KillSwitchResponse
397
+ :param str api_version: API Version Header (required)
398
+ :param str segment:
399
+ :return: GetUserFundMarginResponse
240
400
  If the method is called asynchronously,
241
401
  returns the request thread.
242
402
  """
243
403
  kwargs['_return_http_data_only'] = True
244
404
  if kwargs.get('async_req'):
245
- return self.get_kill_switch_with_http_info(**kwargs) # noqa: E501
405
+ return self.get_user_fund_margin_with_http_info(api_version, **kwargs) # noqa: E501
246
406
  else:
247
- (data) = self.get_kill_switch_with_http_info(**kwargs) # noqa: E501
407
+ (data) = self.get_user_fund_margin_with_http_info(api_version, **kwargs) # noqa: E501
248
408
  return data
249
409
 
250
- def get_kill_switch_with_http_info(self, **kwargs): # noqa: E501
251
- """Get kill switch status # noqa: E501
410
+ def get_user_fund_margin_with_http_info(self, api_version, **kwargs): # noqa: E501
411
+ """Get User Fund And Margin # noqa: E501
252
412
 
253
- Returns the disable/enable status of all trading segments for the user. # noqa: E501
413
+ Shows the balance of the user in equity and commodity market. # noqa: E501
254
414
  This method makes a synchronous HTTP request by default. To make an
255
415
  asynchronous HTTP request, please pass async_req=True
256
- >>> thread = api.get_kill_switch_with_http_info(async_req=True)
416
+ >>> thread = api.get_user_fund_margin_with_http_info(api_version, async_req=True)
257
417
  >>> result = thread.get()
258
418
 
259
419
  :param async_req bool
260
- :return: KillSwitchResponse
420
+ :param str api_version: API Version Header (required)
421
+ :param str segment:
422
+ :return: GetUserFundMarginResponse
261
423
  If the method is called asynchronously,
262
424
  returns the request thread.
263
425
  """
264
426
 
265
- all_params = [] # noqa: E501
427
+ all_params = ['api_version', 'segment'] # noqa: E501
266
428
  all_params.append('async_req')
267
429
  all_params.append('_return_http_data_only')
268
430
  all_params.append('_preload_content')
@@ -273,18 +435,26 @@ class UserApi(object):
273
435
  if key not in all_params:
274
436
  raise TypeError(
275
437
  "Got an unexpected keyword argument '%s'"
276
- " to method get_kill_switch" % key
438
+ " to method get_user_fund_margin" % key
277
439
  )
278
440
  params[key] = val
279
441
  del params['kwargs']
442
+ # verify the required parameter 'api_version' is set
443
+ if ('api_version' not in params or
444
+ params['api_version'] is None):
445
+ raise ValueError("Missing the required parameter `api_version` when calling `get_user_fund_margin`") # noqa: E501
280
446
 
281
447
  collection_formats = {}
282
448
 
283
449
  path_params = {}
284
450
 
285
451
  query_params = []
452
+ if 'segment' in params:
453
+ query_params.append(('segment', params['segment'])) # noqa: E501
286
454
 
287
455
  header_params = {}
456
+ if 'api_version' in params:
457
+ header_params['Api-Version'] = params['api_version'] # noqa: E501
288
458
 
289
459
  form_params = []
290
460
  local_var_files = {}
@@ -292,20 +462,20 @@ class UserApi(object):
292
462
  body_params = None
293
463
  # HTTP header `Accept`
294
464
  header_params['Accept'] = self.api_client.select_header_accept(
295
- ['*/*', 'application/json']) # noqa: E501
465
+ ['application/json', '*/*']) # noqa: E501
296
466
 
297
467
  # Authentication setting
298
468
  auth_settings = ['OAUTH2'] # noqa: E501
299
469
 
300
470
  return self.api_client.call_api(
301
- '/v2/user/kill-switch', 'GET',
471
+ '/v2/user/get-funds-and-margin', 'GET',
302
472
  path_params,
303
473
  query_params,
304
474
  header_params,
305
475
  body=body_params,
306
476
  post_params=form_params,
307
477
  files=local_var_files,
308
- response_type='KillSwitchResponse', # noqa: E501
478
+ response_type='GetUserFundMarginResponse', # noqa: E501
309
479
  auth_settings=auth_settings,
310
480
  async_req=params.get('async_req'),
311
481
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -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.24.0"
77
+ self.default_headers["X-Upstox-SDK-Version"] = "2.26.0"
78
78
 
79
79
  def __del__(self):
80
80
  try:
@@ -2,12 +2,12 @@
2
2
 
3
3
  # flake8: noqa
4
4
  """
5
- Upstox Developer API
5
+ OpenAPI definition
6
6
 
7
- Build your App on the Upstox platform ![Banner](https://api.upstox.com/api-docs/images/banner.jpg "banner") # Introduction 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. All requests are over HTTPS and the requests are sent with the content-type 'application/json'. Developers have the option of choosing the response type as JSON or CSV for a few API calls. To be able to use these APIs you need to create an App in the Developer Console and generate your **apiKey** and **apiSecret**. You can use a redirect URL which will be called after the login flow. If you are a **trader**, you can directly create apps from Upstox mobile app or the desktop platform itself from **Apps** sections inside the **Account** Tab. Head over to <a href="http://account.upstox.com/developer/apps" target="_blank">account.upstox.com/developer/apps</a>.</br> If you are a **business** looking to integrate Upstox APIs, reach out to us and we will get a custom app created for you in no time. It is highly recommended that you do not embed the **apiSecret** in your frontend app. Create a remote backend which does the handshake on behalf of the frontend app. Marking the apiSecret in the frontend app will make your app vulnerable to threats and potential issues. # noqa: E501
8
-
9
- OpenAPI spec version: v2
7
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
10
8
 
9
+ OpenAPI spec version: v0
10
+
11
11
  Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  """
13
13
 
@@ -25,12 +25,12 @@ from upstox_client.models.cancel_or_exit_multi_order_data import CancelOrExitMul
25
25
  from upstox_client.models.cancel_or_exit_multi_order_response import CancelOrExitMultiOrderResponse
26
26
  from upstox_client.models.cancel_or_exit_order_error_data import CancelOrExitOrderErrorData
27
27
  from upstox_client.models.cancel_order_data import CancelOrderData
28
+ from upstox_client.models.cancel_order_response import CancelOrderResponse
29
+ from upstox_client.models.cancel_order_v3_response import CancelOrderV3Response
28
30
  from upstox_client.models.cash_available_to_trade import CashAvailableToTrade
29
31
  from upstox_client.models.cash_breakdown import CashBreakdown
30
32
  from upstox_client.models.cash_margin_used import CashMarginUsed
31
33
  from upstox_client.models.cash_unavailable_to_trade import CashUnavailableToTrade
32
- from upstox_client.models.cancel_order_response import CancelOrderResponse
33
- from upstox_client.models.cancel_order_v3_response import CancelOrderV3Response
34
34
  from upstox_client.models.convert_position_data import ConvertPositionData
35
35
  from upstox_client.models.convert_position_request import ConvertPositionRequest
36
36
  from upstox_client.models.convert_position_response import ConvertPositionResponse
@@ -90,9 +90,6 @@ from upstox_client.models.indie_user_init_token_response import IndieUserInitTok
90
90
  from upstox_client.models.indie_user_token_request import IndieUserTokenRequest
91
91
  from upstox_client.models.instrument import Instrument
92
92
  from upstox_client.models.instrument_data import InstrumentData
93
- from upstox_client.models.search_instrument_response import SearchInstrumentResponse
94
- from upstox_client.models.search_meta_data import SearchMetaData
95
- from upstox_client.models.search_page import SearchPage
96
93
  from upstox_client.models.intra_day_candle_data import IntraDayCandleData
97
94
  from upstox_client.models.kill_switch_response import KillSwitchResponse
98
95
  from upstox_client.models.kill_switch_segment_data import KillSwitchSegmentData
@@ -140,6 +137,8 @@ from upstox_client.models.order_data import OrderData
140
137
  from upstox_client.models.order_metadata import OrderMetadata
141
138
  from upstox_client.models.other_taxes import OtherTaxes
142
139
  from upstox_client.models.pagination import Pagination
140
+ from upstox_client.models.payment_history_data import PaymentHistoryData
141
+ from upstox_client.models.payment_history_response import PaymentHistoryResponse
143
142
  from upstox_client.models.place_order_data import PlaceOrderData
144
143
  from upstox_client.models.place_order_request import PlaceOrderRequest
145
144
  from upstox_client.models.place_order_response import PlaceOrderResponse
@@ -160,6 +159,9 @@ from upstox_client.models.profit_and_loss_meta_data_wrapper import ProfitAndLoss
160
159
  from upstox_client.models.profit_and_loss_other_charges_taxes import ProfitAndLossOtherChargesTaxes
161
160
  from upstox_client.models.put_call_option_chain_data import PutCallOptionChainData
162
161
  from upstox_client.models.rule import Rule
162
+ from upstox_client.models.search_instrument_response import SearchInstrumentResponse
163
+ from upstox_client.models.search_meta_data import SearchMetaData
164
+ from upstox_client.models.search_page import SearchPage
163
165
  from upstox_client.models.token_request import TokenRequest
164
166
  from upstox_client.models.token_response import TokenResponse
165
167
  from upstox_client.models.trade_data import TradeData