upstox-python-sdk 2.30.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.30.0 → upstox_python_sdk-2.31.0}/PKG-INFO +1 -1
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/setup.py +1 -1
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/__init__.py +27 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/__init__.py +5 -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.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api_client.py +4 -1
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/__init__.py +22 -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_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.30.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.30.0 → upstox_python_sdk-2.31.0}/upstox_python_sdk.egg-info/PKG-INFO +1 -1
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_python_sdk.egg-info/SOURCES.txt +27 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/LICENSE.txt +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/README.md +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/setup.cfg +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/__init__.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/sanity_test.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_analytics_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_api_gateway_error_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_batch_execution_summary.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_brokerage_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_brokerage_taxes.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_brokerage_wrapper_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_cancel_or_exit_multi_order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_cancel_or_exit_multi_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_cancel_or_exit_order_error_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_cancel_order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_cancel_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_cancel_order_v3_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_charge_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_convert_position_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_convert_position_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_convert_position_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_depth.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_depth_map.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_dp_plan.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_exchange_timing_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_brokerage_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_exchange_timing_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_full_market_quote_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_gtt_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_historical_candle_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_holdings_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_holiday_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_intra_day_candle_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_market_quote_last_traded_price_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_market_quote_ohlc_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_market_status_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_option_chain_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_option_contract_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_order_book_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_order_details_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_position_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_profile_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_profit_and_loss_charges_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_trade_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_get_trade_wise_profit_and_loss_data_response.py +0 -0
- {upstox_python_sdk-2.30.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.30.0 → upstox_python_sdk-2.31.0}/test/test_get_user_fund_margin_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_gtt_cancel_order_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_gtt_modify_order_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_gtt_order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_gtt_order_details.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_gtt_place_order_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_gtt_rule.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_gtt_trigger_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_historical_candle_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_history_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_holdings_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_holiday_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_indie_user_init_token_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_indie_user_init_token_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_indie_user_token_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_instrument.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_instrument_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_intra_day_candle_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_login_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_logout_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_margin.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_margin_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_margin_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_market_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_market_holidays_and_timings_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_market_quote_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_market_quote_ohlc.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_market_quote_symbol.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_market_quote_symbol_ltp.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_market_status_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_modify_order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_modify_order_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_modify_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_modify_order_v3_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_multi_order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_multi_order_error.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_multi_order_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_multi_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_multi_order_summary.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_multi_order_v3_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_o_auth_client_exception.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_o_auth_client_exception_cause.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_o_auth_client_exception_cause_stack_trace.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_o_auth_client_exception_cause_suppressed.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_ohlc.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_option_strike_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_options_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_order_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_order_book_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_order_controller_v_3_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_order_metadata.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_other_taxes.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_place_order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_place_order_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_place_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_place_order_v3_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_place_order_v3_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_portfolio_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_position_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_post_margin_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_post_trade_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_problem.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_profile_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_profit_and_loss_charges_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_profit_and_loss_charges_taxes.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_profit_and_loss_charges_wrapper_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_profit_and_loss_meta_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_profit_and_loss_meta_data_wrapper.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_profit_and_loss_other_charges_taxes.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_put_call_option_chain_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_rule.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_token_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_token_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_trade_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_trade_history_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_trade_history_response_meta_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_trade_history_response_page_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_trade_history_response_trade_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_trade_profit_and_loss_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_trade_wise_meta_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_trade_wise_profit_and_loss_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_user_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_user_fund_margin_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_websocket_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_websocket_auth_redirect_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/test/test_websocket_auth_redirect_response_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/charge_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/expired_instrument_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/fundamentals_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/history_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/history_v3_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/instruments_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/ipo_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/login_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/market_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/market_holidays_and_timings_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/market_quote_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/market_quote_v3_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/mutual_fund_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/news_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/options_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/order_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/order_controller_v_3_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/portfolio_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/post_trade_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/trade_profit_and_loss_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/user_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/api/websocket_api.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/configuration.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/__init__.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/feeder.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/market_data_feeder_v3.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/market_data_streamer_v3.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/portfolio_data_feeder.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/portfolio_data_streamer.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/proto/MarketDataFeedV3_pb2.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/proto/__init__.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/feeder/streamer.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/analytics_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/analytics_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/api_gateway_error_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/available_to_trade.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/balance_sheet_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/balance_sheet_history_item.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/balance_sheet_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/batch_execution_summary.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/brokerage_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/brokerage_taxes.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/brokerage_wrapper_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cancel_or_exit_multi_order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cancel_or_exit_multi_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cancel_or_exit_order_error_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cancel_order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cancel_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cancel_order_v3_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cash_available_to_trade.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cash_breakdown.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cash_flow_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cash_flow_entry.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cash_flow_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cash_margin_used.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/cash_unavailable_to_trade.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/company_profile_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/company_profile_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/competitor_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/competitors_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/convert_position_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/convert_position_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/convert_position_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/corporate_action_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/corporate_action_event_detail.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/corporate_actions_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/delivery_margin.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/depth.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/depth_map.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/dp_plan.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/exchange_timing_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/expired_future_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/family_member_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/financial_statement_entry.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_brokerage_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_exchange_timing_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_expired_futures_contract_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_expiries.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_full_market_quote_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_full_market_quote_response_v3.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_gtt_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_historical_candle_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_holdings_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_holiday_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_intra_day_candle_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_market_quote_last_traded_price_response.py +0 -0
- {upstox_python_sdk-2.30.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.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_market_quote_ohlc_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_market_quote_ohlc_response_v3.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_market_quote_option_greek_response_v3.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_market_status_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_mutual_fund_holdings_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_mutual_fund_order_details_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_mutual_fund_orders_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_mutual_fund_sips_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_news_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_option_chain_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_option_contract_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_order_book_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_order_details_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_position_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_profile_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_profit_and_loss_charges_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_trade_response.py +0 -0
- {upstox_python_sdk-2.30.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.30.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.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_user_fund_margin_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/get_user_fund_margin_v3_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/gtt_cancel_order_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/gtt_modify_order_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/gtt_order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/gtt_order_details.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/gtt_place_order_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/gtt_rule.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/gtt_trigger_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/historical_candle_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/history_item.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/holdings_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/holiday_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/income_statement_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/income_statement_entry.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/income_statement_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/indie_user_init_token_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/indie_user_init_token_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/indie_user_token_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/initiate_payout_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/instrument.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/instrument_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/intra_day_candle_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_apply_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_apply_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_apply_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_bid_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_cancel_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_cancel_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_details_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_details_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_investor_type.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_listing_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_listing_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_meta_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_order_bid.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_order_detail_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_registrar_info.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ipo_timeline.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/key_ratio_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/key_ratios_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/kill_switch_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/kill_switch_segment_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/kill_switch_segment_update_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/logout_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/loss.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/margin.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/margin_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/margin_from_pledge.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/margin_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_quote_ohlc.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_quote_ohlcv3.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_quote_option_greek_v3.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_quote_symbol.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_quote_symbol_ltp.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_quote_symbol_ltp_v3.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/market_quote_symbol_v3.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/modify_order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/modify_order_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/modify_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/modify_order_v3_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/modify_payout_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/multi_order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/multi_order_error.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/multi_order_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/multi_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/multi_order_summary.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/multi_order_v3_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/mutual_fund_holding_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/mutual_fund_meta_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/mutual_fund_order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/mutual_fund_sip_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/news_item_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/news_response_meta_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/news_response_page_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/o_auth_client_exception.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/o_auth_client_exception_cause.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/o_auth_client_exception_cause_stack_trace.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/o_auth_client_exception_cause_suppressed.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ohlc.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/ohlc_v3.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/option_strike_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/order_book_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/order_metadata.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/other_taxes.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/pagination.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/payment_history_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/payment_history_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/payout_details.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/payout_details_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/payout_modes_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/payout_modes_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/place_order_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/place_order_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/place_order_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/place_order_v3_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/place_order_v3_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/pledge_available_to_trade.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/pledge_margin_used.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/pledge_unavailable_to_trade.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/position_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/post_margin_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/problem.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/profile_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/profit_and_loss_charges_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/profit_and_loss_charges_taxes.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/profit_and_loss_charges_wrapper_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/profit_and_loss_meta_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/profit_and_loss_meta_data_wrapper.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/profit_and_loss_other_charges_taxes.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/put_call_option_chain_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/rule.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/search_instrument_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/search_meta_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/search_page.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/sector_market_cap_amount.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/share_holding_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/share_holdings_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/token_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/token_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/trade_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/trade_history_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/trade_history_response_meta_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/trade_history_response_page_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/trade_history_response_trade_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/trade_wise_meta_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/trade_wise_profit_and_loss_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/unavailable_to_trade.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/unsettled_profit.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/update_user_ip_request.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/user_fund_margin_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/user_fund_margin_v3_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/user_ip_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/user_ip_response_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/websocket_auth_redirect_response.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/models/websocket_auth_redirect_response_data.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_client/rest.py +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_python_sdk.egg-info/dependency_links.txt +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_python_sdk.egg-info/requires.txt +0 -0
- {upstox_python_sdk-2.30.0 → upstox_python_sdk-2.31.0}/upstox_python_sdk.egg-info/top_level.txt +0 -0
|
@@ -18,7 +18,7 @@ this_directory = Path(__file__).parent
|
|
|
18
18
|
long_description = (this_directory / "README.md").read_text()
|
|
19
19
|
|
|
20
20
|
NAME = "upstox-python-sdk"
|
|
21
|
-
VERSION = "2.
|
|
21
|
+
VERSION = "2.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
|
|
@@ -119,6 +124,8 @@ from upstox_client.models.get_profit_and_loss_charges_response import GetProfitA
|
|
|
119
124
|
from upstox_client.models.get_trade_response import GetTradeResponse
|
|
120
125
|
from upstox_client.models.get_trade_wise_profit_and_loss_data_response import GetTradeWiseProfitAndLossDataResponse
|
|
121
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
|
|
122
129
|
from upstox_client.models.get_user_fund_margin_response import GetUserFundMarginResponse
|
|
123
130
|
from upstox_client.models.get_user_fund_margin_v3_response import GetUserFundMarginV3Response
|
|
124
131
|
from upstox_client.models.gtt_cancel_order_request import GttCancelOrderRequest
|
|
@@ -182,6 +189,7 @@ from upstox_client.models.market_quote_symbol import MarketQuoteSymbol
|
|
|
182
189
|
from upstox_client.models.market_quote_symbol_ltp import MarketQuoteSymbolLtp
|
|
183
190
|
from upstox_client.models.market_quote_symbol_ltp_v3 import MarketQuoteSymbolLtpV3
|
|
184
191
|
from upstox_client.models.market_quote_symbol_v3 import MarketQuoteSymbolV3
|
|
192
|
+
from upstox_client.models.cas_eligible_status_data import CasEligibleStatusData
|
|
185
193
|
from upstox_client.models.market_status_data import MarketStatusData
|
|
186
194
|
from upstox_client.models.modify_order_data import ModifyOrderData
|
|
187
195
|
from upstox_client.models.modify_order_request import ModifyOrderRequest
|
|
@@ -254,6 +262,25 @@ from upstox_client.models.trade_wise_profit_and_loss_data import TradeWiseProfit
|
|
|
254
262
|
from upstox_client.models.unavailable_to_trade import UnavailableToTrade
|
|
255
263
|
from upstox_client.models.unsettled_profit import UnsettledProfit
|
|
256
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
|
|
257
284
|
from upstox_client.models.user_fund_margin_data import UserFundMarginData
|
|
258
285
|
from upstox_client.models.user_fund_margin_v3_data import UserFundMarginV3Data
|
|
259
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
|
|
@@ -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)
|
|
@@ -0,0 +1,132 @@
|
|
|
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 UsStocksChargesApi(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 calculate_us_margin(self, body, **kwargs): # noqa: E501
|
|
36
|
+
"""Calculate US stocks margin # noqa: E501
|
|
37
|
+
|
|
38
|
+
Returns the margin up to 20 orders require (trade value + brokerage + GST for a buy), the buying power available, any shortfall, and whether it is sufficient. Takes order estimate bodies; nothing is placed. A market order is valued at the last traded price. No leverage is offered on US stocks. # 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.calculate_us_margin(body, async_req=True)
|
|
42
|
+
>>> result = thread.get()
|
|
43
|
+
|
|
44
|
+
:param async_req bool
|
|
45
|
+
:param UsMarginRequest body: (required)
|
|
46
|
+
:return: UsMarginResponse
|
|
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.calculate_us_margin_with_http_info(body, **kwargs) # noqa: E501
|
|
53
|
+
else:
|
|
54
|
+
(data) = self.calculate_us_margin_with_http_info(body, **kwargs) # noqa: E501
|
|
55
|
+
return data
|
|
56
|
+
|
|
57
|
+
def calculate_us_margin_with_http_info(self, body, **kwargs): # noqa: E501
|
|
58
|
+
"""Calculate US stocks margin # noqa: E501
|
|
59
|
+
|
|
60
|
+
Returns the margin up to 20 orders require (trade value + brokerage + GST for a buy), the buying power available, any shortfall, and whether it is sufficient. Takes order estimate bodies; nothing is placed. A market order is valued at the last traded price. No leverage is offered on US stocks. # 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.calculate_us_margin_with_http_info(body, async_req=True)
|
|
64
|
+
>>> result = thread.get()
|
|
65
|
+
|
|
66
|
+
:param async_req bool
|
|
67
|
+
:param UsMarginRequest body: (required)
|
|
68
|
+
:return: UsMarginResponse
|
|
69
|
+
If the method is called asynchronously,
|
|
70
|
+
returns the request thread.
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
all_params = ['body'] # 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 calculate_us_margin" % key
|
|
85
|
+
)
|
|
86
|
+
params[key] = val
|
|
87
|
+
del params['kwargs']
|
|
88
|
+
# verify the required parameter 'body' is set
|
|
89
|
+
if ('body' not in params or
|
|
90
|
+
params['body'] is None):
|
|
91
|
+
raise ValueError("Missing the required parameter `body` when calling `calculate_us_margin`") # noqa: E501
|
|
92
|
+
|
|
93
|
+
collection_formats = {}
|
|
94
|
+
|
|
95
|
+
path_params = {}
|
|
96
|
+
|
|
97
|
+
query_params = []
|
|
98
|
+
|
|
99
|
+
header_params = {}
|
|
100
|
+
|
|
101
|
+
form_params = []
|
|
102
|
+
local_var_files = {}
|
|
103
|
+
|
|
104
|
+
body_params = None
|
|
105
|
+
if 'body' in params:
|
|
106
|
+
body_params = params['body']
|
|
107
|
+
# HTTP header `Accept`
|
|
108
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
109
|
+
['*/*']) # noqa: E501
|
|
110
|
+
|
|
111
|
+
# HTTP header `Content-Type`
|
|
112
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
113
|
+
['application/json']) # noqa: E501
|
|
114
|
+
|
|
115
|
+
# Authentication setting
|
|
116
|
+
auth_settings = ['OAUTH2'] # noqa: E501
|
|
117
|
+
|
|
118
|
+
return self.api_client.call_api(
|
|
119
|
+
'/v2/us/charges/margin', 'POST',
|
|
120
|
+
path_params,
|
|
121
|
+
query_params,
|
|
122
|
+
header_params,
|
|
123
|
+
body=body_params,
|
|
124
|
+
post_params=form_params,
|
|
125
|
+
files=local_var_files,
|
|
126
|
+
response_type='UsMarginResponse', # noqa: E501
|
|
127
|
+
auth_settings=auth_settings,
|
|
128
|
+
async_req=params.get('async_req'),
|
|
129
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
130
|
+
_preload_content=params.get('_preload_content', True),
|
|
131
|
+
_request_timeout=params.get('_request_timeout'),
|
|
132
|
+
collection_formats=collection_formats)
|