upstox-python-sdk 2.29.0__tar.gz → 2.31.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.29.0 → upstox_python_sdk-2.31.0}/PKG-INFO +17 -4
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/setup.py +1 -1
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/__init__.py +29 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/__init__.py +5 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/market_quote_v3_api.py +91 -0
- upstox_python_sdk-2.31.0/upstox_client/api/us_market_holidays_and_timings_api.py +397 -0
- upstox_python_sdk-2.31.0/upstox_client/api/us_stocks_charges_api.py +132 -0
- upstox_python_sdk-2.31.0/upstox_client/api/us_stocks_funds_api.py +120 -0
- upstox_python_sdk-2.31.0/upstox_client/api/us_stocks_order_api.py +512 -0
- upstox_python_sdk-2.31.0/upstox_client/api/us_stocks_portfolio_api.py +120 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api_client.py +4 -1
- upstox_python_sdk-2.31.0/upstox_client/feeder/proto/MarketDataFeedV3_pb2.py +75 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/__init__.py +24 -0
- upstox_python_sdk-2.31.0/upstox_client/models/cas_eligible_status_data.py +146 -0
- upstox_python_sdk-2.31.0/upstox_client/models/get_full_market_quote_response_v3.py +142 -0
- upstox_python_sdk-2.31.0/upstox_client/models/get_us_exchange_timing_response.py +144 -0
- upstox_python_sdk-2.31.0/upstox_client/models/get_us_holiday_response.py +144 -0
- upstox_python_sdk-2.31.0/upstox_client/models/market_quote_symbol_v3.py +836 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_status_data.py +29 -3
- upstox_python_sdk-2.31.0/upstox_client/models/us_exchange_timing_data.py +222 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_funds_data.py +336 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_funds_response.py +142 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_holding_data.py +470 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_holdings_response.py +144 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_holiday_data.py +142 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_margin_data.py +224 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_margin_request.py +113 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_margin_response.py +142 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_order_book_data.py +718 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_order_book_response.py +144 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_order_data.py +112 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_order_details_response.py +142 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_order_estimate_data.py +308 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_order_estimate_request.py +236 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_order_estimate_response.py +142 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_order_margin.py +248 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_order_response.py +142 -0
- upstox_python_sdk-2.31.0/upstox_client/models/us_place_order_request.py +324 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_python_sdk.egg-info/PKG-INFO +17 -4
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_python_sdk.egg-info/SOURCES.txt +29 -0
- upstox-python-sdk-2.29.0/upstox_client/feeder/proto/MarketDataFeedV3_pb2.py +0 -63
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/LICENSE.txt +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/README.md +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/setup.cfg +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/__init__.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/sanity_test.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_analytics_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_api_gateway_error_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_batch_execution_summary.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_brokerage_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_brokerage_taxes.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_brokerage_wrapper_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_cancel_or_exit_multi_order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_cancel_or_exit_multi_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_cancel_or_exit_order_error_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_cancel_order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_cancel_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_cancel_order_v3_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_charge_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_convert_position_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_convert_position_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_convert_position_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_depth.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_depth_map.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_dp_plan.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_exchange_timing_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_brokerage_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_exchange_timing_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_full_market_quote_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_gtt_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_historical_candle_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_holdings_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_holiday_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_intra_day_candle_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_market_quote_last_traded_price_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_market_quote_ohlc_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_market_status_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_option_chain_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_option_contract_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_order_book_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_order_details_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_position_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_profile_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_profit_and_loss_charges_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_trade_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_trade_wise_profit_and_loss_data_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_get_user_fund_margin_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_gtt_cancel_order_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_gtt_modify_order_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_gtt_order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_gtt_order_details.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_gtt_place_order_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_gtt_rule.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_gtt_trigger_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_historical_candle_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_history_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_holdings_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_holiday_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_indie_user_init_token_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_indie_user_init_token_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_indie_user_token_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_instrument.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_instrument_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_intra_day_candle_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_login_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_logout_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_margin.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_margin_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_margin_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_market_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_market_holidays_and_timings_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_market_quote_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_market_quote_ohlc.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_market_quote_symbol.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_market_quote_symbol_ltp.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_market_status_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_modify_order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_modify_order_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_modify_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_modify_order_v3_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_multi_order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_multi_order_error.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_multi_order_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_multi_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_multi_order_summary.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_multi_order_v3_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_o_auth_client_exception.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_o_auth_client_exception_cause.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_o_auth_client_exception_cause_stack_trace.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_o_auth_client_exception_cause_suppressed.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_ohlc.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_option_strike_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_options_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_order_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_order_book_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_order_controller_v_3_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_order_metadata.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_other_taxes.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_place_order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_place_order_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_place_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_place_order_v3_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_place_order_v3_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_portfolio_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_position_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_post_margin_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_post_trade_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_problem.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_profile_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_profit_and_loss_charges_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_profit_and_loss_charges_taxes.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_profit_and_loss_charges_wrapper_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_profit_and_loss_meta_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_profit_and_loss_meta_data_wrapper.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_profit_and_loss_other_charges_taxes.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_put_call_option_chain_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_rule.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_token_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_token_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_trade_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_trade_history_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_trade_history_response_meta_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_trade_history_response_page_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_trade_history_response_trade_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_trade_profit_and_loss_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_trade_wise_meta_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_trade_wise_profit_and_loss_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_user_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_user_fund_margin_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_websocket_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_websocket_auth_redirect_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/test/test_websocket_auth_redirect_response_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/charge_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/expired_instrument_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/fundamentals_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/history_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/history_v3_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/instruments_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/ipo_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/login_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/market_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/market_holidays_and_timings_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/market_quote_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/mutual_fund_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/news_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/options_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/order_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/order_controller_v_3_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/portfolio_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/post_trade_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/trade_profit_and_loss_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/user_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/websocket_api.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/configuration.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/__init__.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/feeder.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/market_data_feeder_v3.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/market_data_streamer_v3.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/portfolio_data_feeder.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/portfolio_data_streamer.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/proto/__init__.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/streamer.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/analytics_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/analytics_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/api_gateway_error_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/available_to_trade.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/balance_sheet_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/balance_sheet_history_item.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/balance_sheet_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/batch_execution_summary.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/brokerage_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/brokerage_taxes.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/brokerage_wrapper_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cancel_or_exit_multi_order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cancel_or_exit_multi_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cancel_or_exit_order_error_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cancel_order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cancel_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cancel_order_v3_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cash_available_to_trade.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cash_breakdown.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cash_flow_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cash_flow_entry.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cash_flow_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cash_margin_used.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cash_unavailable_to_trade.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/company_profile_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/company_profile_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/competitor_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/competitors_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/convert_position_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/convert_position_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/convert_position_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/corporate_action_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/corporate_action_event_detail.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/corporate_actions_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/delivery_margin.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/depth.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/depth_map.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/dp_plan.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/exchange_timing_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/expired_future_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/family_member_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/financial_statement_entry.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_brokerage_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_exchange_timing_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_expired_futures_contract_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_expiries.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_full_market_quote_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_gtt_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_historical_candle_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_holdings_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_holiday_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_intra_day_candle_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_market_quote_last_traded_price_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_market_quote_last_traded_price_response_v3.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_market_quote_ohlc_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_market_quote_ohlc_response_v3.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_market_quote_option_greek_response_v3.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_market_status_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_mutual_fund_holdings_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_mutual_fund_order_details_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_mutual_fund_orders_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_mutual_fund_sips_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_news_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_option_chain_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_option_contract_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_order_book_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_order_details_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_position_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_profile_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_profit_and_loss_charges_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_trade_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_trade_wise_profit_and_loss_data_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_user_fund_margin_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_user_fund_margin_v3_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/gtt_cancel_order_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/gtt_modify_order_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/gtt_order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/gtt_order_details.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/gtt_place_order_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/gtt_rule.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/gtt_trigger_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/historical_candle_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/history_item.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/holdings_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/holiday_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/income_statement_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/income_statement_entry.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/income_statement_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/indie_user_init_token_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/indie_user_init_token_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/indie_user_token_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/initiate_payout_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/instrument.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/instrument_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/intra_day_candle_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_apply_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_apply_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_apply_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_bid_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_cancel_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_cancel_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_details_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_details_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_investor_type.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_listing_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_listing_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_meta_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_order_bid.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_order_detail_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_registrar_info.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_timeline.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/key_ratio_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/key_ratios_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/kill_switch_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/kill_switch_segment_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/kill_switch_segment_update_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/logout_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/loss.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/margin.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/margin_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/margin_from_pledge.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/margin_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_quote_ohlc.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_quote_ohlcv3.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_quote_option_greek_v3.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_quote_symbol.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_quote_symbol_ltp.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_quote_symbol_ltp_v3.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/modify_order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/modify_order_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/modify_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/modify_order_v3_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/modify_payout_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/multi_order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/multi_order_error.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/multi_order_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/multi_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/multi_order_summary.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/multi_order_v3_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/mutual_fund_holding_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/mutual_fund_meta_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/mutual_fund_order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/mutual_fund_sip_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/news_item_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/news_response_meta_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/news_response_page_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/o_auth_client_exception.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/o_auth_client_exception_cause.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/o_auth_client_exception_cause_stack_trace.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/o_auth_client_exception_cause_suppressed.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ohlc.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ohlc_v3.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/option_strike_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/order_book_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/order_metadata.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/other_taxes.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/pagination.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/payment_history_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/payment_history_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/payout_details.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/payout_details_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/payout_modes_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/payout_modes_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/place_order_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/place_order_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/place_order_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/place_order_v3_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/place_order_v3_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/pledge_available_to_trade.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/pledge_margin_used.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/pledge_unavailable_to_trade.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/position_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/post_margin_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/problem.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/profile_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/profit_and_loss_charges_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/profit_and_loss_charges_taxes.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/profit_and_loss_charges_wrapper_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/profit_and_loss_meta_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/profit_and_loss_meta_data_wrapper.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/profit_and_loss_other_charges_taxes.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/put_call_option_chain_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/rule.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/search_instrument_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/search_meta_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/search_page.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/sector_market_cap_amount.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/share_holding_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/share_holdings_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/token_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/token_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/trade_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/trade_history_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/trade_history_response_meta_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/trade_history_response_page_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/trade_history_response_trade_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/trade_wise_meta_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/trade_wise_profit_and_loss_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/unavailable_to_trade.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/unsettled_profit.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/update_user_ip_request.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/user_fund_margin_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/user_fund_margin_v3_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/user_ip_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/user_ip_response_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/websocket_auth_redirect_response.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/models/websocket_auth_redirect_response_data.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/rest.py +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_python_sdk.egg-info/dependency_links.txt +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_python_sdk.egg-info/requires.txt +0 -0
- {upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.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.31.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
|
|
|
@@ -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
|
-
|
|
@@ -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.31.0"
|
|
22
22
|
# To install the library, run the following
|
|
23
23
|
#
|
|
24
24
|
# python setup.py install
|
|
@@ -34,6 +34,11 @@ from upstox_client.api.order_api import OrderApi
|
|
|
34
34
|
from upstox_client.api.portfolio_api import PortfolioApi
|
|
35
35
|
from upstox_client.api.post_trade_api import PostTradeApi
|
|
36
36
|
from upstox_client.api.trade_profit_and_loss_api import TradeProfitAndLossApi
|
|
37
|
+
from upstox_client.api.us_market_holidays_and_timings_api import UsMarketHolidaysAndTimingsApi
|
|
38
|
+
from upstox_client.api.us_stocks_charges_api import UsStocksChargesApi
|
|
39
|
+
from upstox_client.api.us_stocks_funds_api import UsStocksFundsApi
|
|
40
|
+
from upstox_client.api.us_stocks_order_api import UsStocksOrderApi
|
|
41
|
+
from upstox_client.api.us_stocks_portfolio_api import UsStocksPortfolioApi
|
|
37
42
|
from upstox_client.api.user_api import UserApi
|
|
38
43
|
from upstox_client.api.websocket_api import WebsocketApi
|
|
39
44
|
from upstox_client.api.order_controller_v_3_api import OrderApiV3
|
|
@@ -91,6 +96,7 @@ from upstox_client.models.get_exchange_timing_response import GetExchangeTimingR
|
|
|
91
96
|
from upstox_client.models.get_expired_futures_contract_response import GetExpiredFuturesContractResponse
|
|
92
97
|
from upstox_client.models.get_expiries import GetExpiriesResponse
|
|
93
98
|
from upstox_client.models.get_full_market_quote_response import GetFullMarketQuoteResponse
|
|
99
|
+
from upstox_client.models.get_full_market_quote_response_v3 import GetFullMarketQuoteResponseV3
|
|
94
100
|
from upstox_client.models.get_gtt_order_response import GetGttOrderResponse
|
|
95
101
|
from upstox_client.models.get_historical_candle_response import GetHistoricalCandleResponse
|
|
96
102
|
from upstox_client.models.get_holdings_response import GetHoldingsResponse
|
|
@@ -118,6 +124,8 @@ from upstox_client.models.get_profit_and_loss_charges_response import GetProfitA
|
|
|
118
124
|
from upstox_client.models.get_trade_response import GetTradeResponse
|
|
119
125
|
from upstox_client.models.get_trade_wise_profit_and_loss_data_response import GetTradeWiseProfitAndLossDataResponse
|
|
120
126
|
from upstox_client.models.get_trade_wise_profit_and_loss_meta_data_response import GetTradeWiseProfitAndLossMetaDataResponse
|
|
127
|
+
from upstox_client.models.get_us_exchange_timing_response import GetUsExchangeTimingResponse
|
|
128
|
+
from upstox_client.models.get_us_holiday_response import GetUsHolidayResponse
|
|
121
129
|
from upstox_client.models.get_user_fund_margin_response import GetUserFundMarginResponse
|
|
122
130
|
from upstox_client.models.get_user_fund_margin_v3_response import GetUserFundMarginV3Response
|
|
123
131
|
from upstox_client.models.gtt_cancel_order_request import GttCancelOrderRequest
|
|
@@ -180,6 +188,8 @@ from upstox_client.models.market_quote_option_greek_v3 import MarketQuoteOptionG
|
|
|
180
188
|
from upstox_client.models.market_quote_symbol import MarketQuoteSymbol
|
|
181
189
|
from upstox_client.models.market_quote_symbol_ltp import MarketQuoteSymbolLtp
|
|
182
190
|
from upstox_client.models.market_quote_symbol_ltp_v3 import MarketQuoteSymbolLtpV3
|
|
191
|
+
from upstox_client.models.market_quote_symbol_v3 import MarketQuoteSymbolV3
|
|
192
|
+
from upstox_client.models.cas_eligible_status_data import CasEligibleStatusData
|
|
183
193
|
from upstox_client.models.market_status_data import MarketStatusData
|
|
184
194
|
from upstox_client.models.modify_order_data import ModifyOrderData
|
|
185
195
|
from upstox_client.models.modify_order_request import ModifyOrderRequest
|
|
@@ -252,6 +262,25 @@ from upstox_client.models.trade_wise_profit_and_loss_data import TradeWiseProfit
|
|
|
252
262
|
from upstox_client.models.unavailable_to_trade import UnavailableToTrade
|
|
253
263
|
from upstox_client.models.unsettled_profit import UnsettledProfit
|
|
254
264
|
from upstox_client.models.update_user_ip_request import UpdateUserIpRequest
|
|
265
|
+
from upstox_client.models.us_exchange_timing_data import UsExchangeTimingData
|
|
266
|
+
from upstox_client.models.us_funds_data import UsFundsData
|
|
267
|
+
from upstox_client.models.us_funds_response import UsFundsResponse
|
|
268
|
+
from upstox_client.models.us_holding_data import UsHoldingData
|
|
269
|
+
from upstox_client.models.us_holdings_response import UsHoldingsResponse
|
|
270
|
+
from upstox_client.models.us_holiday_data import UsHolidayData
|
|
271
|
+
from upstox_client.models.us_margin_data import UsMarginData
|
|
272
|
+
from upstox_client.models.us_margin_request import UsMarginRequest
|
|
273
|
+
from upstox_client.models.us_margin_response import UsMarginResponse
|
|
274
|
+
from upstox_client.models.us_order_book_data import UsOrderBookData
|
|
275
|
+
from upstox_client.models.us_order_book_response import UsOrderBookResponse
|
|
276
|
+
from upstox_client.models.us_order_data import UsOrderData
|
|
277
|
+
from upstox_client.models.us_order_details_response import UsOrderDetailsResponse
|
|
278
|
+
from upstox_client.models.us_order_estimate_data import UsOrderEstimateData
|
|
279
|
+
from upstox_client.models.us_order_estimate_request import UsOrderEstimateRequest
|
|
280
|
+
from upstox_client.models.us_order_estimate_response import UsOrderEstimateResponse
|
|
281
|
+
from upstox_client.models.us_order_margin import UsOrderMargin
|
|
282
|
+
from upstox_client.models.us_order_response import UsOrderResponse
|
|
283
|
+
from upstox_client.models.us_place_order_request import UsPlaceOrderRequest
|
|
255
284
|
from upstox_client.models.user_fund_margin_data import UserFundMarginData
|
|
256
285
|
from upstox_client.models.user_fund_margin_v3_data import UserFundMarginV3Data
|
|
257
286
|
from upstox_client.models.user_ip_response import UserIpResponse
|
|
@@ -22,6 +22,11 @@ from upstox_client.api.order_api import OrderApi
|
|
|
22
22
|
from upstox_client.api.portfolio_api import PortfolioApi
|
|
23
23
|
from upstox_client.api.post_trade_api import PostTradeApi
|
|
24
24
|
from upstox_client.api.trade_profit_and_loss_api import TradeProfitAndLossApi
|
|
25
|
+
from upstox_client.api.us_market_holidays_and_timings_api import UsMarketHolidaysAndTimingsApi
|
|
26
|
+
from upstox_client.api.us_stocks_charges_api import UsStocksChargesApi
|
|
27
|
+
from upstox_client.api.us_stocks_funds_api import UsStocksFundsApi
|
|
28
|
+
from upstox_client.api.us_stocks_order_api import UsStocksOrderApi
|
|
29
|
+
from upstox_client.api.us_stocks_portfolio_api import UsStocksPortfolioApi
|
|
25
30
|
from upstox_client.api.user_api import UserApi
|
|
26
31
|
from upstox_client.api.websocket_api import WebsocketApi
|
|
27
32
|
from upstox_client.api.order_controller_v_3_api import OrderApiV3
|
{upstox-python-sdk-2.29.0 → upstox_python_sdk-2.31.0}/upstox_client/api/market_quote_v3_api.py
RENAMED
|
@@ -32,6 +32,97 @@ class MarketQuoteV3Api(object):
|
|
|
32
32
|
api_client = ApiClient()
|
|
33
33
|
self.api_client = api_client
|
|
34
34
|
|
|
35
|
+
def get_full_market_quote_v3(self, **kwargs): # noqa: E501
|
|
36
|
+
"""Market quotes and instruments - Full market quotes # noqa: E501
|
|
37
|
+
|
|
38
|
+
This API provides the functionality to retrieve the full market quotes for one or more instruments.This API returns the complete market data snapshot of up to 500 instruments in one go, widened to carry every field published on the upstream extended feed. # 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_full_market_quote_v3(async_req=True)
|
|
42
|
+
>>> result = thread.get()
|
|
43
|
+
|
|
44
|
+
:param async_req bool
|
|
45
|
+
:param str instrument_key: Comma separated list of instrument keys
|
|
46
|
+
:return: GetFullMarketQuoteResponseV3
|
|
47
|
+
If the method is called asynchronously,
|
|
48
|
+
returns the request thread.
|
|
49
|
+
"""
|
|
50
|
+
kwargs['_return_http_data_only'] = True
|
|
51
|
+
if kwargs.get('async_req'):
|
|
52
|
+
return self.get_full_market_quote_v3_with_http_info(**kwargs) # noqa: E501
|
|
53
|
+
else:
|
|
54
|
+
(data) = self.get_full_market_quote_v3_with_http_info(**kwargs) # noqa: E501
|
|
55
|
+
return data
|
|
56
|
+
|
|
57
|
+
def get_full_market_quote_v3_with_http_info(self, **kwargs): # noqa: E501
|
|
58
|
+
"""Market quotes and instruments - Full market quotes # noqa: E501
|
|
59
|
+
|
|
60
|
+
This API provides the functionality to retrieve the full market quotes for one or more instruments.This API returns the complete market data snapshot of up to 500 instruments in one go, widened to carry every field published on the upstream extended feed. # noqa: E501
|
|
61
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
62
|
+
asynchronous HTTP request, please pass async_req=True
|
|
63
|
+
>>> thread = api.get_full_market_quote_v3_with_http_info(async_req=True)
|
|
64
|
+
>>> result = thread.get()
|
|
65
|
+
|
|
66
|
+
:param async_req bool
|
|
67
|
+
:param str instrument_key: Comma separated list of instrument keys
|
|
68
|
+
:return: GetFullMarketQuoteResponseV3
|
|
69
|
+
If the method is called asynchronously,
|
|
70
|
+
returns the request thread.
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
all_params = ['instrument_key'] # noqa: E501
|
|
74
|
+
all_params.append('async_req')
|
|
75
|
+
all_params.append('_return_http_data_only')
|
|
76
|
+
all_params.append('_preload_content')
|
|
77
|
+
all_params.append('_request_timeout')
|
|
78
|
+
|
|
79
|
+
params = locals()
|
|
80
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
81
|
+
if key not in all_params:
|
|
82
|
+
raise TypeError(
|
|
83
|
+
"Got an unexpected keyword argument '%s'"
|
|
84
|
+
" to method get_full_market_quote_v3" % key
|
|
85
|
+
)
|
|
86
|
+
params[key] = val
|
|
87
|
+
del params['kwargs']
|
|
88
|
+
|
|
89
|
+
collection_formats = {}
|
|
90
|
+
|
|
91
|
+
path_params = {}
|
|
92
|
+
|
|
93
|
+
query_params = []
|
|
94
|
+
if 'instrument_key' in params:
|
|
95
|
+
query_params.append(('instrument_key', params['instrument_key'])) # noqa: E501
|
|
96
|
+
|
|
97
|
+
header_params = {}
|
|
98
|
+
|
|
99
|
+
form_params = []
|
|
100
|
+
local_var_files = {}
|
|
101
|
+
|
|
102
|
+
body_params = None
|
|
103
|
+
# HTTP header `Accept`
|
|
104
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
105
|
+
['application/json', '*/*']) # noqa: E501
|
|
106
|
+
|
|
107
|
+
# Authentication setting
|
|
108
|
+
auth_settings = ['OAUTH2'] # noqa: E501
|
|
109
|
+
|
|
110
|
+
return self.api_client.call_api(
|
|
111
|
+
'/v3/market-quote/quotes', 'GET',
|
|
112
|
+
path_params,
|
|
113
|
+
query_params,
|
|
114
|
+
header_params,
|
|
115
|
+
body=body_params,
|
|
116
|
+
post_params=form_params,
|
|
117
|
+
files=local_var_files,
|
|
118
|
+
response_type='GetFullMarketQuoteResponseV3', # noqa: E501
|
|
119
|
+
auth_settings=auth_settings,
|
|
120
|
+
async_req=params.get('async_req'),
|
|
121
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
122
|
+
_preload_content=params.get('_preload_content', True),
|
|
123
|
+
_request_timeout=params.get('_request_timeout'),
|
|
124
|
+
collection_formats=collection_formats)
|
|
125
|
+
|
|
35
126
|
def get_ltp(self, **kwargs): # noqa: E501
|
|
36
127
|
"""Market quotes and instruments - LTP quotes. # noqa: E501
|
|
37
128
|
|
|
@@ -0,0 +1,397 @@
|
|
|
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 UsMarketHolidaysAndTimingsApi(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_us_exchange_timings(self, _date, **kwargs): # noqa: E501
|
|
36
|
+
"""Get US market timings on a date # noqa: E501
|
|
37
|
+
|
|
38
|
+
Returns the US regular and overnight session times on the date, or an empty list when closed. # 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_us_exchange_timings(_date, async_req=True)
|
|
42
|
+
>>> result = thread.get()
|
|
43
|
+
|
|
44
|
+
:param async_req bool
|
|
45
|
+
:param str _date: (required)
|
|
46
|
+
:return: GetUsExchangeTimingResponse
|
|
47
|
+
If the method is called asynchronously,
|
|
48
|
+
returns the request thread.
|
|
49
|
+
"""
|
|
50
|
+
kwargs['_return_http_data_only'] = True
|
|
51
|
+
if kwargs.get('async_req'):
|
|
52
|
+
return self.get_us_exchange_timings_with_http_info(_date, **kwargs) # noqa: E501
|
|
53
|
+
else:
|
|
54
|
+
(data) = self.get_us_exchange_timings_with_http_info(_date, **kwargs) # noqa: E501
|
|
55
|
+
return data
|
|
56
|
+
|
|
57
|
+
def get_us_exchange_timings_with_http_info(self, _date, **kwargs): # noqa: E501
|
|
58
|
+
"""Get US market timings on a date # noqa: E501
|
|
59
|
+
|
|
60
|
+
Returns the US regular and overnight session times on the date, or an empty list when closed. # noqa: E501
|
|
61
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
62
|
+
asynchronous HTTP request, please pass async_req=True
|
|
63
|
+
>>> thread = api.get_us_exchange_timings_with_http_info(_date, async_req=True)
|
|
64
|
+
>>> result = thread.get()
|
|
65
|
+
|
|
66
|
+
:param async_req bool
|
|
67
|
+
:param str _date: (required)
|
|
68
|
+
:return: GetUsExchangeTimingResponse
|
|
69
|
+
If the method is called asynchronously,
|
|
70
|
+
returns the request thread.
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
all_params = ['_date'] # noqa: E501
|
|
74
|
+
all_params.append('async_req')
|
|
75
|
+
all_params.append('_return_http_data_only')
|
|
76
|
+
all_params.append('_preload_content')
|
|
77
|
+
all_params.append('_request_timeout')
|
|
78
|
+
|
|
79
|
+
params = locals()
|
|
80
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
81
|
+
if key not in all_params:
|
|
82
|
+
raise TypeError(
|
|
83
|
+
"Got an unexpected keyword argument '%s'"
|
|
84
|
+
" to method get_us_exchange_timings" % key
|
|
85
|
+
)
|
|
86
|
+
params[key] = val
|
|
87
|
+
del params['kwargs']
|
|
88
|
+
# verify the required parameter '_date' is set
|
|
89
|
+
if ('_date' not in params or
|
|
90
|
+
params['_date'] is None):
|
|
91
|
+
raise ValueError("Missing the required parameter `_date` when calling `get_us_exchange_timings`") # noqa: E501
|
|
92
|
+
|
|
93
|
+
collection_formats = {}
|
|
94
|
+
|
|
95
|
+
path_params = {}
|
|
96
|
+
if '_date' in params:
|
|
97
|
+
path_params['date'] = params['_date'] # noqa: E501
|
|
98
|
+
|
|
99
|
+
query_params = []
|
|
100
|
+
|
|
101
|
+
header_params = {}
|
|
102
|
+
|
|
103
|
+
form_params = []
|
|
104
|
+
local_var_files = {}
|
|
105
|
+
|
|
106
|
+
body_params = None
|
|
107
|
+
# HTTP header `Accept`
|
|
108
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
109
|
+
['*/*']) # noqa: E501
|
|
110
|
+
|
|
111
|
+
# Authentication setting
|
|
112
|
+
auth_settings = [] # noqa: E501
|
|
113
|
+
|
|
114
|
+
return self.api_client.call_api(
|
|
115
|
+
'/v2/us/market/timings/{date}', 'GET',
|
|
116
|
+
path_params,
|
|
117
|
+
query_params,
|
|
118
|
+
header_params,
|
|
119
|
+
body=body_params,
|
|
120
|
+
post_params=form_params,
|
|
121
|
+
files=local_var_files,
|
|
122
|
+
response_type='GetUsExchangeTimingResponse', # noqa: E501
|
|
123
|
+
auth_settings=auth_settings,
|
|
124
|
+
async_req=params.get('async_req'),
|
|
125
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
126
|
+
_preload_content=params.get('_preload_content', True),
|
|
127
|
+
_request_timeout=params.get('_request_timeout'),
|
|
128
|
+
collection_formats=collection_formats)
|
|
129
|
+
|
|
130
|
+
def get_us_holiday(self, _date, **kwargs): # noqa: E501
|
|
131
|
+
"""Get US market holiday on a date # noqa: E501
|
|
132
|
+
|
|
133
|
+
Returns the US market holiday on the date, or an empty list. # noqa: E501
|
|
134
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
135
|
+
asynchronous HTTP request, please pass async_req=True
|
|
136
|
+
>>> thread = api.get_us_holiday(_date, async_req=True)
|
|
137
|
+
>>> result = thread.get()
|
|
138
|
+
|
|
139
|
+
:param async_req bool
|
|
140
|
+
:param str _date: (required)
|
|
141
|
+
:return: GetUsHolidayResponse
|
|
142
|
+
If the method is called asynchronously,
|
|
143
|
+
returns the request thread.
|
|
144
|
+
"""
|
|
145
|
+
kwargs['_return_http_data_only'] = True
|
|
146
|
+
if kwargs.get('async_req'):
|
|
147
|
+
return self.get_us_holiday_with_http_info(_date, **kwargs) # noqa: E501
|
|
148
|
+
else:
|
|
149
|
+
(data) = self.get_us_holiday_with_http_info(_date, **kwargs) # noqa: E501
|
|
150
|
+
return data
|
|
151
|
+
|
|
152
|
+
def get_us_holiday_with_http_info(self, _date, **kwargs): # noqa: E501
|
|
153
|
+
"""Get US market holiday on a date # noqa: E501
|
|
154
|
+
|
|
155
|
+
Returns the US market holiday on the date, or an empty list. # noqa: E501
|
|
156
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
157
|
+
asynchronous HTTP request, please pass async_req=True
|
|
158
|
+
>>> thread = api.get_us_holiday_with_http_info(_date, async_req=True)
|
|
159
|
+
>>> result = thread.get()
|
|
160
|
+
|
|
161
|
+
:param async_req bool
|
|
162
|
+
:param str _date: (required)
|
|
163
|
+
:return: GetUsHolidayResponse
|
|
164
|
+
If the method is called asynchronously,
|
|
165
|
+
returns the request thread.
|
|
166
|
+
"""
|
|
167
|
+
|
|
168
|
+
all_params = ['_date'] # noqa: E501
|
|
169
|
+
all_params.append('async_req')
|
|
170
|
+
all_params.append('_return_http_data_only')
|
|
171
|
+
all_params.append('_preload_content')
|
|
172
|
+
all_params.append('_request_timeout')
|
|
173
|
+
|
|
174
|
+
params = locals()
|
|
175
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
176
|
+
if key not in all_params:
|
|
177
|
+
raise TypeError(
|
|
178
|
+
"Got an unexpected keyword argument '%s'"
|
|
179
|
+
" to method get_us_holiday" % key
|
|
180
|
+
)
|
|
181
|
+
params[key] = val
|
|
182
|
+
del params['kwargs']
|
|
183
|
+
# verify the required parameter '_date' is set
|
|
184
|
+
if ('_date' not in params or
|
|
185
|
+
params['_date'] is None):
|
|
186
|
+
raise ValueError("Missing the required parameter `_date` when calling `get_us_holiday`") # noqa: E501
|
|
187
|
+
|
|
188
|
+
collection_formats = {}
|
|
189
|
+
|
|
190
|
+
path_params = {}
|
|
191
|
+
if '_date' in params:
|
|
192
|
+
path_params['date'] = params['_date'] # noqa: E501
|
|
193
|
+
|
|
194
|
+
query_params = []
|
|
195
|
+
|
|
196
|
+
header_params = {}
|
|
197
|
+
|
|
198
|
+
form_params = []
|
|
199
|
+
local_var_files = {}
|
|
200
|
+
|
|
201
|
+
body_params = None
|
|
202
|
+
# HTTP header `Accept`
|
|
203
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
204
|
+
['*/*']) # noqa: E501
|
|
205
|
+
|
|
206
|
+
# Authentication setting
|
|
207
|
+
auth_settings = [] # noqa: E501
|
|
208
|
+
|
|
209
|
+
return self.api_client.call_api(
|
|
210
|
+
'/v2/us/market/holidays/{date}', 'GET',
|
|
211
|
+
path_params,
|
|
212
|
+
query_params,
|
|
213
|
+
header_params,
|
|
214
|
+
body=body_params,
|
|
215
|
+
post_params=form_params,
|
|
216
|
+
files=local_var_files,
|
|
217
|
+
response_type='GetUsHolidayResponse', # noqa: E501
|
|
218
|
+
auth_settings=auth_settings,
|
|
219
|
+
async_req=params.get('async_req'),
|
|
220
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
221
|
+
_preload_content=params.get('_preload_content', True),
|
|
222
|
+
_request_timeout=params.get('_request_timeout'),
|
|
223
|
+
collection_formats=collection_formats)
|
|
224
|
+
|
|
225
|
+
def get_us_holidays(self, **kwargs): # noqa: E501
|
|
226
|
+
"""Get US market holidays # noqa: E501
|
|
227
|
+
|
|
228
|
+
Returns the US market holidays of the current year. # noqa: E501
|
|
229
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
230
|
+
asynchronous HTTP request, please pass async_req=True
|
|
231
|
+
>>> thread = api.get_us_holidays(async_req=True)
|
|
232
|
+
>>> result = thread.get()
|
|
233
|
+
|
|
234
|
+
:param async_req bool
|
|
235
|
+
:return: GetUsHolidayResponse
|
|
236
|
+
If the method is called asynchronously,
|
|
237
|
+
returns the request thread.
|
|
238
|
+
"""
|
|
239
|
+
kwargs['_return_http_data_only'] = True
|
|
240
|
+
if kwargs.get('async_req'):
|
|
241
|
+
return self.get_us_holidays_with_http_info(**kwargs) # noqa: E501
|
|
242
|
+
else:
|
|
243
|
+
(data) = self.get_us_holidays_with_http_info(**kwargs) # noqa: E501
|
|
244
|
+
return data
|
|
245
|
+
|
|
246
|
+
def get_us_holidays_with_http_info(self, **kwargs): # noqa: E501
|
|
247
|
+
"""Get US market holidays # noqa: E501
|
|
248
|
+
|
|
249
|
+
Returns the US market holidays of the current year. # noqa: E501
|
|
250
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
251
|
+
asynchronous HTTP request, please pass async_req=True
|
|
252
|
+
>>> thread = api.get_us_holidays_with_http_info(async_req=True)
|
|
253
|
+
>>> result = thread.get()
|
|
254
|
+
|
|
255
|
+
:param async_req bool
|
|
256
|
+
:return: GetUsHolidayResponse
|
|
257
|
+
If the method is called asynchronously,
|
|
258
|
+
returns the request thread.
|
|
259
|
+
"""
|
|
260
|
+
|
|
261
|
+
all_params = [] # 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_us_holidays" % key
|
|
273
|
+
)
|
|
274
|
+
params[key] = val
|
|
275
|
+
del params['kwargs']
|
|
276
|
+
|
|
277
|
+
collection_formats = {}
|
|
278
|
+
|
|
279
|
+
path_params = {}
|
|
280
|
+
|
|
281
|
+
query_params = []
|
|
282
|
+
|
|
283
|
+
header_params = {}
|
|
284
|
+
|
|
285
|
+
form_params = []
|
|
286
|
+
local_var_files = {}
|
|
287
|
+
|
|
288
|
+
body_params = None
|
|
289
|
+
# HTTP header `Accept`
|
|
290
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
291
|
+
['*/*']) # noqa: E501
|
|
292
|
+
|
|
293
|
+
# Authentication setting
|
|
294
|
+
auth_settings = [] # noqa: E501
|
|
295
|
+
|
|
296
|
+
return self.api_client.call_api(
|
|
297
|
+
'/v2/us/market/holidays', 'GET',
|
|
298
|
+
path_params,
|
|
299
|
+
query_params,
|
|
300
|
+
header_params,
|
|
301
|
+
body=body_params,
|
|
302
|
+
post_params=form_params,
|
|
303
|
+
files=local_var_files,
|
|
304
|
+
response_type='GetUsHolidayResponse', # noqa: E501
|
|
305
|
+
auth_settings=auth_settings,
|
|
306
|
+
async_req=params.get('async_req'),
|
|
307
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
308
|
+
_preload_content=params.get('_preload_content', True),
|
|
309
|
+
_request_timeout=params.get('_request_timeout'),
|
|
310
|
+
collection_formats=collection_formats)
|
|
311
|
+
|
|
312
|
+
def get_us_market_status(self, **kwargs): # noqa: E501
|
|
313
|
+
"""Get US market status # noqa: E501
|
|
314
|
+
|
|
315
|
+
Returns the live status of the US market. # noqa: E501
|
|
316
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
317
|
+
asynchronous HTTP request, please pass async_req=True
|
|
318
|
+
>>> thread = api.get_us_market_status(async_req=True)
|
|
319
|
+
>>> result = thread.get()
|
|
320
|
+
|
|
321
|
+
:param async_req bool
|
|
322
|
+
:return: GetMarketStatusResponse
|
|
323
|
+
If the method is called asynchronously,
|
|
324
|
+
returns the request thread.
|
|
325
|
+
"""
|
|
326
|
+
kwargs['_return_http_data_only'] = True
|
|
327
|
+
if kwargs.get('async_req'):
|
|
328
|
+
return self.get_us_market_status_with_http_info(**kwargs) # noqa: E501
|
|
329
|
+
else:
|
|
330
|
+
(data) = self.get_us_market_status_with_http_info(**kwargs) # noqa: E501
|
|
331
|
+
return data
|
|
332
|
+
|
|
333
|
+
def get_us_market_status_with_http_info(self, **kwargs): # noqa: E501
|
|
334
|
+
"""Get US market status # noqa: E501
|
|
335
|
+
|
|
336
|
+
Returns the live status of the US market. # noqa: E501
|
|
337
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
338
|
+
asynchronous HTTP request, please pass async_req=True
|
|
339
|
+
>>> thread = api.get_us_market_status_with_http_info(async_req=True)
|
|
340
|
+
>>> result = thread.get()
|
|
341
|
+
|
|
342
|
+
:param async_req bool
|
|
343
|
+
:return: GetMarketStatusResponse
|
|
344
|
+
If the method is called asynchronously,
|
|
345
|
+
returns the request thread.
|
|
346
|
+
"""
|
|
347
|
+
|
|
348
|
+
all_params = [] # noqa: E501
|
|
349
|
+
all_params.append('async_req')
|
|
350
|
+
all_params.append('_return_http_data_only')
|
|
351
|
+
all_params.append('_preload_content')
|
|
352
|
+
all_params.append('_request_timeout')
|
|
353
|
+
|
|
354
|
+
params = locals()
|
|
355
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
356
|
+
if key not in all_params:
|
|
357
|
+
raise TypeError(
|
|
358
|
+
"Got an unexpected keyword argument '%s'"
|
|
359
|
+
" to method get_us_market_status" % key
|
|
360
|
+
)
|
|
361
|
+
params[key] = val
|
|
362
|
+
del params['kwargs']
|
|
363
|
+
|
|
364
|
+
collection_formats = {}
|
|
365
|
+
|
|
366
|
+
path_params = {}
|
|
367
|
+
|
|
368
|
+
query_params = []
|
|
369
|
+
|
|
370
|
+
header_params = {}
|
|
371
|
+
|
|
372
|
+
form_params = []
|
|
373
|
+
local_var_files = {}
|
|
374
|
+
|
|
375
|
+
body_params = None
|
|
376
|
+
# HTTP header `Accept`
|
|
377
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
378
|
+
['*/*']) # noqa: E501
|
|
379
|
+
|
|
380
|
+
# Authentication setting
|
|
381
|
+
auth_settings = ['OAUTH2'] # noqa: E501
|
|
382
|
+
|
|
383
|
+
return self.api_client.call_api(
|
|
384
|
+
'/v2/us/market/status', 'GET',
|
|
385
|
+
path_params,
|
|
386
|
+
query_params,
|
|
387
|
+
header_params,
|
|
388
|
+
body=body_params,
|
|
389
|
+
post_params=form_params,
|
|
390
|
+
files=local_var_files,
|
|
391
|
+
response_type='GetMarketStatusResponse', # noqa: E501
|
|
392
|
+
auth_settings=auth_settings,
|
|
393
|
+
async_req=params.get('async_req'),
|
|
394
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
395
|
+
_preload_content=params.get('_preload_content', True),
|
|
396
|
+
_request_timeout=params.get('_request_timeout'),
|
|
397
|
+
collection_formats=collection_formats)
|