upstox-python-sdk 2.15.0__tar.gz → 2.17.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.15.0 → upstox_python_sdk-2.17.0}/PKG-INFO +2 -2
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/README.md +1 -1
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/setup.py +1 -1
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api_client.py +1 -1
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/gtt_place_order_request.py +3 -3
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/gtt_rule.py +31 -3
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/holdings_data.py +0 -7
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/order_book_data.py +0 -13
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/order_data.py +0 -12
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/position_data.py +0 -7
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/profile_data.py +0 -14
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/rule.py +29 -3
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/token_response.py +0 -14
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/trade_data.py +0 -12
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_python_sdk.egg-info/PKG-INFO +2 -2
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/LICENSE.txt +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/setup.cfg +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/__init__.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/sanity_test.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_analytics_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_api_gateway_error_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_batch_execution_summary.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_brokerage_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_brokerage_taxes.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_brokerage_wrapper_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_cancel_or_exit_multi_order_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_cancel_or_exit_multi_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_cancel_or_exit_order_error_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_cancel_order_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_cancel_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_cancel_order_v3_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_charge_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_convert_position_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_convert_position_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_convert_position_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_depth.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_depth_map.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_dp_plan.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_exchange_timing_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_brokerage_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_exchange_timing_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_full_market_quote_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_gtt_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_historical_candle_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_holdings_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_holiday_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_intra_day_candle_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_market_quote_last_traded_price_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_market_quote_ohlc_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_market_status_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_option_chain_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_option_contract_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_order_book_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_order_details_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_position_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_profile_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_profit_and_loss_charges_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_trade_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_trade_wise_profit_and_loss_data_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_user_fund_margin_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_gtt_cancel_order_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_gtt_modify_order_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_gtt_order_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_gtt_order_details.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_gtt_place_order_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_gtt_rule.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_gtt_trigger_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_historical_candle_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_history_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_holdings_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_holiday_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_indie_user_init_token_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_indie_user_init_token_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_indie_user_token_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_instrument.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_instrument_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_intra_day_candle_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_login_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_logout_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_margin.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_margin_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_margin_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_market_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_market_holidays_and_timings_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_market_quote_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_market_quote_ohlc.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_market_quote_symbol.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_market_quote_symbol_ltp.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_market_status_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_modify_order_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_modify_order_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_modify_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_modify_order_v3_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_multi_order_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_multi_order_error.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_multi_order_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_multi_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_multi_order_summary.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_multi_order_v3_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_o_auth_client_exception.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_o_auth_client_exception_cause.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_o_auth_client_exception_cause_stack_trace.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_o_auth_client_exception_cause_suppressed.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_ohlc.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_option_strike_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_options_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_order_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_order_book_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_order_controller_v_3_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_order_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_order_metadata.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_other_taxes.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_place_order_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_place_order_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_place_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_place_order_v3_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_place_order_v3_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_portfolio_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_position_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_post_margin_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_post_trade_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_problem.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_profile_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_profit_and_loss_charges_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_profit_and_loss_charges_taxes.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_profit_and_loss_charges_wrapper_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_profit_and_loss_meta_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_profit_and_loss_meta_data_wrapper.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_profit_and_loss_other_charges_taxes.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_put_call_option_chain_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_rule.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_token_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_token_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_history_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_history_response_meta_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_history_response_page_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_history_response_trade_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_profit_and_loss_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_wise_meta_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_trade_wise_profit_and_loss_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_user_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_user_fund_margin_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_websocket_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_websocket_auth_redirect_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_websocket_auth_redirect_response_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/__init__.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/__init__.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/charge_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/expired_instrument_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/history_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/history_v3_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/login_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/market_holidays_and_timings_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/market_quote_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/market_quote_v3_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/options_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/order_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/order_controller_v_3_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/portfolio_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/post_trade_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/trade_profit_and_loss_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/user_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/api/websocket_api.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/configuration.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/__init__.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/feeder.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/market_data_feeder.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/market_data_feeder_v3.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/market_data_streamer.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/market_data_streamer_v3.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/portfolio_data_feeder.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/portfolio_data_streamer.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/proto/MarketDataFeedV3_pb2.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/proto/MarketDataFeed_pb2.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/proto/__init__.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/feeder/streamer.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/__init__.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/analytics_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/api_gateway_error_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/batch_execution_summary.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/brokerage_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/brokerage_taxes.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/brokerage_wrapper_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/cancel_or_exit_multi_order_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/cancel_or_exit_multi_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/cancel_or_exit_order_error_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/cancel_order_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/cancel_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/cancel_order_v3_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/convert_position_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/convert_position_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/convert_position_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/depth.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/depth_map.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/dp_plan.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/exchange_timing_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/expired_future_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_brokerage_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_exchange_timing_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_expired_futures_contract_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_expiries.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_full_market_quote_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_gtt_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_historical_candle_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_holdings_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_holiday_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_intra_day_candle_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_market_quote_last_traded_price_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_market_quote_last_traded_price_response_v3.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_market_quote_ohlc_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_market_quote_ohlc_response_v3.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_market_quote_option_greek_response_v3.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_market_status_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_option_chain_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_option_contract_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_order_book_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_order_details_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_position_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_profile_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_profit_and_loss_charges_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_trade_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_trade_wise_profit_and_loss_data_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/get_user_fund_margin_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/gtt_cancel_order_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/gtt_modify_order_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/gtt_order_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/gtt_order_details.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/gtt_trigger_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/historical_candle_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/holiday_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/indie_user_init_token_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/indie_user_init_token_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/indie_user_token_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/instrument.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/instrument_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/intra_day_candle_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/logout_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/margin.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/margin_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/margin_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_quote_ohlc.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_quote_ohlcv3.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_quote_option_greek_v3.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_quote_symbol.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_quote_symbol_ltp.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_quote_symbol_ltp_v3.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/market_status_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/modify_order_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/modify_order_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/modify_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/modify_order_v3_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/multi_order_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/multi_order_error.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/multi_order_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/multi_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/multi_order_summary.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/multi_order_v3_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/o_auth_client_exception.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/o_auth_client_exception_cause.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/o_auth_client_exception_cause_stack_trace.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/o_auth_client_exception_cause_suppressed.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/ohlc.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/ohlc_v3.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/option_strike_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/order_metadata.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/other_taxes.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/place_order_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/place_order_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/place_order_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/place_order_v3_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/place_order_v3_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/post_margin_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/problem.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/profit_and_loss_charges_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/profit_and_loss_charges_taxes.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/profit_and_loss_charges_wrapper_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/profit_and_loss_meta_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/profit_and_loss_meta_data_wrapper.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/profit_and_loss_other_charges_taxes.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/put_call_option_chain_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/token_request.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/trade_history_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/trade_history_response_meta_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/trade_history_response_page_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/trade_history_response_trade_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/trade_wise_meta_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/trade_wise_profit_and_loss_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/user_fund_margin_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/websocket_auth_redirect_response.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/websocket_auth_redirect_response_data.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/rest.py +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_python_sdk.egg-info/SOURCES.txt +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_python_sdk.egg-info/dependency_links.txt +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_python_sdk.egg-info/requires.txt +0 -0
- {upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_python_sdk.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: upstox-python-sdk
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.17.0
|
|
4
4
|
Summary: Upstox Developer API
|
|
5
5
|
Home-page: https://github.com/upstox/upstox-python
|
|
6
6
|
License: MIT
|
|
@@ -34,7 +34,7 @@ The official Python client for communicating with the <a href="https://upstox.co
|
|
|
34
34
|
Upstox API is a set of rest APIs that provide data required to build a complete investment and trading platform. Execute orders in real time, manage user portfolio, stream live market data (using Websocket), and more, with the easy to understand API collection.
|
|
35
35
|
|
|
36
36
|
- API version: v2
|
|
37
|
-
- Package version: 2.
|
|
37
|
+
- Package version: 2.17.0
|
|
38
38
|
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
|
|
39
39
|
|
|
40
40
|
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.
|
|
@@ -9,7 +9,7 @@ The official Python client for communicating with the <a href="https://upstox.co
|
|
|
9
9
|
Upstox API is a set of rest APIs that provide data required to build a complete investment and trading platform. Execute orders in real time, manage user portfolio, stream live market data (using Websocket), and more, with the easy to understand API collection.
|
|
10
10
|
|
|
11
11
|
- API version: v2
|
|
12
|
-
- Package version: 2.
|
|
12
|
+
- Package version: 2.17.0
|
|
13
13
|
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
|
|
14
14
|
|
|
15
15
|
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.
|
|
@@ -18,7 +18,7 @@ this_directory = Path(__file__).parent
|
|
|
18
18
|
long_description = (this_directory / "README.md").read_text()
|
|
19
19
|
|
|
20
20
|
NAME = "upstox-python-sdk"
|
|
21
|
-
VERSION = "2.
|
|
21
|
+
VERSION = "2.17.0"
|
|
22
22
|
# To install the library, run the following
|
|
23
23
|
#
|
|
24
24
|
# python setup.py install
|
|
@@ -74,7 +74,7 @@ class ApiClient(object):
|
|
|
74
74
|
# Set default User-Agent.
|
|
75
75
|
self.user_agent = 'Swagger-Codegen/1.0.0/python'
|
|
76
76
|
self.default_headers["X-Upstox-SDK-Language"] = "python"
|
|
77
|
-
self.default_headers["X-Upstox-SDK-Version"] = "2.
|
|
77
|
+
self.default_headers["X-Upstox-SDK-Version"] = "2.17.0"
|
|
78
78
|
|
|
79
79
|
def __del__(self):
|
|
80
80
|
try:
|
|
@@ -121,7 +121,7 @@ class GttPlaceOrderRequest(object):
|
|
|
121
121
|
def product(self):
|
|
122
122
|
"""Gets the product of this GttPlaceOrderRequest. # noqa: E501
|
|
123
123
|
|
|
124
|
-
Signifies if the order was either Intraday, Delivery
|
|
124
|
+
Signifies if the order was either Intraday, Delivery or MTF # noqa: E501
|
|
125
125
|
|
|
126
126
|
:return: The product of this GttPlaceOrderRequest. # noqa: E501
|
|
127
127
|
:rtype: str
|
|
@@ -132,14 +132,14 @@ class GttPlaceOrderRequest(object):
|
|
|
132
132
|
def product(self, product):
|
|
133
133
|
"""Sets the product of this GttPlaceOrderRequest.
|
|
134
134
|
|
|
135
|
-
Signifies if the order was either Intraday, Delivery
|
|
135
|
+
Signifies if the order was either Intraday, Delivery or MTF # noqa: E501
|
|
136
136
|
|
|
137
137
|
:param product: The product of this GttPlaceOrderRequest. # noqa: E501
|
|
138
138
|
:type: str
|
|
139
139
|
"""
|
|
140
140
|
if product is None:
|
|
141
141
|
raise ValueError("Invalid value for `product`, must not be `None`") # noqa: E501
|
|
142
|
-
allowed_values = ["I", "D"] # noqa: E501
|
|
142
|
+
allowed_values = ["I", "D", "MTF"] # noqa: E501
|
|
143
143
|
if product not in allowed_values:
|
|
144
144
|
raise ValueError(
|
|
145
145
|
"Invalid value for `product` ({0}), must be one of {1}" # noqa: E501
|
|
@@ -30,24 +30,29 @@ class GttRule(object):
|
|
|
30
30
|
swagger_types = {
|
|
31
31
|
'strategy': 'str',
|
|
32
32
|
'trigger_type': 'str',
|
|
33
|
-
'trigger_price': 'float'
|
|
33
|
+
'trigger_price': 'float',
|
|
34
|
+
'trailing_gap': 'float'
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
attribute_map = {
|
|
37
38
|
'strategy': 'strategy',
|
|
38
39
|
'trigger_type': 'trigger_type',
|
|
39
|
-
'trigger_price': 'trigger_price'
|
|
40
|
+
'trigger_price': 'trigger_price',
|
|
41
|
+
'trailing_gap': 'trailing_gap'
|
|
40
42
|
}
|
|
41
43
|
|
|
42
|
-
def __init__(self, strategy=None, trigger_type=None, trigger_price=None): # noqa: E501
|
|
44
|
+
def __init__(self, strategy=None, trigger_type=None, trigger_price=None, trailing_gap=None): # noqa: E501
|
|
43
45
|
"""GttRule - a model defined in Swagger""" # noqa: E501
|
|
44
46
|
self._strategy = None
|
|
45
47
|
self._trigger_type = None
|
|
46
48
|
self._trigger_price = None
|
|
49
|
+
self._trailing_gap = None
|
|
47
50
|
self.discriminator = None
|
|
48
51
|
self.strategy = strategy
|
|
49
52
|
self.trigger_type = trigger_type
|
|
50
53
|
self.trigger_price = trigger_price
|
|
54
|
+
if trailing_gap is not None:
|
|
55
|
+
self.trailing_gap = trailing_gap
|
|
51
56
|
|
|
52
57
|
@property
|
|
53
58
|
def strategy(self):
|
|
@@ -136,6 +141,29 @@ class GttRule(object):
|
|
|
136
141
|
|
|
137
142
|
self._trigger_price = trigger_price
|
|
138
143
|
|
|
144
|
+
@property
|
|
145
|
+
def trailing_gap(self):
|
|
146
|
+
"""Gets the trailing_gap of this GttRule. # noqa: E501
|
|
147
|
+
|
|
148
|
+
Optional parameter defining the trailing gap for the GTT order # noqa: E501
|
|
149
|
+
|
|
150
|
+
:return: The trailing_gap of this GttRule. # noqa: E501
|
|
151
|
+
:rtype: float
|
|
152
|
+
"""
|
|
153
|
+
return self._trailing_gap
|
|
154
|
+
|
|
155
|
+
@trailing_gap.setter
|
|
156
|
+
def trailing_gap(self, trailing_gap):
|
|
157
|
+
"""Sets the trailing_gap of this GttRule.
|
|
158
|
+
|
|
159
|
+
Optional parameter defining the trailing gap for the GTT order # noqa: E501
|
|
160
|
+
|
|
161
|
+
:param trailing_gap: The trailing_gap of this GttRule. # noqa: E501
|
|
162
|
+
:type: float
|
|
163
|
+
"""
|
|
164
|
+
|
|
165
|
+
self._trailing_gap = trailing_gap
|
|
166
|
+
|
|
139
167
|
def to_dict(self):
|
|
140
168
|
"""Returns the model properties as a dict"""
|
|
141
169
|
result = {}
|
|
@@ -592,13 +592,6 @@ class HoldingsData(object):
|
|
|
592
592
|
:param exchange: The exchange of this HoldingsData. # noqa: E501
|
|
593
593
|
:type: str
|
|
594
594
|
"""
|
|
595
|
-
allowed_values = ["NSE", "NFO", "CDS", "BSE", "BFO", "BCD", "MCX"] # noqa: E501
|
|
596
|
-
if exchange not in allowed_values:
|
|
597
|
-
raise ValueError(
|
|
598
|
-
"Invalid value for `exchange` ({0}), must be one of {1}" # noqa: E501
|
|
599
|
-
.format(exchange, allowed_values)
|
|
600
|
-
)
|
|
601
|
-
|
|
602
595
|
self._exchange = exchange
|
|
603
596
|
|
|
604
597
|
def to_dict(self):
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/order_book_data.py
RENAMED
|
@@ -207,13 +207,6 @@ class OrderBookData(object):
|
|
|
207
207
|
:param exchange: The exchange of this OrderBookData. # noqa: E501
|
|
208
208
|
:type: str
|
|
209
209
|
"""
|
|
210
|
-
allowed_values = ["NSE", "NFO", "CDS", "BSE", "BFO", "BCD", "MCX"] # noqa: E501
|
|
211
|
-
if exchange not in allowed_values:
|
|
212
|
-
raise ValueError(
|
|
213
|
-
"Invalid value for `exchange` ({0}), must be one of {1}" # noqa: E501
|
|
214
|
-
.format(exchange, allowed_values)
|
|
215
|
-
)
|
|
216
|
-
|
|
217
210
|
self._exchange = exchange
|
|
218
211
|
|
|
219
212
|
@property
|
|
@@ -236,12 +229,6 @@ class OrderBookData(object):
|
|
|
236
229
|
:param product: The product of this OrderBookData. # noqa: E501
|
|
237
230
|
:type: str
|
|
238
231
|
"""
|
|
239
|
-
allowed_values = ["I", "D", "CO", "OCO", "MTF"] # noqa: E501
|
|
240
|
-
if product not in allowed_values:
|
|
241
|
-
raise ValueError(
|
|
242
|
-
"Invalid value for `product` ({0}), must be one of {1}" # noqa: E501
|
|
243
|
-
.format(product, allowed_values)
|
|
244
|
-
)
|
|
245
232
|
|
|
246
233
|
self._product = product
|
|
247
234
|
|
|
@@ -187,12 +187,6 @@ class OrderData(object):
|
|
|
187
187
|
:param exchange: The exchange of this OrderData. # noqa: E501
|
|
188
188
|
:type: str
|
|
189
189
|
"""
|
|
190
|
-
allowed_values = ["NSE", "NFO", "CDS", "BSE", "BFO", "BCD", "MCX"] # noqa: E501
|
|
191
|
-
if exchange not in allowed_values:
|
|
192
|
-
raise ValueError(
|
|
193
|
-
"Invalid value for `exchange` ({0}), must be one of {1}" # noqa: E501
|
|
194
|
-
.format(exchange, allowed_values)
|
|
195
|
-
)
|
|
196
190
|
|
|
197
191
|
self._exchange = exchange
|
|
198
192
|
|
|
@@ -239,12 +233,6 @@ class OrderData(object):
|
|
|
239
233
|
:param product: The product of this OrderData. # noqa: E501
|
|
240
234
|
:type: str
|
|
241
235
|
"""
|
|
242
|
-
allowed_values = ["I", "D", "CO", "OCO", "MTF"] # noqa: E501
|
|
243
|
-
if product not in allowed_values:
|
|
244
|
-
raise ValueError(
|
|
245
|
-
"Invalid value for `product` ({0}), must be one of {1}" # noqa: E501
|
|
246
|
-
.format(product, allowed_values)
|
|
247
|
-
)
|
|
248
236
|
|
|
249
237
|
self._product = product
|
|
250
238
|
|
|
@@ -202,13 +202,6 @@ class PositionData(object):
|
|
|
202
202
|
:param exchange: The exchange of this PositionData. # noqa: E501
|
|
203
203
|
:type: str
|
|
204
204
|
"""
|
|
205
|
-
allowed_values = ["NSE", "NFO", "CDS", "BSE", "BFO", "BCD", "MCX"] # noqa: E501
|
|
206
|
-
if exchange not in allowed_values:
|
|
207
|
-
raise ValueError(
|
|
208
|
-
"Invalid value for `exchange` ({0}), must be one of {1}" # noqa: E501
|
|
209
|
-
.format(exchange, allowed_values)
|
|
210
|
-
)
|
|
211
|
-
|
|
212
205
|
self._exchange = exchange
|
|
213
206
|
|
|
214
207
|
@property
|
|
@@ -130,13 +130,6 @@ class ProfileData(object):
|
|
|
130
130
|
:param exchanges: The exchanges of this ProfileData. # noqa: E501
|
|
131
131
|
:type: list[str]
|
|
132
132
|
"""
|
|
133
|
-
allowed_values = ["NSE", "NFO", "CDS", "BSE", "BFO", "BCD", "MCX", "NSCOM"] # noqa: E501
|
|
134
|
-
if not set(exchanges).issubset(set(allowed_values)):
|
|
135
|
-
raise ValueError(
|
|
136
|
-
"Invalid values for `exchanges` [{0}], must be a subset of [{1}]" # noqa: E501
|
|
137
|
-
.format(", ".join(map(str, set(exchanges) - set(allowed_values))), # noqa: E501
|
|
138
|
-
", ".join(map(str, allowed_values)))
|
|
139
|
-
)
|
|
140
133
|
|
|
141
134
|
self._exchanges = exchanges
|
|
142
135
|
|
|
@@ -160,13 +153,6 @@ class ProfileData(object):
|
|
|
160
153
|
:param products: The products of this ProfileData. # noqa: E501
|
|
161
154
|
:type: list[str]
|
|
162
155
|
"""
|
|
163
|
-
allowed_values = ["I", "D", "CO", "OCO", "MTF"] # noqa: E501
|
|
164
|
-
if not set(products).issubset(set(allowed_values)):
|
|
165
|
-
raise ValueError(
|
|
166
|
-
"Invalid values for `products` [{0}], must be a subset of [{1}]" # noqa: E501
|
|
167
|
-
.format(", ".join(map(str, set(products) - set(allowed_values))), # noqa: E501
|
|
168
|
-
", ".join(map(str, allowed_values)))
|
|
169
|
-
)
|
|
170
156
|
|
|
171
157
|
self._products = products
|
|
172
158
|
|
|
@@ -34,7 +34,8 @@ class Rule(object):
|
|
|
34
34
|
'trigger_type': 'str',
|
|
35
35
|
'trigger_price': 'float',
|
|
36
36
|
'transaction_type': 'str',
|
|
37
|
-
'order_id': 'str'
|
|
37
|
+
'order_id': 'str',
|
|
38
|
+
'trailing_gap': 'float'
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
attribute_map = {
|
|
@@ -44,10 +45,11 @@ class Rule(object):
|
|
|
44
45
|
'trigger_type': 'trigger_type',
|
|
45
46
|
'trigger_price': 'trigger_price',
|
|
46
47
|
'transaction_type': 'transaction_type',
|
|
47
|
-
'order_id': 'order_id'
|
|
48
|
+
'order_id': 'order_id',
|
|
49
|
+
'trailing_gap': 'trailing_gap'
|
|
48
50
|
}
|
|
49
51
|
|
|
50
|
-
def __init__(self, strategy=None, status=None, message=None, trigger_type=None, trigger_price=None, transaction_type=None, order_id=None): # noqa: E501
|
|
52
|
+
def __init__(self, strategy=None, status=None, message=None, trigger_type=None, trigger_price=None, transaction_type=None, order_id=None, trailing_gap=None): # noqa: E501
|
|
51
53
|
"""Rule - a model defined in Swagger""" # noqa: E501
|
|
52
54
|
self._strategy = None
|
|
53
55
|
self._status = None
|
|
@@ -56,6 +58,7 @@ class Rule(object):
|
|
|
56
58
|
self._trigger_price = None
|
|
57
59
|
self._transaction_type = None
|
|
58
60
|
self._order_id = None
|
|
61
|
+
self._trailing_gap = None
|
|
59
62
|
self.discriminator = None
|
|
60
63
|
if strategy is not None:
|
|
61
64
|
self.strategy = strategy
|
|
@@ -71,6 +74,8 @@ class Rule(object):
|
|
|
71
74
|
self.transaction_type = transaction_type
|
|
72
75
|
if order_id is not None:
|
|
73
76
|
self.order_id = order_id
|
|
77
|
+
if trailing_gap is not None:
|
|
78
|
+
self.trailing_gap = trailing_gap
|
|
74
79
|
|
|
75
80
|
@property
|
|
76
81
|
def strategy(self):
|
|
@@ -219,6 +224,27 @@ class Rule(object):
|
|
|
219
224
|
|
|
220
225
|
self._order_id = order_id
|
|
221
226
|
|
|
227
|
+
@property
|
|
228
|
+
def trailing_gap(self):
|
|
229
|
+
"""Gets the trailing_gap of this Rule. # noqa: E501
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
:return: The trailing_gap of this Rule. # noqa: E501
|
|
233
|
+
:rtype: float
|
|
234
|
+
"""
|
|
235
|
+
return self._trailing_gap
|
|
236
|
+
|
|
237
|
+
@trailing_gap.setter
|
|
238
|
+
def trailing_gap(self, trailing_gap):
|
|
239
|
+
"""Sets the trailing_gap of this Rule.
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
:param trailing_gap: The trailing_gap of this Rule. # noqa: E501
|
|
243
|
+
:type: float
|
|
244
|
+
"""
|
|
245
|
+
|
|
246
|
+
self._trailing_gap = trailing_gap
|
|
247
|
+
|
|
222
248
|
def to_dict(self):
|
|
223
249
|
"""Returns the model properties as a dict"""
|
|
224
250
|
result = {}
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/upstox_client/models/token_response.py
RENAMED
|
@@ -140,13 +140,6 @@ class TokenResponse(object):
|
|
|
140
140
|
:param exchanges: The exchanges of this TokenResponse. # noqa: E501
|
|
141
141
|
:type: list[str]
|
|
142
142
|
"""
|
|
143
|
-
allowed_values = ["NSE", "NFO", "CDS", "BSE", "BFO", "BCD", "MCX"] # noqa: E501
|
|
144
|
-
if not set(exchanges).issubset(set(allowed_values)):
|
|
145
|
-
raise ValueError(
|
|
146
|
-
"Invalid values for `exchanges` [{0}], must be a subset of [{1}]" # noqa: E501
|
|
147
|
-
.format(", ".join(map(str, set(exchanges) - set(allowed_values))), # noqa: E501
|
|
148
|
-
", ".join(map(str, allowed_values)))
|
|
149
|
-
)
|
|
150
143
|
|
|
151
144
|
self._exchanges = exchanges
|
|
152
145
|
|
|
@@ -170,13 +163,6 @@ class TokenResponse(object):
|
|
|
170
163
|
:param products: The products of this TokenResponse. # noqa: E501
|
|
171
164
|
:type: list[str]
|
|
172
165
|
"""
|
|
173
|
-
allowed_values = ["I", "D", "CO", "OCO", "MTF"] # noqa: E501
|
|
174
|
-
if not set(products).issubset(set(allowed_values)):
|
|
175
|
-
raise ValueError(
|
|
176
|
-
"Invalid values for `products` [{0}], must be a subset of [{1}]" # noqa: E501
|
|
177
|
-
.format(", ".join(map(str, set(products) - set(allowed_values))), # noqa: E501
|
|
178
|
-
", ".join(map(str, allowed_values)))
|
|
179
|
-
)
|
|
180
166
|
|
|
181
167
|
self._products = products
|
|
182
168
|
|
|
@@ -132,12 +132,6 @@ class TradeData(object):
|
|
|
132
132
|
:param exchange: The exchange of this TradeData. # noqa: E501
|
|
133
133
|
:type: str
|
|
134
134
|
"""
|
|
135
|
-
allowed_values = ["NSE", "NFO", "CDS", "BSE", "BFO", "BCD", "MCX"] # noqa: E501
|
|
136
|
-
if exchange not in allowed_values:
|
|
137
|
-
raise ValueError(
|
|
138
|
-
"Invalid value for `exchange` ({0}), must be one of {1}" # noqa: E501
|
|
139
|
-
.format(exchange, allowed_values)
|
|
140
|
-
)
|
|
141
135
|
|
|
142
136
|
self._exchange = exchange
|
|
143
137
|
|
|
@@ -161,12 +155,6 @@ class TradeData(object):
|
|
|
161
155
|
:param product: The product of this TradeData. # noqa: E501
|
|
162
156
|
:type: str
|
|
163
157
|
"""
|
|
164
|
-
allowed_values = ["I", "D", "CO", "OCO", "MTF"] # noqa: E501
|
|
165
|
-
if product not in allowed_values:
|
|
166
|
-
raise ValueError(
|
|
167
|
-
"Invalid value for `product` ({0}), must be one of {1}" # noqa: E501
|
|
168
|
-
.format(product, allowed_values)
|
|
169
|
-
)
|
|
170
158
|
|
|
171
159
|
self._product = product
|
|
172
160
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: upstox-python-sdk
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.17.0
|
|
4
4
|
Summary: Upstox Developer API
|
|
5
5
|
Home-page: https://github.com/upstox/upstox-python
|
|
6
6
|
License: MIT
|
|
@@ -34,7 +34,7 @@ The official Python client for communicating with the <a href="https://upstox.co
|
|
|
34
34
|
Upstox API is a set of rest APIs that provide data required to build a complete investment and trading platform. Execute orders in real time, manage user portfolio, stream live market data (using Websocket), and more, with the easy to understand API collection.
|
|
35
35
|
|
|
36
36
|
- API version: v2
|
|
37
|
-
- Package version: 2.
|
|
37
|
+
- Package version: 2.17.0
|
|
38
38
|
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
|
|
39
39
|
|
|
40
40
|
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_api_gateway_error_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_cancel_or_exit_multi_order_data.py
RENAMED
|
File without changes
|
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_cancel_or_exit_order_error_data.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_convert_position_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_exchange_timing_response.py
RENAMED
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_full_market_quote_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_historical_candle_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_intra_day_candle_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_market_quote_ohlc_response.py
RENAMED
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_market_status_response.py
RENAMED
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_option_chain_response.py
RENAMED
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_option_contract_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_order_details_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_get_user_fund_margin_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_gtt_trigger_order_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_indie_user_init_token_data.py
RENAMED
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_indie_user_init_token_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_market_holidays_and_timings_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{upstox_python_sdk-2.15.0 → upstox_python_sdk-2.17.0}/test/test_o_auth_client_exception_cause.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|