upstox-python-sdk 2.22.0__tar.gz → 2.24.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.22.0 → upstox_python_sdk-2.24.0}/PKG-INFO +18 -5
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/README.md +1 -1
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/setup.py +1 -1
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/__init__.py +18 -2
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/__init__.py +2 -0
- upstox_python_sdk-2.24.0/upstox_client/api/mutual_fund_api.py +413 -0
- upstox_python_sdk-2.24.0/upstox_client/api/news_api.py +140 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api_client.py +1 -1
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/__init__.py +16 -2
- upstox_python_sdk-2.24.0/upstox_client/models/family_member_data.py +136 -0
- upstox_python_sdk-2.24.0/upstox_client/models/get_mutual_fund_holdings_response.py +138 -0
- upstox_python_sdk-2.24.0/upstox_client/models/get_mutual_fund_order_details_response.py +138 -0
- upstox_python_sdk-2.24.0/upstox_client/models/get_mutual_fund_orders_response.py +166 -0
- upstox_python_sdk-2.24.0/upstox_client/models/get_mutual_fund_sips_response.py +166 -0
- upstox_python_sdk-2.24.0/upstox_client/models/get_news_response.py +162 -0
- upstox_python_sdk-2.24.0/upstox_client/models/mutual_fund_holding_data.py +336 -0
- upstox_python_sdk-2.24.0/upstox_client/models/mutual_fund_meta_data.py +110 -0
- upstox_python_sdk-2.24.0/upstox_client/models/mutual_fund_order_data.py +616 -0
- upstox_python_sdk-2.24.0/upstox_client/models/mutual_fund_sip_data.py +588 -0
- upstox_python_sdk-2.24.0/upstox_client/models/news_item_data.py +214 -0
- upstox_python_sdk-2.24.0/upstox_client/models/news_response_meta_data.py +110 -0
- upstox_python_sdk-2.24.0/upstox_client/models/news_response_page_data.py +188 -0
- upstox_python_sdk-2.24.0/upstox_client/models/pagination.py +188 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_python_sdk.egg-info/PKG-INFO +18 -5
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_python_sdk.egg-info/SOURCES.txt +16 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/LICENSE.txt +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/setup.cfg +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/__init__.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/sanity_test.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_analytics_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_api_gateway_error_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_batch_execution_summary.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_brokerage_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_brokerage_taxes.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_brokerage_wrapper_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_cancel_or_exit_multi_order_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_cancel_or_exit_multi_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_cancel_or_exit_order_error_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_cancel_order_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_cancel_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_cancel_order_v3_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_charge_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_convert_position_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_convert_position_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_convert_position_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_depth.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_depth_map.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_dp_plan.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_exchange_timing_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_brokerage_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_exchange_timing_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_full_market_quote_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_gtt_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_historical_candle_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_holdings_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_holiday_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_intra_day_candle_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_market_quote_last_traded_price_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_market_quote_ohlc_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_market_status_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_option_chain_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_option_contract_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_order_book_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_order_details_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_position_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_profile_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_profit_and_loss_charges_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_trade_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_trade_wise_profit_and_loss_data_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_get_user_fund_margin_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_gtt_cancel_order_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_gtt_modify_order_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_gtt_order_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_gtt_order_details.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_gtt_place_order_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_gtt_rule.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_gtt_trigger_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_historical_candle_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_history_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_holdings_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_holiday_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_indie_user_init_token_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_indie_user_init_token_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_indie_user_token_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_instrument.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_instrument_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_intra_day_candle_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_login_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_logout_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_margin.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_margin_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_margin_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_market_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_market_holidays_and_timings_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_market_quote_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_market_quote_ohlc.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_market_quote_symbol.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_market_quote_symbol_ltp.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_market_status_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_modify_order_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_modify_order_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_modify_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_modify_order_v3_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_multi_order_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_multi_order_error.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_multi_order_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_multi_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_multi_order_summary.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_multi_order_v3_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_o_auth_client_exception.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_o_auth_client_exception_cause.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_o_auth_client_exception_cause_stack_trace.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_o_auth_client_exception_cause_suppressed.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_ohlc.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_option_strike_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_options_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_order_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_order_book_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_order_controller_v_3_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_order_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_order_metadata.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_other_taxes.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_place_order_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_place_order_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_place_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_place_order_v3_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_place_order_v3_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_portfolio_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_position_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_post_margin_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_post_trade_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_problem.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_profile_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_profit_and_loss_charges_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_profit_and_loss_charges_taxes.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_profit_and_loss_charges_wrapper_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_profit_and_loss_meta_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_profit_and_loss_meta_data_wrapper.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_profit_and_loss_other_charges_taxes.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_put_call_option_chain_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_rule.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_token_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_token_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_trade_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_trade_history_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_trade_history_response_meta_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_trade_history_response_page_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_trade_history_response_trade_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_trade_profit_and_loss_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_trade_wise_meta_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_trade_wise_profit_and_loss_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_user_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_user_fund_margin_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_websocket_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_websocket_auth_redirect_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/test/test_websocket_auth_redirect_response_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/charge_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/expired_instrument_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/history_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/history_v3_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/instruments_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/login_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/market_holidays_and_timings_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/market_quote_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/market_quote_v3_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/options_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/order_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/order_controller_v_3_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/portfolio_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/post_trade_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/trade_profit_and_loss_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/user_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/api/websocket_api.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/configuration.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/feeder/__init__.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/feeder/feeder.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/feeder/market_data_feeder_v3.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/feeder/market_data_streamer_v3.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/feeder/portfolio_data_feeder.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/feeder/portfolio_data_streamer.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/feeder/proto/MarketDataFeedV3_pb2.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/feeder/proto/__init__.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/feeder/streamer.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/analytics_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/api_gateway_error_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/available_to_trade.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/batch_execution_summary.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/brokerage_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/brokerage_taxes.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/brokerage_wrapper_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/cancel_or_exit_multi_order_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/cancel_or_exit_multi_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/cancel_or_exit_order_error_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/cancel_order_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/cancel_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/cancel_order_v3_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/cash_available_to_trade.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/cash_breakdown.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/cash_margin_used.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/cash_unavailable_to_trade.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/convert_position_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/convert_position_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/convert_position_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/delivery_margin.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/depth.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/depth_map.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/dp_plan.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/exchange_timing_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/expired_future_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_brokerage_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_exchange_timing_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_expired_futures_contract_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_expiries.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_full_market_quote_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_gtt_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_historical_candle_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_holdings_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_holiday_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_intra_day_candle_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_market_quote_last_traded_price_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_market_quote_last_traded_price_response_v3.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_market_quote_ohlc_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_market_quote_ohlc_response_v3.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_market_quote_option_greek_response_v3.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_market_status_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_option_chain_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_option_contract_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_order_book_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_order_details_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_position_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_profile_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_profit_and_loss_charges_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_trade_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_trade_wise_profit_and_loss_data_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_user_fund_margin_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/get_user_fund_margin_v3_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/gtt_cancel_order_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/gtt_modify_order_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/gtt_order_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/gtt_order_details.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/gtt_place_order_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/gtt_rule.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/gtt_trigger_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/historical_candle_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/holdings_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/holiday_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/indie_user_init_token_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/indie_user_init_token_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/indie_user_token_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/instrument.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/instrument_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/intra_day_candle_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/kill_switch_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/kill_switch_segment_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/kill_switch_segment_update_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/logout_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/loss.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/margin.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/margin_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/margin_from_pledge.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/margin_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/market_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/market_quote_ohlc.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/market_quote_ohlcv3.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/market_quote_option_greek_v3.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/market_quote_symbol.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/market_quote_symbol_ltp.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/market_quote_symbol_ltp_v3.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/market_status_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/modify_order_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/modify_order_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/modify_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/modify_order_v3_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/multi_order_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/multi_order_error.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/multi_order_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/multi_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/multi_order_summary.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/multi_order_v3_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/o_auth_client_exception.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/o_auth_client_exception_cause.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/o_auth_client_exception_cause_stack_trace.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/o_auth_client_exception_cause_suppressed.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/ohlc.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/ohlc_v3.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/option_strike_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/order_book_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/order_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/order_metadata.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/other_taxes.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/place_order_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/place_order_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/place_order_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/place_order_v3_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/place_order_v3_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/pledge_available_to_trade.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/pledge_margin_used.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/pledge_unavailable_to_trade.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/position_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/post_margin_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/problem.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/profile_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/profit_and_loss_charges_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/profit_and_loss_charges_taxes.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/profit_and_loss_charges_wrapper_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/profit_and_loss_meta_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/profit_and_loss_meta_data_wrapper.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/profit_and_loss_other_charges_taxes.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/put_call_option_chain_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/rule.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/search_instrument_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/search_meta_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/search_page.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/token_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/token_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/trade_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/trade_history_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/trade_history_response_meta_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/trade_history_response_page_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/trade_history_response_trade_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/trade_wise_meta_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/trade_wise_profit_and_loss_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/unavailable_to_trade.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/unsettled_profit.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/update_user_ip_request.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/user_fund_margin_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/user_fund_margin_v3_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/user_ip_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/user_ip_response_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/websocket_auth_redirect_response.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/models/websocket_auth_redirect_response_data.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_client/rest.py +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_python_sdk.egg-info/dependency_links.txt +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_python_sdk.egg-info/requires.txt +0 -0
- {upstox-python-sdk-2.22.0 → upstox_python_sdk-2.24.0}/upstox_python_sdk.egg-info/top_level.txt +0 -0
|
@@ -1,13 +1,27 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: upstox-python-sdk
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.24.0
|
|
4
4
|
Summary: Upstox Developer API
|
|
5
5
|
Home-page: https://github.com/upstox/upstox-python
|
|
6
6
|
License: MIT
|
|
7
7
|
Keywords: Upstox Developer API
|
|
8
|
-
Platform: UNKNOWN
|
|
9
8
|
Description-Content-Type: text/markdown
|
|
10
9
|
License-File: LICENSE.txt
|
|
10
|
+
Requires-Dist: urllib3>=1.15
|
|
11
|
+
Requires-Dist: six>=1.10
|
|
12
|
+
Requires-Dist: certifi
|
|
13
|
+
Requires-Dist: python-dateutil
|
|
14
|
+
Requires-Dist: websocket-client
|
|
15
|
+
Requires-Dist: uuid
|
|
16
|
+
Requires-Dist: protobuf
|
|
17
|
+
Dynamic: description
|
|
18
|
+
Dynamic: description-content-type
|
|
19
|
+
Dynamic: home-page
|
|
20
|
+
Dynamic: keywords
|
|
21
|
+
Dynamic: license
|
|
22
|
+
Dynamic: license-file
|
|
23
|
+
Dynamic: requires-dist
|
|
24
|
+
Dynamic: summary
|
|
11
25
|
|
|
12
26
|
# Upstox Python SDK for API v2
|
|
13
27
|
|
|
@@ -20,7 +34,7 @@ The official Python client for communicating with the <a href="https://upstox.co
|
|
|
20
34
|
Upstox API is a set of rest APIs that provide data required to build a complete investment and trading platform. Execute orders in real time, manage user portfolio, stream live market data (using Websocket), and more, with the easy to understand API collection.
|
|
21
35
|
|
|
22
36
|
- API version: v2
|
|
23
|
-
- Package version: 2.
|
|
37
|
+
- Package version: 2.23.0
|
|
24
38
|
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
|
|
25
39
|
|
|
26
40
|
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.
|
|
@@ -515,4 +529,3 @@ if __name__ == "__main__":
|
|
|
515
529
|
- **error**: Signals an error has occurred.
|
|
516
530
|
- **reconnecting**: Announced when a reconnect attempt is initiated.
|
|
517
531
|
- **autoReconnectStopped**: Informs when auto-reconnect efforts have ceased after exhausting the retry count.
|
|
518
|
-
|
|
@@ -9,7 +9,7 @@ The official Python client for communicating with the <a href="https://upstox.co
|
|
|
9
9
|
Upstox API is a set of rest APIs that provide data required to build a complete investment and trading platform. Execute orders in real time, manage user portfolio, stream live market data (using Websocket), and more, with the easy to understand API collection.
|
|
10
10
|
|
|
11
11
|
- API version: v2
|
|
12
|
-
- Package version: 2.
|
|
12
|
+
- Package version: 2.23.0
|
|
13
13
|
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
|
|
14
14
|
|
|
15
15
|
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.
|
|
@@ -18,7 +18,7 @@ this_directory = Path(__file__).parent
|
|
|
18
18
|
long_description = (this_directory / "README.md").read_text()
|
|
19
19
|
|
|
20
20
|
NAME = "upstox-python-sdk"
|
|
21
|
-
VERSION = "2.
|
|
21
|
+
VERSION = "2.24.0"
|
|
22
22
|
# To install the library, run the following
|
|
23
23
|
#
|
|
24
24
|
# python setup.py install
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
"""
|
|
6
6
|
Upstox Developer API
|
|
7
7
|
|
|
8
|
-
Build your App on the Upstox platform  # Introduction Upstox API is a set of rest APIs that provide data required to build a complete investment and trading platform. Execute orders in real time, manage user portfolio, stream live market data (using Websocket), and more, with the easy to understand API collection. All requests are over HTTPS and the requests are sent with the content-type 'application/json'. Developers have the option of choosing the response type as JSON or CSV for a few API calls. To be able to use these APIs you need to create an App in the Developer Console and generate your **apiKey** and **apiSecret**. You can use a redirect URL which will be called after the login flow. If you are a **trader**, you can directly create apps from Upstox mobile app or the desktop platform itself from **Apps** sections inside the **Account** Tab. Head over to <a href="http://account.upstox.com/developer/apps" target="_blank">account.upstox.com/developer/apps</a>.</br> If you are a **business** looking to integrate Upstox APIs, reach out to us and we will get a custom app created for you in no time. It is highly recommended that you do not embed the **apiSecret** in your frontend app. Create a remote backend which does the handshake on behalf of the frontend app. Marking the apiSecret in the frontend app will make your app vulnerable to threats and potential issues. # noqa: E501
|
|
9
9
|
|
|
10
10
|
OpenAPI spec version: v2
|
|
11
|
-
|
|
11
|
+
|
|
12
12
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
13
13
|
"""
|
|
14
14
|
|
|
@@ -24,6 +24,8 @@ from upstox_client.api.login_api import LoginApi
|
|
|
24
24
|
from upstox_client.api.market_holidays_and_timings_api import MarketHolidaysAndTimingsApi
|
|
25
25
|
from upstox_client.api.market_quote_api import MarketQuoteApi
|
|
26
26
|
from upstox_client.api.market_quote_v3_api import MarketQuoteV3Api
|
|
27
|
+
from upstox_client.api.mutual_fund_api import MutualFundApi
|
|
28
|
+
from upstox_client.api.news_api import NewsApi
|
|
27
29
|
from upstox_client.api.options_api import OptionsApi
|
|
28
30
|
from upstox_client.api.order_api import OrderApi
|
|
29
31
|
from upstox_client.api.portfolio_api import PortfolioApi
|
|
@@ -65,6 +67,7 @@ from upstox_client.models.depth_map import DepthMap
|
|
|
65
67
|
from upstox_client.models.dp_plan import DpPlan
|
|
66
68
|
from upstox_client.models.exchange_timing_data import ExchangeTimingData
|
|
67
69
|
from upstox_client.models.expired_future_data import ExpiredFutureData
|
|
70
|
+
from upstox_client.models.family_member_data import FamilyMemberData
|
|
68
71
|
from upstox_client.models.get_brokerage_response import GetBrokerageResponse
|
|
69
72
|
from upstox_client.models.get_exchange_timing_response import GetExchangeTimingResponse
|
|
70
73
|
from upstox_client.models.get_expired_futures_contract_response import GetExpiredFuturesContractResponse
|
|
@@ -81,6 +84,11 @@ from upstox_client.models.get_market_quote_ohlc_response import GetMarketQuoteOH
|
|
|
81
84
|
from upstox_client.models.get_market_quote_ohlc_response_v3 import GetMarketQuoteOHLCResponseV3
|
|
82
85
|
from upstox_client.models.get_market_quote_option_greek_response_v3 import GetMarketQuoteOptionGreekResponseV3
|
|
83
86
|
from upstox_client.models.get_market_status_response import GetMarketStatusResponse
|
|
87
|
+
from upstox_client.models.get_mutual_fund_holdings_response import GetMutualFundHoldingsResponse
|
|
88
|
+
from upstox_client.models.get_mutual_fund_order_details_response import GetMutualFundOrderDetailsResponse
|
|
89
|
+
from upstox_client.models.get_mutual_fund_orders_response import GetMutualFundOrdersResponse
|
|
90
|
+
from upstox_client.models.get_mutual_fund_sips_response import GetMutualFundSipsResponse
|
|
91
|
+
from upstox_client.models.get_news_response import GetNewsResponse
|
|
84
92
|
from upstox_client.models.get_option_chain_response import GetOptionChainResponse
|
|
85
93
|
from upstox_client.models.get_option_contract_response import GetOptionContractResponse
|
|
86
94
|
from upstox_client.models.get_order_book_response import GetOrderBookResponse
|
|
@@ -140,6 +148,13 @@ from upstox_client.models.multi_order_request import MultiOrderRequest
|
|
|
140
148
|
from upstox_client.models.multi_order_response import MultiOrderResponse
|
|
141
149
|
from upstox_client.models.multi_order_summary import MultiOrderSummary
|
|
142
150
|
from upstox_client.models.multi_order_v3_data import MultiOrderV3Data
|
|
151
|
+
from upstox_client.models.mutual_fund_holding_data import MutualFundHoldingData
|
|
152
|
+
from upstox_client.models.mutual_fund_meta_data import MutualFundMetaData
|
|
153
|
+
from upstox_client.models.mutual_fund_order_data import MutualFundOrderData
|
|
154
|
+
from upstox_client.models.mutual_fund_sip_data import MutualFundSipData
|
|
155
|
+
from upstox_client.models.news_item_data import NewsItemData
|
|
156
|
+
from upstox_client.models.news_response_meta_data import NewsResponseMetaData
|
|
157
|
+
from upstox_client.models.news_response_page_data import NewsResponsePageData
|
|
143
158
|
from upstox_client.models.o_auth_client_exception import OAuthClientException
|
|
144
159
|
from upstox_client.models.o_auth_client_exception_cause import OAuthClientExceptionCause
|
|
145
160
|
from upstox_client.models.o_auth_client_exception_cause_stack_trace import OAuthClientExceptionCauseStackTrace
|
|
@@ -151,6 +166,7 @@ from upstox_client.models.order_book_data import OrderBookData
|
|
|
151
166
|
from upstox_client.models.order_data import OrderData
|
|
152
167
|
from upstox_client.models.order_metadata import OrderMetadata
|
|
153
168
|
from upstox_client.models.other_taxes import OtherTaxes
|
|
169
|
+
from upstox_client.models.pagination import Pagination
|
|
154
170
|
from upstox_client.models.place_order_data import PlaceOrderData
|
|
155
171
|
from upstox_client.models.place_order_request import PlaceOrderRequest
|
|
156
172
|
from upstox_client.models.place_order_response import PlaceOrderResponse
|
|
@@ -12,6 +12,8 @@ from upstox_client.api.login_api import LoginApi
|
|
|
12
12
|
from upstox_client.api.market_holidays_and_timings_api import MarketHolidaysAndTimingsApi
|
|
13
13
|
from upstox_client.api.market_quote_api import MarketQuoteApi
|
|
14
14
|
from upstox_client.api.market_quote_v3_api import MarketQuoteV3Api
|
|
15
|
+
from upstox_client.api.mutual_fund_api import MutualFundApi
|
|
16
|
+
from upstox_client.api.news_api import NewsApi
|
|
15
17
|
from upstox_client.api.options_api import OptionsApi
|
|
16
18
|
from upstox_client.api.order_api import OrderApi
|
|
17
19
|
from upstox_client.api.portfolio_api import PortfolioApi
|
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
OpenAPI definition
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: v0
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
# python 2 and python 3 compatibility library
|
|
18
|
+
import six
|
|
19
|
+
|
|
20
|
+
from upstox_client.api_client import ApiClient
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class MutualFundApi(object):
|
|
24
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
25
|
+
|
|
26
|
+
Do not edit the class manually.
|
|
27
|
+
Ref: https://github.com/swagger-api/swagger-codegen
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
def __init__(self, api_client=None):
|
|
31
|
+
if api_client is None:
|
|
32
|
+
api_client = ApiClient()
|
|
33
|
+
self.api_client = api_client
|
|
34
|
+
|
|
35
|
+
def get_mutual_fund_holdings(self, **kwargs): # noqa: E501
|
|
36
|
+
"""Get mutual fund holdings # noqa: E501
|
|
37
|
+
|
|
38
|
+
Returns mutual fund holdings for the authenticated user. # noqa: E501
|
|
39
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
40
|
+
asynchronous HTTP request, please pass async_req=True
|
|
41
|
+
>>> thread = api.get_mutual_fund_holdings(async_req=True)
|
|
42
|
+
>>> result = thread.get()
|
|
43
|
+
|
|
44
|
+
:param async_req bool
|
|
45
|
+
:return: GetMutualFundHoldingsResponse
|
|
46
|
+
If the method is called asynchronously,
|
|
47
|
+
returns the request thread.
|
|
48
|
+
"""
|
|
49
|
+
kwargs['_return_http_data_only'] = True
|
|
50
|
+
if kwargs.get('async_req'):
|
|
51
|
+
return self.get_mutual_fund_holdings_with_http_info(**kwargs) # noqa: E501
|
|
52
|
+
else:
|
|
53
|
+
(data) = self.get_mutual_fund_holdings_with_http_info(**kwargs) # noqa: E501
|
|
54
|
+
return data
|
|
55
|
+
|
|
56
|
+
def get_mutual_fund_holdings_with_http_info(self, **kwargs): # noqa: E501
|
|
57
|
+
"""Get mutual fund holdings # noqa: E501
|
|
58
|
+
|
|
59
|
+
Returns mutual fund holdings for the authenticated user. # noqa: E501
|
|
60
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
61
|
+
asynchronous HTTP request, please pass async_req=True
|
|
62
|
+
>>> thread = api.get_mutual_fund_holdings_with_http_info(async_req=True)
|
|
63
|
+
>>> result = thread.get()
|
|
64
|
+
|
|
65
|
+
:param async_req bool
|
|
66
|
+
:return: GetMutualFundHoldingsResponse
|
|
67
|
+
If the method is called asynchronously,
|
|
68
|
+
returns the request thread.
|
|
69
|
+
"""
|
|
70
|
+
|
|
71
|
+
all_params = [] # noqa: E501
|
|
72
|
+
all_params.append('async_req')
|
|
73
|
+
all_params.append('_return_http_data_only')
|
|
74
|
+
all_params.append('_preload_content')
|
|
75
|
+
all_params.append('_request_timeout')
|
|
76
|
+
|
|
77
|
+
params = locals()
|
|
78
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
79
|
+
if key not in all_params:
|
|
80
|
+
raise TypeError(
|
|
81
|
+
"Got an unexpected keyword argument '%s'"
|
|
82
|
+
" to method get_mutual_fund_holdings" % key
|
|
83
|
+
)
|
|
84
|
+
params[key] = val
|
|
85
|
+
del params['kwargs']
|
|
86
|
+
|
|
87
|
+
collection_formats = {}
|
|
88
|
+
|
|
89
|
+
path_params = {}
|
|
90
|
+
|
|
91
|
+
query_params = []
|
|
92
|
+
|
|
93
|
+
header_params = {}
|
|
94
|
+
|
|
95
|
+
form_params = []
|
|
96
|
+
local_var_files = {}
|
|
97
|
+
|
|
98
|
+
body_params = None
|
|
99
|
+
# HTTP header `Accept`
|
|
100
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
101
|
+
['*/*', 'application/json']) # noqa: E501
|
|
102
|
+
|
|
103
|
+
# Authentication setting
|
|
104
|
+
auth_settings = ['OAUTH2'] # noqa: E501
|
|
105
|
+
|
|
106
|
+
return self.api_client.call_api(
|
|
107
|
+
'/v2/mf/holdings', 'GET',
|
|
108
|
+
path_params,
|
|
109
|
+
query_params,
|
|
110
|
+
header_params,
|
|
111
|
+
body=body_params,
|
|
112
|
+
post_params=form_params,
|
|
113
|
+
files=local_var_files,
|
|
114
|
+
response_type='GetMutualFundHoldingsResponse', # noqa: E501
|
|
115
|
+
auth_settings=auth_settings,
|
|
116
|
+
async_req=params.get('async_req'),
|
|
117
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
118
|
+
_preload_content=params.get('_preload_content', True),
|
|
119
|
+
_request_timeout=params.get('_request_timeout'),
|
|
120
|
+
collection_formats=collection_formats)
|
|
121
|
+
|
|
122
|
+
def get_mutual_fund_order(self, order_id, **kwargs): # noqa: E501
|
|
123
|
+
"""Get mutual fund order by id # noqa: E501
|
|
124
|
+
|
|
125
|
+
Returns a single mutual fund order by order id. # noqa: E501
|
|
126
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
127
|
+
asynchronous HTTP request, please pass async_req=True
|
|
128
|
+
>>> thread = api.get_mutual_fund_order(order_id, async_req=True)
|
|
129
|
+
>>> result = thread.get()
|
|
130
|
+
|
|
131
|
+
:param async_req bool
|
|
132
|
+
:param object order_id: Mutual fund order id (required)
|
|
133
|
+
:return: GetMutualFundOrderDetailsResponse
|
|
134
|
+
If the method is called asynchronously,
|
|
135
|
+
returns the request thread.
|
|
136
|
+
"""
|
|
137
|
+
kwargs['_return_http_data_only'] = True
|
|
138
|
+
if kwargs.get('async_req'):
|
|
139
|
+
return self.get_mutual_fund_order_with_http_info(order_id, **kwargs) # noqa: E501
|
|
140
|
+
else:
|
|
141
|
+
(data) = self.get_mutual_fund_order_with_http_info(order_id, **kwargs) # noqa: E501
|
|
142
|
+
return data
|
|
143
|
+
|
|
144
|
+
def get_mutual_fund_order_with_http_info(self, order_id, **kwargs): # noqa: E501
|
|
145
|
+
"""Get mutual fund order by id # noqa: E501
|
|
146
|
+
|
|
147
|
+
Returns a single mutual fund order by order id. # noqa: E501
|
|
148
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
149
|
+
asynchronous HTTP request, please pass async_req=True
|
|
150
|
+
>>> thread = api.get_mutual_fund_order_with_http_info(order_id, async_req=True)
|
|
151
|
+
>>> result = thread.get()
|
|
152
|
+
|
|
153
|
+
:param async_req bool
|
|
154
|
+
:param object order_id: Mutual fund order id (required)
|
|
155
|
+
:return: GetMutualFundOrderDetailsResponse
|
|
156
|
+
If the method is called asynchronously,
|
|
157
|
+
returns the request thread.
|
|
158
|
+
"""
|
|
159
|
+
|
|
160
|
+
all_params = ['order_id'] # noqa: E501
|
|
161
|
+
all_params.append('async_req')
|
|
162
|
+
all_params.append('_return_http_data_only')
|
|
163
|
+
all_params.append('_preload_content')
|
|
164
|
+
all_params.append('_request_timeout')
|
|
165
|
+
|
|
166
|
+
params = locals()
|
|
167
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
168
|
+
if key not in all_params:
|
|
169
|
+
raise TypeError(
|
|
170
|
+
"Got an unexpected keyword argument '%s'"
|
|
171
|
+
" to method get_mutual_fund_order" % key
|
|
172
|
+
)
|
|
173
|
+
params[key] = val
|
|
174
|
+
del params['kwargs']
|
|
175
|
+
# verify the required parameter 'order_id' is set
|
|
176
|
+
if ('order_id' not in params or
|
|
177
|
+
params['order_id'] is None):
|
|
178
|
+
raise ValueError("Missing the required parameter `order_id` when calling `get_mutual_fund_order`") # noqa: E501
|
|
179
|
+
|
|
180
|
+
collection_formats = {}
|
|
181
|
+
|
|
182
|
+
path_params = {}
|
|
183
|
+
if 'order_id' in params:
|
|
184
|
+
path_params['order_id'] = params['order_id'] # noqa: E501
|
|
185
|
+
|
|
186
|
+
query_params = []
|
|
187
|
+
|
|
188
|
+
header_params = {}
|
|
189
|
+
|
|
190
|
+
form_params = []
|
|
191
|
+
local_var_files = {}
|
|
192
|
+
|
|
193
|
+
body_params = None
|
|
194
|
+
# HTTP header `Accept`
|
|
195
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
196
|
+
['*/*', 'application/json']) # noqa: E501
|
|
197
|
+
|
|
198
|
+
# Authentication setting
|
|
199
|
+
auth_settings = ['OAUTH2'] # noqa: E501
|
|
200
|
+
|
|
201
|
+
return self.api_client.call_api(
|
|
202
|
+
'/v2/mf/orders/{order_id}', 'GET',
|
|
203
|
+
path_params,
|
|
204
|
+
query_params,
|
|
205
|
+
header_params,
|
|
206
|
+
body=body_params,
|
|
207
|
+
post_params=form_params,
|
|
208
|
+
files=local_var_files,
|
|
209
|
+
response_type='GetMutualFundOrderDetailsResponse', # noqa: E501
|
|
210
|
+
auth_settings=auth_settings,
|
|
211
|
+
async_req=params.get('async_req'),
|
|
212
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
213
|
+
_preload_content=params.get('_preload_content', True),
|
|
214
|
+
_request_timeout=params.get('_request_timeout'),
|
|
215
|
+
collection_formats=collection_formats)
|
|
216
|
+
|
|
217
|
+
def get_mutual_fund_orders(self, **kwargs): # noqa: E501
|
|
218
|
+
"""Get mutual fund orders # noqa: E501
|
|
219
|
+
|
|
220
|
+
Returns mutual fund orders from the last 7 days for the authenticated user. # noqa: E501
|
|
221
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
222
|
+
asynchronous HTTP request, please pass async_req=True
|
|
223
|
+
>>> thread = api.get_mutual_fund_orders(async_req=True)
|
|
224
|
+
>>> result = thread.get()
|
|
225
|
+
|
|
226
|
+
:param async_req bool
|
|
227
|
+
:param object status: Mutual fund order status
|
|
228
|
+
:param object transaction_type: Mutual fund order transaction type
|
|
229
|
+
:param object page_number: Page number for pagination.
|
|
230
|
+
:param object records: no of records in a single page
|
|
231
|
+
:return: GetMutualFundOrdersResponse
|
|
232
|
+
If the method is called asynchronously,
|
|
233
|
+
returns the request thread.
|
|
234
|
+
"""
|
|
235
|
+
kwargs['_return_http_data_only'] = True
|
|
236
|
+
if kwargs.get('async_req'):
|
|
237
|
+
return self.get_mutual_fund_orders_with_http_info(**kwargs) # noqa: E501
|
|
238
|
+
else:
|
|
239
|
+
(data) = self.get_mutual_fund_orders_with_http_info(**kwargs) # noqa: E501
|
|
240
|
+
return data
|
|
241
|
+
|
|
242
|
+
def get_mutual_fund_orders_with_http_info(self, **kwargs): # noqa: E501
|
|
243
|
+
"""Get mutual fund orders # noqa: E501
|
|
244
|
+
|
|
245
|
+
Returns mutual fund orders from the last 7 days for the authenticated user. # noqa: E501
|
|
246
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
247
|
+
asynchronous HTTP request, please pass async_req=True
|
|
248
|
+
>>> thread = api.get_mutual_fund_orders_with_http_info(async_req=True)
|
|
249
|
+
>>> result = thread.get()
|
|
250
|
+
|
|
251
|
+
:param async_req bool
|
|
252
|
+
:param object status: Mutual fund order status
|
|
253
|
+
:param object transaction_type: Mutual fund order transaction type
|
|
254
|
+
:param object page_number: Page number for pagination.
|
|
255
|
+
:param object records: no of records in a single page
|
|
256
|
+
:return: GetMutualFundOrdersResponse
|
|
257
|
+
If the method is called asynchronously,
|
|
258
|
+
returns the request thread.
|
|
259
|
+
"""
|
|
260
|
+
|
|
261
|
+
all_params = ['status', 'transaction_type', 'page_number', 'records'] # noqa: E501
|
|
262
|
+
all_params.append('async_req')
|
|
263
|
+
all_params.append('_return_http_data_only')
|
|
264
|
+
all_params.append('_preload_content')
|
|
265
|
+
all_params.append('_request_timeout')
|
|
266
|
+
|
|
267
|
+
params = locals()
|
|
268
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
269
|
+
if key not in all_params:
|
|
270
|
+
raise TypeError(
|
|
271
|
+
"Got an unexpected keyword argument '%s'"
|
|
272
|
+
" to method get_mutual_fund_orders" % key
|
|
273
|
+
)
|
|
274
|
+
params[key] = val
|
|
275
|
+
del params['kwargs']
|
|
276
|
+
|
|
277
|
+
collection_formats = {}
|
|
278
|
+
|
|
279
|
+
path_params = {}
|
|
280
|
+
|
|
281
|
+
query_params = []
|
|
282
|
+
if 'status' in params:
|
|
283
|
+
query_params.append(('status', params['status'])) # noqa: E501
|
|
284
|
+
if 'transaction_type' in params:
|
|
285
|
+
query_params.append(('transaction_type', params['transaction_type'])) # noqa: E501
|
|
286
|
+
if 'page_number' in params:
|
|
287
|
+
query_params.append(('page_number', params['page_number'])) # noqa: E501
|
|
288
|
+
if 'records' in params:
|
|
289
|
+
query_params.append(('records', params['records'])) # noqa: E501
|
|
290
|
+
|
|
291
|
+
header_params = {}
|
|
292
|
+
|
|
293
|
+
form_params = []
|
|
294
|
+
local_var_files = {}
|
|
295
|
+
|
|
296
|
+
body_params = None
|
|
297
|
+
# HTTP header `Accept`
|
|
298
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
299
|
+
['*/*', 'application/json']) # noqa: E501
|
|
300
|
+
|
|
301
|
+
# Authentication setting
|
|
302
|
+
auth_settings = ['OAUTH2'] # noqa: E501
|
|
303
|
+
|
|
304
|
+
return self.api_client.call_api(
|
|
305
|
+
'/v2/mf/orders', 'GET',
|
|
306
|
+
path_params,
|
|
307
|
+
query_params,
|
|
308
|
+
header_params,
|
|
309
|
+
body=body_params,
|
|
310
|
+
post_params=form_params,
|
|
311
|
+
files=local_var_files,
|
|
312
|
+
response_type='GetMutualFundOrdersResponse', # noqa: E501
|
|
313
|
+
auth_settings=auth_settings,
|
|
314
|
+
async_req=params.get('async_req'),
|
|
315
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
316
|
+
_preload_content=params.get('_preload_content', True),
|
|
317
|
+
_request_timeout=params.get('_request_timeout'),
|
|
318
|
+
collection_formats=collection_formats)
|
|
319
|
+
|
|
320
|
+
def get_mutual_fund_sips(self, **kwargs): # noqa: E501
|
|
321
|
+
"""Get mutual fund SIPs # noqa: E501
|
|
322
|
+
|
|
323
|
+
Returns active and paused SIP orders for the authenticated user. # noqa: E501
|
|
324
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
325
|
+
asynchronous HTTP request, please pass async_req=True
|
|
326
|
+
>>> thread = api.get_mutual_fund_sips(async_req=True)
|
|
327
|
+
>>> result = thread.get()
|
|
328
|
+
|
|
329
|
+
:param async_req bool
|
|
330
|
+
:param object page_number: Page number for pagination.
|
|
331
|
+
:param object records: no of records in a single page
|
|
332
|
+
:return: GetMutualFundSipsResponse
|
|
333
|
+
If the method is called asynchronously,
|
|
334
|
+
returns the request thread.
|
|
335
|
+
"""
|
|
336
|
+
kwargs['_return_http_data_only'] = True
|
|
337
|
+
if kwargs.get('async_req'):
|
|
338
|
+
return self.get_mutual_fund_sips_with_http_info(**kwargs) # noqa: E501
|
|
339
|
+
else:
|
|
340
|
+
(data) = self.get_mutual_fund_sips_with_http_info(**kwargs) # noqa: E501
|
|
341
|
+
return data
|
|
342
|
+
|
|
343
|
+
def get_mutual_fund_sips_with_http_info(self, **kwargs): # noqa: E501
|
|
344
|
+
"""Get mutual fund SIPs # noqa: E501
|
|
345
|
+
|
|
346
|
+
Returns active and paused SIP orders for the authenticated user. # noqa: E501
|
|
347
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
348
|
+
asynchronous HTTP request, please pass async_req=True
|
|
349
|
+
>>> thread = api.get_mutual_fund_sips_with_http_info(async_req=True)
|
|
350
|
+
>>> result = thread.get()
|
|
351
|
+
|
|
352
|
+
:param async_req bool
|
|
353
|
+
:param object page_number: Page number for pagination.
|
|
354
|
+
:param object records: no of records in a single page
|
|
355
|
+
:return: GetMutualFundSipsResponse
|
|
356
|
+
If the method is called asynchronously,
|
|
357
|
+
returns the request thread.
|
|
358
|
+
"""
|
|
359
|
+
|
|
360
|
+
all_params = ['page_number', 'records'] # noqa: E501
|
|
361
|
+
all_params.append('async_req')
|
|
362
|
+
all_params.append('_return_http_data_only')
|
|
363
|
+
all_params.append('_preload_content')
|
|
364
|
+
all_params.append('_request_timeout')
|
|
365
|
+
|
|
366
|
+
params = locals()
|
|
367
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
368
|
+
if key not in all_params:
|
|
369
|
+
raise TypeError(
|
|
370
|
+
"Got an unexpected keyword argument '%s'"
|
|
371
|
+
" to method get_mutual_fund_sips" % key
|
|
372
|
+
)
|
|
373
|
+
params[key] = val
|
|
374
|
+
del params['kwargs']
|
|
375
|
+
|
|
376
|
+
collection_formats = {}
|
|
377
|
+
|
|
378
|
+
path_params = {}
|
|
379
|
+
|
|
380
|
+
query_params = []
|
|
381
|
+
if 'page_number' in params:
|
|
382
|
+
query_params.append(('page_number', params['page_number'])) # noqa: E501
|
|
383
|
+
if 'records' in params:
|
|
384
|
+
query_params.append(('records', params['records'])) # noqa: E501
|
|
385
|
+
|
|
386
|
+
header_params = {}
|
|
387
|
+
|
|
388
|
+
form_params = []
|
|
389
|
+
local_var_files = {}
|
|
390
|
+
|
|
391
|
+
body_params = None
|
|
392
|
+
# HTTP header `Accept`
|
|
393
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
394
|
+
['*/*', 'application/json']) # noqa: E501
|
|
395
|
+
|
|
396
|
+
# Authentication setting
|
|
397
|
+
auth_settings = ['OAUTH2'] # noqa: E501
|
|
398
|
+
|
|
399
|
+
return self.api_client.call_api(
|
|
400
|
+
'/v2/mf/sips', 'GET',
|
|
401
|
+
path_params,
|
|
402
|
+
query_params,
|
|
403
|
+
header_params,
|
|
404
|
+
body=body_params,
|
|
405
|
+
post_params=form_params,
|
|
406
|
+
files=local_var_files,
|
|
407
|
+
response_type='GetMutualFundSipsResponse', # noqa: E501
|
|
408
|
+
auth_settings=auth_settings,
|
|
409
|
+
async_req=params.get('async_req'),
|
|
410
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
411
|
+
_preload_content=params.get('_preload_content', True),
|
|
412
|
+
_request_timeout=params.get('_request_timeout'),
|
|
413
|
+
collection_formats=collection_formats)
|