upstox-python-sdk 2.24.0__tar.gz → 2.25.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.25.0}/PKG-INFO +1 -1
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/setup.py +1 -1
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/__init__.py +8 -6
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/user_api.py +225 -71
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api_client.py +1 -1
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/__init__.py +11 -9
- upstox_python_sdk-2.25.0/upstox_client/models/payment_history_data.py +318 -0
- upstox_python_sdk-2.25.0/upstox_client/models/payment_history_response.py +138 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_python_sdk.egg-info/PKG-INFO +1 -1
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_python_sdk.egg-info/SOURCES.txt +2 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/LICENSE.txt +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/README.md +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/setup.cfg +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/__init__.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/sanity_test.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_analytics_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_api_gateway_error_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_batch_execution_summary.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_brokerage_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_brokerage_taxes.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_brokerage_wrapper_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_cancel_or_exit_multi_order_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_cancel_or_exit_multi_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_cancel_or_exit_order_error_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_cancel_order_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_cancel_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_cancel_order_v3_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_charge_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_convert_position_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_convert_position_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_convert_position_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_depth.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_depth_map.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_dp_plan.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_exchange_timing_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_brokerage_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_exchange_timing_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_full_market_quote_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_gtt_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_historical_candle_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_holdings_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_holiday_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_intra_day_candle_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_market_quote_last_traded_price_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_market_quote_ohlc_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_market_status_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_option_chain_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_option_contract_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_order_book_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_order_details_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_position_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_profile_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_profit_and_loss_charges_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_trade_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_get_trade_wise_profit_and_loss_data_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.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.25.0}/test/test_get_user_fund_margin_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_gtt_cancel_order_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_gtt_modify_order_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_gtt_order_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_gtt_order_details.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_gtt_place_order_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_gtt_rule.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_gtt_trigger_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_historical_candle_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_history_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_holdings_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_holiday_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_indie_user_init_token_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_indie_user_init_token_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_indie_user_token_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_instrument.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_instrument_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_intra_day_candle_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_login_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_logout_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_margin.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_margin_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_margin_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_market_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_market_holidays_and_timings_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_market_quote_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_market_quote_ohlc.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_market_quote_symbol.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_market_quote_symbol_ltp.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_market_status_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_modify_order_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_modify_order_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_modify_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_modify_order_v3_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_multi_order_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_multi_order_error.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_multi_order_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_multi_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_multi_order_summary.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_multi_order_v3_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_o_auth_client_exception.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_o_auth_client_exception_cause.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_o_auth_client_exception_cause_stack_trace.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_o_auth_client_exception_cause_suppressed.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_ohlc.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_option_strike_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_options_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_order_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_order_book_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_order_controller_v_3_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_order_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_order_metadata.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_other_taxes.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_place_order_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_place_order_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_place_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_place_order_v3_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_place_order_v3_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_portfolio_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_position_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_post_margin_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_post_trade_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_problem.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_profile_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_profit_and_loss_charges_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_profit_and_loss_charges_taxes.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_profit_and_loss_charges_wrapper_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_profit_and_loss_meta_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_profit_and_loss_meta_data_wrapper.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_profit_and_loss_other_charges_taxes.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_put_call_option_chain_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_rule.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_token_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_token_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_trade_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_trade_history_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_trade_history_response_meta_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_trade_history_response_page_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_trade_history_response_trade_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_trade_profit_and_loss_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_trade_wise_meta_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_trade_wise_profit_and_loss_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_user_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_user_fund_margin_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_websocket_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_websocket_auth_redirect_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/test/test_websocket_auth_redirect_response_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/__init__.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/charge_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/expired_instrument_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/history_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/history_v3_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/instruments_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/login_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/market_holidays_and_timings_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/market_quote_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/market_quote_v3_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/mutual_fund_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/news_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/options_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/order_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/order_controller_v_3_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/portfolio_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/post_trade_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/trade_profit_and_loss_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/api/websocket_api.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/configuration.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/feeder/__init__.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/feeder/feeder.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/feeder/market_data_feeder_v3.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/feeder/market_data_streamer_v3.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/feeder/portfolio_data_feeder.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/feeder/portfolio_data_streamer.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/feeder/proto/MarketDataFeedV3_pb2.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/feeder/proto/__init__.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/feeder/streamer.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/analytics_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/api_gateway_error_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/available_to_trade.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/batch_execution_summary.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/brokerage_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/brokerage_taxes.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/brokerage_wrapper_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/cancel_or_exit_multi_order_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/cancel_or_exit_multi_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/cancel_or_exit_order_error_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/cancel_order_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/cancel_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/cancel_order_v3_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/cash_available_to_trade.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/cash_breakdown.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/cash_margin_used.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/cash_unavailable_to_trade.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/convert_position_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/convert_position_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/convert_position_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/delivery_margin.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/depth.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/depth_map.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/dp_plan.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/exchange_timing_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/expired_future_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/family_member_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_brokerage_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_exchange_timing_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_expired_futures_contract_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_expiries.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_full_market_quote_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_gtt_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_historical_candle_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_holdings_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_holiday_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_intra_day_candle_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_market_quote_last_traded_price_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.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.25.0}/upstox_client/models/get_market_quote_ohlc_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_market_quote_ohlc_response_v3.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_market_quote_option_greek_response_v3.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_market_status_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_mutual_fund_holdings_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_mutual_fund_order_details_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_mutual_fund_orders_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_mutual_fund_sips_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_news_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_option_chain_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_option_contract_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_order_book_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_order_details_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_position_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_profile_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_profit_and_loss_charges_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_trade_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.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.25.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.25.0}/upstox_client/models/get_user_fund_margin_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/get_user_fund_margin_v3_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/gtt_cancel_order_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/gtt_modify_order_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/gtt_order_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/gtt_order_details.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/gtt_place_order_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/gtt_rule.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/gtt_trigger_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/historical_candle_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/holdings_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/holiday_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/indie_user_init_token_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/indie_user_init_token_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/indie_user_token_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/instrument.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/instrument_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/intra_day_candle_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/kill_switch_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/kill_switch_segment_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/kill_switch_segment_update_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/logout_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/loss.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/margin.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/margin_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/margin_from_pledge.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/margin_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/market_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/market_quote_ohlc.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/market_quote_ohlcv3.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/market_quote_option_greek_v3.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/market_quote_symbol.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/market_quote_symbol_ltp.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/market_quote_symbol_ltp_v3.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/market_status_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/modify_order_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/modify_order_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/modify_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/modify_order_v3_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/multi_order_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/multi_order_error.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/multi_order_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/multi_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/multi_order_summary.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/multi_order_v3_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/mutual_fund_holding_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/mutual_fund_meta_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/mutual_fund_order_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/mutual_fund_sip_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/news_item_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/news_response_meta_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/news_response_page_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/o_auth_client_exception.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/o_auth_client_exception_cause.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/o_auth_client_exception_cause_stack_trace.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/o_auth_client_exception_cause_suppressed.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/ohlc.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/ohlc_v3.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/option_strike_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/order_book_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/order_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/order_metadata.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/other_taxes.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/pagination.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/place_order_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/place_order_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/place_order_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/place_order_v3_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/place_order_v3_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/pledge_available_to_trade.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/pledge_margin_used.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/pledge_unavailable_to_trade.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/position_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/post_margin_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/problem.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/profile_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/profit_and_loss_charges_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/profit_and_loss_charges_taxes.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/profit_and_loss_charges_wrapper_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/profit_and_loss_meta_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/profit_and_loss_meta_data_wrapper.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/profit_and_loss_other_charges_taxes.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/put_call_option_chain_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/rule.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/search_instrument_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/search_meta_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/search_page.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/token_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/token_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/trade_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/trade_history_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/trade_history_response_meta_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/trade_history_response_page_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/trade_history_response_trade_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/trade_wise_meta_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/trade_wise_profit_and_loss_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/unavailable_to_trade.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/unsettled_profit.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/update_user_ip_request.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/user_fund_margin_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/user_fund_margin_v3_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/user_ip_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/user_ip_response_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/websocket_auth_redirect_response.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/models/websocket_auth_redirect_response_data.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_client/rest.py +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_python_sdk.egg-info/dependency_links.txt +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.0}/upstox_python_sdk.egg-info/requires.txt +0 -0
- {upstox_python_sdk-2.24.0 → upstox_python_sdk-2.25.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.25.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,41 @@ 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)
|
|
137
128
|
>>> result = thread.get()
|
|
138
129
|
|
|
139
130
|
:param async_req bool
|
|
140
|
-
:
|
|
141
|
-
:param str segment:
|
|
142
|
-
:return: GetUserFundMarginResponse
|
|
131
|
+
:return: PaymentHistoryResponse
|
|
143
132
|
If the method is called asynchronously,
|
|
144
133
|
returns the request thread.
|
|
145
134
|
"""
|
|
146
135
|
kwargs['_return_http_data_only'] = True
|
|
147
136
|
if kwargs.get('async_req'):
|
|
148
|
-
return self.
|
|
137
|
+
return self.get_payin_history_with_http_info(**kwargs) # noqa: E501
|
|
149
138
|
else:
|
|
150
|
-
(data) = self.
|
|
139
|
+
(data) = self.get_payin_history_with_http_info(**kwargs) # noqa: E501
|
|
151
140
|
return data
|
|
152
141
|
|
|
153
|
-
def
|
|
154
|
-
"""
|
|
142
|
+
def get_payin_history_with_http_info(self, **kwargs): # noqa: E501
|
|
143
|
+
"""get_payin_history # noqa: E501
|
|
155
144
|
|
|
156
|
-
Shows the balance of the user in equity and commodity market. # noqa: E501
|
|
157
145
|
This method makes a synchronous HTTP request by default. To make an
|
|
158
146
|
asynchronous HTTP request, please pass async_req=True
|
|
159
|
-
>>> thread = api.
|
|
147
|
+
>>> thread = api.get_payin_history_with_http_info(async_req=True)
|
|
160
148
|
>>> result = thread.get()
|
|
161
149
|
|
|
162
150
|
:param async_req bool
|
|
163
|
-
:
|
|
164
|
-
:param str segment:
|
|
165
|
-
:return: GetUserFundMarginResponse
|
|
151
|
+
:return: PaymentHistoryResponse
|
|
166
152
|
If the method is called asynchronously,
|
|
167
153
|
returns the request thread.
|
|
168
154
|
"""
|
|
169
155
|
|
|
170
|
-
all_params = [
|
|
156
|
+
all_params = [] # noqa: E501
|
|
171
157
|
all_params.append('async_req')
|
|
172
158
|
all_params.append('_return_http_data_only')
|
|
173
159
|
all_params.append('_preload_content')
|
|
@@ -178,26 +164,18 @@ class UserApi(object):
|
|
|
178
164
|
if key not in all_params:
|
|
179
165
|
raise TypeError(
|
|
180
166
|
"Got an unexpected keyword argument '%s'"
|
|
181
|
-
" to method
|
|
167
|
+
" to method get_payin_history" % key
|
|
182
168
|
)
|
|
183
169
|
params[key] = val
|
|
184
170
|
del params['kwargs']
|
|
185
|
-
# verify the required parameter 'api_version' is set
|
|
186
|
-
if ('api_version' not in params or
|
|
187
|
-
params['api_version'] is None):
|
|
188
|
-
raise ValueError("Missing the required parameter `api_version` when calling `get_user_fund_margin`") # noqa: E501
|
|
189
171
|
|
|
190
172
|
collection_formats = {}
|
|
191
173
|
|
|
192
174
|
path_params = {}
|
|
193
175
|
|
|
194
176
|
query_params = []
|
|
195
|
-
if 'segment' in params:
|
|
196
|
-
query_params.append(('segment', params['segment'])) # noqa: E501
|
|
197
177
|
|
|
198
178
|
header_params = {}
|
|
199
|
-
if 'api_version' in params:
|
|
200
|
-
header_params['Api-Version'] = params['api_version'] # noqa: E501
|
|
201
179
|
|
|
202
180
|
form_params = []
|
|
203
181
|
local_var_files = {}
|
|
@@ -205,20 +183,20 @@ class UserApi(object):
|
|
|
205
183
|
body_params = None
|
|
206
184
|
# HTTP header `Accept`
|
|
207
185
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
208
|
-
['
|
|
186
|
+
['*/*']) # noqa: E501
|
|
209
187
|
|
|
210
188
|
# Authentication setting
|
|
211
189
|
auth_settings = ['OAUTH2'] # noqa: E501
|
|
212
190
|
|
|
213
191
|
return self.api_client.call_api(
|
|
214
|
-
'/v2/user/
|
|
192
|
+
'/v2/user/payments/payin', 'GET',
|
|
215
193
|
path_params,
|
|
216
194
|
query_params,
|
|
217
195
|
header_params,
|
|
218
196
|
body=body_params,
|
|
219
197
|
post_params=form_params,
|
|
220
198
|
files=local_var_files,
|
|
221
|
-
response_type='
|
|
199
|
+
response_type='PaymentHistoryResponse', # noqa: E501
|
|
222
200
|
auth_settings=auth_settings,
|
|
223
201
|
async_req=params.get('async_req'),
|
|
224
202
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -226,38 +204,36 @@ class UserApi(object):
|
|
|
226
204
|
_request_timeout=params.get('_request_timeout'),
|
|
227
205
|
collection_formats=collection_formats)
|
|
228
206
|
|
|
229
|
-
def
|
|
230
|
-
"""
|
|
207
|
+
def get_payout_history(self, **kwargs): # noqa: E501
|
|
208
|
+
"""get_payout_history # noqa: E501
|
|
231
209
|
|
|
232
|
-
Returns the disable/enable status of all trading segments for the user. # noqa: E501
|
|
233
210
|
This method makes a synchronous HTTP request by default. To make an
|
|
234
211
|
asynchronous HTTP request, please pass async_req=True
|
|
235
|
-
>>> thread = api.
|
|
212
|
+
>>> thread = api.get_payout_history(async_req=True)
|
|
236
213
|
>>> result = thread.get()
|
|
237
214
|
|
|
238
215
|
:param async_req bool
|
|
239
|
-
:return:
|
|
216
|
+
:return: PaymentHistoryResponse
|
|
240
217
|
If the method is called asynchronously,
|
|
241
218
|
returns the request thread.
|
|
242
219
|
"""
|
|
243
220
|
kwargs['_return_http_data_only'] = True
|
|
244
221
|
if kwargs.get('async_req'):
|
|
245
|
-
return self.
|
|
222
|
+
return self.get_payout_history_with_http_info(**kwargs) # noqa: E501
|
|
246
223
|
else:
|
|
247
|
-
(data) = self.
|
|
224
|
+
(data) = self.get_payout_history_with_http_info(**kwargs) # noqa: E501
|
|
248
225
|
return data
|
|
249
226
|
|
|
250
|
-
def
|
|
251
|
-
"""
|
|
227
|
+
def get_payout_history_with_http_info(self, **kwargs): # noqa: E501
|
|
228
|
+
"""get_payout_history # noqa: E501
|
|
252
229
|
|
|
253
|
-
Returns the disable/enable status of all trading segments for the user. # noqa: E501
|
|
254
230
|
This method makes a synchronous HTTP request by default. To make an
|
|
255
231
|
asynchronous HTTP request, please pass async_req=True
|
|
256
|
-
>>> thread = api.
|
|
232
|
+
>>> thread = api.get_payout_history_with_http_info(async_req=True)
|
|
257
233
|
>>> result = thread.get()
|
|
258
234
|
|
|
259
235
|
:param async_req bool
|
|
260
|
-
:return:
|
|
236
|
+
:return: PaymentHistoryResponse
|
|
261
237
|
If the method is called asynchronously,
|
|
262
238
|
returns the request thread.
|
|
263
239
|
"""
|
|
@@ -273,7 +249,94 @@ class UserApi(object):
|
|
|
273
249
|
if key not in all_params:
|
|
274
250
|
raise TypeError(
|
|
275
251
|
"Got an unexpected keyword argument '%s'"
|
|
276
|
-
" to method
|
|
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, **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(async_req=True)
|
|
299
|
+
>>> result = thread.get()
|
|
300
|
+
|
|
301
|
+
:param async_req bool
|
|
302
|
+
:return: GetProfileResponse
|
|
303
|
+
If the method is called asynchronously,
|
|
304
|
+
returns the request thread.
|
|
305
|
+
"""
|
|
306
|
+
kwargs['_return_http_data_only'] = True
|
|
307
|
+
if kwargs.get('async_req'):
|
|
308
|
+
return self.get_profile_with_http_info(**kwargs) # noqa: E501
|
|
309
|
+
else:
|
|
310
|
+
(data) = self.get_profile_with_http_info(**kwargs) # noqa: E501
|
|
311
|
+
return data
|
|
312
|
+
|
|
313
|
+
def get_profile_with_http_info(self, **kwargs): # noqa: E501
|
|
314
|
+
"""Get profile # noqa: E501
|
|
315
|
+
|
|
316
|
+
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
|
|
317
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
318
|
+
asynchronous HTTP request, please pass async_req=True
|
|
319
|
+
>>> thread = api.get_profile_with_http_info(async_req=True)
|
|
320
|
+
>>> result = thread.get()
|
|
321
|
+
|
|
322
|
+
:param async_req bool
|
|
323
|
+
:return: GetProfileResponse
|
|
324
|
+
If the method is called asynchronously,
|
|
325
|
+
returns the request thread.
|
|
326
|
+
"""
|
|
327
|
+
|
|
328
|
+
all_params = [] # noqa: E501
|
|
329
|
+
all_params.append('async_req')
|
|
330
|
+
all_params.append('_return_http_data_only')
|
|
331
|
+
all_params.append('_preload_content')
|
|
332
|
+
all_params.append('_request_timeout')
|
|
333
|
+
|
|
334
|
+
params = locals()
|
|
335
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
336
|
+
if key not in all_params:
|
|
337
|
+
raise TypeError(
|
|
338
|
+
"Got an unexpected keyword argument '%s'"
|
|
339
|
+
" to method get_profile" % key
|
|
277
340
|
)
|
|
278
341
|
params[key] = val
|
|
279
342
|
del params['kwargs']
|
|
@@ -298,14 +361,105 @@ class UserApi(object):
|
|
|
298
361
|
auth_settings = ['OAUTH2'] # noqa: E501
|
|
299
362
|
|
|
300
363
|
return self.api_client.call_api(
|
|
301
|
-
'/v2/user/
|
|
364
|
+
'/v2/user/profile', 'GET',
|
|
302
365
|
path_params,
|
|
303
366
|
query_params,
|
|
304
367
|
header_params,
|
|
305
368
|
body=body_params,
|
|
306
369
|
post_params=form_params,
|
|
307
370
|
files=local_var_files,
|
|
308
|
-
response_type='
|
|
371
|
+
response_type='GetProfileResponse', # noqa: E501
|
|
372
|
+
auth_settings=auth_settings,
|
|
373
|
+
async_req=params.get('async_req'),
|
|
374
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
375
|
+
_preload_content=params.get('_preload_content', True),
|
|
376
|
+
_request_timeout=params.get('_request_timeout'),
|
|
377
|
+
collection_formats=collection_formats)
|
|
378
|
+
|
|
379
|
+
def get_user_fund_margin(self, **kwargs): # noqa: E501
|
|
380
|
+
"""Get User Fund And Margin # noqa: E501
|
|
381
|
+
|
|
382
|
+
Shows the balance of the user in equity and commodity market. # noqa: E501
|
|
383
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
384
|
+
asynchronous HTTP request, please pass async_req=True
|
|
385
|
+
>>> thread = api.get_user_fund_margin(async_req=True)
|
|
386
|
+
>>> result = thread.get()
|
|
387
|
+
|
|
388
|
+
:param async_req bool
|
|
389
|
+
:param object segment:
|
|
390
|
+
:return: GetUserFundMarginResponse
|
|
391
|
+
If the method is called asynchronously,
|
|
392
|
+
returns the request thread.
|
|
393
|
+
"""
|
|
394
|
+
kwargs['_return_http_data_only'] = True
|
|
395
|
+
if kwargs.get('async_req'):
|
|
396
|
+
return self.get_user_fund_margin_with_http_info(**kwargs) # noqa: E501
|
|
397
|
+
else:
|
|
398
|
+
(data) = self.get_user_fund_margin_with_http_info(**kwargs) # noqa: E501
|
|
399
|
+
return data
|
|
400
|
+
|
|
401
|
+
def get_user_fund_margin_with_http_info(self, **kwargs): # noqa: E501
|
|
402
|
+
"""Get User Fund And Margin # noqa: E501
|
|
403
|
+
|
|
404
|
+
Shows the balance of the user in equity and commodity market. # noqa: E501
|
|
405
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
406
|
+
asynchronous HTTP request, please pass async_req=True
|
|
407
|
+
>>> thread = api.get_user_fund_margin_with_http_info(async_req=True)
|
|
408
|
+
>>> result = thread.get()
|
|
409
|
+
|
|
410
|
+
:param async_req bool
|
|
411
|
+
:param object segment:
|
|
412
|
+
:return: GetUserFundMarginResponse
|
|
413
|
+
If the method is called asynchronously,
|
|
414
|
+
returns the request thread.
|
|
415
|
+
"""
|
|
416
|
+
|
|
417
|
+
all_params = ['segment'] # noqa: E501
|
|
418
|
+
all_params.append('async_req')
|
|
419
|
+
all_params.append('_return_http_data_only')
|
|
420
|
+
all_params.append('_preload_content')
|
|
421
|
+
all_params.append('_request_timeout')
|
|
422
|
+
|
|
423
|
+
params = locals()
|
|
424
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
425
|
+
if key not in all_params:
|
|
426
|
+
raise TypeError(
|
|
427
|
+
"Got an unexpected keyword argument '%s'"
|
|
428
|
+
" to method get_user_fund_margin" % key
|
|
429
|
+
)
|
|
430
|
+
params[key] = val
|
|
431
|
+
del params['kwargs']
|
|
432
|
+
|
|
433
|
+
collection_formats = {}
|
|
434
|
+
|
|
435
|
+
path_params = {}
|
|
436
|
+
|
|
437
|
+
query_params = []
|
|
438
|
+
if 'segment' in params:
|
|
439
|
+
query_params.append(('segment', params['segment'])) # noqa: E501
|
|
440
|
+
|
|
441
|
+
header_params = {}
|
|
442
|
+
|
|
443
|
+
form_params = []
|
|
444
|
+
local_var_files = {}
|
|
445
|
+
|
|
446
|
+
body_params = None
|
|
447
|
+
# HTTP header `Accept`
|
|
448
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
449
|
+
['*/*', 'application/json']) # noqa: E501
|
|
450
|
+
|
|
451
|
+
# Authentication setting
|
|
452
|
+
auth_settings = ['OAUTH2'] # noqa: E501
|
|
453
|
+
|
|
454
|
+
return self.api_client.call_api(
|
|
455
|
+
'/v2/user/get-funds-and-margin', 'GET',
|
|
456
|
+
path_params,
|
|
457
|
+
query_params,
|
|
458
|
+
header_params,
|
|
459
|
+
body=body_params,
|
|
460
|
+
post_params=form_params,
|
|
461
|
+
files=local_var_files,
|
|
462
|
+
response_type='GetUserFundMarginResponse', # noqa: E501
|
|
309
463
|
auth_settings=auth_settings,
|
|
310
464
|
async_req=params.get('async_req'),
|
|
311
465
|
_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.25.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
|