upstox-python-sdk 2.5.0__tar.gz → 2.7.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 (230) hide show
  1. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/PKG-INFO +22 -5
  2. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/README.md +14 -1
  3. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/setup.py +1 -1
  4. upstox_python_sdk-2.7.0/test/test_get_order_details_response.py +39 -0
  5. upstox_python_sdk-2.7.0/test/test_instrument.py +39 -0
  6. upstox_python_sdk-2.7.0/test/test_margin.py +39 -0
  7. upstox_python_sdk-2.7.0/test/test_margin_data.py +39 -0
  8. upstox_python_sdk-2.7.0/test/test_margin_request.py +39 -0
  9. upstox_python_sdk-2.7.0/test/test_post_margin_response.py +39 -0
  10. upstox_python_sdk-2.7.0/test/test_post_trade_api.py +39 -0
  11. upstox_python_sdk-2.7.0/test/test_trade_history_response.py +39 -0
  12. upstox_python_sdk-2.7.0/test/test_trade_history_response_meta_data.py +39 -0
  13. upstox_python_sdk-2.7.0/test/test_trade_history_response_page_data.py +39 -0
  14. upstox_python_sdk-2.7.0/test/test_trade_history_response_trade_data.py +39 -0
  15. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/__init__.py +11 -0
  16. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/api/charge_api.py +99 -0
  17. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/api/order_api.py +91 -0
  18. upstox_python_sdk-2.7.0/upstox_client/api/post_trade_api.py +156 -0
  19. upstox_python_sdk-2.7.0/upstox_client/feeder/proto/MarketDataFeed_pb2.py +56 -0
  20. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/__init__.py +10 -0
  21. upstox_python_sdk-2.7.0/upstox_client/models/get_order_details_response.py +142 -0
  22. upstox_python_sdk-2.7.0/upstox_client/models/instrument.py +228 -0
  23. upstox_python_sdk-2.7.0/upstox_client/models/margin.py +280 -0
  24. upstox_python_sdk-2.7.0/upstox_client/models/margin_data.py +168 -0
  25. upstox_python_sdk-2.7.0/upstox_client/models/margin_request.py +113 -0
  26. upstox_python_sdk-2.7.0/upstox_client/models/post_margin_response.py +142 -0
  27. upstox_python_sdk-2.7.0/upstox_client/models/trade_history_response.py +168 -0
  28. upstox_python_sdk-2.7.0/upstox_client/models/trade_history_response_meta_data.py +110 -0
  29. upstox_python_sdk-2.7.0/upstox_client/models/trade_history_response_page_data.py +188 -0
  30. upstox_python_sdk-2.7.0/upstox_client/models/trade_history_response_trade_data.py +474 -0
  31. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_python_sdk.egg-info/PKG-INFO +22 -5
  32. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_python_sdk.egg-info/SOURCES.txt +22 -0
  33. upstox-python-sdk-2.5.0/upstox_client/feeder/proto/MarketDataFeed_pb2.py +0 -55
  34. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/LICENSE.txt +0 -0
  35. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/setup.cfg +0 -0
  36. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/__init__.py +0 -0
  37. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/sanity_test.py +0 -0
  38. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_analytics_data.py +0 -0
  39. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_api_gateway_error_response.py +0 -0
  40. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_brokerage_data.py +0 -0
  41. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_brokerage_taxes.py +0 -0
  42. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_brokerage_wrapper_data.py +0 -0
  43. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_cancel_order_data.py +0 -0
  44. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_cancel_order_response.py +0 -0
  45. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_charge_api.py +0 -0
  46. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_convert_position_data.py +0 -0
  47. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_convert_position_request.py +0 -0
  48. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_convert_position_response.py +0 -0
  49. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_depth.py +0 -0
  50. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_depth_map.py +0 -0
  51. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_dp_plan.py +0 -0
  52. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_exchange_timing_data.py +0 -0
  53. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_brokerage_response.py +0 -0
  54. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_exchange_timing_response.py +0 -0
  55. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_full_market_quote_response.py +0 -0
  56. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_historical_candle_response.py +0 -0
  57. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_holdings_response.py +0 -0
  58. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_holiday_response.py +0 -0
  59. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_intra_day_candle_response.py +0 -0
  60. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_market_quote_last_traded_price_response.py +0 -0
  61. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_market_quote_ohlc_response.py +0 -0
  62. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_market_status_response.py +0 -0
  63. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_option_chain_response.py +0 -0
  64. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_option_contract_response.py +0 -0
  65. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_order_book_response.py +0 -0
  66. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_order_response.py +0 -0
  67. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_position_response.py +0 -0
  68. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_profile_response.py +0 -0
  69. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_profit_and_loss_charges_response.py +0 -0
  70. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_trade_response.py +0 -0
  71. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_trade_wise_profit_and_loss_data_response.py +0 -0
  72. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
  73. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_get_user_fund_margin_response.py +0 -0
  74. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_historical_candle_data.py +0 -0
  75. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_history_api.py +0 -0
  76. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_holdings_data.py +0 -0
  77. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_holiday_data.py +0 -0
  78. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_instrument_data.py +0 -0
  79. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_intra_day_candle_data.py +0 -0
  80. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_login_api.py +0 -0
  81. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_logout_response.py +0 -0
  82. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_market_data.py +0 -0
  83. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_market_holidays_and_timings_api.py +0 -0
  84. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_market_quote_api.py +0 -0
  85. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_market_quote_ohlc.py +0 -0
  86. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_market_quote_symbol.py +0 -0
  87. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_market_quote_symbol_ltp.py +0 -0
  88. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_market_status_data.py +0 -0
  89. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_modify_order_data.py +0 -0
  90. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_modify_order_request.py +0 -0
  91. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_modify_order_response.py +0 -0
  92. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_o_auth_client_exception.py +0 -0
  93. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_o_auth_client_exception_cause.py +0 -0
  94. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_o_auth_client_exception_cause_stack_trace.py +0 -0
  95. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_o_auth_client_exception_cause_suppressed.py +0 -0
  96. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_ohlc.py +0 -0
  97. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_option_strike_data.py +0 -0
  98. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_options_api.py +0 -0
  99. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_order_api.py +0 -0
  100. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_order_book_data.py +0 -0
  101. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_order_data.py +0 -0
  102. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_other_taxes.py +0 -0
  103. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_place_order_data.py +0 -0
  104. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_place_order_request.py +0 -0
  105. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_place_order_response.py +0 -0
  106. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_portfolio_api.py +0 -0
  107. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_position_data.py +0 -0
  108. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_problem.py +0 -0
  109. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_profile_data.py +0 -0
  110. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_profit_and_loss_charges_data.py +0 -0
  111. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_profit_and_loss_charges_taxes.py +0 -0
  112. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_profit_and_loss_charges_wrapper_data.py +0 -0
  113. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_profit_and_loss_meta_data.py +0 -0
  114. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_profit_and_loss_meta_data_wrapper.py +0 -0
  115. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_profit_and_loss_other_charges_taxes.py +0 -0
  116. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_put_call_option_chain_data.py +0 -0
  117. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_token_request.py +0 -0
  118. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_token_response.py +0 -0
  119. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_trade_data.py +0 -0
  120. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_trade_profit_and_loss_api.py +0 -0
  121. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_trade_wise_meta_data.py +0 -0
  122. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_trade_wise_profit_and_loss_data.py +0 -0
  123. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_user_api.py +0 -0
  124. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_user_fund_margin_data.py +0 -0
  125. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_websocket_api.py +0 -0
  126. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_websocket_auth_redirect_response.py +0 -0
  127. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/test/test_websocket_auth_redirect_response_data.py +0 -0
  128. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/api/__init__.py +0 -0
  129. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/api/history_api.py +0 -0
  130. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/api/login_api.py +0 -0
  131. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/api/market_holidays_and_timings_api.py +0 -0
  132. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/api/market_quote_api.py +0 -0
  133. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/api/options_api.py +0 -0
  134. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/api/portfolio_api.py +0 -0
  135. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/api/trade_profit_and_loss_api.py +0 -0
  136. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/api/user_api.py +0 -0
  137. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/api/websocket_api.py +0 -0
  138. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/api_client.py +0 -0
  139. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/configuration.py +0 -0
  140. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/feeder/__init__.py +0 -0
  141. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/feeder/feeder.py +0 -0
  142. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/feeder/market_data_feeder.py +0 -0
  143. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/feeder/market_data_streamer.py +0 -0
  144. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/feeder/portfolio_data_feeder.py +0 -0
  145. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/feeder/portfolio_data_streamer.py +0 -0
  146. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/feeder/proto/__init__.py +0 -0
  147. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/feeder/streamer.py +0 -0
  148. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/analytics_data.py +0 -0
  149. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/api_gateway_error_response.py +0 -0
  150. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/brokerage_data.py +0 -0
  151. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/brokerage_taxes.py +0 -0
  152. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/brokerage_wrapper_data.py +0 -0
  153. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/cancel_order_data.py +0 -0
  154. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/cancel_order_response.py +0 -0
  155. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/convert_position_data.py +0 -0
  156. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/convert_position_request.py +0 -0
  157. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/convert_position_response.py +0 -0
  158. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/depth.py +0 -0
  159. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/depth_map.py +0 -0
  160. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/dp_plan.py +0 -0
  161. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/exchange_timing_data.py +0 -0
  162. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_brokerage_response.py +0 -0
  163. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_exchange_timing_response.py +0 -0
  164. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_full_market_quote_response.py +0 -0
  165. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_historical_candle_response.py +0 -0
  166. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_holdings_response.py +0 -0
  167. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_holiday_response.py +0 -0
  168. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_intra_day_candle_response.py +0 -0
  169. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_market_quote_last_traded_price_response.py +0 -0
  170. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_market_quote_ohlc_response.py +0 -0
  171. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_market_status_response.py +0 -0
  172. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_option_chain_response.py +0 -0
  173. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_option_contract_response.py +0 -0
  174. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_order_book_response.py +0 -0
  175. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_order_response.py +0 -0
  176. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_position_response.py +0 -0
  177. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_profile_response.py +0 -0
  178. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_profit_and_loss_charges_response.py +0 -0
  179. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_trade_response.py +0 -0
  180. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_trade_wise_profit_and_loss_data_response.py +0 -0
  181. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
  182. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/get_user_fund_margin_response.py +0 -0
  183. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/historical_candle_data.py +0 -0
  184. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/holdings_data.py +0 -0
  185. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/holiday_data.py +0 -0
  186. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/instrument_data.py +0 -0
  187. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/intra_day_candle_data.py +0 -0
  188. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/logout_response.py +0 -0
  189. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/market_data.py +0 -0
  190. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/market_quote_ohlc.py +0 -0
  191. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/market_quote_symbol.py +0 -0
  192. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/market_quote_symbol_ltp.py +0 -0
  193. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/market_status_data.py +0 -0
  194. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/modify_order_data.py +0 -0
  195. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/modify_order_request.py +0 -0
  196. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/modify_order_response.py +0 -0
  197. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/o_auth_client_exception.py +0 -0
  198. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/o_auth_client_exception_cause.py +0 -0
  199. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/o_auth_client_exception_cause_stack_trace.py +0 -0
  200. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/o_auth_client_exception_cause_suppressed.py +0 -0
  201. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/ohlc.py +0 -0
  202. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/option_strike_data.py +0 -0
  203. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/order_book_data.py +0 -0
  204. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/order_data.py +0 -0
  205. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/other_taxes.py +0 -0
  206. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/place_order_data.py +0 -0
  207. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/place_order_request.py +0 -0
  208. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/place_order_response.py +0 -0
  209. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/position_data.py +0 -0
  210. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/problem.py +0 -0
  211. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/profile_data.py +0 -0
  212. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/profit_and_loss_charges_data.py +0 -0
  213. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/profit_and_loss_charges_taxes.py +0 -0
  214. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/profit_and_loss_charges_wrapper_data.py +0 -0
  215. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/profit_and_loss_meta_data.py +0 -0
  216. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/profit_and_loss_meta_data_wrapper.py +0 -0
  217. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/profit_and_loss_other_charges_taxes.py +0 -0
  218. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/put_call_option_chain_data.py +0 -0
  219. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/token_request.py +0 -0
  220. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/token_response.py +0 -0
  221. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/trade_data.py +0 -0
  222. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/trade_wise_meta_data.py +0 -0
  223. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/trade_wise_profit_and_loss_data.py +0 -0
  224. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/user_fund_margin_data.py +0 -0
  225. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/websocket_auth_redirect_response.py +0 -0
  226. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/models/websocket_auth_redirect_response_data.py +0 -0
  227. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_client/rest.py +0 -0
  228. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_python_sdk.egg-info/dependency_links.txt +0 -0
  229. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_python_sdk.egg-info/requires.txt +0 -0
  230. {upstox-python-sdk-2.5.0 → upstox_python_sdk-2.7.0}/upstox_python_sdk.egg-info/top_level.txt +0 -0
@@ -1,13 +1,19 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: upstox-python-sdk
3
- Version: 2.5.0
3
+ Version: 2.7.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
11
17
 
12
18
  # Upstox Python SDK for API v2
13
19
 
@@ -20,7 +26,7 @@ The official Python client for communicating with the <a href="https://upstox.co
20
26
  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
27
 
22
28
  - API version: v2
23
- - Package version: 2.5.0
29
+ - Package version: 2.7.0
24
30
  - Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
25
31
 
26
32
  This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.
@@ -76,6 +82,7 @@ All URIs are relative to *https://api.upstox.com/v2/*
76
82
  Class | Method | HTTP request | Description
77
83
  ------------ | ------------- | ------------- | -------------
78
84
  *ChargeApi* | [**get_brokerage**](docs/ChargeApi.md#get_brokerage) | **GET** /v2/charges/brokerage | Brokerage details
85
+ *ChargeApi* | [**post_margin**](docs/ChargeApi.md#post_margin) | **POST** /v2/charges/margin | Calculate Margin
79
86
  *HistoryApi* | [**get_historical_candle_data**](docs/HistoryApi.md#get_historical_candle_data) | **GET** /v2/historical-candle/{instrumentKey}/{interval}/{to_date} | Historical candle data
80
87
  *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
81
88
  *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
@@ -94,6 +101,7 @@ Class | Method | HTTP request | Description
94
101
  *OrderApi* | [**cancel_order**](docs/OrderApi.md#cancel_order) | **DELETE** /v2/order/cancel | Cancel order
95
102
  *OrderApi* | [**get_order_book**](docs/OrderApi.md#get_order_book) | **GET** /v2/order/retrieve-all | Get order book
96
103
  *OrderApi* | [**get_order_details**](docs/OrderApi.md#get_order_details) | **GET** /v2/order/history | Get order history
104
+ *OrderApi* | [**get_order_status**](docs/OrderApi.md#get_order_status) | **GET** /v2/order/details | Get order details
97
105
  *OrderApi* | [**get_trade_history**](docs/OrderApi.md#get_trade_history) | **GET** /v2/order/trades/get-trades-for-day | Get trades
98
106
  *OrderApi* | [**get_trades_by_order**](docs/OrderApi.md#get_trades_by_order) | **GET** /v2/order/trades | Get trades for order
99
107
  *OrderApi* | [**modify_order**](docs/OrderApi.md#modify_order) | **PUT** /v2/order/modify | Modify order
@@ -101,6 +109,7 @@ Class | Method | HTTP request | Description
101
109
  *PortfolioApi* | [**convert_positions**](docs/PortfolioApi.md#convert_positions) | **PUT** /v2/portfolio/convert-position | Convert Positions
102
110
  *PortfolioApi* | [**get_holdings**](docs/PortfolioApi.md#get_holdings) | **GET** /v2/portfolio/long-term-holdings | Get Holdings
103
111
  *PortfolioApi* | [**get_positions**](docs/PortfolioApi.md#get_positions) | **GET** /v2/portfolio/short-term-positions | Get Positions
112
+ *PostTradeApi* | [**get_trades_by_date_range**](docs/PostTradeApi.md#get_trades_by_date_range) | **GET** /v2/charges/historical-trades | Get historical trades
104
113
  *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
105
114
  *TradeProfitAndLossApi* | [**get_trade_wise_profit_and_loss_data**](docs/TradeProfitAndLossApi.md#get_trade_wise_profit_and_loss_data) | **GET** /v2/trade/profit-loss/data | Get Trade-wise Profit and Loss Report Data
106
115
  *TradeProfitAndLossApi* | [**get_trade_wise_profit_and_loss_meta_data**](docs/TradeProfitAndLossApi.md#get_trade_wise_profit_and_loss_meta_data) | **GET** /v2/trade/profit-loss/metadata | Get profit and loss meta data on trades
@@ -503,6 +512,7 @@ This example demonstrates initializing the PortfolioDataStreamer, connecting it
503
512
  - [GetOptionChainResponse](docs/GetOptionChainResponse.md)
504
513
  - [GetOptionContractResponse](docs/GetOptionContractResponse.md)
505
514
  - [GetOrderBookResponse](docs/GetOrderBookResponse.md)
515
+ - [GetOrderDetailsResponse](docs/GetOrderDetailsResponse.md)
506
516
  - [GetOrderResponse](docs/GetOrderResponse.md)
507
517
  - [GetPositionResponse](docs/GetPositionResponse.md)
508
518
  - [GetProfileResponse](docs/GetProfileResponse.md)
@@ -514,9 +524,13 @@ This example demonstrates initializing the PortfolioDataStreamer, connecting it
514
524
  - [HistoricalCandleData](docs/HistoricalCandleData.md)
515
525
  - [HoldingsData](docs/HoldingsData.md)
516
526
  - [HolidayData](docs/HolidayData.md)
527
+ - [Instrument](docs/Instrument.md)
517
528
  - [InstrumentData](docs/InstrumentData.md)
518
529
  - [IntraDayCandleData](docs/IntraDayCandleData.md)
519
530
  - [LogoutResponse](docs/LogoutResponse.md)
531
+ - [Margin](docs/Margin.md)
532
+ - [MarginData](docs/MarginData.md)
533
+ - [MarginRequest](docs/MarginRequest.md)
520
534
  - [MarketData](docs/MarketData.md)
521
535
  - [MarketQuoteOHLC](docs/MarketQuoteOHLC.md)
522
536
  - [MarketQuoteSymbol](docs/MarketQuoteSymbol.md)
@@ -538,6 +552,7 @@ This example demonstrates initializing the PortfolioDataStreamer, connecting it
538
552
  - [PlaceOrderRequest](docs/PlaceOrderRequest.md)
539
553
  - [PlaceOrderResponse](docs/PlaceOrderResponse.md)
540
554
  - [PositionData](docs/PositionData.md)
555
+ - [PostMarginResponse](docs/PostMarginResponse.md)
541
556
  - [Problem](docs/Problem.md)
542
557
  - [ProfileData](docs/ProfileData.md)
543
558
  - [ProfitAndLossChargesData](docs/ProfitAndLossChargesData.md)
@@ -550,10 +565,12 @@ This example demonstrates initializing the PortfolioDataStreamer, connecting it
550
565
  - [TokenRequest](docs/TokenRequest.md)
551
566
  - [TokenResponse](docs/TokenResponse.md)
552
567
  - [TradeData](docs/TradeData.md)
568
+ - [TradeHistoryResponse](docs/TradeHistoryResponse.md)
569
+ - [TradeHistoryResponseMetaData](docs/TradeHistoryResponseMetaData.md)
570
+ - [TradeHistoryResponsePageData](docs/TradeHistoryResponsePageData.md)
571
+ - [TradeHistoryResponseTradeData](docs/TradeHistoryResponseTradeData.md)
553
572
  - [TradeWiseMetaData](docs/TradeWiseMetaData.md)
554
573
  - [TradeWiseProfitAndLossData](docs/TradeWiseProfitAndLossData.md)
555
574
  - [UserFundMarginData](docs/UserFundMarginData.md)
556
575
  - [WebsocketAuthRedirectResponse](docs/WebsocketAuthRedirectResponse.md)
557
576
  - [WebsocketAuthRedirectResponseData](docs/WebsocketAuthRedirectResponseData.md)
558
-
559
-
@@ -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.5.0
12
+ - Package version: 2.7.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.
@@ -65,6 +65,7 @@ All URIs are relative to *https://api.upstox.com/v2/*
65
65
  Class | Method | HTTP request | Description
66
66
  ------------ | ------------- | ------------- | -------------
67
67
  *ChargeApi* | [**get_brokerage**](docs/ChargeApi.md#get_brokerage) | **GET** /v2/charges/brokerage | Brokerage details
68
+ *ChargeApi* | [**post_margin**](docs/ChargeApi.md#post_margin) | **POST** /v2/charges/margin | Calculate Margin
68
69
  *HistoryApi* | [**get_historical_candle_data**](docs/HistoryApi.md#get_historical_candle_data) | **GET** /v2/historical-candle/{instrumentKey}/{interval}/{to_date} | Historical candle data
69
70
  *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
70
71
  *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
@@ -83,6 +84,7 @@ Class | Method | HTTP request | Description
83
84
  *OrderApi* | [**cancel_order**](docs/OrderApi.md#cancel_order) | **DELETE** /v2/order/cancel | Cancel order
84
85
  *OrderApi* | [**get_order_book**](docs/OrderApi.md#get_order_book) | **GET** /v2/order/retrieve-all | Get order book
85
86
  *OrderApi* | [**get_order_details**](docs/OrderApi.md#get_order_details) | **GET** /v2/order/history | Get order history
87
+ *OrderApi* | [**get_order_status**](docs/OrderApi.md#get_order_status) | **GET** /v2/order/details | Get order details
86
88
  *OrderApi* | [**get_trade_history**](docs/OrderApi.md#get_trade_history) | **GET** /v2/order/trades/get-trades-for-day | Get trades
87
89
  *OrderApi* | [**get_trades_by_order**](docs/OrderApi.md#get_trades_by_order) | **GET** /v2/order/trades | Get trades for order
88
90
  *OrderApi* | [**modify_order**](docs/OrderApi.md#modify_order) | **PUT** /v2/order/modify | Modify order
@@ -90,6 +92,7 @@ Class | Method | HTTP request | Description
90
92
  *PortfolioApi* | [**convert_positions**](docs/PortfolioApi.md#convert_positions) | **PUT** /v2/portfolio/convert-position | Convert Positions
91
93
  *PortfolioApi* | [**get_holdings**](docs/PortfolioApi.md#get_holdings) | **GET** /v2/portfolio/long-term-holdings | Get Holdings
92
94
  *PortfolioApi* | [**get_positions**](docs/PortfolioApi.md#get_positions) | **GET** /v2/portfolio/short-term-positions | Get Positions
95
+ *PostTradeApi* | [**get_trades_by_date_range**](docs/PostTradeApi.md#get_trades_by_date_range) | **GET** /v2/charges/historical-trades | Get historical trades
93
96
  *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
94
97
  *TradeProfitAndLossApi* | [**get_trade_wise_profit_and_loss_data**](docs/TradeProfitAndLossApi.md#get_trade_wise_profit_and_loss_data) | **GET** /v2/trade/profit-loss/data | Get Trade-wise Profit and Loss Report Data
95
98
  *TradeProfitAndLossApi* | [**get_trade_wise_profit_and_loss_meta_data**](docs/TradeProfitAndLossApi.md#get_trade_wise_profit_and_loss_meta_data) | **GET** /v2/trade/profit-loss/metadata | Get profit and loss meta data on trades
@@ -492,6 +495,7 @@ This example demonstrates initializing the PortfolioDataStreamer, connecting it
492
495
  - [GetOptionChainResponse](docs/GetOptionChainResponse.md)
493
496
  - [GetOptionContractResponse](docs/GetOptionContractResponse.md)
494
497
  - [GetOrderBookResponse](docs/GetOrderBookResponse.md)
498
+ - [GetOrderDetailsResponse](docs/GetOrderDetailsResponse.md)
495
499
  - [GetOrderResponse](docs/GetOrderResponse.md)
496
500
  - [GetPositionResponse](docs/GetPositionResponse.md)
497
501
  - [GetProfileResponse](docs/GetProfileResponse.md)
@@ -503,9 +507,13 @@ This example demonstrates initializing the PortfolioDataStreamer, connecting it
503
507
  - [HistoricalCandleData](docs/HistoricalCandleData.md)
504
508
  - [HoldingsData](docs/HoldingsData.md)
505
509
  - [HolidayData](docs/HolidayData.md)
510
+ - [Instrument](docs/Instrument.md)
506
511
  - [InstrumentData](docs/InstrumentData.md)
507
512
  - [IntraDayCandleData](docs/IntraDayCandleData.md)
508
513
  - [LogoutResponse](docs/LogoutResponse.md)
514
+ - [Margin](docs/Margin.md)
515
+ - [MarginData](docs/MarginData.md)
516
+ - [MarginRequest](docs/MarginRequest.md)
509
517
  - [MarketData](docs/MarketData.md)
510
518
  - [MarketQuoteOHLC](docs/MarketQuoteOHLC.md)
511
519
  - [MarketQuoteSymbol](docs/MarketQuoteSymbol.md)
@@ -527,6 +535,7 @@ This example demonstrates initializing the PortfolioDataStreamer, connecting it
527
535
  - [PlaceOrderRequest](docs/PlaceOrderRequest.md)
528
536
  - [PlaceOrderResponse](docs/PlaceOrderResponse.md)
529
537
  - [PositionData](docs/PositionData.md)
538
+ - [PostMarginResponse](docs/PostMarginResponse.md)
530
539
  - [Problem](docs/Problem.md)
531
540
  - [ProfileData](docs/ProfileData.md)
532
541
  - [ProfitAndLossChargesData](docs/ProfitAndLossChargesData.md)
@@ -539,6 +548,10 @@ This example demonstrates initializing the PortfolioDataStreamer, connecting it
539
548
  - [TokenRequest](docs/TokenRequest.md)
540
549
  - [TokenResponse](docs/TokenResponse.md)
541
550
  - [TradeData](docs/TradeData.md)
551
+ - [TradeHistoryResponse](docs/TradeHistoryResponse.md)
552
+ - [TradeHistoryResponseMetaData](docs/TradeHistoryResponseMetaData.md)
553
+ - [TradeHistoryResponsePageData](docs/TradeHistoryResponsePageData.md)
554
+ - [TradeHistoryResponseTradeData](docs/TradeHistoryResponseTradeData.md)
542
555
  - [TradeWiseMetaData](docs/TradeWiseMetaData.md)
543
556
  - [TradeWiseProfitAndLossData](docs/TradeWiseProfitAndLossData.md)
544
557
  - [UserFundMarginData](docs/UserFundMarginData.md)
@@ -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.5.0"
21
+ VERSION = "2.7.0"
22
22
  # To install the library, run the following
23
23
  #
24
24
  # python setup.py install
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ OpenAPI definition
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: v0
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import swagger_client
18
+ from swagger_client.models.get_order_details_response import GetOrderDetailsResponse # noqa: E501
19
+ from swagger_client.rest import ApiException
20
+
21
+
22
+ class TestGetOrderDetailsResponse(unittest.TestCase):
23
+ """GetOrderDetailsResponse unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testGetOrderDetailsResponse(self):
32
+ """Test GetOrderDetailsResponse"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = swagger_client.models.get_order_details_response.GetOrderDetailsResponse() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ OpenAPI definition
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: v0
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import swagger_client
18
+ from swagger_client.models.instrument import Instrument # noqa: E501
19
+ from swagger_client.rest import ApiException
20
+
21
+
22
+ class TestInstrument(unittest.TestCase):
23
+ """Instrument unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testInstrument(self):
32
+ """Test Instrument"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = swagger_client.models.instrument.Instrument() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ OpenAPI definition
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: v0
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import swagger_client
18
+ from swagger_client.models.margin import Margin # noqa: E501
19
+ from swagger_client.rest import ApiException
20
+
21
+
22
+ class TestMargin(unittest.TestCase):
23
+ """Margin unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testMargin(self):
32
+ """Test Margin"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = swagger_client.models.margin.Margin() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ OpenAPI definition
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: v0
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import swagger_client
18
+ from swagger_client.models.margin_data import MarginData # noqa: E501
19
+ from swagger_client.rest import ApiException
20
+
21
+
22
+ class TestMarginData(unittest.TestCase):
23
+ """MarginData unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testMarginData(self):
32
+ """Test MarginData"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = swagger_client.models.margin_data.MarginData() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ OpenAPI definition
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: v0
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import swagger_client
18
+ from swagger_client.models.margin_request import MarginRequest # noqa: E501
19
+ from swagger_client.rest import ApiException
20
+
21
+
22
+ class TestMarginRequest(unittest.TestCase):
23
+ """MarginRequest unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testMarginRequest(self):
32
+ """Test MarginRequest"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = swagger_client.models.margin_request.MarginRequest() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ OpenAPI definition
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: v0
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import swagger_client
18
+ from swagger_client.models.post_margin_response import PostMarginResponse # noqa: E501
19
+ from swagger_client.rest import ApiException
20
+
21
+
22
+ class TestPostMarginResponse(unittest.TestCase):
23
+ """PostMarginResponse unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testPostMarginResponse(self):
32
+ """Test PostMarginResponse"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = swagger_client.models.post_margin_response.PostMarginResponse() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ OpenAPI definition
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: v0
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import swagger_client
18
+ from swagger_client.api.post_trade_api import PostTradeApi # noqa: E501
19
+ from swagger_client.rest import ApiException
20
+
21
+
22
+ class TestPostTradeApi(unittest.TestCase):
23
+ """PostTradeApi unit test stubs"""
24
+
25
+ def setUp(self):
26
+ self.api = PostTradeApi() # noqa: E501
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def test_get_trades_by_date_range(self):
32
+ """Test case for test_get_trades_by_date_range
33
+
34
+ """
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ OpenAPI definition
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: v0
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import swagger_client
18
+ from swagger_client.models.trade_history_response import TradeHistoryResponse # noqa: E501
19
+ from swagger_client.rest import ApiException
20
+
21
+
22
+ class TestTradeHistoryResponse(unittest.TestCase):
23
+ """TradeHistoryResponse unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testTradeHistoryResponse(self):
32
+ """Test TradeHistoryResponse"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = swagger_client.models.trade_history_response.TradeHistoryResponse() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ OpenAPI definition
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: v0
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import swagger_client
18
+ from swagger_client.models.trade_history_response_meta_data import TradeHistoryResponseMetaData # noqa: E501
19
+ from swagger_client.rest import ApiException
20
+
21
+
22
+ class TestTradeHistoryResponseMetaData(unittest.TestCase):
23
+ """TradeHistoryResponseMetaData unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testTradeHistoryResponseMetaData(self):
32
+ """Test TradeHistoryResponseMetaData"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = swagger_client.models.trade_history_response_meta_data.TradeHistoryResponseMetaData() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ OpenAPI definition
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: v0
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import swagger_client
18
+ from swagger_client.models.trade_history_response_page_data import TradeHistoryResponsePageData # noqa: E501
19
+ from swagger_client.rest import ApiException
20
+
21
+
22
+ class TestTradeHistoryResponsePageData(unittest.TestCase):
23
+ """TradeHistoryResponsePageData unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testTradeHistoryResponsePageData(self):
32
+ """Test TradeHistoryResponsePageData"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = swagger_client.models.trade_history_response_page_data.TradeHistoryResponsePageData() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ OpenAPI definition
5
+
6
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7
+
8
+ OpenAPI spec version: v0
9
+
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ from __future__ import absolute_import
14
+
15
+ import unittest
16
+
17
+ import swagger_client
18
+ from swagger_client.models.trade_history_response_trade_data import TradeHistoryResponseTradeData # noqa: E501
19
+ from swagger_client.rest import ApiException
20
+
21
+
22
+ class TestTradeHistoryResponseTradeData(unittest.TestCase):
23
+ """TradeHistoryResponseTradeData unit test stubs"""
24
+
25
+ def setUp(self):
26
+ pass
27
+
28
+ def tearDown(self):
29
+ pass
30
+
31
+ def testTradeHistoryResponseTradeData(self):
32
+ """Test TradeHistoryResponseTradeData"""
33
+ # FIXME: construct object with mandatory attributes with example values
34
+ # model = swagger_client.models.trade_history_response_trade_data.TradeHistoryResponseTradeData() # noqa: E501
35
+ pass
36
+
37
+
38
+ if __name__ == '__main__':
39
+ unittest.main()
@@ -23,6 +23,7 @@ from upstox_client.api.market_quote_api import MarketQuoteApi
23
23
  from upstox_client.api.options_api import OptionsApi
24
24
  from upstox_client.api.order_api import OrderApi
25
25
  from upstox_client.api.portfolio_api import PortfolioApi
26
+ from upstox_client.api.post_trade_api import PostTradeApi
26
27
  from upstox_client.api.trade_profit_and_loss_api import TradeProfitAndLossApi
27
28
  from upstox_client.api.user_api import UserApi
28
29
  from upstox_client.api.websocket_api import WebsocketApi
@@ -60,6 +61,7 @@ from upstox_client.models.get_market_status_response import GetMarketStatusRespo
60
61
  from upstox_client.models.get_option_chain_response import GetOptionChainResponse
61
62
  from upstox_client.models.get_option_contract_response import GetOptionContractResponse
62
63
  from upstox_client.models.get_order_book_response import GetOrderBookResponse
64
+ from upstox_client.models.get_order_details_response import GetOrderDetailsResponse
63
65
  from upstox_client.models.get_order_response import GetOrderResponse
64
66
  from upstox_client.models.get_position_response import GetPositionResponse
65
67
  from upstox_client.models.get_profile_response import GetProfileResponse
@@ -71,9 +73,13 @@ from upstox_client.models.get_user_fund_margin_response import GetUserFundMargin
71
73
  from upstox_client.models.historical_candle_data import HistoricalCandleData
72
74
  from upstox_client.models.holdings_data import HoldingsData
73
75
  from upstox_client.models.holiday_data import HolidayData
76
+ from upstox_client.models.instrument import Instrument
74
77
  from upstox_client.models.instrument_data import InstrumentData
75
78
  from upstox_client.models.intra_day_candle_data import IntraDayCandleData
76
79
  from upstox_client.models.logout_response import LogoutResponse
80
+ from upstox_client.models.margin import Margin
81
+ from upstox_client.models.margin_data import MarginData
82
+ from upstox_client.models.margin_request import MarginRequest
77
83
  from upstox_client.models.market_data import MarketData
78
84
  from upstox_client.models.market_quote_ohlc import MarketQuoteOHLC
79
85
  from upstox_client.models.market_quote_symbol import MarketQuoteSymbol
@@ -95,6 +101,7 @@ from upstox_client.models.place_order_data import PlaceOrderData
95
101
  from upstox_client.models.place_order_request import PlaceOrderRequest
96
102
  from upstox_client.models.place_order_response import PlaceOrderResponse
97
103
  from upstox_client.models.position_data import PositionData
104
+ from upstox_client.models.post_margin_response import PostMarginResponse
98
105
  from upstox_client.models.problem import Problem
99
106
  from upstox_client.models.profile_data import ProfileData
100
107
  from upstox_client.models.profit_and_loss_charges_data import ProfitAndLossChargesData
@@ -107,6 +114,10 @@ from upstox_client.models.put_call_option_chain_data import PutCallOptionChainDa
107
114
  from upstox_client.models.token_request import TokenRequest
108
115
  from upstox_client.models.token_response import TokenResponse
109
116
  from upstox_client.models.trade_data import TradeData
117
+ from upstox_client.models.trade_history_response import TradeHistoryResponse
118
+ from upstox_client.models.trade_history_response_meta_data import TradeHistoryResponseMetaData
119
+ from upstox_client.models.trade_history_response_page_data import TradeHistoryResponsePageData
120
+ from upstox_client.models.trade_history_response_trade_data import TradeHistoryResponseTradeData
110
121
  from upstox_client.models.trade_wise_meta_data import TradeWiseMetaData
111
122
  from upstox_client.models.trade_wise_profit_and_loss_data import TradeWiseProfitAndLossData
112
123
  from upstox_client.models.user_fund_margin_data import UserFundMarginData