upstox-python-sdk 2.10.0__tar.gz → 2.12.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.10.0/upstox_python_sdk.egg-info → upstox_python_sdk-2.12.0}/PKG-INFO +39 -2
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/README.md +38 -1
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/setup.py +1 -1
- upstox_python_sdk-2.12.0/test/test_cancel_order_v3_response.py +39 -0
- upstox_python_sdk-2.12.0/test/test_indie_user_init_token_data.py +39 -0
- upstox_python_sdk-2.12.0/test/test_indie_user_init_token_response.py +39 -0
- upstox_python_sdk-2.12.0/test/test_indie_user_token_request.py +39 -0
- upstox_python_sdk-2.12.0/test/test_modify_order_v3_response.py +39 -0
- upstox_python_sdk-2.12.0/test/test_multi_order_v3_data.py +39 -0
- upstox_python_sdk-2.12.0/test/test_order_controller_v_3_api.py +51 -0
- upstox_python_sdk-2.12.0/test/test_order_metadata.py +39 -0
- upstox_python_sdk-2.12.0/test/test_place_order_v3_request.py +39 -0
- upstox_python_sdk-2.12.0/test/test_place_order_v3_response.py +39 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/__init__.py +10 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/api/__init__.py +1 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/api/login_api.py +107 -0
- upstox_python_sdk-2.12.0/upstox_client/api/order_controller_v_3_api.py +332 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/api/websocket_api.py +168 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/api_client.py +5 -1
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/configuration.py +23 -6
- upstox_python_sdk-2.12.0/upstox_client/feeder/proto/MarketDataFeedV3_pb2.py +63 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/__init__.py +9 -0
- upstox_python_sdk-2.12.0/upstox_client/models/cancel_order_v3_response.py +168 -0
- upstox_python_sdk-2.12.0/upstox_client/models/indie_user_init_token_data.py +140 -0
- upstox_python_sdk-2.12.0/upstox_client/models/indie_user_init_token_response.py +142 -0
- upstox_python_sdk-2.12.0/upstox_client/models/indie_user_token_request.py +112 -0
- upstox_python_sdk-2.12.0/upstox_client/models/modify_order_v3_response.py +168 -0
- upstox_python_sdk-2.12.0/upstox_client/models/multi_order_v3_data.py +110 -0
- upstox_python_sdk-2.12.0/upstox_client/models/order_metadata.py +110 -0
- upstox_python_sdk-2.12.0/upstox_client/models/place_order_v3_request.py +450 -0
- upstox_python_sdk-2.12.0/upstox_client/models/place_order_v3_response.py +168 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0/upstox_python_sdk.egg-info}/PKG-INFO +39 -2
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_python_sdk.egg-info/SOURCES.txt +20 -0
- upstox_python_sdk-2.10.0/upstox_client/feeder/proto/MarketDataFeedV3_pb2.py +0 -74
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/LICENSE.txt +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/setup.cfg +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/__init__.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/sanity_test.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_analytics_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_api_gateway_error_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_batch_execution_summary.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_brokerage_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_brokerage_taxes.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_brokerage_wrapper_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_cancel_or_exit_multi_order_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_cancel_or_exit_multi_order_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_cancel_or_exit_order_error_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_cancel_order_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_cancel_order_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_charge_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_convert_position_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_convert_position_request.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_convert_position_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_depth.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_depth_map.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_dp_plan.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_exchange_timing_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_brokerage_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_exchange_timing_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_full_market_quote_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_historical_candle_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_holdings_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_holiday_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_intra_day_candle_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_market_quote_last_traded_price_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_market_quote_ohlc_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_market_status_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_option_chain_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_option_contract_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_order_book_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_order_details_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_order_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_position_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_profile_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_profit_and_loss_charges_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_trade_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_trade_wise_profit_and_loss_data_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_get_user_fund_margin_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_historical_candle_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_history_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_holdings_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_holiday_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_instrument.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_instrument_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_intra_day_candle_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_login_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_logout_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_margin.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_margin_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_margin_request.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_market_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_market_holidays_and_timings_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_market_quote_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_market_quote_ohlc.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_market_quote_symbol.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_market_quote_symbol_ltp.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_market_status_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_modify_order_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_modify_order_request.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_modify_order_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_multi_order_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_multi_order_error.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_multi_order_request.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_multi_order_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_multi_order_summary.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_o_auth_client_exception.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_o_auth_client_exception_cause.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_o_auth_client_exception_cause_stack_trace.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_o_auth_client_exception_cause_suppressed.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_ohlc.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_option_strike_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_options_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_order_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_order_book_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_order_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_other_taxes.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_place_order_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_place_order_request.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_place_order_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_portfolio_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_position_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_post_margin_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_post_trade_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_problem.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_profile_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_profit_and_loss_charges_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_profit_and_loss_charges_taxes.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_profit_and_loss_charges_wrapper_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_profit_and_loss_meta_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_profit_and_loss_meta_data_wrapper.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_profit_and_loss_other_charges_taxes.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_put_call_option_chain_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_token_request.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_token_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_trade_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_trade_history_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_trade_history_response_meta_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_trade_history_response_page_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_trade_history_response_trade_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_trade_profit_and_loss_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_trade_wise_meta_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_trade_wise_profit_and_loss_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_user_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_user_fund_margin_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_websocket_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_websocket_auth_redirect_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/test/test_websocket_auth_redirect_response_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/api/charge_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/api/history_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/api/market_holidays_and_timings_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/api/market_quote_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/api/options_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/api/order_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/api/portfolio_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/api/post_trade_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/api/trade_profit_and_loss_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/api/user_api.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/feeder/__init__.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/feeder/feeder.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/feeder/market_data_feeder.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/feeder/market_data_feeder_v3.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/feeder/market_data_streamer.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/feeder/market_data_streamer_v3.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/feeder/portfolio_data_feeder.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/feeder/portfolio_data_streamer.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/feeder/proto/MarketDataFeed_pb2.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/feeder/proto/__init__.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/feeder/streamer.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/analytics_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/api_gateway_error_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/batch_execution_summary.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/brokerage_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/brokerage_taxes.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/brokerage_wrapper_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/cancel_or_exit_multi_order_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/cancel_or_exit_multi_order_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/cancel_or_exit_order_error_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/cancel_order_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/cancel_order_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/convert_position_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/convert_position_request.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/convert_position_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/depth.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/depth_map.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/dp_plan.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/exchange_timing_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_brokerage_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_exchange_timing_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_full_market_quote_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_historical_candle_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_holdings_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_holiday_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_intra_day_candle_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_market_quote_last_traded_price_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_market_quote_ohlc_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_market_status_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_option_chain_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_option_contract_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_order_book_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_order_details_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_order_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_position_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_profile_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_profit_and_loss_charges_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_trade_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_trade_wise_profit_and_loss_data_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_trade_wise_profit_and_loss_meta_data_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/get_user_fund_margin_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/historical_candle_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/holdings_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/holiday_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/instrument.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/instrument_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/intra_day_candle_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/logout_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/margin.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/margin_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/margin_request.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/market_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/market_quote_ohlc.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/market_quote_symbol.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/market_quote_symbol_ltp.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/market_status_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/modify_order_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/modify_order_request.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/modify_order_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/multi_order_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/multi_order_error.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/multi_order_request.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/multi_order_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/multi_order_summary.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/o_auth_client_exception.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/o_auth_client_exception_cause.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/o_auth_client_exception_cause_stack_trace.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/o_auth_client_exception_cause_suppressed.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/ohlc.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/option_strike_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/order_book_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/order_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/other_taxes.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/place_order_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/place_order_request.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/place_order_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/position_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/post_margin_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/problem.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/profile_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/profit_and_loss_charges_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/profit_and_loss_charges_taxes.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/profit_and_loss_charges_wrapper_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/profit_and_loss_meta_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/profit_and_loss_meta_data_wrapper.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/profit_and_loss_other_charges_taxes.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/put_call_option_chain_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/token_request.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/token_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/trade_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/trade_history_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/trade_history_response_meta_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/trade_history_response_page_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/trade_history_response_trade_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/trade_wise_meta_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/trade_wise_profit_and_loss_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/user_fund_margin_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/websocket_auth_redirect_response.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/models/websocket_auth_redirect_response_data.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_client/rest.py +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_python_sdk.egg-info/dependency_links.txt +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_python_sdk.egg-info/requires.txt +0 -0
- {upstox_python_sdk-2.10.0 → upstox_python_sdk-2.12.0}/upstox_python_sdk.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: upstox-python-sdk
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.12.0
|
|
4
4
|
Summary: Upstox Developer API
|
|
5
5
|
Home-page: https://github.com/upstox/upstox-python
|
|
6
6
|
License: MIT
|
|
@@ -26,7 +26,7 @@ The official Python client for communicating with the <a href="https://upstox.co
|
|
|
26
26
|
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.
|
|
27
27
|
|
|
28
28
|
- API version: v2
|
|
29
|
-
- Package version: 2.
|
|
29
|
+
- Package version: 2.12.0
|
|
30
30
|
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
|
|
31
31
|
|
|
32
32
|
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project.
|
|
@@ -68,6 +68,30 @@ Then import the package:
|
|
|
68
68
|
import upstox_client
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
+
## Sandbox Mode
|
|
72
|
+
We recommend using the sandbox environment for testing purposes. To enable sandbox mode, set the `sandbox` flag to `True` in the configuration object.
|
|
73
|
+
|
|
74
|
+
```python
|
|
75
|
+
import upstox_client
|
|
76
|
+
from upstox_client.rest import ApiException
|
|
77
|
+
|
|
78
|
+
configuration = upstox_client.Configuration(sandbox=True)
|
|
79
|
+
configuration.access_token = 'SANDBOX_ACCESS_TOKEN'
|
|
80
|
+
|
|
81
|
+
api_instance = upstox_client.OrderApiV3(upstox_client.ApiClient(configuration))
|
|
82
|
+
body = upstox_client.PlaceOrderV3Request(quantity=1, product="D",validity="DAY", price=9.12, tag="string", instrument_token="NSE_EQ|INE669E01016", order_type="LIMIT",
|
|
83
|
+
transaction_type="BUY", disclosed_quantity=0, trigger_price=0.0, is_amo=True, slice=True)
|
|
84
|
+
|
|
85
|
+
try:
|
|
86
|
+
api_response = api_instance.place_order(body)
|
|
87
|
+
print(api_response)
|
|
88
|
+
except ApiException as e:
|
|
89
|
+
print("Exception when calling OrderApi->place_order: %s\n" % e)
|
|
90
|
+
```
|
|
91
|
+
To learn more about the sandbox environment and the available sandbox APIs, please visit the [Upstox API documentation - Sandbox](https://upstox.com/developer/api-documentation/sandbox).
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
71
95
|
## Examples
|
|
72
96
|
|
|
73
97
|
[Sample Implementations](examples/) can be found within `/examples` folder.
|
|
@@ -87,6 +111,7 @@ Class | Method | HTTP request | Description
|
|
|
87
111
|
*HistoryApi* | [**get_historical_candle_data1**](docs/HistoryApi.md#get_historical_candle_data1) | **GET** /v2/historical-candle/{instrumentKey}/{interval}/{to_date}/{from_date} | Historical candle data
|
|
88
112
|
*HistoryApi* | [**get_intra_day_candle_data**](docs/HistoryApi.md#get_intra_day_candle_data) | **GET** /v2/historical-candle/intraday/{instrumentKey}/{interval} | Intra day candle data
|
|
89
113
|
*LoginApi* | [**authorize**](docs/LoginApi.md#authorize) | **GET** /v2/login/authorization/dialog | Authorize API
|
|
114
|
+
*LoginApi* | [**init_token_request_for_indie_user**](docs/LoginApi.md#init_token_request_for_indie_user) | **POST** /v3/login/auth/token/request/{client_id} | Init token API
|
|
90
115
|
*LoginApi* | [**logout**](docs/LoginApi.md#logout) | **DELETE** /v2/logout | Logout
|
|
91
116
|
*LoginApi* | [**token**](docs/LoginApi.md#token) | **POST** /v2/login/authorization/token | Get token API
|
|
92
117
|
*MarketHolidaysAndTimingsApi* | [**get_exchange_timings**](docs/MarketHolidaysAndTimingsApi.md#get_exchange_timings) | **GET** /v2/market/timings/{date} | Get Exchange Timings on particular date
|
|
@@ -122,6 +147,9 @@ Class | Method | HTTP request | Description
|
|
|
122
147
|
*WebsocketApi* | [**get_market_data_feed_authorize**](docs/WebsocketApi.md#get_market_data_feed_authorize) | **GET** /v2/feed/market-data-feed/authorize | Market Data Feed Authorize
|
|
123
148
|
*WebsocketApi* | [**get_portfolio_stream_feed**](docs/WebsocketApi.md#get_portfolio_stream_feed) | **GET** /v2/feed/portfolio-stream-feed | Portfolio Stream Feed
|
|
124
149
|
*WebsocketApi* | [**get_portfolio_stream_feed_authorize**](docs/WebsocketApi.md#get_portfolio_stream_feed_authorize) | **GET** /v2/feed/portfolio-stream-feed/authorize | Portfolio Stream Feed Authorize
|
|
150
|
+
*OrderApiV3* | [**cancel_order**](docs/OrderApiV3.md#cancel_order) | **DELETE** /v3/order/cancel |
|
|
151
|
+
*OrderApiV3* | [**modify_order**](docs/OrderApiV3.md#modify_order) | **PUT** /v3/order/modify |
|
|
152
|
+
*OrderApiV3* | [**place_order**](docs/OrderApiV3.md#place_order) | **POST** /v3/order/place |
|
|
125
153
|
|
|
126
154
|
## Documentation for Feeder Functions
|
|
127
155
|
|
|
@@ -779,6 +807,7 @@ if __name__ == "__main__":
|
|
|
779
807
|
- [CancelOrExitOrderErrorData](docs/CancelOrExitOrderErrorData.md)
|
|
780
808
|
- [CancelOrderData](docs/CancelOrderData.md)
|
|
781
809
|
- [CancelOrderResponse](docs/CancelOrderResponse.md)
|
|
810
|
+
- [CancelOrderV3Response](docs/CancelOrderV3Response.md)
|
|
782
811
|
- [ConvertPositionData](docs/ConvertPositionData.md)
|
|
783
812
|
- [ConvertPositionRequest](docs/ConvertPositionRequest.md)
|
|
784
813
|
- [ConvertPositionResponse](docs/ConvertPositionResponse.md)
|
|
@@ -811,6 +840,9 @@ if __name__ == "__main__":
|
|
|
811
840
|
- [HistoricalCandleData](docs/HistoricalCandleData.md)
|
|
812
841
|
- [HoldingsData](docs/HoldingsData.md)
|
|
813
842
|
- [HolidayData](docs/HolidayData.md)
|
|
843
|
+
- [IndieUserInitTokenData](docs/IndieUserInitTokenData.md)
|
|
844
|
+
- [IndieUserInitTokenResponse](docs/IndieUserInitTokenResponse.md)
|
|
845
|
+
- [IndieUserTokenRequest](docs/IndieUserTokenRequest.md)
|
|
814
846
|
- [Instrument](docs/Instrument.md)
|
|
815
847
|
- [InstrumentData](docs/InstrumentData.md)
|
|
816
848
|
- [IntraDayCandleData](docs/IntraDayCandleData.md)
|
|
@@ -826,11 +858,13 @@ if __name__ == "__main__":
|
|
|
826
858
|
- [ModifyOrderData](docs/ModifyOrderData.md)
|
|
827
859
|
- [ModifyOrderRequest](docs/ModifyOrderRequest.md)
|
|
828
860
|
- [ModifyOrderResponse](docs/ModifyOrderResponse.md)
|
|
861
|
+
- [ModifyOrderV3Response](docs/ModifyOrderV3Response.md)
|
|
829
862
|
- [MultiOrderData](docs/MultiOrderData.md)
|
|
830
863
|
- [MultiOrderError](docs/MultiOrderError.md)
|
|
831
864
|
- [MultiOrderRequest](docs/MultiOrderRequest.md)
|
|
832
865
|
- [MultiOrderResponse](docs/MultiOrderResponse.md)
|
|
833
866
|
- [MultiOrderSummary](docs/MultiOrderSummary.md)
|
|
867
|
+
- [MultiOrderV3Data](docs/MultiOrderV3Data.md)
|
|
834
868
|
- [OAuthClientException](docs/OAuthClientException.md)
|
|
835
869
|
- [OAuthClientExceptionCause](docs/OAuthClientExceptionCause.md)
|
|
836
870
|
- [OAuthClientExceptionCauseStackTrace](docs/OAuthClientExceptionCauseStackTrace.md)
|
|
@@ -839,10 +873,13 @@ if __name__ == "__main__":
|
|
|
839
873
|
- [OptionStrikeData](docs/OptionStrikeData.md)
|
|
840
874
|
- [OrderBookData](docs/OrderBookData.md)
|
|
841
875
|
- [OrderData](docs/OrderData.md)
|
|
876
|
+
- [OrderMetadata](docs/OrderMetadata.md)
|
|
842
877
|
- [OtherTaxes](docs/OtherTaxes.md)
|
|
843
878
|
- [PlaceOrderData](docs/PlaceOrderData.md)
|
|
844
879
|
- [PlaceOrderRequest](docs/PlaceOrderRequest.md)
|
|
845
880
|
- [PlaceOrderResponse](docs/PlaceOrderResponse.md)
|
|
881
|
+
- [PlaceOrderV3Request](docs/PlaceOrderV3Request.md)
|
|
882
|
+
- [PlaceOrderV3Response](docs/PlaceOrderV3Response.md)
|
|
846
883
|
- [PositionData](docs/PositionData.md)
|
|
847
884
|
- [PostMarginResponse](docs/PostMarginResponse.md)
|
|
848
885
|
- [Problem](docs/Problem.md)
|
|
@@ -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.12.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.
|
|
@@ -51,6 +51,30 @@ Then import the package:
|
|
|
51
51
|
import upstox_client
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
+
## Sandbox Mode
|
|
55
|
+
We recommend using the sandbox environment for testing purposes. To enable sandbox mode, set the `sandbox` flag to `True` in the configuration object.
|
|
56
|
+
|
|
57
|
+
```python
|
|
58
|
+
import upstox_client
|
|
59
|
+
from upstox_client.rest import ApiException
|
|
60
|
+
|
|
61
|
+
configuration = upstox_client.Configuration(sandbox=True)
|
|
62
|
+
configuration.access_token = 'SANDBOX_ACCESS_TOKEN'
|
|
63
|
+
|
|
64
|
+
api_instance = upstox_client.OrderApiV3(upstox_client.ApiClient(configuration))
|
|
65
|
+
body = upstox_client.PlaceOrderV3Request(quantity=1, product="D",validity="DAY", price=9.12, tag="string", instrument_token="NSE_EQ|INE669E01016", order_type="LIMIT",
|
|
66
|
+
transaction_type="BUY", disclosed_quantity=0, trigger_price=0.0, is_amo=True, slice=True)
|
|
67
|
+
|
|
68
|
+
try:
|
|
69
|
+
api_response = api_instance.place_order(body)
|
|
70
|
+
print(api_response)
|
|
71
|
+
except ApiException as e:
|
|
72
|
+
print("Exception when calling OrderApi->place_order: %s\n" % e)
|
|
73
|
+
```
|
|
74
|
+
To learn more about the sandbox environment and the available sandbox APIs, please visit the [Upstox API documentation - Sandbox](https://upstox.com/developer/api-documentation/sandbox).
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
54
78
|
## Examples
|
|
55
79
|
|
|
56
80
|
[Sample Implementations](examples/) can be found within `/examples` folder.
|
|
@@ -70,6 +94,7 @@ Class | Method | HTTP request | Description
|
|
|
70
94
|
*HistoryApi* | [**get_historical_candle_data1**](docs/HistoryApi.md#get_historical_candle_data1) | **GET** /v2/historical-candle/{instrumentKey}/{interval}/{to_date}/{from_date} | Historical candle data
|
|
71
95
|
*HistoryApi* | [**get_intra_day_candle_data**](docs/HistoryApi.md#get_intra_day_candle_data) | **GET** /v2/historical-candle/intraday/{instrumentKey}/{interval} | Intra day candle data
|
|
72
96
|
*LoginApi* | [**authorize**](docs/LoginApi.md#authorize) | **GET** /v2/login/authorization/dialog | Authorize API
|
|
97
|
+
*LoginApi* | [**init_token_request_for_indie_user**](docs/LoginApi.md#init_token_request_for_indie_user) | **POST** /v3/login/auth/token/request/{client_id} | Init token API
|
|
73
98
|
*LoginApi* | [**logout**](docs/LoginApi.md#logout) | **DELETE** /v2/logout | Logout
|
|
74
99
|
*LoginApi* | [**token**](docs/LoginApi.md#token) | **POST** /v2/login/authorization/token | Get token API
|
|
75
100
|
*MarketHolidaysAndTimingsApi* | [**get_exchange_timings**](docs/MarketHolidaysAndTimingsApi.md#get_exchange_timings) | **GET** /v2/market/timings/{date} | Get Exchange Timings on particular date
|
|
@@ -105,6 +130,9 @@ Class | Method | HTTP request | Description
|
|
|
105
130
|
*WebsocketApi* | [**get_market_data_feed_authorize**](docs/WebsocketApi.md#get_market_data_feed_authorize) | **GET** /v2/feed/market-data-feed/authorize | Market Data Feed Authorize
|
|
106
131
|
*WebsocketApi* | [**get_portfolio_stream_feed**](docs/WebsocketApi.md#get_portfolio_stream_feed) | **GET** /v2/feed/portfolio-stream-feed | Portfolio Stream Feed
|
|
107
132
|
*WebsocketApi* | [**get_portfolio_stream_feed_authorize**](docs/WebsocketApi.md#get_portfolio_stream_feed_authorize) | **GET** /v2/feed/portfolio-stream-feed/authorize | Portfolio Stream Feed Authorize
|
|
133
|
+
*OrderApiV3* | [**cancel_order**](docs/OrderApiV3.md#cancel_order) | **DELETE** /v3/order/cancel |
|
|
134
|
+
*OrderApiV3* | [**modify_order**](docs/OrderApiV3.md#modify_order) | **PUT** /v3/order/modify |
|
|
135
|
+
*OrderApiV3* | [**place_order**](docs/OrderApiV3.md#place_order) | **POST** /v3/order/place |
|
|
108
136
|
|
|
109
137
|
## Documentation for Feeder Functions
|
|
110
138
|
|
|
@@ -762,6 +790,7 @@ if __name__ == "__main__":
|
|
|
762
790
|
- [CancelOrExitOrderErrorData](docs/CancelOrExitOrderErrorData.md)
|
|
763
791
|
- [CancelOrderData](docs/CancelOrderData.md)
|
|
764
792
|
- [CancelOrderResponse](docs/CancelOrderResponse.md)
|
|
793
|
+
- [CancelOrderV3Response](docs/CancelOrderV3Response.md)
|
|
765
794
|
- [ConvertPositionData](docs/ConvertPositionData.md)
|
|
766
795
|
- [ConvertPositionRequest](docs/ConvertPositionRequest.md)
|
|
767
796
|
- [ConvertPositionResponse](docs/ConvertPositionResponse.md)
|
|
@@ -794,6 +823,9 @@ if __name__ == "__main__":
|
|
|
794
823
|
- [HistoricalCandleData](docs/HistoricalCandleData.md)
|
|
795
824
|
- [HoldingsData](docs/HoldingsData.md)
|
|
796
825
|
- [HolidayData](docs/HolidayData.md)
|
|
826
|
+
- [IndieUserInitTokenData](docs/IndieUserInitTokenData.md)
|
|
827
|
+
- [IndieUserInitTokenResponse](docs/IndieUserInitTokenResponse.md)
|
|
828
|
+
- [IndieUserTokenRequest](docs/IndieUserTokenRequest.md)
|
|
797
829
|
- [Instrument](docs/Instrument.md)
|
|
798
830
|
- [InstrumentData](docs/InstrumentData.md)
|
|
799
831
|
- [IntraDayCandleData](docs/IntraDayCandleData.md)
|
|
@@ -809,11 +841,13 @@ if __name__ == "__main__":
|
|
|
809
841
|
- [ModifyOrderData](docs/ModifyOrderData.md)
|
|
810
842
|
- [ModifyOrderRequest](docs/ModifyOrderRequest.md)
|
|
811
843
|
- [ModifyOrderResponse](docs/ModifyOrderResponse.md)
|
|
844
|
+
- [ModifyOrderV3Response](docs/ModifyOrderV3Response.md)
|
|
812
845
|
- [MultiOrderData](docs/MultiOrderData.md)
|
|
813
846
|
- [MultiOrderError](docs/MultiOrderError.md)
|
|
814
847
|
- [MultiOrderRequest](docs/MultiOrderRequest.md)
|
|
815
848
|
- [MultiOrderResponse](docs/MultiOrderResponse.md)
|
|
816
849
|
- [MultiOrderSummary](docs/MultiOrderSummary.md)
|
|
850
|
+
- [MultiOrderV3Data](docs/MultiOrderV3Data.md)
|
|
817
851
|
- [OAuthClientException](docs/OAuthClientException.md)
|
|
818
852
|
- [OAuthClientExceptionCause](docs/OAuthClientExceptionCause.md)
|
|
819
853
|
- [OAuthClientExceptionCauseStackTrace](docs/OAuthClientExceptionCauseStackTrace.md)
|
|
@@ -822,10 +856,13 @@ if __name__ == "__main__":
|
|
|
822
856
|
- [OptionStrikeData](docs/OptionStrikeData.md)
|
|
823
857
|
- [OrderBookData](docs/OrderBookData.md)
|
|
824
858
|
- [OrderData](docs/OrderData.md)
|
|
859
|
+
- [OrderMetadata](docs/OrderMetadata.md)
|
|
825
860
|
- [OtherTaxes](docs/OtherTaxes.md)
|
|
826
861
|
- [PlaceOrderData](docs/PlaceOrderData.md)
|
|
827
862
|
- [PlaceOrderRequest](docs/PlaceOrderRequest.md)
|
|
828
863
|
- [PlaceOrderResponse](docs/PlaceOrderResponse.md)
|
|
864
|
+
- [PlaceOrderV3Request](docs/PlaceOrderV3Request.md)
|
|
865
|
+
- [PlaceOrderV3Response](docs/PlaceOrderV3Response.md)
|
|
829
866
|
- [PositionData](docs/PositionData.md)
|
|
830
867
|
- [PostMarginResponse](docs/PostMarginResponse.md)
|
|
831
868
|
- [Problem](docs/Problem.md)
|
|
@@ -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.12.0"
|
|
22
22
|
# To install the library, run the following
|
|
23
23
|
#
|
|
24
24
|
# python setup.py install
|
|
@@ -0,0 +1,39 @@
|
|
|
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 unittest
|
|
16
|
+
|
|
17
|
+
import upstox_client
|
|
18
|
+
from upstox_client.models.cancel_order_v3_response import CancelOrderV3Response # noqa: E501
|
|
19
|
+
from upstox_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestCancelOrderV3Response(unittest.TestCase):
|
|
23
|
+
"""CancelOrderV3Response unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testCancelOrderV3Response(self):
|
|
32
|
+
"""Test CancelOrderV3Response"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = upstox_client.models.cancel_order_v3_response.CancelOrderV3Response() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
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 unittest
|
|
16
|
+
|
|
17
|
+
import upstox_client
|
|
18
|
+
from upstox_client.models.indie_user_init_token_data import IndieUserInitTokenData # noqa: E501
|
|
19
|
+
from upstox_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestIndieUserInitTokenData(unittest.TestCase):
|
|
23
|
+
"""IndieUserInitTokenData unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testIndieUserInitTokenData(self):
|
|
32
|
+
"""Test IndieUserInitTokenData"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = upstox_client.models.indie_user_init_token_data.IndieUserInitTokenData() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
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 unittest
|
|
16
|
+
|
|
17
|
+
import upstox_client
|
|
18
|
+
from upstox_client.models.indie_user_init_token_response import IndieUserInitTokenResponse # noqa: E501
|
|
19
|
+
from upstox_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestIndieUserInitTokenResponse(unittest.TestCase):
|
|
23
|
+
"""IndieUserInitTokenResponse unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testIndieUserInitTokenResponse(self):
|
|
32
|
+
"""Test IndieUserInitTokenResponse"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = upstox_client.models.indie_user_init_token_response.IndieUserInitTokenResponse() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
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 unittest
|
|
16
|
+
|
|
17
|
+
import upstox_client
|
|
18
|
+
from upstox_client.models.indie_user_token_request import IndieUserTokenRequest # noqa: E501
|
|
19
|
+
from upstox_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestIndieUserTokenRequest(unittest.TestCase):
|
|
23
|
+
"""IndieUserTokenRequest unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testIndieUserTokenRequest(self):
|
|
32
|
+
"""Test IndieUserTokenRequest"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = upstox_client.models.indie_user_token_request.IndieUserTokenRequest() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
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 unittest
|
|
16
|
+
|
|
17
|
+
import upstox_client
|
|
18
|
+
from upstox_client.models.modify_order_v3_response import ModifyOrderV3Response # noqa: E501
|
|
19
|
+
from upstox_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestModifyOrderV3Response(unittest.TestCase):
|
|
23
|
+
"""ModifyOrderV3Response unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testModifyOrderV3Response(self):
|
|
32
|
+
"""Test ModifyOrderV3Response"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = upstox_client.models.modify_order_v3_response.ModifyOrderV3Response() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
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 unittest
|
|
16
|
+
|
|
17
|
+
import upstox_client
|
|
18
|
+
from upstox_client.models.multi_order_v3_data import MultiOrderV3Data # noqa: E501
|
|
19
|
+
from upstox_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestMultiOrderV3Data(unittest.TestCase):
|
|
23
|
+
"""MultiOrderV3Data unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testMultiOrderV3Data(self):
|
|
32
|
+
"""Test MultiOrderV3Data"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = upstox_client.models.multi_order_v3_data.MultiOrderV3Data() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,51 @@
|
|
|
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 unittest
|
|
16
|
+
|
|
17
|
+
import upstox_client
|
|
18
|
+
from upstox_client.api.order_controller_v_3_api import OrderApiV3 # noqa: E501
|
|
19
|
+
from upstox_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestOrderApiV3(unittest.TestCase):
|
|
23
|
+
"""OrderApiV3 unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
self.api = OrderApiV3() # noqa: E501
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def test_cancel_order(self):
|
|
32
|
+
"""Test case for cancel_order
|
|
33
|
+
|
|
34
|
+
"""
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
def test_modify_order(self):
|
|
38
|
+
"""Test case for modify_order
|
|
39
|
+
|
|
40
|
+
"""
|
|
41
|
+
pass
|
|
42
|
+
|
|
43
|
+
def test_place_order(self):
|
|
44
|
+
"""Test case for place_order
|
|
45
|
+
|
|
46
|
+
"""
|
|
47
|
+
pass
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
if __name__ == '__main__':
|
|
51
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
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 unittest
|
|
16
|
+
|
|
17
|
+
import upstox_client
|
|
18
|
+
from upstox_client.models.order_metadata import OrderMetadata # noqa: E501
|
|
19
|
+
from upstox_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestOrderMetadata(unittest.TestCase):
|
|
23
|
+
"""OrderMetadata unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testOrderMetadata(self):
|
|
32
|
+
"""Test OrderMetadata"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = upstox_client.models.order_metadata.OrderMetadata() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
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 unittest
|
|
16
|
+
|
|
17
|
+
import upstox_client
|
|
18
|
+
from upstox_client.models.place_order_v3_request import PlaceOrderV3Request # noqa: E501
|
|
19
|
+
from upstox_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestPlaceOrderV3Request(unittest.TestCase):
|
|
23
|
+
"""PlaceOrderV3Request unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testPlaceOrderV3Request(self):
|
|
32
|
+
"""Test PlaceOrderV3Request"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = upstox_client.models.place_order_v3_request.PlaceOrderV3Request() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|
|
@@ -0,0 +1,39 @@
|
|
|
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 unittest
|
|
16
|
+
|
|
17
|
+
import upstox_client
|
|
18
|
+
from upstox_client.models.place_order_v3_response import PlaceOrderV3Response # noqa: E501
|
|
19
|
+
from upstox_client.rest import ApiException
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TestPlaceOrderV3Response(unittest.TestCase):
|
|
23
|
+
"""PlaceOrderV3Response unit test stubs"""
|
|
24
|
+
|
|
25
|
+
def setUp(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def tearDown(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def testPlaceOrderV3Response(self):
|
|
32
|
+
"""Test PlaceOrderV3Response"""
|
|
33
|
+
# FIXME: construct object with mandatory attributes with example values
|
|
34
|
+
# model = upstox_client.models.place_order_v3_response.PlaceOrderV3Response() # noqa: E501
|
|
35
|
+
pass
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
if __name__ == '__main__':
|
|
39
|
+
unittest.main()
|