upstox-python-sdk 2.14.0__tar.gz → 2.15.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 (376) hide show
  1. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/PKG-INFO +53 -10
  2. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/README.md +36 -5
  3. upstox_python_sdk-2.15.0/setup.py +44 -0
  4. upstox_python_sdk-2.15.0/test/test_api_gateway_error_response.py +39 -0
  5. upstox_python_sdk-2.15.0/test/test_brokerage_data.py +39 -0
  6. upstox_python_sdk-2.15.0/test/test_brokerage_taxes.py +39 -0
  7. upstox_python_sdk-2.15.0/test/test_brokerage_wrapper_data.py +39 -0
  8. upstox_python_sdk-2.15.0/test/test_cancel_order_data.py +39 -0
  9. upstox_python_sdk-2.15.0/test/test_cancel_order_response.py +39 -0
  10. upstox_python_sdk-2.15.0/test/test_charge_api.py +40 -0
  11. upstox_python_sdk-2.15.0/test/test_convert_position_data.py +39 -0
  12. upstox_python_sdk-2.15.0/test/test_convert_position_request.py +39 -0
  13. upstox_python_sdk-2.15.0/test/test_convert_position_response.py +39 -0
  14. upstox_python_sdk-2.15.0/test/test_depth.py +39 -0
  15. upstox_python_sdk-2.15.0/test/test_depth_map.py +39 -0
  16. upstox_python_sdk-2.15.0/test/test_dp_plan.py +39 -0
  17. upstox_python_sdk-2.15.0/test/test_get_brokerage_response.py +39 -0
  18. upstox_python_sdk-2.15.0/test/test_get_full_market_quote_response.py +39 -0
  19. upstox_python_sdk-2.15.0/test/test_get_historical_candle_response.py +39 -0
  20. upstox_python_sdk-2.15.0/test/test_get_holdings_response.py +39 -0
  21. upstox_python_sdk-2.15.0/test/test_get_intra_day_candle_response.py +39 -0
  22. upstox_python_sdk-2.15.0/test/test_get_market_quote_last_traded_price_response.py +39 -0
  23. upstox_python_sdk-2.15.0/test/test_get_market_quote_ohlc_response.py +39 -0
  24. upstox_python_sdk-2.15.0/test/test_get_order_book_response.py +39 -0
  25. upstox_python_sdk-2.15.0/test/test_get_order_response.py +39 -0
  26. upstox_python_sdk-2.15.0/test/test_get_position_response.py +39 -0
  27. upstox_python_sdk-2.15.0/test/test_get_profile_response.py +39 -0
  28. upstox_python_sdk-2.15.0/test/test_get_profit_and_loss_charges_response.py +39 -0
  29. upstox_python_sdk-2.15.0/test/test_get_trade_response.py +39 -0
  30. upstox_python_sdk-2.15.0/test/test_get_trade_wise_profit_and_loss_data_response.py +39 -0
  31. upstox_python_sdk-2.15.0/test/test_get_trade_wise_profit_and_loss_meta_data_response.py +39 -0
  32. upstox_python_sdk-2.15.0/test/test_get_user_fund_margin_response.py +39 -0
  33. upstox_python_sdk-2.15.0/test/test_historical_candle_data.py +39 -0
  34. upstox_python_sdk-2.15.0/test/test_history_api.py +54 -0
  35. upstox_python_sdk-2.15.0/test/test_holdings_data.py +39 -0
  36. upstox_python_sdk-2.15.0/test/test_intra_day_candle_data.py +39 -0
  37. upstox_python_sdk-2.15.0/test/test_login_api.py +54 -0
  38. upstox_python_sdk-2.15.0/test/test_logout_response.py +39 -0
  39. upstox_python_sdk-2.15.0/test/test_market_quote_api.py +54 -0
  40. upstox_python_sdk-2.15.0/test/test_market_quote_ohlc.py +39 -0
  41. upstox_python_sdk-2.15.0/test/test_market_quote_symbol.py +39 -0
  42. upstox_python_sdk-2.15.0/test/test_market_quote_symbol_ltp.py +39 -0
  43. upstox_python_sdk-2.15.0/test/test_modify_order_data.py +39 -0
  44. upstox_python_sdk-2.15.0/test/test_modify_order_request.py +39 -0
  45. upstox_python_sdk-2.15.0/test/test_modify_order_response.py +39 -0
  46. upstox_python_sdk-2.15.0/test/test_o_auth_client_exception.py +39 -0
  47. upstox_python_sdk-2.15.0/test/test_o_auth_client_exception_cause.py +39 -0
  48. upstox_python_sdk-2.15.0/test/test_o_auth_client_exception_cause_stack_trace.py +39 -0
  49. upstox_python_sdk-2.15.0/test/test_o_auth_client_exception_cause_suppressed.py +39 -0
  50. upstox_python_sdk-2.15.0/test/test_ohlc.py +39 -0
  51. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_order_api.py +1 -1
  52. upstox_python_sdk-2.15.0/test/test_order_book_data.py +39 -0
  53. upstox_python_sdk-2.15.0/test/test_order_data.py +39 -0
  54. upstox_python_sdk-2.15.0/test/test_other_taxes.py +39 -0
  55. upstox_python_sdk-2.15.0/test/test_place_order_data.py +39 -0
  56. upstox_python_sdk-2.15.0/test/test_place_order_request.py +39 -0
  57. upstox_python_sdk-2.15.0/test/test_place_order_response.py +39 -0
  58. upstox_python_sdk-2.15.0/test/test_portfolio_api.py +54 -0
  59. upstox_python_sdk-2.15.0/test/test_position_data.py +39 -0
  60. upstox_python_sdk-2.15.0/test/test_problem.py +39 -0
  61. upstox_python_sdk-2.15.0/test/test_profile_data.py +39 -0
  62. upstox_python_sdk-2.15.0/test/test_profit_and_loss_charges_data.py +39 -0
  63. upstox_python_sdk-2.15.0/test/test_profit_and_loss_charges_taxes.py +39 -0
  64. upstox_python_sdk-2.15.0/test/test_profit_and_loss_charges_wrapper_data.py +39 -0
  65. upstox_python_sdk-2.15.0/test/test_profit_and_loss_meta_data.py +39 -0
  66. upstox_python_sdk-2.15.0/test/test_profit_and_loss_meta_data_wrapper.py +39 -0
  67. upstox_python_sdk-2.15.0/test/test_profit_and_loss_other_charges_taxes.py +39 -0
  68. upstox_python_sdk-2.15.0/test/test_token_request.py +39 -0
  69. upstox_python_sdk-2.15.0/test/test_token_response.py +39 -0
  70. upstox_python_sdk-2.15.0/test/test_trade_data.py +39 -0
  71. upstox_python_sdk-2.15.0/test/test_trade_profit_and_loss_api.py +54 -0
  72. upstox_python_sdk-2.15.0/test/test_trade_wise_meta_data.py +39 -0
  73. upstox_python_sdk-2.15.0/test/test_trade_wise_profit_and_loss_data.py +39 -0
  74. upstox_python_sdk-2.15.0/test/test_user_api.py +47 -0
  75. upstox_python_sdk-2.15.0/test/test_user_fund_margin_data.py +39 -0
  76. upstox_python_sdk-2.15.0/test/test_websocket_api.py +61 -0
  77. upstox_python_sdk-2.15.0/test/test_websocket_auth_redirect_response.py +39 -0
  78. upstox_python_sdk-2.15.0/test/test_websocket_auth_redirect_response_data.py +39 -0
  79. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/__init__.py +14 -1
  80. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/api/__init__.py +6 -0
  81. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/api/charge_api.py +1 -1
  82. upstox_python_sdk-2.15.0/upstox_client/api/expired_instrument_api.py +453 -0
  83. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/api/history_api.py +1 -1
  84. upstox_python_sdk-2.15.0/upstox_client/api/history_v3_api.py +390 -0
  85. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/api/login_api.py +1 -1
  86. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/api/market_quote_api.py +1 -1
  87. upstox_python_sdk-2.15.0/upstox_client/api/market_quote_v3_api.py +314 -0
  88. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/api/order_api.py +1 -1
  89. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/api/portfolio_api.py +88 -1
  90. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/api/trade_profit_and_loss_api.py +1 -1
  91. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/api/user_api.py +1 -1
  92. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/api/websocket_api.py +1 -1
  93. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/api_client.py +2 -2
  94. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/configuration.py +1 -1
  95. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/feeder/market_data_feeder_v3.py +2 -1
  96. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/feeder/market_data_streamer_v3.py +4 -2
  97. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/__init__.py +11 -1
  98. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/api_gateway_error_response.py +1 -1
  99. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/brokerage_data.py +1 -1
  100. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/brokerage_taxes.py +1 -1
  101. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/brokerage_wrapper_data.py +1 -1
  102. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/cancel_order_data.py +1 -1
  103. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/cancel_order_response.py +1 -1
  104. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/convert_position_data.py +1 -1
  105. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/convert_position_request.py +1 -1
  106. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/convert_position_response.py +1 -1
  107. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/depth.py +1 -1
  108. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/depth_map.py +1 -1
  109. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/dp_plan.py +1 -1
  110. upstox_python_sdk-2.15.0/upstox_client/models/expired_future_data.py +504 -0
  111. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_brokerage_response.py +1 -1
  112. upstox_python_sdk-2.15.0/upstox_client/models/get_expired_futures_contract_response.py +142 -0
  113. upstox_python_sdk-2.15.0/upstox_client/models/get_expiries.py +142 -0
  114. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_full_market_quote_response.py +1 -1
  115. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_historical_candle_response.py +1 -1
  116. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_holdings_response.py +1 -1
  117. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_intra_day_candle_response.py +1 -1
  118. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_market_quote_last_traded_price_response.py +1 -1
  119. upstox_python_sdk-2.15.0/upstox_client/models/get_market_quote_last_traded_price_response_v3.py +142 -0
  120. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_market_quote_ohlc_response.py +1 -1
  121. upstox_python_sdk-2.15.0/upstox_client/models/get_market_quote_ohlc_response_v3.py +142 -0
  122. upstox_python_sdk-2.15.0/upstox_client/models/get_market_quote_option_greek_response_v3.py +142 -0
  123. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_order_book_response.py +1 -1
  124. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_order_response.py +1 -1
  125. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_position_response.py +1 -1
  126. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_profile_response.py +1 -1
  127. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_profit_and_loss_charges_response.py +1 -1
  128. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_trade_response.py +1 -1
  129. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_trade_wise_profit_and_loss_data_response.py +1 -1
  130. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_trade_wise_profit_and_loss_meta_data_response.py +1 -1
  131. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_user_fund_margin_response.py +1 -1
  132. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/historical_candle_data.py +1 -1
  133. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/holdings_data.py +1 -1
  134. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/intra_day_candle_data.py +1 -1
  135. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/logout_response.py +1 -1
  136. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/market_quote_ohlc.py +1 -1
  137. upstox_python_sdk-2.15.0/upstox_client/models/market_quote_ohlcv3.py +190 -0
  138. upstox_python_sdk-2.15.0/upstox_client/models/market_quote_option_greek_v3.py +370 -0
  139. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/market_quote_symbol.py +1 -1
  140. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/market_quote_symbol_ltp.py +1 -1
  141. upstox_python_sdk-2.15.0/upstox_client/models/market_quote_symbol_ltp_v3.py +214 -0
  142. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/modify_order_data.py +1 -1
  143. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/modify_order_request.py +1 -1
  144. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/modify_order_response.py +1 -1
  145. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/multi_order_request.py +1 -1
  146. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/o_auth_client_exception.py +1 -1
  147. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/o_auth_client_exception_cause.py +1 -1
  148. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/o_auth_client_exception_cause_stack_trace.py +1 -1
  149. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/o_auth_client_exception_cause_suppressed.py +1 -1
  150. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/ohlc.py +1 -1
  151. upstox_python_sdk-2.15.0/upstox_client/models/ohlc_v3.py +252 -0
  152. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/order_book_data.py +1 -1
  153. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/order_data.py +1 -1
  154. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/other_taxes.py +1 -1
  155. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/place_order_data.py +1 -1
  156. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/place_order_request.py +1 -1
  157. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/place_order_response.py +1 -1
  158. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/place_order_v3_request.py +1 -1
  159. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/position_data.py +1 -1
  160. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/problem.py +1 -1
  161. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/profile_data.py +1 -1
  162. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/profit_and_loss_charges_data.py +1 -1
  163. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/profit_and_loss_charges_taxes.py +1 -1
  164. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/profit_and_loss_charges_wrapper_data.py +1 -1
  165. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/profit_and_loss_meta_data.py +1 -1
  166. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/profit_and_loss_meta_data_wrapper.py +1 -1
  167. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/profit_and_loss_other_charges_taxes.py +1 -1
  168. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/token_request.py +1 -1
  169. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/token_response.py +1 -1
  170. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/trade_data.py +1 -1
  171. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/trade_wise_meta_data.py +1 -1
  172. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/trade_wise_profit_and_loss_data.py +1 -1
  173. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/user_fund_margin_data.py +1 -1
  174. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/websocket_auth_redirect_response.py +1 -1
  175. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/websocket_auth_redirect_response_data.py +1 -1
  176. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/rest.py +1 -1
  177. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_python_sdk.egg-info/PKG-INFO +53 -10
  178. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_python_sdk.egg-info/SOURCES.txt +13 -0
  179. upstox-python-sdk-2.14.0/setup.py +0 -44
  180. upstox-python-sdk-2.14.0/test/test_api_gateway_error_response.py +0 -39
  181. upstox-python-sdk-2.14.0/test/test_brokerage_data.py +0 -39
  182. upstox-python-sdk-2.14.0/test/test_brokerage_taxes.py +0 -39
  183. upstox-python-sdk-2.14.0/test/test_brokerage_wrapper_data.py +0 -39
  184. upstox-python-sdk-2.14.0/test/test_cancel_order_data.py +0 -39
  185. upstox-python-sdk-2.14.0/test/test_cancel_order_response.py +0 -39
  186. upstox-python-sdk-2.14.0/test/test_charge_api.py +0 -40
  187. upstox-python-sdk-2.14.0/test/test_convert_position_data.py +0 -39
  188. upstox-python-sdk-2.14.0/test/test_convert_position_request.py +0 -39
  189. upstox-python-sdk-2.14.0/test/test_convert_position_response.py +0 -39
  190. upstox-python-sdk-2.14.0/test/test_depth.py +0 -39
  191. upstox-python-sdk-2.14.0/test/test_depth_map.py +0 -39
  192. upstox-python-sdk-2.14.0/test/test_dp_plan.py +0 -39
  193. upstox-python-sdk-2.14.0/test/test_get_brokerage_response.py +0 -39
  194. upstox-python-sdk-2.14.0/test/test_get_full_market_quote_response.py +0 -39
  195. upstox-python-sdk-2.14.0/test/test_get_historical_candle_response.py +0 -39
  196. upstox-python-sdk-2.14.0/test/test_get_holdings_response.py +0 -39
  197. upstox-python-sdk-2.14.0/test/test_get_intra_day_candle_response.py +0 -39
  198. upstox-python-sdk-2.14.0/test/test_get_market_quote_last_traded_price_response.py +0 -39
  199. upstox-python-sdk-2.14.0/test/test_get_market_quote_ohlc_response.py +0 -39
  200. upstox-python-sdk-2.14.0/test/test_get_order_book_response.py +0 -39
  201. upstox-python-sdk-2.14.0/test/test_get_order_response.py +0 -39
  202. upstox-python-sdk-2.14.0/test/test_get_position_response.py +0 -39
  203. upstox-python-sdk-2.14.0/test/test_get_profile_response.py +0 -39
  204. upstox-python-sdk-2.14.0/test/test_get_profit_and_loss_charges_response.py +0 -39
  205. upstox-python-sdk-2.14.0/test/test_get_trade_response.py +0 -39
  206. upstox-python-sdk-2.14.0/test/test_get_trade_wise_profit_and_loss_data_response.py +0 -39
  207. upstox-python-sdk-2.14.0/test/test_get_trade_wise_profit_and_loss_meta_data_response.py +0 -39
  208. upstox-python-sdk-2.14.0/test/test_get_user_fund_margin_response.py +0 -39
  209. upstox-python-sdk-2.14.0/test/test_historical_candle_data.py +0 -39
  210. upstox-python-sdk-2.14.0/test/test_history_api.py +0 -54
  211. upstox-python-sdk-2.14.0/test/test_holdings_data.py +0 -39
  212. upstox-python-sdk-2.14.0/test/test_intra_day_candle_data.py +0 -39
  213. upstox-python-sdk-2.14.0/test/test_login_api.py +0 -54
  214. upstox-python-sdk-2.14.0/test/test_logout_response.py +0 -39
  215. upstox-python-sdk-2.14.0/test/test_market_quote_api.py +0 -54
  216. upstox-python-sdk-2.14.0/test/test_market_quote_ohlc.py +0 -39
  217. upstox-python-sdk-2.14.0/test/test_market_quote_symbol.py +0 -39
  218. upstox-python-sdk-2.14.0/test/test_market_quote_symbol_ltp.py +0 -39
  219. upstox-python-sdk-2.14.0/test/test_modify_order_data.py +0 -39
  220. upstox-python-sdk-2.14.0/test/test_modify_order_request.py +0 -39
  221. upstox-python-sdk-2.14.0/test/test_modify_order_response.py +0 -39
  222. upstox-python-sdk-2.14.0/test/test_o_auth_client_exception.py +0 -39
  223. upstox-python-sdk-2.14.0/test/test_o_auth_client_exception_cause.py +0 -39
  224. upstox-python-sdk-2.14.0/test/test_o_auth_client_exception_cause_stack_trace.py +0 -39
  225. upstox-python-sdk-2.14.0/test/test_o_auth_client_exception_cause_suppressed.py +0 -39
  226. upstox-python-sdk-2.14.0/test/test_ohlc.py +0 -39
  227. upstox-python-sdk-2.14.0/test/test_order_book_data.py +0 -39
  228. upstox-python-sdk-2.14.0/test/test_order_data.py +0 -39
  229. upstox-python-sdk-2.14.0/test/test_other_taxes.py +0 -39
  230. upstox-python-sdk-2.14.0/test/test_place_order_data.py +0 -39
  231. upstox-python-sdk-2.14.0/test/test_place_order_request.py +0 -39
  232. upstox-python-sdk-2.14.0/test/test_place_order_response.py +0 -39
  233. upstox-python-sdk-2.14.0/test/test_portfolio_api.py +0 -54
  234. upstox-python-sdk-2.14.0/test/test_position_data.py +0 -39
  235. upstox-python-sdk-2.14.0/test/test_problem.py +0 -39
  236. upstox-python-sdk-2.14.0/test/test_profile_data.py +0 -39
  237. upstox-python-sdk-2.14.0/test/test_profit_and_loss_charges_data.py +0 -39
  238. upstox-python-sdk-2.14.0/test/test_profit_and_loss_charges_taxes.py +0 -39
  239. upstox-python-sdk-2.14.0/test/test_profit_and_loss_charges_wrapper_data.py +0 -39
  240. upstox-python-sdk-2.14.0/test/test_profit_and_loss_meta_data.py +0 -39
  241. upstox-python-sdk-2.14.0/test/test_profit_and_loss_meta_data_wrapper.py +0 -39
  242. upstox-python-sdk-2.14.0/test/test_profit_and_loss_other_charges_taxes.py +0 -39
  243. upstox-python-sdk-2.14.0/test/test_token_request.py +0 -39
  244. upstox-python-sdk-2.14.0/test/test_token_response.py +0 -39
  245. upstox-python-sdk-2.14.0/test/test_trade_data.py +0 -39
  246. upstox-python-sdk-2.14.0/test/test_trade_profit_and_loss_api.py +0 -54
  247. upstox-python-sdk-2.14.0/test/test_trade_wise_meta_data.py +0 -39
  248. upstox-python-sdk-2.14.0/test/test_trade_wise_profit_and_loss_data.py +0 -39
  249. upstox-python-sdk-2.14.0/test/test_user_api.py +0 -47
  250. upstox-python-sdk-2.14.0/test/test_user_fund_margin_data.py +0 -39
  251. upstox-python-sdk-2.14.0/test/test_websocket_api.py +0 -61
  252. upstox-python-sdk-2.14.0/test/test_websocket_auth_redirect_response.py +0 -39
  253. upstox-python-sdk-2.14.0/test/test_websocket_auth_redirect_response_data.py +0 -39
  254. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/LICENSE.txt +0 -0
  255. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/setup.cfg +0 -0
  256. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/__init__.py +0 -0
  257. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/sanity_test.py +0 -0
  258. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_analytics_data.py +0 -0
  259. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_batch_execution_summary.py +0 -0
  260. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_cancel_or_exit_multi_order_data.py +0 -0
  261. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_cancel_or_exit_multi_order_response.py +0 -0
  262. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_cancel_or_exit_order_error_data.py +0 -0
  263. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_cancel_order_v3_response.py +0 -0
  264. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_exchange_timing_data.py +0 -0
  265. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_get_exchange_timing_response.py +0 -0
  266. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_get_gtt_order_response.py +0 -0
  267. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_get_holiday_response.py +0 -0
  268. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_get_market_status_response.py +0 -0
  269. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_get_option_chain_response.py +0 -0
  270. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_get_option_contract_response.py +0 -0
  271. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_get_order_details_response.py +0 -0
  272. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_gtt_cancel_order_request.py +0 -0
  273. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_gtt_modify_order_request.py +0 -0
  274. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_gtt_order_data.py +0 -0
  275. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_gtt_order_details.py +0 -0
  276. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_gtt_place_order_request.py +0 -0
  277. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_gtt_rule.py +0 -0
  278. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_gtt_trigger_order_response.py +0 -0
  279. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_holiday_data.py +0 -0
  280. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_indie_user_init_token_data.py +0 -0
  281. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_indie_user_init_token_response.py +0 -0
  282. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_indie_user_token_request.py +0 -0
  283. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_instrument.py +0 -0
  284. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_instrument_data.py +0 -0
  285. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_margin.py +0 -0
  286. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_margin_data.py +0 -0
  287. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_margin_request.py +0 -0
  288. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_market_data.py +0 -0
  289. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_market_holidays_and_timings_api.py +0 -0
  290. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_market_status_data.py +0 -0
  291. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_modify_order_v3_response.py +0 -0
  292. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_multi_order_data.py +0 -0
  293. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_multi_order_error.py +0 -0
  294. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_multi_order_request.py +0 -0
  295. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_multi_order_response.py +0 -0
  296. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_multi_order_summary.py +0 -0
  297. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_multi_order_v3_data.py +0 -0
  298. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_option_strike_data.py +0 -0
  299. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_options_api.py +0 -0
  300. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_order_controller_v_3_api.py +0 -0
  301. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_order_metadata.py +0 -0
  302. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_place_order_v3_request.py +0 -0
  303. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_place_order_v3_response.py +0 -0
  304. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_post_margin_response.py +0 -0
  305. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_post_trade_api.py +0 -0
  306. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_put_call_option_chain_data.py +0 -0
  307. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_rule.py +0 -0
  308. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_trade_history_response.py +0 -0
  309. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_trade_history_response_meta_data.py +0 -0
  310. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_trade_history_response_page_data.py +0 -0
  311. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/test/test_trade_history_response_trade_data.py +0 -0
  312. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/api/market_holidays_and_timings_api.py +0 -0
  313. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/api/options_api.py +0 -0
  314. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/api/order_controller_v_3_api.py +0 -0
  315. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/api/post_trade_api.py +0 -0
  316. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/feeder/__init__.py +0 -0
  317. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/feeder/feeder.py +0 -0
  318. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/feeder/market_data_feeder.py +0 -0
  319. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/feeder/market_data_streamer.py +0 -0
  320. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/feeder/portfolio_data_feeder.py +0 -0
  321. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/feeder/portfolio_data_streamer.py +0 -0
  322. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/feeder/proto/MarketDataFeedV3_pb2.py +0 -0
  323. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/feeder/proto/MarketDataFeed_pb2.py +0 -0
  324. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/feeder/proto/__init__.py +0 -0
  325. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/feeder/streamer.py +0 -0
  326. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/analytics_data.py +0 -0
  327. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/batch_execution_summary.py +0 -0
  328. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/cancel_or_exit_multi_order_data.py +0 -0
  329. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/cancel_or_exit_multi_order_response.py +0 -0
  330. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/cancel_or_exit_order_error_data.py +0 -0
  331. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/cancel_order_v3_response.py +0 -0
  332. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/exchange_timing_data.py +0 -0
  333. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_exchange_timing_response.py +0 -0
  334. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_gtt_order_response.py +0 -0
  335. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_holiday_response.py +0 -0
  336. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_market_status_response.py +0 -0
  337. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_option_chain_response.py +0 -0
  338. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_option_contract_response.py +0 -0
  339. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/get_order_details_response.py +0 -0
  340. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/gtt_cancel_order_request.py +0 -0
  341. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/gtt_modify_order_request.py +0 -0
  342. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/gtt_order_data.py +0 -0
  343. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/gtt_order_details.py +0 -0
  344. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/gtt_place_order_request.py +0 -0
  345. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/gtt_rule.py +0 -0
  346. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/gtt_trigger_order_response.py +0 -0
  347. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/holiday_data.py +0 -0
  348. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/indie_user_init_token_data.py +0 -0
  349. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/indie_user_init_token_response.py +0 -0
  350. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/indie_user_token_request.py +0 -0
  351. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/instrument.py +0 -0
  352. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/instrument_data.py +0 -0
  353. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/margin.py +0 -0
  354. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/margin_data.py +0 -0
  355. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/margin_request.py +0 -0
  356. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/market_data.py +0 -0
  357. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/market_status_data.py +0 -0
  358. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/modify_order_v3_response.py +0 -0
  359. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/multi_order_data.py +0 -0
  360. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/multi_order_error.py +0 -0
  361. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/multi_order_response.py +0 -0
  362. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/multi_order_summary.py +0 -0
  363. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/multi_order_v3_data.py +0 -0
  364. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/option_strike_data.py +0 -0
  365. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/order_metadata.py +0 -0
  366. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/place_order_v3_response.py +0 -0
  367. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/post_margin_response.py +0 -0
  368. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/put_call_option_chain_data.py +0 -0
  369. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/rule.py +0 -0
  370. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/trade_history_response.py +0 -0
  371. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/trade_history_response_meta_data.py +0 -0
  372. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/trade_history_response_page_data.py +0 -0
  373. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_client/models/trade_history_response_trade_data.py +0 -0
  374. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_python_sdk.egg-info/dependency_links.txt +0 -0
  375. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_python_sdk.egg-info/requires.txt +0 -0
  376. {upstox-python-sdk-2.14.0 → upstox_python_sdk-2.15.0}/upstox_python_sdk.egg-info/top_level.txt +0 -0
@@ -1,13 +1,27 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: upstox-python-sdk
3
- Version: 2.14.0
3
+ Version: 2.15.0
4
4
  Summary: Upstox Developer API
5
5
  Home-page: https://github.com/upstox/upstox-python
6
6
  License: MIT
7
7
  Keywords: Upstox Developer API
8
- Platform: UNKNOWN
9
8
  Description-Content-Type: text/markdown
10
9
  License-File: LICENSE.txt
10
+ Requires-Dist: urllib3>=1.15
11
+ Requires-Dist: six>=1.10
12
+ Requires-Dist: certifi
13
+ Requires-Dist: python-dateutil
14
+ Requires-Dist: websocket-client
15
+ Requires-Dist: uuid
16
+ Requires-Dist: protobuf
17
+ Dynamic: description
18
+ Dynamic: description-content-type
19
+ Dynamic: home-page
20
+ Dynamic: keywords
21
+ Dynamic: license
22
+ Dynamic: license-file
23
+ Dynamic: requires-dist
24
+ Dynamic: summary
11
25
 
12
26
  # Upstox Python SDK for API v2
13
27
 
@@ -20,7 +34,7 @@ The official Python client for communicating with the <a href="https://upstox.co
20
34
  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
35
 
22
36
  - API version: v2
23
- - Package version: 2.14.0
37
+ - Package version: 2.15.0
24
38
  - Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
25
39
 
26
40
  This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.
@@ -101,9 +115,16 @@ Class | Method | HTTP request | Description
101
115
  ------------ | ------------- | ------------- | -------------
102
116
  *ChargeApi* | [**get_brokerage**](docs/ChargeApi.md#get_brokerage) | **GET** /v2/charges/brokerage | Brokerage details
103
117
  *ChargeApi* | [**post_margin**](docs/ChargeApi.md#post_margin) | **POST** /v2/charges/margin | Calculate Margin
104
- *HistoryApi* | [**get_historical_candle_data**](docs/HistoryApi.md#get_historical_candle_data) | **GET** /v2/historical-candle/{instrumentKey}/{interval}/{to_date} | Historical candle data
105
- *HistoryApi* | [**get_historical_candle_data1**](docs/HistoryApi.md#get_historical_candle_data1) | **GET** /v2/historical-candle/{instrumentKey}/{interval}/{to_date}/{from_date} | Historical candle data
106
- *HistoryApi* | [**get_intra_day_candle_data**](docs/HistoryApi.md#get_intra_day_candle_data) | **GET** /v2/historical-candle/intraday/{instrumentKey}/{interval} | Intra day candle data
118
+ *ExpiredInstrumentApi* | [**get_expired_future_contracts**](docs/ExpiredInstrumentApi.md#get_expired_future_contracts) | **GET** /v2/expired-instruments/future/contract | Expired instruments - Get future contracts
119
+ *ExpiredInstrumentApi* | [**get_expired_historical_candle_data**](docs/ExpiredInstrumentApi.md#get_expired_historical_candle_data) | **GET** /v2/expired-instruments/historical-candle/{expired_instrument_key}/{interval}/{to_date}/{from_date} | Expired Historical candle data
120
+ *ExpiredInstrumentApi* | [**get_expired_option_contracts**](docs/ExpiredInstrumentApi.md#get_expired_option_contracts) | **GET** /v2/expired-instruments/option/contract | Get expired option contracts
121
+ *ExpiredInstrumentApi* | [**get_expiries**](docs/ExpiredInstrumentApi.md#get_expiries) | **GET** /v2/expired-instruments/expiries | Expired instruments - Get expiries
122
+ *HistoryApi* | [**get_historical_candle_data2**](docs/HistoryApi.md#get_historical_candle_data2) | **GET** /v2/historical-candle/{instrumentKey}/{interval}/{to_date} | Historical candle data
123
+ *HistoryApi* | [**get_historical_candle_data3**](docs/HistoryApi.md#get_historical_candle_data3) | **GET** /v2/historical-candle/{instrumentKey}/{interval}/{to_date}/{from_date} | Historical candle data
124
+ *HistoryApi* | [**get_intra_day_candle_data1**](docs/HistoryApi.md#get_intra_day_candle_data1) | **GET** /v2/historical-candle/intraday/{instrumentKey}/{interval} | Intra day candle data
125
+ *HistoryV3Api* | [**get_historical_candle_data**](docs/HistoryV3Api.md#get_historical_candle_data) | **GET** /v3/historical-candle/{instrumentKey}/{unit}/{interval}/{to_date} | Historical candle data
126
+ *HistoryV3Api* | [**get_historical_candle_data1**](docs/HistoryV3Api.md#get_historical_candle_data1) | **GET** /v3/historical-candle/{instrumentKey}/{unit}/{interval}/{to_date}/{from_date} | Historical candle data
127
+ *HistoryV3Api* | [**get_intra_day_candle_data**](docs/HistoryV3Api.md#get_intra_day_candle_data) | **GET** /v3/historical-candle/intraday/{instrumentKey}/{unit}/{interval} | Intra day candle data
107
128
  *LoginApi* | [**authorize**](docs/LoginApi.md#authorize) | **GET** /v2/login/authorization/dialog | Authorize API
108
129
  *LoginApi* | [**init_token_request_for_indie_user**](docs/LoginApi.md#init_token_request_for_indie_user) | **POST** /v3/login/auth/token/request/{client_id} | Init token API
109
130
  *LoginApi* | [**logout**](docs/LoginApi.md#logout) | **DELETE** /v2/logout | Logout
@@ -115,6 +136,9 @@ Class | Method | HTTP request | Description
115
136
  *MarketQuoteApi* | [**get_full_market_quote**](docs/MarketQuoteApi.md#get_full_market_quote) | **GET** /v2/market-quote/quotes | Market quotes and instruments - Full market quotes
116
137
  *MarketQuoteApi* | [**get_market_quote_ohlc**](docs/MarketQuoteApi.md#get_market_quote_ohlc) | **GET** /v2/market-quote/ohlc | Market quotes and instruments - OHLC quotes
117
138
  *MarketQuoteApi* | [**ltp**](docs/MarketQuoteApi.md#ltp) | **GET** /v2/market-quote/ltp | Market quotes and instruments - LTP quotes.
139
+ *MarketQuoteV3Api* | [**get_ltp**](docs/MarketQuoteV3Api.md#get_ltp) | **GET** /v3/market-quote/ltp | Market quotes and instruments - LTP quotes.
140
+ *MarketQuoteV3Api* | [**get_market_quote_ohlc**](docs/MarketQuoteV3Api.md#get_market_quote_ohlc) | **GET** /v3/market-quote/ohlc | Market quotes and instruments - OHLC quotes
141
+ *MarketQuoteV3Api* | [**get_market_quote_option_greek**](docs/MarketQuoteV3Api.md#get_market_quote_option_greek) | **GET** /v3/market-quote/option-greek | Market quotes and instruments - Option Greek
118
142
  *OptionsApi* | [**get_option_contracts**](docs/OptionsApi.md#get_option_contracts) | **GET** /v2/option/contract | Get option contracts
119
143
  *OptionsApi* | [**get_put_call_option_chain**](docs/OptionsApi.md#get_put_call_option_chain) | **GET** /v2/option/chain | Get option chain
120
144
  *OrderApi* | [**cancel_multi_order**](docs/OrderApi.md#cancel_multi_order) | **DELETE** /v2/order/multi/cancel | Cancel multi order
@@ -130,6 +154,7 @@ Class | Method | HTTP request | Description
130
154
  *OrderApi* | [**place_order**](docs/OrderApi.md#place_order) | **POST** /v2/order/place | Place order
131
155
  *PortfolioApi* | [**convert_positions**](docs/PortfolioApi.md#convert_positions) | **PUT** /v2/portfolio/convert-position | Convert Positions
132
156
  *PortfolioApi* | [**get_holdings**](docs/PortfolioApi.md#get_holdings) | **GET** /v2/portfolio/long-term-holdings | Get Holdings
157
+ *PortfolioApi* | [**get_mtf_positions**](docs/PortfolioApi.md#get_mtf_positions) | **GET** /v3/portfolio/mtf-positions | Get MTF positions
133
158
  *PortfolioApi* | [**get_positions**](docs/PortfolioApi.md#get_positions) | **GET** /v2/portfolio/short-term-positions | Get Positions
134
159
  *PostTradeApi* | [**get_trades_by_date_range**](docs/PostTradeApi.md#get_trades_by_date_range) | **GET** /v2/charges/historical-trades | Get historical trades
135
160
  *TradeProfitAndLossApi* | [**get_profit_and_loss_charges**](docs/TradeProfitAndLossApi.md#get_profit_and_loss_charges) | **GET** /v2/trade/profit-loss/charges | Get profit and loss on trades
@@ -197,9 +222,10 @@ Feel free to adjust the access token placeholder and any other specifics to bett
197
222
  - **ltpc**: ltpc provides information solely about the most recent trade, encompassing details such as the last trade price, time of the last trade, quantity traded, and the closing price from the previous day.
198
223
  - **full**: The full option offers comprehensive information, including the latest trade prices, D5 depth, 1-minute, 30-minute, and daily candlestick data, along with some additional details.
199
224
  - **option_greeks**: Contains only option greeks.
225
+ - **full_d30**: full_d30 includes Full mode data plus 30 market level quotes.
200
226
 
201
227
  #### Functions
202
- 1. **constructor MarketDataStreamerV3(apiClient, instrumentKeys, mode)**: Initializes the streamer with optional instrument keys and mode (`full`, `ltpc` or `option_greeks`).
228
+ 1. **constructor MarketDataStreamerV3(apiClient, instrumentKeys, mode)**: Initializes the streamer with optional instrument keys and mode (`full`, `ltpc`, `option_greeks` or `full_d30`).
203
229
  2. **connect()**: Establishes the WebSocket connection.
204
230
  3. **subscribe(instrumentKeys, mode)**: Subscribes to updates for given instrument keys in the specified mode. Both parameters are mandatory.
205
231
  4. **unsubscribe(instrumentKeys)**: Stops updates for the specified instrument keys.
@@ -820,15 +846,22 @@ if __name__ == "__main__":
820
846
  - [DepthMap](docs/DepthMap.md)
821
847
  - [DpPlan](docs/DpPlan.md)
822
848
  - [ExchangeTimingData](docs/ExchangeTimingData.md)
849
+ - [ExpiredFutureData](docs/ExpiredFutureData.md)
823
850
  - [GetBrokerageResponse](docs/GetBrokerageResponse.md)
824
851
  - [GetExchangeTimingResponse](docs/GetExchangeTimingResponse.md)
852
+ - [GetExpiredFuturesContractResponse](docs/GetExpiredFuturesContractResponse.md)
853
+ - [GetExpiriesResponse](docs/GetExpiriesResponse.md)
825
854
  - [GetFullMarketQuoteResponse](docs/GetFullMarketQuoteResponse.md)
855
+ - [GetGttOrderResponse](docs/GetGttOrderResponse.md)
826
856
  - [GetHistoricalCandleResponse](docs/GetHistoricalCandleResponse.md)
827
857
  - [GetHoldingsResponse](docs/GetHoldingsResponse.md)
828
858
  - [GetHolidayResponse](docs/GetHolidayResponse.md)
829
859
  - [GetIntraDayCandleResponse](docs/GetIntraDayCandleResponse.md)
830
860
  - [GetMarketQuoteLastTradedPriceResponse](docs/GetMarketQuoteLastTradedPriceResponse.md)
861
+ - [GetMarketQuoteLastTradedPriceResponseV3](docs/GetMarketQuoteLastTradedPriceResponseV3.md)
831
862
  - [GetMarketQuoteOHLCResponse](docs/GetMarketQuoteOHLCResponse.md)
863
+ - [GetMarketQuoteOHLCResponseV3](docs/GetMarketQuoteOHLCResponseV3.md)
864
+ - [GetMarketQuoteOptionGreekResponseV3](docs/GetMarketQuoteOptionGreekResponseV3.md)
832
865
  - [GetMarketStatusResponse](docs/GetMarketStatusResponse.md)
833
866
  - [GetOptionChainResponse](docs/GetOptionChainResponse.md)
834
867
  - [GetOptionContractResponse](docs/GetOptionContractResponse.md)
@@ -842,6 +875,13 @@ if __name__ == "__main__":
842
875
  - [GetTradeWiseProfitAndLossDataResponse](docs/GetTradeWiseProfitAndLossDataResponse.md)
843
876
  - [GetTradeWiseProfitAndLossMetaDataResponse](docs/GetTradeWiseProfitAndLossMetaDataResponse.md)
844
877
  - [GetUserFundMarginResponse](docs/GetUserFundMarginResponse.md)
878
+ - [GttCancelOrderRequest](docs/GttCancelOrderRequest.md)
879
+ - [GttModifyOrderRequest](docs/GttModifyOrderRequest.md)
880
+ - [GttOrderData](docs/GttOrderData.md)
881
+ - [GttOrderDetails](docs/GttOrderDetails.md)
882
+ - [GttPlaceOrderRequest](docs/GttPlaceOrderRequest.md)
883
+ - [GttRule](docs/GttRule.md)
884
+ - [GttTriggerOrderResponse](docs/GttTriggerOrderResponse.md)
845
885
  - [HistoricalCandleData](docs/HistoricalCandleData.md)
846
886
  - [HoldingsData](docs/HoldingsData.md)
847
887
  - [HolidayData](docs/HolidayData.md)
@@ -857,8 +897,11 @@ if __name__ == "__main__":
857
897
  - [MarginRequest](docs/MarginRequest.md)
858
898
  - [MarketData](docs/MarketData.md)
859
899
  - [MarketQuoteOHLC](docs/MarketQuoteOHLC.md)
900
+ - [MarketQuoteOHLCV3](docs/MarketQuoteOHLCV3.md)
901
+ - [MarketQuoteOptionGreekV3](docs/MarketQuoteOptionGreekV3.md)
860
902
  - [MarketQuoteSymbol](docs/MarketQuoteSymbol.md)
861
903
  - [MarketQuoteSymbolLtp](docs/MarketQuoteSymbolLtp.md)
904
+ - [MarketQuoteSymbolLtpV3](docs/MarketQuoteSymbolLtpV3.md)
862
905
  - [MarketStatusData](docs/MarketStatusData.md)
863
906
  - [ModifyOrderData](docs/ModifyOrderData.md)
864
907
  - [ModifyOrderRequest](docs/ModifyOrderRequest.md)
@@ -875,6 +918,7 @@ if __name__ == "__main__":
875
918
  - [OAuthClientExceptionCauseStackTrace](docs/OAuthClientExceptionCauseStackTrace.md)
876
919
  - [OAuthClientExceptionCauseSuppressed](docs/OAuthClientExceptionCauseSuppressed.md)
877
920
  - [Ohlc](docs/Ohlc.md)
921
+ - [OhlcV3](docs/OhlcV3.md)
878
922
  - [OptionStrikeData](docs/OptionStrikeData.md)
879
923
  - [OrderBookData](docs/OrderBookData.md)
880
924
  - [OrderData](docs/OrderData.md)
@@ -896,6 +940,7 @@ if __name__ == "__main__":
896
940
  - [ProfitAndLossMetaDataWrapper](docs/ProfitAndLossMetaDataWrapper.md)
897
941
  - [ProfitAndLossOtherChargesTaxes](docs/ProfitAndLossOtherChargesTaxes.md)
898
942
  - [PutCallOptionChainData](docs/PutCallOptionChainData.md)
943
+ - [Rule](docs/Rule.md)
899
944
  - [TokenRequest](docs/TokenRequest.md)
900
945
  - [TokenResponse](docs/TokenResponse.md)
901
946
  - [TradeData](docs/TradeData.md)
@@ -909,5 +954,3 @@ if __name__ == "__main__":
909
954
  - [WebsocketAuthRedirectResponse](docs/WebsocketAuthRedirectResponse.md)
910
955
  - [WebsocketAuthRedirectResponseData](docs/WebsocketAuthRedirectResponseData.md)
911
956
 
912
-
913
-
@@ -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.14.0
12
+ - Package version: 2.15.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.
@@ -90,9 +90,16 @@ Class | Method | HTTP request | Description
90
90
  ------------ | ------------- | ------------- | -------------
91
91
  *ChargeApi* | [**get_brokerage**](docs/ChargeApi.md#get_brokerage) | **GET** /v2/charges/brokerage | Brokerage details
92
92
  *ChargeApi* | [**post_margin**](docs/ChargeApi.md#post_margin) | **POST** /v2/charges/margin | Calculate Margin
93
- *HistoryApi* | [**get_historical_candle_data**](docs/HistoryApi.md#get_historical_candle_data) | **GET** /v2/historical-candle/{instrumentKey}/{interval}/{to_date} | Historical candle data
94
- *HistoryApi* | [**get_historical_candle_data1**](docs/HistoryApi.md#get_historical_candle_data1) | **GET** /v2/historical-candle/{instrumentKey}/{interval}/{to_date}/{from_date} | Historical candle data
95
- *HistoryApi* | [**get_intra_day_candle_data**](docs/HistoryApi.md#get_intra_day_candle_data) | **GET** /v2/historical-candle/intraday/{instrumentKey}/{interval} | Intra day candle data
93
+ *ExpiredInstrumentApi* | [**get_expired_future_contracts**](docs/ExpiredInstrumentApi.md#get_expired_future_contracts) | **GET** /v2/expired-instruments/future/contract | Expired instruments - Get future contracts
94
+ *ExpiredInstrumentApi* | [**get_expired_historical_candle_data**](docs/ExpiredInstrumentApi.md#get_expired_historical_candle_data) | **GET** /v2/expired-instruments/historical-candle/{expired_instrument_key}/{interval}/{to_date}/{from_date} | Expired Historical candle data
95
+ *ExpiredInstrumentApi* | [**get_expired_option_contracts**](docs/ExpiredInstrumentApi.md#get_expired_option_contracts) | **GET** /v2/expired-instruments/option/contract | Get expired option contracts
96
+ *ExpiredInstrumentApi* | [**get_expiries**](docs/ExpiredInstrumentApi.md#get_expiries) | **GET** /v2/expired-instruments/expiries | Expired instruments - Get expiries
97
+ *HistoryApi* | [**get_historical_candle_data2**](docs/HistoryApi.md#get_historical_candle_data2) | **GET** /v2/historical-candle/{instrumentKey}/{interval}/{to_date} | Historical candle data
98
+ *HistoryApi* | [**get_historical_candle_data3**](docs/HistoryApi.md#get_historical_candle_data3) | **GET** /v2/historical-candle/{instrumentKey}/{interval}/{to_date}/{from_date} | Historical candle data
99
+ *HistoryApi* | [**get_intra_day_candle_data1**](docs/HistoryApi.md#get_intra_day_candle_data1) | **GET** /v2/historical-candle/intraday/{instrumentKey}/{interval} | Intra day candle data
100
+ *HistoryV3Api* | [**get_historical_candle_data**](docs/HistoryV3Api.md#get_historical_candle_data) | **GET** /v3/historical-candle/{instrumentKey}/{unit}/{interval}/{to_date} | Historical candle data
101
+ *HistoryV3Api* | [**get_historical_candle_data1**](docs/HistoryV3Api.md#get_historical_candle_data1) | **GET** /v3/historical-candle/{instrumentKey}/{unit}/{interval}/{to_date}/{from_date} | Historical candle data
102
+ *HistoryV3Api* | [**get_intra_day_candle_data**](docs/HistoryV3Api.md#get_intra_day_candle_data) | **GET** /v3/historical-candle/intraday/{instrumentKey}/{unit}/{interval} | Intra day candle data
96
103
  *LoginApi* | [**authorize**](docs/LoginApi.md#authorize) | **GET** /v2/login/authorization/dialog | Authorize API
97
104
  *LoginApi* | [**init_token_request_for_indie_user**](docs/LoginApi.md#init_token_request_for_indie_user) | **POST** /v3/login/auth/token/request/{client_id} | Init token API
98
105
  *LoginApi* | [**logout**](docs/LoginApi.md#logout) | **DELETE** /v2/logout | Logout
@@ -104,6 +111,9 @@ Class | Method | HTTP request | Description
104
111
  *MarketQuoteApi* | [**get_full_market_quote**](docs/MarketQuoteApi.md#get_full_market_quote) | **GET** /v2/market-quote/quotes | Market quotes and instruments - Full market quotes
105
112
  *MarketQuoteApi* | [**get_market_quote_ohlc**](docs/MarketQuoteApi.md#get_market_quote_ohlc) | **GET** /v2/market-quote/ohlc | Market quotes and instruments - OHLC quotes
106
113
  *MarketQuoteApi* | [**ltp**](docs/MarketQuoteApi.md#ltp) | **GET** /v2/market-quote/ltp | Market quotes and instruments - LTP quotes.
114
+ *MarketQuoteV3Api* | [**get_ltp**](docs/MarketQuoteV3Api.md#get_ltp) | **GET** /v3/market-quote/ltp | Market quotes and instruments - LTP quotes.
115
+ *MarketQuoteV3Api* | [**get_market_quote_ohlc**](docs/MarketQuoteV3Api.md#get_market_quote_ohlc) | **GET** /v3/market-quote/ohlc | Market quotes and instruments - OHLC quotes
116
+ *MarketQuoteV3Api* | [**get_market_quote_option_greek**](docs/MarketQuoteV3Api.md#get_market_quote_option_greek) | **GET** /v3/market-quote/option-greek | Market quotes and instruments - Option Greek
107
117
  *OptionsApi* | [**get_option_contracts**](docs/OptionsApi.md#get_option_contracts) | **GET** /v2/option/contract | Get option contracts
108
118
  *OptionsApi* | [**get_put_call_option_chain**](docs/OptionsApi.md#get_put_call_option_chain) | **GET** /v2/option/chain | Get option chain
109
119
  *OrderApi* | [**cancel_multi_order**](docs/OrderApi.md#cancel_multi_order) | **DELETE** /v2/order/multi/cancel | Cancel multi order
@@ -119,6 +129,7 @@ Class | Method | HTTP request | Description
119
129
  *OrderApi* | [**place_order**](docs/OrderApi.md#place_order) | **POST** /v2/order/place | Place order
120
130
  *PortfolioApi* | [**convert_positions**](docs/PortfolioApi.md#convert_positions) | **PUT** /v2/portfolio/convert-position | Convert Positions
121
131
  *PortfolioApi* | [**get_holdings**](docs/PortfolioApi.md#get_holdings) | **GET** /v2/portfolio/long-term-holdings | Get Holdings
132
+ *PortfolioApi* | [**get_mtf_positions**](docs/PortfolioApi.md#get_mtf_positions) | **GET** /v3/portfolio/mtf-positions | Get MTF positions
122
133
  *PortfolioApi* | [**get_positions**](docs/PortfolioApi.md#get_positions) | **GET** /v2/portfolio/short-term-positions | Get Positions
123
134
  *PostTradeApi* | [**get_trades_by_date_range**](docs/PostTradeApi.md#get_trades_by_date_range) | **GET** /v2/charges/historical-trades | Get historical trades
124
135
  *TradeProfitAndLossApi* | [**get_profit_and_loss_charges**](docs/TradeProfitAndLossApi.md#get_profit_and_loss_charges) | **GET** /v2/trade/profit-loss/charges | Get profit and loss on trades
@@ -186,9 +197,10 @@ Feel free to adjust the access token placeholder and any other specifics to bett
186
197
  - **ltpc**: ltpc provides information solely about the most recent trade, encompassing details such as the last trade price, time of the last trade, quantity traded, and the closing price from the previous day.
187
198
  - **full**: The full option offers comprehensive information, including the latest trade prices, D5 depth, 1-minute, 30-minute, and daily candlestick data, along with some additional details.
188
199
  - **option_greeks**: Contains only option greeks.
200
+ - **full_d30**: full_d30 includes Full mode data plus 30 market level quotes.
189
201
 
190
202
  #### Functions
191
- 1. **constructor MarketDataStreamerV3(apiClient, instrumentKeys, mode)**: Initializes the streamer with optional instrument keys and mode (`full`, `ltpc` or `option_greeks`).
203
+ 1. **constructor MarketDataStreamerV3(apiClient, instrumentKeys, mode)**: Initializes the streamer with optional instrument keys and mode (`full`, `ltpc`, `option_greeks` or `full_d30`).
192
204
  2. **connect()**: Establishes the WebSocket connection.
193
205
  3. **subscribe(instrumentKeys, mode)**: Subscribes to updates for given instrument keys in the specified mode. Both parameters are mandatory.
194
206
  4. **unsubscribe(instrumentKeys)**: Stops updates for the specified instrument keys.
@@ -809,15 +821,22 @@ if __name__ == "__main__":
809
821
  - [DepthMap](docs/DepthMap.md)
810
822
  - [DpPlan](docs/DpPlan.md)
811
823
  - [ExchangeTimingData](docs/ExchangeTimingData.md)
824
+ - [ExpiredFutureData](docs/ExpiredFutureData.md)
812
825
  - [GetBrokerageResponse](docs/GetBrokerageResponse.md)
813
826
  - [GetExchangeTimingResponse](docs/GetExchangeTimingResponse.md)
827
+ - [GetExpiredFuturesContractResponse](docs/GetExpiredFuturesContractResponse.md)
828
+ - [GetExpiriesResponse](docs/GetExpiriesResponse.md)
814
829
  - [GetFullMarketQuoteResponse](docs/GetFullMarketQuoteResponse.md)
830
+ - [GetGttOrderResponse](docs/GetGttOrderResponse.md)
815
831
  - [GetHistoricalCandleResponse](docs/GetHistoricalCandleResponse.md)
816
832
  - [GetHoldingsResponse](docs/GetHoldingsResponse.md)
817
833
  - [GetHolidayResponse](docs/GetHolidayResponse.md)
818
834
  - [GetIntraDayCandleResponse](docs/GetIntraDayCandleResponse.md)
819
835
  - [GetMarketQuoteLastTradedPriceResponse](docs/GetMarketQuoteLastTradedPriceResponse.md)
836
+ - [GetMarketQuoteLastTradedPriceResponseV3](docs/GetMarketQuoteLastTradedPriceResponseV3.md)
820
837
  - [GetMarketQuoteOHLCResponse](docs/GetMarketQuoteOHLCResponse.md)
838
+ - [GetMarketQuoteOHLCResponseV3](docs/GetMarketQuoteOHLCResponseV3.md)
839
+ - [GetMarketQuoteOptionGreekResponseV3](docs/GetMarketQuoteOptionGreekResponseV3.md)
821
840
  - [GetMarketStatusResponse](docs/GetMarketStatusResponse.md)
822
841
  - [GetOptionChainResponse](docs/GetOptionChainResponse.md)
823
842
  - [GetOptionContractResponse](docs/GetOptionContractResponse.md)
@@ -831,6 +850,13 @@ if __name__ == "__main__":
831
850
  - [GetTradeWiseProfitAndLossDataResponse](docs/GetTradeWiseProfitAndLossDataResponse.md)
832
851
  - [GetTradeWiseProfitAndLossMetaDataResponse](docs/GetTradeWiseProfitAndLossMetaDataResponse.md)
833
852
  - [GetUserFundMarginResponse](docs/GetUserFundMarginResponse.md)
853
+ - [GttCancelOrderRequest](docs/GttCancelOrderRequest.md)
854
+ - [GttModifyOrderRequest](docs/GttModifyOrderRequest.md)
855
+ - [GttOrderData](docs/GttOrderData.md)
856
+ - [GttOrderDetails](docs/GttOrderDetails.md)
857
+ - [GttPlaceOrderRequest](docs/GttPlaceOrderRequest.md)
858
+ - [GttRule](docs/GttRule.md)
859
+ - [GttTriggerOrderResponse](docs/GttTriggerOrderResponse.md)
834
860
  - [HistoricalCandleData](docs/HistoricalCandleData.md)
835
861
  - [HoldingsData](docs/HoldingsData.md)
836
862
  - [HolidayData](docs/HolidayData.md)
@@ -846,8 +872,11 @@ if __name__ == "__main__":
846
872
  - [MarginRequest](docs/MarginRequest.md)
847
873
  - [MarketData](docs/MarketData.md)
848
874
  - [MarketQuoteOHLC](docs/MarketQuoteOHLC.md)
875
+ - [MarketQuoteOHLCV3](docs/MarketQuoteOHLCV3.md)
876
+ - [MarketQuoteOptionGreekV3](docs/MarketQuoteOptionGreekV3.md)
849
877
  - [MarketQuoteSymbol](docs/MarketQuoteSymbol.md)
850
878
  - [MarketQuoteSymbolLtp](docs/MarketQuoteSymbolLtp.md)
879
+ - [MarketQuoteSymbolLtpV3](docs/MarketQuoteSymbolLtpV3.md)
851
880
  - [MarketStatusData](docs/MarketStatusData.md)
852
881
  - [ModifyOrderData](docs/ModifyOrderData.md)
853
882
  - [ModifyOrderRequest](docs/ModifyOrderRequest.md)
@@ -864,6 +893,7 @@ if __name__ == "__main__":
864
893
  - [OAuthClientExceptionCauseStackTrace](docs/OAuthClientExceptionCauseStackTrace.md)
865
894
  - [OAuthClientExceptionCauseSuppressed](docs/OAuthClientExceptionCauseSuppressed.md)
866
895
  - [Ohlc](docs/Ohlc.md)
896
+ - [OhlcV3](docs/OhlcV3.md)
867
897
  - [OptionStrikeData](docs/OptionStrikeData.md)
868
898
  - [OrderBookData](docs/OrderBookData.md)
869
899
  - [OrderData](docs/OrderData.md)
@@ -885,6 +915,7 @@ if __name__ == "__main__":
885
915
  - [ProfitAndLossMetaDataWrapper](docs/ProfitAndLossMetaDataWrapper.md)
886
916
  - [ProfitAndLossOtherChargesTaxes](docs/ProfitAndLossOtherChargesTaxes.md)
887
917
  - [PutCallOptionChainData](docs/PutCallOptionChainData.md)
918
+ - [Rule](docs/Rule.md)
888
919
  - [TokenRequest](docs/TokenRequest.md)
889
920
  - [TokenResponse](docs/TokenResponse.md)
890
921
  - [TradeData](docs/TradeData.md)
@@ -0,0 +1,44 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Upstox Developer API
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
7
+
8
+ OpenAPI spec version: v2
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from setuptools import setup, find_packages # noqa: H301
14
+
15
+ # read the contents of your README file
16
+ from pathlib import Path
17
+ this_directory = Path(__file__).parent
18
+ long_description = (this_directory / "README.md").read_text()
19
+
20
+ NAME = "upstox-python-sdk"
21
+ VERSION = "2.15.0"
22
+ # To install the library, run the following
23
+ #
24
+ # python setup.py install
25
+ #
26
+ # prerequisite: setuptools
27
+ # http://pypi.python.org/pypi/setuptools
28
+
29
+ REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi",
30
+ "python-dateutil", "websocket-client", "uuid", "protobuf"]
31
+
32
+ setup(
33
+ name=NAME,
34
+ version=VERSION,
35
+ license='MIT',
36
+ description="Upstox Developer API",
37
+ url="https://github.com/upstox/upstox-python",
38
+ keywords=["Upstox Developer API"],
39
+ install_requires=REQUIRES,
40
+ packages=find_packages(),
41
+ include_package_data=True,
42
+ long_description=long_description,
43
+ long_description_content_type='text/markdown'
44
+ )
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Upstox Developer API
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
7
+
8
+ OpenAPI spec version: v2
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import upstox_client
18
+ from upstox_client.models.api_gateway_error_response import ApiGatewayErrorResponse # noqa: E501
19
+ from upstox_client.rest import ApiException
20
+
21
+
22
+ class TestApiGatewayErrorResponse(unittest.TestCase):
23
+ """ApiGatewayErrorResponse unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testApiGatewayErrorResponse(self):
32
+ """Test ApiGatewayErrorResponse"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = upstox_client.models.api_gateway_error_response.ApiGatewayErrorResponse() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Upstox Developer API
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
7
+
8
+ OpenAPI spec version: v2
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import upstox_client
18
+ from upstox_client.models.brokerage_data import BrokerageData # noqa: E501
19
+ from upstox_client.rest import ApiException
20
+
21
+
22
+ class TestBrokerageData(unittest.TestCase):
23
+ """BrokerageData unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testBrokerageData(self):
32
+ """Test BrokerageData"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = upstox_client.models.brokerage_data.BrokerageData() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Upstox Developer API
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
7
+
8
+ OpenAPI spec version: v2
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import upstox_client
18
+ from upstox_client.models.brokerage_taxes import BrokerageTaxes # noqa: E501
19
+ from upstox_client.rest import ApiException
20
+
21
+
22
+ class TestBrokerageTaxes(unittest.TestCase):
23
+ """BrokerageTaxes unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testBrokerageTaxes(self):
32
+ """Test BrokerageTaxes"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = upstox_client.models.brokerage_taxes.BrokerageTaxes() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Upstox Developer API
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
7
+
8
+ OpenAPI spec version: v2
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import upstox_client
18
+ from upstox_client.models.brokerage_wrapper_data import BrokerageWrapperData # noqa: E501
19
+ from upstox_client.rest import ApiException
20
+
21
+
22
+ class TestBrokerageWrapperData(unittest.TestCase):
23
+ """BrokerageWrapperData unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testBrokerageWrapperData(self):
32
+ """Test BrokerageWrapperData"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = upstox_client.models.brokerage_wrapper_data.BrokerageWrapperData() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Upstox Developer API
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
7
+
8
+ OpenAPI spec version: v2
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import upstox_client
18
+ from upstox_client.models.cancel_order_data import CancelOrderData # noqa: E501
19
+ from upstox_client.rest import ApiException
20
+
21
+
22
+ class TestCancelOrderData(unittest.TestCase):
23
+ """CancelOrderData unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testCancelOrderData(self):
32
+ """Test CancelOrderData"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = upstox_client.models.cancel_order_data.CancelOrderData() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Upstox Developer API
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
7
+
8
+ OpenAPI spec version: v2
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import upstox_client
18
+ from upstox_client.models.cancel_order_response import CancelOrderResponse # noqa: E501
19
+ from upstox_client.rest import ApiException
20
+
21
+
22
+ class TestCancelOrderResponse(unittest.TestCase):
23
+ """CancelOrderResponse unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testCancelOrderResponse(self):
32
+ """Test CancelOrderResponse"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = upstox_client.models.cancel_order_response.CancelOrderResponse() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,40 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Upstox Developer API
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
7
+
8
+ OpenAPI spec version: v2
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import upstox_client
18
+ from upstox_client.api.charge_api import ChargeApi # noqa: E501
19
+ from upstox_client.rest import ApiException
20
+
21
+
22
+ class TestChargeApi(unittest.TestCase):
23
+ """ChargeApi unit test stubs"""
24
+
25
+ def setUp(self):
26
+ self.api = ChargeApi() # noqa: E501
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def test_get_brokerage(self):
32
+ """Test case for get_brokerage
33
+
34
+ Brokerage details # noqa: E501
35
+ """
36
+ pass
37
+
38
+
39
+ if __name__ == '__main__':
40
+ unittest.main()