upstox-python-sdk 2.15.0__tar.gz → 2.17.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 (301) hide show
  1. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/PKG-INFO +2 -2
  2. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/README.md +1 -1
  3. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/setup.py +1 -1
  4. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api_client.py +1 -1
  5. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/gtt_place_order_request.py +3 -3
  6. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/gtt_rule.py +31 -3
  7. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/holdings_data.py +0 -7
  8. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/order_book_data.py +0 -13
  9. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/order_data.py +0 -12
  10. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/position_data.py +0 -7
  11. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/profile_data.py +0 -14
  12. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/rule.py +29 -3
  13. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/token_response.py +0 -14
  14. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/trade_data.py +0 -12
  15. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_python_sdk.egg-info/PKG-INFO +2 -2
  16. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/LICENSE.txt +0 -0
  17. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/setup.cfg +0 -0
  18. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/__init__.py +0 -0
  19. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/sanity_test.py +0 -0
  20. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_analytics_data.py +0 -0
  21. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_api_gateway_error_response.py +0 -0
  22. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_batch_execution_summary.py +0 -0
  23. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_brokerage_data.py +0 -0
  24. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_brokerage_taxes.py +0 -0
  25. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_brokerage_wrapper_data.py +0 -0
  26. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_cancel_or_exit_multi_order_data.py +0 -0
  27. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_cancel_or_exit_multi_order_response.py +0 -0
  28. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_cancel_or_exit_order_error_data.py +0 -0
  29. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_cancel_order_data.py +0 -0
  30. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_cancel_order_response.py +0 -0
  31. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_cancel_order_v3_response.py +0 -0
  32. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_charge_api.py +0 -0
  33. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_convert_position_data.py +0 -0
  34. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_convert_position_request.py +0 -0
  35. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_convert_position_response.py +0 -0
  36. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_depth.py +0 -0
  37. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_depth_map.py +0 -0
  38. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_dp_plan.py +0 -0
  39. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_exchange_timing_data.py +0 -0
  40. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_brokerage_response.py +0 -0
  41. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_exchange_timing_response.py +0 -0
  42. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_full_market_quote_response.py +0 -0
  43. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_gtt_order_response.py +0 -0
  44. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_historical_candle_response.py +0 -0
  45. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_holdings_response.py +0 -0
  46. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_holiday_response.py +0 -0
  47. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_intra_day_candle_response.py +0 -0
  48. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_market_quote_last_traded_price_response.py +0 -0
  49. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_market_quote_ohlc_response.py +0 -0
  50. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_market_status_response.py +0 -0
  51. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_option_chain_response.py +0 -0
  52. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_option_contract_response.py +0 -0
  53. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_order_book_response.py +0 -0
  54. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_order_details_response.py +0 -0
  55. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_order_response.py +0 -0
  56. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_position_response.py +0 -0
  57. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_profile_response.py +0 -0
  58. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_profit_and_loss_charges_response.py +0 -0
  59. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_trade_response.py +0 -0
  60. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_trade_wise_profit_and_loss_data_response.py +0 -0
  61. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
  62. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_user_fund_margin_response.py +0 -0
  63. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_gtt_cancel_order_request.py +0 -0
  64. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_gtt_modify_order_request.py +0 -0
  65. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_gtt_order_data.py +0 -0
  66. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_gtt_order_details.py +0 -0
  67. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_gtt_place_order_request.py +0 -0
  68. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_gtt_rule.py +0 -0
  69. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_gtt_trigger_order_response.py +0 -0
  70. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_historical_candle_data.py +0 -0
  71. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_history_api.py +0 -0
  72. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_holdings_data.py +0 -0
  73. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_holiday_data.py +0 -0
  74. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_indie_user_init_token_data.py +0 -0
  75. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_indie_user_init_token_response.py +0 -0
  76. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_indie_user_token_request.py +0 -0
  77. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_instrument.py +0 -0
  78. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_instrument_data.py +0 -0
  79. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_intra_day_candle_data.py +0 -0
  80. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_login_api.py +0 -0
  81. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_logout_response.py +0 -0
  82. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_margin.py +0 -0
  83. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_margin_data.py +0 -0
  84. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_margin_request.py +0 -0
  85. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_market_data.py +0 -0
  86. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_market_holidays_and_timings_api.py +0 -0
  87. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_market_quote_api.py +0 -0
  88. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_market_quote_ohlc.py +0 -0
  89. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_market_quote_symbol.py +0 -0
  90. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_market_quote_symbol_ltp.py +0 -0
  91. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_market_status_data.py +0 -0
  92. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_modify_order_data.py +0 -0
  93. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_modify_order_request.py +0 -0
  94. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_modify_order_response.py +0 -0
  95. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_modify_order_v3_response.py +0 -0
  96. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_multi_order_data.py +0 -0
  97. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_multi_order_error.py +0 -0
  98. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_multi_order_request.py +0 -0
  99. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_multi_order_response.py +0 -0
  100. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_multi_order_summary.py +0 -0
  101. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_multi_order_v3_data.py +0 -0
  102. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_o_auth_client_exception.py +0 -0
  103. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_o_auth_client_exception_cause.py +0 -0
  104. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_o_auth_client_exception_cause_stack_trace.py +0 -0
  105. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_o_auth_client_exception_cause_suppressed.py +0 -0
  106. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_ohlc.py +0 -0
  107. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_option_strike_data.py +0 -0
  108. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_options_api.py +0 -0
  109. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_order_api.py +0 -0
  110. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_order_book_data.py +0 -0
  111. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_order_controller_v_3_api.py +0 -0
  112. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_order_data.py +0 -0
  113. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_order_metadata.py +0 -0
  114. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_other_taxes.py +0 -0
  115. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_place_order_data.py +0 -0
  116. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_place_order_request.py +0 -0
  117. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_place_order_response.py +0 -0
  118. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_place_order_v3_request.py +0 -0
  119. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_place_order_v3_response.py +0 -0
  120. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_portfolio_api.py +0 -0
  121. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_position_data.py +0 -0
  122. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_post_margin_response.py +0 -0
  123. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_post_trade_api.py +0 -0
  124. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_problem.py +0 -0
  125. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_profile_data.py +0 -0
  126. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_profit_and_loss_charges_data.py +0 -0
  127. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_profit_and_loss_charges_taxes.py +0 -0
  128. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_profit_and_loss_charges_wrapper_data.py +0 -0
  129. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_profit_and_loss_meta_data.py +0 -0
  130. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_profit_and_loss_meta_data_wrapper.py +0 -0
  131. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_profit_and_loss_other_charges_taxes.py +0 -0
  132. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_put_call_option_chain_data.py +0 -0
  133. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_rule.py +0 -0
  134. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_token_request.py +0 -0
  135. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_token_response.py +0 -0
  136. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_data.py +0 -0
  137. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_history_response.py +0 -0
  138. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_history_response_meta_data.py +0 -0
  139. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_history_response_page_data.py +0 -0
  140. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_history_response_trade_data.py +0 -0
  141. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_profit_and_loss_api.py +0 -0
  142. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_wise_meta_data.py +0 -0
  143. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_wise_profit_and_loss_data.py +0 -0
  144. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_user_api.py +0 -0
  145. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_user_fund_margin_data.py +0 -0
  146. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_websocket_api.py +0 -0
  147. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_websocket_auth_redirect_response.py +0 -0
  148. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_websocket_auth_redirect_response_data.py +0 -0
  149. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/__init__.py +0 -0
  150. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/__init__.py +0 -0
  151. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/charge_api.py +0 -0
  152. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/expired_instrument_api.py +0 -0
  153. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/history_api.py +0 -0
  154. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/history_v3_api.py +0 -0
  155. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/login_api.py +0 -0
  156. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/market_holidays_and_timings_api.py +0 -0
  157. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/market_quote_api.py +0 -0
  158. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/market_quote_v3_api.py +0 -0
  159. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/options_api.py +0 -0
  160. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/order_api.py +0 -0
  161. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/order_controller_v_3_api.py +0 -0
  162. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/portfolio_api.py +0 -0
  163. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/post_trade_api.py +0 -0
  164. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/trade_profit_and_loss_api.py +0 -0
  165. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/user_api.py +0 -0
  166. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/websocket_api.py +0 -0
  167. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/configuration.py +0 -0
  168. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/__init__.py +0 -0
  169. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/feeder.py +0 -0
  170. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/market_data_feeder.py +0 -0
  171. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/market_data_feeder_v3.py +0 -0
  172. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/market_data_streamer.py +0 -0
  173. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/market_data_streamer_v3.py +0 -0
  174. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/portfolio_data_feeder.py +0 -0
  175. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/portfolio_data_streamer.py +0 -0
  176. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/proto/MarketDataFeedV3_pb2.py +0 -0
  177. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/proto/MarketDataFeed_pb2.py +0 -0
  178. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/proto/__init__.py +0 -0
  179. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/streamer.py +0 -0
  180. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/__init__.py +0 -0
  181. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/analytics_data.py +0 -0
  182. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/api_gateway_error_response.py +0 -0
  183. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/batch_execution_summary.py +0 -0
  184. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/brokerage_data.py +0 -0
  185. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/brokerage_taxes.py +0 -0
  186. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/brokerage_wrapper_data.py +0 -0
  187. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/cancel_or_exit_multi_order_data.py +0 -0
  188. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/cancel_or_exit_multi_order_response.py +0 -0
  189. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/cancel_or_exit_order_error_data.py +0 -0
  190. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/cancel_order_data.py +0 -0
  191. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/cancel_order_response.py +0 -0
  192. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/cancel_order_v3_response.py +0 -0
  193. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/convert_position_data.py +0 -0
  194. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/convert_position_request.py +0 -0
  195. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/convert_position_response.py +0 -0
  196. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/depth.py +0 -0
  197. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/depth_map.py +0 -0
  198. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/dp_plan.py +0 -0
  199. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/exchange_timing_data.py +0 -0
  200. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/expired_future_data.py +0 -0
  201. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_brokerage_response.py +0 -0
  202. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_exchange_timing_response.py +0 -0
  203. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_expired_futures_contract_response.py +0 -0
  204. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_expiries.py +0 -0
  205. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_full_market_quote_response.py +0 -0
  206. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_gtt_order_response.py +0 -0
  207. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_historical_candle_response.py +0 -0
  208. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_holdings_response.py +0 -0
  209. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_holiday_response.py +0 -0
  210. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_intra_day_candle_response.py +0 -0
  211. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_market_quote_last_traded_price_response.py +0 -0
  212. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_market_quote_last_traded_price_response_v3.py +0 -0
  213. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_market_quote_ohlc_response.py +0 -0
  214. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_market_quote_ohlc_response_v3.py +0 -0
  215. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_market_quote_option_greek_response_v3.py +0 -0
  216. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_market_status_response.py +0 -0
  217. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_option_chain_response.py +0 -0
  218. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_option_contract_response.py +0 -0
  219. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_order_book_response.py +0 -0
  220. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_order_details_response.py +0 -0
  221. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_order_response.py +0 -0
  222. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_position_response.py +0 -0
  223. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_profile_response.py +0 -0
  224. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_profit_and_loss_charges_response.py +0 -0
  225. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_trade_response.py +0 -0
  226. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_trade_wise_profit_and_loss_data_response.py +0 -0
  227. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
  228. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_user_fund_margin_response.py +0 -0
  229. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/gtt_cancel_order_request.py +0 -0
  230. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/gtt_modify_order_request.py +0 -0
  231. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/gtt_order_data.py +0 -0
  232. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/gtt_order_details.py +0 -0
  233. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/gtt_trigger_order_response.py +0 -0
  234. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/historical_candle_data.py +0 -0
  235. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/holiday_data.py +0 -0
  236. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/indie_user_init_token_data.py +0 -0
  237. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/indie_user_init_token_response.py +0 -0
  238. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/indie_user_token_request.py +0 -0
  239. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/instrument.py +0 -0
  240. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/instrument_data.py +0 -0
  241. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/intra_day_candle_data.py +0 -0
  242. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/logout_response.py +0 -0
  243. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/margin.py +0 -0
  244. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/margin_data.py +0 -0
  245. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/margin_request.py +0 -0
  246. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_data.py +0 -0
  247. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_quote_ohlc.py +0 -0
  248. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_quote_ohlcv3.py +0 -0
  249. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_quote_option_greek_v3.py +0 -0
  250. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_quote_symbol.py +0 -0
  251. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_quote_symbol_ltp.py +0 -0
  252. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_quote_symbol_ltp_v3.py +0 -0
  253. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_status_data.py +0 -0
  254. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/modify_order_data.py +0 -0
  255. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/modify_order_request.py +0 -0
  256. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/modify_order_response.py +0 -0
  257. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/modify_order_v3_response.py +0 -0
  258. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/multi_order_data.py +0 -0
  259. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/multi_order_error.py +0 -0
  260. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/multi_order_request.py +0 -0
  261. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/multi_order_response.py +0 -0
  262. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/multi_order_summary.py +0 -0
  263. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/multi_order_v3_data.py +0 -0
  264. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/o_auth_client_exception.py +0 -0
  265. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/o_auth_client_exception_cause.py +0 -0
  266. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/o_auth_client_exception_cause_stack_trace.py +0 -0
  267. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/o_auth_client_exception_cause_suppressed.py +0 -0
  268. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/ohlc.py +0 -0
  269. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/ohlc_v3.py +0 -0
  270. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/option_strike_data.py +0 -0
  271. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/order_metadata.py +0 -0
  272. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/other_taxes.py +0 -0
  273. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/place_order_data.py +0 -0
  274. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/place_order_request.py +0 -0
  275. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/place_order_response.py +0 -0
  276. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/place_order_v3_request.py +0 -0
  277. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/place_order_v3_response.py +0 -0
  278. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/post_margin_response.py +0 -0
  279. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/problem.py +0 -0
  280. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/profit_and_loss_charges_data.py +0 -0
  281. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/profit_and_loss_charges_taxes.py +0 -0
  282. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/profit_and_loss_charges_wrapper_data.py +0 -0
  283. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/profit_and_loss_meta_data.py +0 -0
  284. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/profit_and_loss_meta_data_wrapper.py +0 -0
  285. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/profit_and_loss_other_charges_taxes.py +0 -0
  286. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/put_call_option_chain_data.py +0 -0
  287. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/token_request.py +0 -0
  288. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/trade_history_response.py +0 -0
  289. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/trade_history_response_meta_data.py +0 -0
  290. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/trade_history_response_page_data.py +0 -0
  291. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/trade_history_response_trade_data.py +0 -0
  292. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/trade_wise_meta_data.py +0 -0
  293. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/trade_wise_profit_and_loss_data.py +0 -0
  294. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/user_fund_margin_data.py +0 -0
  295. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/websocket_auth_redirect_response.py +0 -0
  296. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/websocket_auth_redirect_response_data.py +0 -0
  297. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/rest.py +0 -0
  298. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_python_sdk.egg-info/SOURCES.txt +0 -0
  299. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_python_sdk.egg-info/dependency_links.txt +0 -0
  300. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_python_sdk.egg-info/requires.txt +0 -0
  301. {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.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.15.0
3
+ Version: 2.17.0
4
4
  Summary: Upstox Developer API
5
5
  Home-page: https://github.com/upstox/upstox-python
6
6
  License: MIT
@@ -34,7 +34,7 @@ The official Python client for communicating with the <a href="https://upstox.co
34
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.
35
35
 
36
36
  - API version: v2
37
- - Package version: 2.15.0
37
+ - Package version: 2.17.0
38
38
  - Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
39
39
 
40
40
  This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.
@@ -9,7 +9,7 @@ The official Python client for communicating with the <a href="https://upstox.co
9
9
  Upstox API is a set of rest APIs that provide data required to build a complete investment and trading platform. Execute orders in real time, manage user portfolio, stream live market data (using Websocket), and more, with the easy to understand API collection.
10
10
 
11
11
  - API version: v2
12
- - Package version: 2.15.0
12
+ - Package version: 2.17.0
13
13
  - Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
14
14
 
15
15
  This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.
@@ -18,7 +18,7 @@ this_directory = Path(__file__).parent
18
18
  long_description = (this_directory / "README.md").read_text()
19
19
 
20
20
  NAME = "upstox-python-sdk"
21
- VERSION = "2.15.0"
21
+ VERSION = "2.17.0"
22
22
  # To install the library, run the following
23
23
  #
24
24
  # python setup.py install
@@ -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.15.0"
77
+ self.default_headers["X-Upstox-SDK-Version"] = "2.17.0"
78
78
 
79
79
  def __del__(self):
80
80
  try:
@@ -121,7 +121,7 @@ class GttPlaceOrderRequest(object):
121
121
  def product(self):
122
122
  """Gets the product of this GttPlaceOrderRequest. # noqa: E501
123
123
 
124
- Signifies if the order was either Intraday, Delivery, CO or OCO # noqa: E501
124
+ Signifies if the order was either Intraday, Delivery or MTF # noqa: E501
125
125
 
126
126
  :return: The product of this GttPlaceOrderRequest. # noqa: E501
127
127
  :rtype: str
@@ -132,14 +132,14 @@ class GttPlaceOrderRequest(object):
132
132
  def product(self, product):
133
133
  """Sets the product of this GttPlaceOrderRequest.
134
134
 
135
- Signifies if the order was either Intraday, Delivery, CO or OCO # noqa: E501
135
+ Signifies if the order was either Intraday, Delivery or MTF # noqa: E501
136
136
 
137
137
  :param product: The product of this GttPlaceOrderRequest. # noqa: E501
138
138
  :type: str
139
139
  """
140
140
  if product is None:
141
141
  raise ValueError("Invalid value for `product`, must not be `None`") # noqa: E501
142
- allowed_values = ["I", "D"] # noqa: E501
142
+ allowed_values = ["I", "D", "MTF"] # noqa: E501
143
143
  if product not in allowed_values:
144
144
  raise ValueError(
145
145
  "Invalid value for `product` ({0}), must be one of {1}" # noqa: E501
@@ -30,24 +30,29 @@ class GttRule(object):
30
30
  swagger_types = {
31
31
  'strategy': 'str',
32
32
  'trigger_type': 'str',
33
- 'trigger_price': 'float'
33
+ 'trigger_price': 'float',
34
+ 'trailing_gap': 'float'
34
35
  }
35
36
 
36
37
  attribute_map = {
37
38
  'strategy': 'strategy',
38
39
  'trigger_type': 'trigger_type',
39
- 'trigger_price': 'trigger_price'
40
+ 'trigger_price': 'trigger_price',
41
+ 'trailing_gap': 'trailing_gap'
40
42
  }
41
43
 
42
- def __init__(self, strategy=None, trigger_type=None, trigger_price=None): # noqa: E501
44
+ def __init__(self, strategy=None, trigger_type=None, trigger_price=None, trailing_gap=None): # noqa: E501
43
45
  """GttRule - a model defined in Swagger""" # noqa: E501
44
46
  self._strategy = None
45
47
  self._trigger_type = None
46
48
  self._trigger_price = None
49
+ self._trailing_gap = None
47
50
  self.discriminator = None
48
51
  self.strategy = strategy
49
52
  self.trigger_type = trigger_type
50
53
  self.trigger_price = trigger_price
54
+ if trailing_gap is not None:
55
+ self.trailing_gap = trailing_gap
51
56
 
52
57
  @property
53
58
  def strategy(self):
@@ -136,6 +141,29 @@ class GttRule(object):
136
141
 
137
142
  self._trigger_price = trigger_price
138
143
 
144
+ @property
145
+ def trailing_gap(self):
146
+ """Gets the trailing_gap of this GttRule. # noqa: E501
147
+
148
+ Optional parameter defining the trailing gap for the GTT order # noqa: E501
149
+
150
+ :return: The trailing_gap of this GttRule. # noqa: E501
151
+ :rtype: float
152
+ """
153
+ return self._trailing_gap
154
+
155
+ @trailing_gap.setter
156
+ def trailing_gap(self, trailing_gap):
157
+ """Sets the trailing_gap of this GttRule.
158
+
159
+ Optional parameter defining the trailing gap for the GTT order # noqa: E501
160
+
161
+ :param trailing_gap: The trailing_gap of this GttRule. # noqa: E501
162
+ :type: float
163
+ """
164
+
165
+ self._trailing_gap = trailing_gap
166
+
139
167
  def to_dict(self):
140
168
  """Returns the model properties as a dict"""
141
169
  result = {}
@@ -592,13 +592,6 @@ class HoldingsData(object):
592
592
  :param exchange: The exchange of this HoldingsData. # noqa: E501
593
593
  :type: str
594
594
  """
595
- allowed_values = ["NSE", "NFO", "CDS", "BSE", "BFO", "BCD", "MCX"] # noqa: E501
596
- if exchange not in allowed_values:
597
- raise ValueError(
598
- "Invalid value for `exchange` ({0}), must be one of {1}" # noqa: E501
599
- .format(exchange, allowed_values)
600
- )
601
-
602
595
  self._exchange = exchange
603
596
 
604
597
  def to_dict(self):
@@ -207,13 +207,6 @@ class OrderBookData(object):
207
207
  :param exchange: The exchange of this OrderBookData. # noqa: E501
208
208
  :type: str
209
209
  """
210
- allowed_values = ["NSE", "NFO", "CDS", "BSE", "BFO", "BCD", "MCX"] # noqa: E501
211
- if exchange not in allowed_values:
212
- raise ValueError(
213
- "Invalid value for `exchange` ({0}), must be one of {1}" # noqa: E501
214
- .format(exchange, allowed_values)
215
- )
216
-
217
210
  self._exchange = exchange
218
211
 
219
212
  @property
@@ -236,12 +229,6 @@ class OrderBookData(object):
236
229
  :param product: The product of this OrderBookData. # noqa: E501
237
230
  :type: str
238
231
  """
239
- allowed_values = ["I", "D", "CO", "OCO", "MTF"] # noqa: E501
240
- if product not in allowed_values:
241
- raise ValueError(
242
- "Invalid value for `product` ({0}), must be one of {1}" # noqa: E501
243
- .format(product, allowed_values)
244
- )
245
232
 
246
233
  self._product = product
247
234
 
@@ -187,12 +187,6 @@ class OrderData(object):
187
187
  :param exchange: The exchange of this OrderData. # noqa: E501
188
188
  :type: str
189
189
  """
190
- allowed_values = ["NSE", "NFO", "CDS", "BSE", "BFO", "BCD", "MCX"] # noqa: E501
191
- if exchange not in allowed_values:
192
- raise ValueError(
193
- "Invalid value for `exchange` ({0}), must be one of {1}" # noqa: E501
194
- .format(exchange, allowed_values)
195
- )
196
190
 
197
191
  self._exchange = exchange
198
192
 
@@ -239,12 +233,6 @@ class OrderData(object):
239
233
  :param product: The product of this OrderData. # noqa: E501
240
234
  :type: str
241
235
  """
242
- allowed_values = ["I", "D", "CO", "OCO", "MTF"] # noqa: E501
243
- if product not in allowed_values:
244
- raise ValueError(
245
- "Invalid value for `product` ({0}), must be one of {1}" # noqa: E501
246
- .format(product, allowed_values)
247
- )
248
236
 
249
237
  self._product = product
250
238
 
@@ -202,13 +202,6 @@ class PositionData(object):
202
202
  :param exchange: The exchange of this PositionData. # noqa: E501
203
203
  :type: str
204
204
  """
205
- allowed_values = ["NSE", "NFO", "CDS", "BSE", "BFO", "BCD", "MCX"] # noqa: E501
206
- if exchange not in allowed_values:
207
- raise ValueError(
208
- "Invalid value for `exchange` ({0}), must be one of {1}" # noqa: E501
209
- .format(exchange, allowed_values)
210
- )
211
-
212
205
  self._exchange = exchange
213
206
 
214
207
  @property
@@ -130,13 +130,6 @@ class ProfileData(object):
130
130
  :param exchanges: The exchanges of this ProfileData. # noqa: E501
131
131
  :type: list[str]
132
132
  """
133
- allowed_values = ["NSE", "NFO", "CDS", "BSE", "BFO", "BCD", "MCX", "NSCOM"] # noqa: E501
134
- if not set(exchanges).issubset(set(allowed_values)):
135
- raise ValueError(
136
- "Invalid values for `exchanges` [{0}], must be a subset of [{1}]" # noqa: E501
137
- .format(", ".join(map(str, set(exchanges) - set(allowed_values))), # noqa: E501
138
- ", ".join(map(str, allowed_values)))
139
- )
140
133
 
141
134
  self._exchanges = exchanges
142
135
 
@@ -160,13 +153,6 @@ class ProfileData(object):
160
153
  :param products: The products of this ProfileData. # noqa: E501
161
154
  :type: list[str]
162
155
  """
163
- allowed_values = ["I", "D", "CO", "OCO", "MTF"] # noqa: E501
164
- if not set(products).issubset(set(allowed_values)):
165
- raise ValueError(
166
- "Invalid values for `products` [{0}], must be a subset of [{1}]" # noqa: E501
167
- .format(", ".join(map(str, set(products) - set(allowed_values))), # noqa: E501
168
- ", ".join(map(str, allowed_values)))
169
- )
170
156
 
171
157
  self._products = products
172
158
 
@@ -34,7 +34,8 @@ class Rule(object):
34
34
  'trigger_type': 'str',
35
35
  'trigger_price': 'float',
36
36
  'transaction_type': 'str',
37
- 'order_id': 'str'
37
+ 'order_id': 'str',
38
+ 'trailing_gap': 'float'
38
39
  }
39
40
 
40
41
  attribute_map = {
@@ -44,10 +45,11 @@ class Rule(object):
44
45
  'trigger_type': 'trigger_type',
45
46
  'trigger_price': 'trigger_price',
46
47
  'transaction_type': 'transaction_type',
47
- 'order_id': 'order_id'
48
+ 'order_id': 'order_id',
49
+ 'trailing_gap': 'trailing_gap'
48
50
  }
49
51
 
50
- def __init__(self, strategy=None, status=None, message=None, trigger_type=None, trigger_price=None, transaction_type=None, order_id=None): # noqa: E501
52
+ def __init__(self, strategy=None, status=None, message=None, trigger_type=None, trigger_price=None, transaction_type=None, order_id=None, trailing_gap=None): # noqa: E501
51
53
  """Rule - a model defined in Swagger""" # noqa: E501
52
54
  self._strategy = None
53
55
  self._status = None
@@ -56,6 +58,7 @@ class Rule(object):
56
58
  self._trigger_price = None
57
59
  self._transaction_type = None
58
60
  self._order_id = None
61
+ self._trailing_gap = None
59
62
  self.discriminator = None
60
63
  if strategy is not None:
61
64
  self.strategy = strategy
@@ -71,6 +74,8 @@ class Rule(object):
71
74
  self.transaction_type = transaction_type
72
75
  if order_id is not None:
73
76
  self.order_id = order_id
77
+ if trailing_gap is not None:
78
+ self.trailing_gap = trailing_gap
74
79
 
75
80
  @property
76
81
  def strategy(self):
@@ -219,6 +224,27 @@ class Rule(object):
219
224
 
220
225
  self._order_id = order_id
221
226
 
227
+ @property
228
+ def trailing_gap(self):
229
+ """Gets the trailing_gap of this Rule. # noqa: E501
230
+
231
+
232
+ :return: The trailing_gap of this Rule. # noqa: E501
233
+ :rtype: float
234
+ """
235
+ return self._trailing_gap
236
+
237
+ @trailing_gap.setter
238
+ def trailing_gap(self, trailing_gap):
239
+ """Sets the trailing_gap of this Rule.
240
+
241
+
242
+ :param trailing_gap: The trailing_gap of this Rule. # noqa: E501
243
+ :type: float
244
+ """
245
+
246
+ self._trailing_gap = trailing_gap
247
+
222
248
  def to_dict(self):
223
249
  """Returns the model properties as a dict"""
224
250
  result = {}
@@ -140,13 +140,6 @@ class TokenResponse(object):
140
140
  :param exchanges: The exchanges of this TokenResponse. # noqa: E501
141
141
  :type: list[str]
142
142
  """
143
- allowed_values = ["NSE", "NFO", "CDS", "BSE", "BFO", "BCD", "MCX"] # noqa: E501
144
- if not set(exchanges).issubset(set(allowed_values)):
145
- raise ValueError(
146
- "Invalid values for `exchanges` [{0}], must be a subset of [{1}]" # noqa: E501
147
- .format(", ".join(map(str, set(exchanges) - set(allowed_values))), # noqa: E501
148
- ", ".join(map(str, allowed_values)))
149
- )
150
143
 
151
144
  self._exchanges = exchanges
152
145
 
@@ -170,13 +163,6 @@ class TokenResponse(object):
170
163
  :param products: The products of this TokenResponse. # noqa: E501
171
164
  :type: list[str]
172
165
  """
173
- allowed_values = ["I", "D", "CO", "OCO", "MTF"] # noqa: E501
174
- if not set(products).issubset(set(allowed_values)):
175
- raise ValueError(
176
- "Invalid values for `products` [{0}], must be a subset of [{1}]" # noqa: E501
177
- .format(", ".join(map(str, set(products) - set(allowed_values))), # noqa: E501
178
- ", ".join(map(str, allowed_values)))
179
- )
180
166
 
181
167
  self._products = products
182
168
 
@@ -132,12 +132,6 @@ class TradeData(object):
132
132
  :param exchange: The exchange of this TradeData. # noqa: E501
133
133
  :type: str
134
134
  """
135
- allowed_values = ["NSE", "NFO", "CDS", "BSE", "BFO", "BCD", "MCX"] # noqa: E501
136
- if exchange not in allowed_values:
137
- raise ValueError(
138
- "Invalid value for `exchange` ({0}), must be one of {1}" # noqa: E501
139
- .format(exchange, allowed_values)
140
- )
141
135
 
142
136
  self._exchange = exchange
143
137
 
@@ -161,12 +155,6 @@ class TradeData(object):
161
155
  :param product: The product of this TradeData. # noqa: E501
162
156
  :type: str
163
157
  """
164
- allowed_values = ["I", "D", "CO", "OCO", "MTF"] # noqa: E501
165
- if product not in allowed_values:
166
- raise ValueError(
167
- "Invalid value for `product` ({0}), must be one of {1}" # noqa: E501
168
- .format(product, allowed_values)
169
- )
170
158
 
171
159
  self._product = product
172
160
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: upstox-python-sdk
3
- Version: 2.15.0
3
+ Version: 2.17.0
4
4
  Summary: Upstox Developer API
5
5
  Home-page: https://github.com/upstox/upstox-python
6
6
  License: MIT
@@ -34,7 +34,7 @@ The official Python client for communicating with the <a href="https://upstox.co
34
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.
35
35
 
36
36
  - API version: v2
37
- - Package version: 2.15.0
37
+ - Package version: 2.17.0
38
38
  - Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
39
39
 
40
40
  This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.