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