publicdotcom-cli 1.3.3__tar.gz → 1.3.4__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.
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/CHANGELOG.md +37 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/PKG-INFO +40 -1
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/README.md +39 -0
- publicdotcom_cli-1.3.4/examples/order.single-leg.bracket.json +21 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/pyproject.toml +1 -1
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/__init__.py +1 -1
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/place_order.py +16 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/replace_order.py +12 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/__init__.py +28 -16
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_option_details.py +14 -38
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_options_greek_response.py +15 -39
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_options_option_greeks_type_0.py → publicdotcom_cli-1.3.4/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_options_option_greeks.py +5 -5
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request.py +76 -0
- publicdotcom_cli-1.3.4/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request_order_class.py +11 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order.py +17 -0
- publicdotcom_cli-1.3.4/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_stop_loss.py +74 -0
- publicdotcom_cli-1.3.4/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_take_profit.py +62 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_available_to_withdraw_type_0.py → publicdotcom_cli-1.3.4/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_available_to_withdraw.py +7 -13
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_account_v2.py +19 -47
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_order_leg_type_0.py → publicdotcom_cli-1.3.4/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_order_leg.py +17 -17
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_order_leg_type_0_open_close_indicator.py → publicdotcom_cli-1.3.4/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_order_leg_open_close_indicator.py +1 -1
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_order_leg_type_0_side.py → publicdotcom_cli-1.3.4/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_order_leg_side.py +1 -1
- publicdotcom_cli-1.3.4/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_quote_request.py +108 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/cli.py +104 -0
- publicdotcom_cli-1.3.4/tests/test_cli.py +248 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/tests/test_generated_enums.py +17 -0
- publicdotcom_cli-1.3.4/tests/test_generated_models.py +143 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/uv.lock +1 -1
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_quote_request.py +0 -157
- publicdotcom_cli-1.3.3/tests/test_cli.py +0 -103
- publicdotcom_cli-1.3.3/tests/test_generated_models.py +0 -64
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/.gitattributes +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/.github/workflows/ci.yml +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/.github/workflows/release.yml +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/.gitignore +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/LICENSE +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/examples/order.replace.notional.json +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/examples/order.single-leg.cash-only.json +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/examples/order.single-leg.market-buy.json +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/examples/order.single-leg.tax-lot-matching.json +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/examples/strategy-quote.request.json +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/scripts/generate_client.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/__main__.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/__init__.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/__init__.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/account_details/__init__.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/account_details/get_account_portfolio_v2.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/account_details/get_history.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/authorization/__init__.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/authorization/create_personal_access_token.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/instrument_details/__init__.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/instrument_details/get_all_instruments.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/instrument_details/get_instrument.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/instrument_details/search_bonds.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/list_accounts/__init__.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/list_accounts/get_accounts.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/market_data/__init__.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/market_data/get_bars_v2.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/market_data/get_bars_v2_with_aggregation.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/market_data/get_bond_details.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/market_data/get_option_chain.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/market_data/get_option_expirations.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/market_data/get_quotes.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/option_details/__init__.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/option_details/get_option_greeks.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/option_details/get_strategy_quote.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/__init__.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/cancel_order.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/get_order.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/place_multileg_order.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/preflight_multi_leg.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/preflight_single_leg.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/tax_lot_selling/__init__.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/tax_lot_selling/get_unrealized_tax_lots.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/tax_lot_selling/get_unrealized_tax_lots_csv.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/tax_lot_selling/get_unrealized_tax_lots_for_symbol.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/client.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/errors.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/bar.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/bars_response.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_core_dto_base_64_file.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_fixedincomegateway_instrument_instrument_dto.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_holdingsystem_core_types_option_price_increment.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_instrument_specific_tax_lot_details.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_option_specific_tax_lot_details.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_option_specific_tax_lot_details_option_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_order_reference.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_out_of_date_status.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_out_of_date_status_description.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_out_of_date_status_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_unrealized_lot.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_unrealized_lot_summary.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_unrealized_lots_detail_response.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_unrealized_lots_summary_response.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_trading_core_quote_bond_quote_detail.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_trading_core_quote_quote_specific_detail.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_trading_core_quote_signed_quote.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_trading_core_quote_signed_quote_uptick_rule.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapiauthservice_api_personal_create_access_token_request.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapiauthservice_api_personal_create_access_token_response.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapiauthservice_domain_error_error_body.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_account_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_brokerage_account_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_options_level.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_response.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_trade_permissions.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_response_page.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction_direction.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction_security_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction_side.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction_sub_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_bonddetails_bond_details_response.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_bond_details.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_option_chain_request.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_option_chain_response.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_option_expirations_request.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_option_expirations_response.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_quote.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_quote_outcome.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_quote_request.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_quote_response.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_one_day_change.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_options_greeks_response.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_cancel_replace_order_request.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_cancel_replace_order_request_order_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto_fractional_trading.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto_option_spread_trading.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto_option_trading.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto_shorting_availability.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto_trading.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_response.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_multileg_order_request.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_multileg_order_request_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request_equity_market_session.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request_order_side.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request_order_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_result.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_leg_instrument.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_leg_instrument_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_instrument.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_instrument_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_leg.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_leg_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_leg_side.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_side.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_status.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_short_selling.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_short_selling_availability.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_short_selling_uptick_rule.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_tax_lot_matching_instruction.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_instrumentdetails_api_instrument_details.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_instrumentdetails_api_instrument_details_bond.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_instrumentdetails_api_instrument_details_crypto.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_order_expiration.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_order_expiration_time_in_force.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gain.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_buying_power.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_cost_basis.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_account_v2_account_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_equity_v2.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_equity_v2_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_instrument.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_instrument_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_position.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_strategy.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_strategy_leg.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_price.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_margin_impact.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_margin_requirement.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_option_details.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_option_details_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_option_rebate.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_price_increment.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_regulatory_fees.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_leg_response.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_leg_response_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_leg_response_side.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_multi_leg_request.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_multi_leg_request_order_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_multi_leg_response.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_request.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_request_equity_market_session.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_request_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_request_order_side.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_request_order_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_response.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_leg_dto.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_leg_dto_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_leg_dto_side.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_leg_instrument_dto.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_leg_instrument_dto_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_quote_dto.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_quote_dto_debit_credit.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_all_instruments_fractional_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_all_instruments_option_spread_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_all_instruments_option_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_all_instruments_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_all_instruments_type_filter_item.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_bars_v2_period.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_bars_v2_trading_session_toggle.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_bars_v2_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_bars_v2_with_aggregation_aggregation.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_bars_v2_with_aggregation_period.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_bars_v2_with_aggregation_trading_session_toggle.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_bars_v2_with_aggregation_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_instrument_type.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/last_session_close.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/leading_fill.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/market_session_bars.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/org_springframework_data_domain_page_com_hellopublic_fixedincomegateway_instrument_instrument_dto.py +18 -18
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/pageable_object.py +18 -18
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/regular_session_closing_data.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_bond_status_item.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_bond_type_item.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_coupon_frequency_item.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_rating_category.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_rating_item.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_sort_direction.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_sp_creditwatch_item.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_sp_outlook_item.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_treasury_subtype_item.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/sort_object.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/types.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/client.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/config.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/output.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/payloads.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/tests/test_client.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/tests/test_config.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/tests/test_output.py +0 -0
- {publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/tests/test_payloads.py +0 -0
|
@@ -5,6 +5,43 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.3.4] - 2026-09-10
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- Bracket-order support on `public order place`, mirroring the new `orderClass`,
|
|
12
|
+
`takeProfit` and `stopLoss` fields on the order request. New flags
|
|
13
|
+
`--order-class` (`SIMPLE`/`BRACKET`/`OCO`/`OTO`), `--take-profit-limit`,
|
|
14
|
+
`--stop-loss-stop` and `--stop-loss-limit` override the corresponding keys in
|
|
15
|
+
the request file. The CLI checks that a bracket class has at least one exit
|
|
16
|
+
leg and that exit legs carry a bracket class; the remaining constraints
|
|
17
|
+
(equities and options only, whole-share `quantity`, `CORE` session, `LIMIT`
|
|
18
|
+
or `MARKET` entry — `LIMIT` only for `OCO`) are enforced by the API.
|
|
19
|
+
- `examples/order.single-leg.bracket.json` sample payload.
|
|
20
|
+
- README "Bracket Orders" section covering the classes, flags, `bracketId`
|
|
21
|
+
grouping, and the bracket replacement rules.
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
- Regenerated `_generated/` from the updated `spec.yaml`:
|
|
25
|
+
- New `ComHellopublicUserapigatewayApiRestOrderApiOrderRequestOrderClass`
|
|
26
|
+
enum and `GatewayTakeProfit` / `GatewayStopLoss` models, wired as the
|
|
27
|
+
optional `order_class`, `take_profit` and `stop_loss` fields on the order
|
|
28
|
+
request.
|
|
29
|
+
- `bracket_id` on `GatewayOrder`.
|
|
30
|
+
- `nullable: true` was dropped from `OrderLeg`, `OptionGreeks` and
|
|
31
|
+
`GatewayAvailableToWithdraw` in the spec, so their generated `*_type_0`
|
|
32
|
+
variants collapse into plain models (5 files removed, 8 added).
|
|
33
|
+
- `PageableObject` field order follows a cosmetic key reorder in the spec (no
|
|
34
|
+
behavioral change).
|
|
35
|
+
- The generator's usual unrelated churn was reverted: the unpinned newer
|
|
36
|
+
generator rewrites `from_dict` to return `typing_extensions.Self` (not a
|
|
37
|
+
declared dependency) and emits `enum.StrEnum`, which requires Python 3.11
|
|
38
|
+
while this package supports 3.10. 147 files were normalized back.
|
|
39
|
+
|
|
40
|
+
### Notes
|
|
41
|
+
- The spec also tightened multileg `quantity` and `ratioQuantity` to
|
|
42
|
+
`exclusiveMinimum: 0`. The generated models carry no numeric constraints, so
|
|
43
|
+
this is a no-op for the CLI; the API rejects non-positive values.
|
|
44
|
+
|
|
8
45
|
## [1.3.3] - 2026-08-11
|
|
9
46
|
|
|
10
47
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: publicdotcom-cli
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.4
|
|
4
4
|
Summary: Command-line client for the Public.com Trading API
|
|
5
5
|
Project-URL: Homepage, https://github.com/publicdotcom/publicdotcom-cli
|
|
6
6
|
Project-URL: Repository, https://github.com/publicdotcom/publicdotcom-cli
|
|
@@ -255,6 +255,45 @@ Order-placement and single-leg preflight payloads also accept an optional
|
|
|
255
255
|
which tax lots to close when selling equity. See
|
|
256
256
|
`examples/order.single-leg.tax-lot-matching.json` for a sample.
|
|
257
257
|
|
|
258
|
+
### Bracket Orders
|
|
259
|
+
|
|
260
|
+
`order place` accepts bracket orders — an entry order with take-profit and/or stop-loss
|
|
261
|
+
exit legs that are placed automatically when the entry fills. Set `orderClass` to
|
|
262
|
+
`BRACKET`, `OCO` or `OTO` in the request file, or pass the flags:
|
|
263
|
+
|
|
264
|
+
```bash
|
|
265
|
+
public order place --file examples/order.single-leg.bracket.json
|
|
266
|
+
|
|
267
|
+
public order place --file examples/order.single-leg.market-buy.json \
|
|
268
|
+
--order-class BRACKET --take-profit-limit 245.00 --stop-loss-stop 210.00
|
|
269
|
+
|
|
270
|
+
# STOP_LIMIT stop-loss instead of a plain STOP
|
|
271
|
+
public order place --file examples/order.single-leg.market-buy.json \
|
|
272
|
+
--order-class OTO --stop-loss-stop 210.00 --stop-loss-limit 209.50
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
`--order-class`, `--take-profit-limit`, `--stop-loss-stop` and `--stop-loss-limit`
|
|
276
|
+
override `orderClass`, `takeProfit` and `stopLoss` in the request file. A bracket class
|
|
277
|
+
needs at least one exit leg, and exit legs need a bracket class — the CLI checks both
|
|
278
|
+
before submitting.
|
|
279
|
+
|
|
280
|
+
| Class | Meaning |
|
|
281
|
+
|---|---|
|
|
282
|
+
| `SIMPLE` (or omitted) | Standalone order — no exit legs. |
|
|
283
|
+
| `BRACKET` | Entry with take-profit and/or stop-loss exits. |
|
|
284
|
+
| `OCO` | One-cancels-other exits; the entry must be a `LIMIT` order. |
|
|
285
|
+
| `OTO` | One-triggers-other — the entry triggers the attached exit. |
|
|
286
|
+
|
|
287
|
+
The API enforces the remaining constraints: equities and options only, a whole-share
|
|
288
|
+
`quantity` (no `amount`), the `CORE` market session, and a `LIMIT` or `MARKET` entry
|
|
289
|
+
order type (`LIMIT` only for `OCO`). Responses from `order get` carry a `bracketId` —
|
|
290
|
+
the entry order's id, shared by every leg of the bracket, and absent on standalone
|
|
291
|
+
orders. See `examples/order.single-leg.bracket.json` for a full sample payload.
|
|
292
|
+
|
|
293
|
+
Bracket legs have their own replacement rules: the entry order cannot be replaced, and
|
|
294
|
+
the closing legs accept `limitPrice` / `stopPrice` replacements only — resubmit
|
|
295
|
+
`quantity`, `orderType` and `expiration` unchanged.
|
|
296
|
+
|
|
258
297
|
`order replace` submits a cancel-replace request for an open order. The replacement can
|
|
259
298
|
specify either a `quantity` or a notional `amount` — the two fields are mutually
|
|
260
299
|
exclusive. `--quantity` and `--amount` override the corresponding field in the request
|
|
@@ -217,6 +217,45 @@ Order-placement and single-leg preflight payloads also accept an optional
|
|
|
217
217
|
which tax lots to close when selling equity. See
|
|
218
218
|
`examples/order.single-leg.tax-lot-matching.json` for a sample.
|
|
219
219
|
|
|
220
|
+
### Bracket Orders
|
|
221
|
+
|
|
222
|
+
`order place` accepts bracket orders — an entry order with take-profit and/or stop-loss
|
|
223
|
+
exit legs that are placed automatically when the entry fills. Set `orderClass` to
|
|
224
|
+
`BRACKET`, `OCO` or `OTO` in the request file, or pass the flags:
|
|
225
|
+
|
|
226
|
+
```bash
|
|
227
|
+
public order place --file examples/order.single-leg.bracket.json
|
|
228
|
+
|
|
229
|
+
public order place --file examples/order.single-leg.market-buy.json \
|
|
230
|
+
--order-class BRACKET --take-profit-limit 245.00 --stop-loss-stop 210.00
|
|
231
|
+
|
|
232
|
+
# STOP_LIMIT stop-loss instead of a plain STOP
|
|
233
|
+
public order place --file examples/order.single-leg.market-buy.json \
|
|
234
|
+
--order-class OTO --stop-loss-stop 210.00 --stop-loss-limit 209.50
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
`--order-class`, `--take-profit-limit`, `--stop-loss-stop` and `--stop-loss-limit`
|
|
238
|
+
override `orderClass`, `takeProfit` and `stopLoss` in the request file. A bracket class
|
|
239
|
+
needs at least one exit leg, and exit legs need a bracket class — the CLI checks both
|
|
240
|
+
before submitting.
|
|
241
|
+
|
|
242
|
+
| Class | Meaning |
|
|
243
|
+
|---|---|
|
|
244
|
+
| `SIMPLE` (or omitted) | Standalone order — no exit legs. |
|
|
245
|
+
| `BRACKET` | Entry with take-profit and/or stop-loss exits. |
|
|
246
|
+
| `OCO` | One-cancels-other exits; the entry must be a `LIMIT` order. |
|
|
247
|
+
| `OTO` | One-triggers-other — the entry triggers the attached exit. |
|
|
248
|
+
|
|
249
|
+
The API enforces the remaining constraints: equities and options only, a whole-share
|
|
250
|
+
`quantity` (no `amount`), the `CORE` market session, and a `LIMIT` or `MARKET` entry
|
|
251
|
+
order type (`LIMIT` only for `OCO`). Responses from `order get` carry a `bracketId` —
|
|
252
|
+
the entry order's id, shared by every leg of the bracket, and absent on standalone
|
|
253
|
+
orders. See `examples/order.single-leg.bracket.json` for a full sample payload.
|
|
254
|
+
|
|
255
|
+
Bracket legs have their own replacement rules: the entry order cannot be replaced, and
|
|
256
|
+
the closing legs accept `limitPrice` / `stopPrice` replacements only — resubmit
|
|
257
|
+
`quantity`, `orderType` and `expiration` unchanged.
|
|
258
|
+
|
|
220
259
|
`order replace` submits a cancel-replace request for an open order. The replacement can
|
|
221
260
|
specify either a `quantity` or a notional `amount` — the two fields are mutually
|
|
222
261
|
exclusive. `--quantity` and `--amount` override the corresponding field in the request
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"instrument": {
|
|
3
|
+
"symbol": "AAPL",
|
|
4
|
+
"type": "EQUITY"
|
|
5
|
+
},
|
|
6
|
+
"orderSide": "BUY",
|
|
7
|
+
"orderType": "LIMIT",
|
|
8
|
+
"expiration": {
|
|
9
|
+
"timeInForce": "DAY"
|
|
10
|
+
},
|
|
11
|
+
"quantity": "10",
|
|
12
|
+
"limitPrice": "227.50",
|
|
13
|
+
"equityMarketSession": "CORE",
|
|
14
|
+
"orderClass": "BRACKET",
|
|
15
|
+
"takeProfit": {
|
|
16
|
+
"limitPrice": "245.00"
|
|
17
|
+
},
|
|
18
|
+
"stopLoss": {
|
|
19
|
+
"stopPrice": "210.00"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -78,6 +78,10 @@ def sync_detailed(
|
|
|
78
78
|
|
|
79
79
|
Submits a new order asynchronously for the specified account.
|
|
80
80
|
|
|
81
|
+
Bracket orders: set orderClass to BRACKET, OCO, or OTO and supply takeProfit and/or stopLoss. The
|
|
82
|
+
returned orderId
|
|
83
|
+
identifies the entry order; the exit legs are placed automatically when the entry fills.
|
|
84
|
+
|
|
81
85
|
Note: Order placement is asynchronous. The returned result confirms submission, not execution or
|
|
82
86
|
visibility.
|
|
83
87
|
To retrieve the order status or execution details, query the GET /{orderId} endpoint after
|
|
@@ -119,6 +123,10 @@ def sync(
|
|
|
119
123
|
|
|
120
124
|
Submits a new order asynchronously for the specified account.
|
|
121
125
|
|
|
126
|
+
Bracket orders: set orderClass to BRACKET, OCO, or OTO and supply takeProfit and/or stopLoss. The
|
|
127
|
+
returned orderId
|
|
128
|
+
identifies the entry order; the exit legs are placed automatically when the entry fills.
|
|
129
|
+
|
|
122
130
|
Note: Order placement is asynchronous. The returned result confirms submission, not execution or
|
|
123
131
|
visibility.
|
|
124
132
|
To retrieve the order status or execution details, query the GET /{orderId} endpoint after
|
|
@@ -155,6 +163,10 @@ async def asyncio_detailed(
|
|
|
155
163
|
|
|
156
164
|
Submits a new order asynchronously for the specified account.
|
|
157
165
|
|
|
166
|
+
Bracket orders: set orderClass to BRACKET, OCO, or OTO and supply takeProfit and/or stopLoss. The
|
|
167
|
+
returned orderId
|
|
168
|
+
identifies the entry order; the exit legs are placed automatically when the entry fills.
|
|
169
|
+
|
|
158
170
|
Note: Order placement is asynchronous. The returned result confirms submission, not execution or
|
|
159
171
|
visibility.
|
|
160
172
|
To retrieve the order status or execution details, query the GET /{orderId} endpoint after
|
|
@@ -194,6 +206,10 @@ async def asyncio(
|
|
|
194
206
|
|
|
195
207
|
Submits a new order asynchronously for the specified account.
|
|
196
208
|
|
|
209
|
+
Bracket orders: set orderClass to BRACKET, OCO, or OTO and supply takeProfit and/or stopLoss. The
|
|
210
|
+
returned orderId
|
|
211
|
+
identifies the entry order; the exit legs are placed automatically when the entry fills.
|
|
212
|
+
|
|
197
213
|
Note: Order placement is asynchronous. The returned result confirms submission, not execution or
|
|
198
214
|
visibility.
|
|
199
215
|
To retrieve the order status or execution details, query the GET /{orderId} endpoint after
|
|
@@ -82,6 +82,9 @@ def sync_detailed(
|
|
|
82
82
|
Note: Order replacement is asynchronous. This response confirms submission only. To verify the order
|
|
83
83
|
status or execution details, use the GET /{orderId} endpoint after replacement.
|
|
84
84
|
Supported for equity, option, and crypto quantity orders.
|
|
85
|
+
Bracket orders: the opening (entry) order cannot be replaced. The closing legs (take-profit, stop-
|
|
86
|
+
loss, and both legs of an OCO) can have their limitPrice and stopPrice replaced; quantity, orderType
|
|
87
|
+
and expiration must be resubmitted unchanged.
|
|
85
88
|
|
|
86
89
|
Args:
|
|
87
90
|
account_id (str):
|
|
@@ -124,6 +127,9 @@ def sync(
|
|
|
124
127
|
Note: Order replacement is asynchronous. This response confirms submission only. To verify the order
|
|
125
128
|
status or execution details, use the GET /{orderId} endpoint after replacement.
|
|
126
129
|
Supported for equity, option, and crypto quantity orders.
|
|
130
|
+
Bracket orders: the opening (entry) order cannot be replaced. The closing legs (take-profit, stop-
|
|
131
|
+
loss, and both legs of an OCO) can have their limitPrice and stopPrice replaced; quantity, orderType
|
|
132
|
+
and expiration must be resubmitted unchanged.
|
|
127
133
|
|
|
128
134
|
Args:
|
|
129
135
|
account_id (str):
|
|
@@ -161,6 +167,9 @@ async def asyncio_detailed(
|
|
|
161
167
|
Note: Order replacement is asynchronous. This response confirms submission only. To verify the order
|
|
162
168
|
status or execution details, use the GET /{orderId} endpoint after replacement.
|
|
163
169
|
Supported for equity, option, and crypto quantity orders.
|
|
170
|
+
Bracket orders: the opening (entry) order cannot be replaced. The closing legs (take-profit, stop-
|
|
171
|
+
loss, and both legs of an OCO) can have their limitPrice and stopPrice replaced; quantity, orderType
|
|
172
|
+
and expiration must be resubmitted unchanged.
|
|
164
173
|
|
|
165
174
|
Args:
|
|
166
175
|
account_id (str):
|
|
@@ -201,6 +210,9 @@ async def asyncio(
|
|
|
201
210
|
Note: Order replacement is asynchronous. This response confirms submission only. To verify the order
|
|
202
211
|
status or execution details, use the GET /{orderId} endpoint after replacement.
|
|
203
212
|
Supported for equity, option, and crypto quantity orders.
|
|
213
|
+
Bracket orders: the opening (entry) order cannot be replaced. The closing legs (take-profit, stop-
|
|
214
|
+
loss, and both legs of an OCO) can have their limitPrice and stopPrice replaced; quantity, orderType
|
|
215
|
+
and expiration must be resubmitted unchanged.
|
|
204
216
|
|
|
205
217
|
Args:
|
|
206
218
|
account_id (str):
|
{publicdotcom_cli-1.3.3 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/__init__.py
RENAMED
|
@@ -144,8 +144,8 @@ from .com_hellopublic_userapigateway_api_rest_options_greek_response import (
|
|
|
144
144
|
from .com_hellopublic_userapigateway_api_rest_options_greeks_response import (
|
|
145
145
|
ComHellopublicUserapigatewayApiRestOptionsGreeksResponse,
|
|
146
146
|
)
|
|
147
|
-
from .
|
|
148
|
-
|
|
147
|
+
from .com_hellopublic_userapigateway_api_rest_options_option_greeks import (
|
|
148
|
+
ComHellopublicUserapigatewayApiRestOptionsOptionGreeks,
|
|
149
149
|
)
|
|
150
150
|
from .com_hellopublic_userapigateway_api_rest_order_api_cancel_replace_order_request import (
|
|
151
151
|
ComHellopublicUserapigatewayApiRestOrderApiCancelReplaceOrderRequest,
|
|
@@ -189,6 +189,9 @@ from .com_hellopublic_userapigateway_api_rest_order_api_order_request_equity_mar
|
|
|
189
189
|
from .com_hellopublic_userapigateway_api_rest_order_api_order_request_open_close_indicator import (
|
|
190
190
|
ComHellopublicUserapigatewayApiRestOrderApiOrderRequestOpenCloseIndicator,
|
|
191
191
|
)
|
|
192
|
+
from .com_hellopublic_userapigateway_api_rest_order_api_order_request_order_class import (
|
|
193
|
+
ComHellopublicUserapigatewayApiRestOrderApiOrderRequestOrderClass,
|
|
194
|
+
)
|
|
192
195
|
from .com_hellopublic_userapigateway_api_rest_order_api_order_request_order_side import (
|
|
193
196
|
ComHellopublicUserapigatewayApiRestOrderApiOrderRequestOrderSide,
|
|
194
197
|
)
|
|
@@ -243,6 +246,12 @@ from .com_hellopublic_userapigateway_api_rest_order_gateway_short_selling_availa
|
|
|
243
246
|
from .com_hellopublic_userapigateway_api_rest_order_gateway_short_selling_uptick_rule import (
|
|
244
247
|
ComHellopublicUserapigatewayApiRestOrderGatewayShortSellingUptickRule,
|
|
245
248
|
)
|
|
249
|
+
from .com_hellopublic_userapigateway_api_rest_order_gateway_stop_loss import (
|
|
250
|
+
ComHellopublicUserapigatewayApiRestOrderGatewayStopLoss,
|
|
251
|
+
)
|
|
252
|
+
from .com_hellopublic_userapigateway_api_rest_order_gateway_take_profit import (
|
|
253
|
+
ComHellopublicUserapigatewayApiRestOrderGatewayTakeProfit,
|
|
254
|
+
)
|
|
246
255
|
from .com_hellopublic_userapigateway_api_rest_order_gateway_tax_lot_matching_instruction import (
|
|
247
256
|
ComHellopublicUserapigatewayApiRestOrderGatewayTaxLotMatchingInstruction,
|
|
248
257
|
)
|
|
@@ -264,8 +273,8 @@ from .com_hellopublic_userapigateway_api_rest_order_order_expiration_time_in_for
|
|
|
264
273
|
from .com_hellopublic_userapigateway_api_rest_portfolio_gain import (
|
|
265
274
|
ComHellopublicUserapigatewayApiRestPortfolioGain,
|
|
266
275
|
)
|
|
267
|
-
from .
|
|
268
|
-
|
|
276
|
+
from .com_hellopublic_userapigateway_api_rest_portfolio_gateway_available_to_withdraw import (
|
|
277
|
+
ComHellopublicUserapigatewayApiRestPortfolioGatewayAvailableToWithdraw,
|
|
269
278
|
)
|
|
270
279
|
from .com_hellopublic_userapigateway_api_rest_portfolio_gateway_buying_power import (
|
|
271
280
|
ComHellopublicUserapigatewayApiRestPortfolioGatewayBuyingPower,
|
|
@@ -360,14 +369,14 @@ from .com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_req
|
|
|
360
369
|
from .com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_response import (
|
|
361
370
|
ComHellopublicUserapigatewayApiRestPreflightPreflightSingleLegResponse,
|
|
362
371
|
)
|
|
363
|
-
from .
|
|
364
|
-
|
|
372
|
+
from .com_matadorapp_shared_customerordergateway_dto_order_leg import (
|
|
373
|
+
ComMatadorappSharedCustomerordergatewayDtoOrderLeg,
|
|
365
374
|
)
|
|
366
|
-
from .
|
|
367
|
-
|
|
375
|
+
from .com_matadorapp_shared_customerordergateway_dto_order_leg_open_close_indicator import (
|
|
376
|
+
ComMatadorappSharedCustomerordergatewayDtoOrderLegOpenCloseIndicator,
|
|
368
377
|
)
|
|
369
|
-
from .
|
|
370
|
-
|
|
378
|
+
from .com_matadorapp_shared_customerordergateway_dto_order_leg_side import (
|
|
379
|
+
ComMatadorappSharedCustomerordergatewayDtoOrderLegSide,
|
|
371
380
|
)
|
|
372
381
|
from .com_matadorapp_shared_customerordergateway_dto_strategy_leg_dto import (
|
|
373
382
|
ComMatadorappSharedCustomerordergatewayDtoStrategyLegDto,
|
|
@@ -445,9 +454,9 @@ __all__ = (
|
|
|
445
454
|
"ComHellopublicHstier2ServiceTaxlotsApiOutOfDateStatusDescription",
|
|
446
455
|
"ComHellopublicHstier2ServiceTaxlotsApiOutOfDateStatusType",
|
|
447
456
|
"ComHellopublicHstier2ServiceTaxlotsApiUnrealizedLot",
|
|
457
|
+
"ComHellopublicHstier2ServiceTaxlotsApiUnrealizedLotSummary",
|
|
448
458
|
"ComHellopublicHstier2ServiceTaxlotsApiUnrealizedLotsDetailResponse",
|
|
449
459
|
"ComHellopublicHstier2ServiceTaxlotsApiUnrealizedLotsSummaryResponse",
|
|
450
|
-
"ComHellopublicHstier2ServiceTaxlotsApiUnrealizedLotSummary",
|
|
451
460
|
"ComHellopublicTradingCoreQuoteBondQuoteDetail",
|
|
452
461
|
"ComHellopublicTradingCoreQuoteQuoteSpecificDetail",
|
|
453
462
|
"ComHellopublicTradingCoreQuoteSignedQuote",
|
|
@@ -482,7 +491,7 @@ __all__ = (
|
|
|
482
491
|
"ComHellopublicUserapigatewayApiRestMarketdataQuoteOptionDetails",
|
|
483
492
|
"ComHellopublicUserapigatewayApiRestOptionsGreekResponse",
|
|
484
493
|
"ComHellopublicUserapigatewayApiRestOptionsGreeksResponse",
|
|
485
|
-
"
|
|
494
|
+
"ComHellopublicUserapigatewayApiRestOptionsOptionGreeks",
|
|
486
495
|
"ComHellopublicUserapigatewayApiRestOrderApiCancelReplaceOrderRequest",
|
|
487
496
|
"ComHellopublicUserapigatewayApiRestOrderApiCancelReplaceOrderRequestOrderType",
|
|
488
497
|
"ComHellopublicUserapigatewayApiRestOrderApiInstrumentDto",
|
|
@@ -497,6 +506,7 @@ __all__ = (
|
|
|
497
506
|
"ComHellopublicUserapigatewayApiRestOrderApiOrderRequest",
|
|
498
507
|
"ComHellopublicUserapigatewayApiRestOrderApiOrderRequestEquityMarketSession",
|
|
499
508
|
"ComHellopublicUserapigatewayApiRestOrderApiOrderRequestOpenCloseIndicator",
|
|
509
|
+
"ComHellopublicUserapigatewayApiRestOrderApiOrderRequestOrderClass",
|
|
500
510
|
"ComHellopublicUserapigatewayApiRestOrderApiOrderRequestOrderSide",
|
|
501
511
|
"ComHellopublicUserapigatewayApiRestOrderApiOrderRequestOrderType",
|
|
502
512
|
"ComHellopublicUserapigatewayApiRestOrderApiOrderResult",
|
|
@@ -515,6 +525,8 @@ __all__ = (
|
|
|
515
525
|
"ComHellopublicUserapigatewayApiRestOrderGatewayShortSelling",
|
|
516
526
|
"ComHellopublicUserapigatewayApiRestOrderGatewayShortSellingAvailability",
|
|
517
527
|
"ComHellopublicUserapigatewayApiRestOrderGatewayShortSellingUptickRule",
|
|
528
|
+
"ComHellopublicUserapigatewayApiRestOrderGatewayStopLoss",
|
|
529
|
+
"ComHellopublicUserapigatewayApiRestOrderGatewayTakeProfit",
|
|
518
530
|
"ComHellopublicUserapigatewayApiRestOrderGatewayTaxLotMatchingInstruction",
|
|
519
531
|
"ComHellopublicUserapigatewayApiRestOrderInstrumentdetailsApiInstrumentDetails",
|
|
520
532
|
"ComHellopublicUserapigatewayApiRestOrderInstrumentdetailsApiInstrumentDetailsBond",
|
|
@@ -522,7 +534,7 @@ __all__ = (
|
|
|
522
534
|
"ComHellopublicUserapigatewayApiRestOrderOrderExpiration",
|
|
523
535
|
"ComHellopublicUserapigatewayApiRestOrderOrderExpirationTimeInForce",
|
|
524
536
|
"ComHellopublicUserapigatewayApiRestPortfolioGain",
|
|
525
|
-
"
|
|
537
|
+
"ComHellopublicUserapigatewayApiRestPortfolioGatewayAvailableToWithdraw",
|
|
526
538
|
"ComHellopublicUserapigatewayApiRestPortfolioGatewayBuyingPower",
|
|
527
539
|
"ComHellopublicUserapigatewayApiRestPortfolioGatewayCostBasis",
|
|
528
540
|
"ComHellopublicUserapigatewayApiRestPortfolioGatewayPortfolioAccountV2",
|
|
@@ -554,9 +566,9 @@ __all__ = (
|
|
|
554
566
|
"ComHellopublicUserapigatewayApiRestPreflightPreflightSingleLegRequestOrderSide",
|
|
555
567
|
"ComHellopublicUserapigatewayApiRestPreflightPreflightSingleLegRequestOrderType",
|
|
556
568
|
"ComHellopublicUserapigatewayApiRestPreflightPreflightSingleLegResponse",
|
|
557
|
-
"
|
|
558
|
-
"
|
|
559
|
-
"
|
|
569
|
+
"ComMatadorappSharedCustomerordergatewayDtoOrderLeg",
|
|
570
|
+
"ComMatadorappSharedCustomerordergatewayDtoOrderLegOpenCloseIndicator",
|
|
571
|
+
"ComMatadorappSharedCustomerordergatewayDtoOrderLegSide",
|
|
560
572
|
"ComMatadorappSharedCustomerordergatewayDtoStrategyLegDto",
|
|
561
573
|
"ComMatadorappSharedCustomerordergatewayDtoStrategyLegDtoOpenCloseIndicator",
|
|
562
574
|
"ComMatadorappSharedCustomerordergatewayDtoStrategyLegDtoSide",
|
|
@@ -9,8 +9,8 @@ from attrs import field as _attrs_field
|
|
|
9
9
|
from ..types import UNSET, Unset
|
|
10
10
|
|
|
11
11
|
if TYPE_CHECKING:
|
|
12
|
-
from ..models.
|
|
13
|
-
|
|
12
|
+
from ..models.com_hellopublic_userapigateway_api_rest_options_option_greeks import (
|
|
13
|
+
ComHellopublicUserapigatewayApiRestOptionsOptionGreeks,
|
|
14
14
|
)
|
|
15
15
|
|
|
16
16
|
|
|
@@ -23,30 +23,22 @@ class ComHellopublicUserapigatewayApiRestMarketdataQuoteOptionDetails:
|
|
|
23
23
|
|
|
24
24
|
Attributes:
|
|
25
25
|
strike_price (str): The strike price for the option contract.
|
|
26
|
-
greeks (
|
|
26
|
+
greeks (ComHellopublicUserapigatewayApiRestOptionsOptionGreeks | Unset):
|
|
27
27
|
mid_price (None | str | Unset): The mid price (average of bid and ask) for the option contract.
|
|
28
28
|
Null if bid/ask data is not available.
|
|
29
29
|
"""
|
|
30
30
|
|
|
31
31
|
strike_price: str
|
|
32
|
-
greeks:
|
|
32
|
+
greeks: ComHellopublicUserapigatewayApiRestOptionsOptionGreeks | Unset = UNSET
|
|
33
33
|
mid_price: None | str | Unset = UNSET
|
|
34
34
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
35
35
|
|
|
36
36
|
def to_dict(self) -> dict[str, Any]:
|
|
37
|
-
from ..models.com_hellopublic_userapigateway_api_rest_options_option_greeks_type_0 import (
|
|
38
|
-
ComHellopublicUserapigatewayApiRestOptionsOptionGreeksType0,
|
|
39
|
-
)
|
|
40
|
-
|
|
41
37
|
strike_price = self.strike_price
|
|
42
38
|
|
|
43
|
-
greeks: dict[str, Any] |
|
|
44
|
-
if isinstance(self.greeks, Unset):
|
|
45
|
-
greeks = UNSET
|
|
46
|
-
elif isinstance(self.greeks, ComHellopublicUserapigatewayApiRestOptionsOptionGreeksType0):
|
|
39
|
+
greeks: dict[str, Any] | Unset = UNSET
|
|
40
|
+
if not isinstance(self.greeks, Unset):
|
|
47
41
|
greeks = self.greeks.to_dict()
|
|
48
|
-
else:
|
|
49
|
-
greeks = self.greeks
|
|
50
42
|
|
|
51
43
|
mid_price: None | str | Unset
|
|
52
44
|
if isinstance(self.mid_price, Unset):
|
|
@@ -70,35 +62,19 @@ class ComHellopublicUserapigatewayApiRestMarketdataQuoteOptionDetails:
|
|
|
70
62
|
|
|
71
63
|
@classmethod
|
|
72
64
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
73
|
-
from ..models.
|
|
74
|
-
|
|
65
|
+
from ..models.com_hellopublic_userapigateway_api_rest_options_option_greeks import (
|
|
66
|
+
ComHellopublicUserapigatewayApiRestOptionsOptionGreeks,
|
|
75
67
|
)
|
|
76
68
|
|
|
77
69
|
d = dict(src_dict)
|
|
78
70
|
strike_price = d.pop("strikePrice")
|
|
79
71
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
return data
|
|
87
|
-
try:
|
|
88
|
-
if not isinstance(data, dict):
|
|
89
|
-
raise TypeError()
|
|
90
|
-
componentsschemascom_hellopublic_userapigateway_api_rest_options_option_greeks_type_0 = ComHellopublicUserapigatewayApiRestOptionsOptionGreeksType0.from_dict(
|
|
91
|
-
data
|
|
92
|
-
)
|
|
93
|
-
|
|
94
|
-
return componentsschemascom_hellopublic_userapigateway_api_rest_options_option_greeks_type_0
|
|
95
|
-
except (TypeError, ValueError, AttributeError, KeyError):
|
|
96
|
-
pass
|
|
97
|
-
return cast(
|
|
98
|
-
ComHellopublicUserapigatewayApiRestOptionsOptionGreeksType0 | None | Unset, data
|
|
99
|
-
)
|
|
100
|
-
|
|
101
|
-
greeks = _parse_greeks(d.pop("greeks", UNSET))
|
|
72
|
+
_greeks = d.pop("greeks", UNSET)
|
|
73
|
+
greeks: ComHellopublicUserapigatewayApiRestOptionsOptionGreeks | Unset
|
|
74
|
+
if isinstance(_greeks, Unset):
|
|
75
|
+
greeks = UNSET
|
|
76
|
+
else:
|
|
77
|
+
greeks = ComHellopublicUserapigatewayApiRestOptionsOptionGreeks.from_dict(_greeks)
|
|
102
78
|
|
|
103
79
|
def _parse_mid_price(data: object) -> None | str | Unset:
|
|
104
80
|
if data is None:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
from collections.abc import Mapping
|
|
4
|
-
from typing import TYPE_CHECKING, Any, TypeVar
|
|
4
|
+
from typing import TYPE_CHECKING, Any, TypeVar
|
|
5
5
|
|
|
6
6
|
from attrs import define as _attrs_define
|
|
7
7
|
from attrs import field as _attrs_field
|
|
@@ -9,8 +9,8 @@ from attrs import field as _attrs_field
|
|
|
9
9
|
from ..types import UNSET, Unset
|
|
10
10
|
|
|
11
11
|
if TYPE_CHECKING:
|
|
12
|
-
from ..models.
|
|
13
|
-
|
|
12
|
+
from ..models.com_hellopublic_userapigateway_api_rest_options_option_greeks import (
|
|
13
|
+
ComHellopublicUserapigatewayApiRestOptionsOptionGreeks,
|
|
14
14
|
)
|
|
15
15
|
|
|
16
16
|
|
|
@@ -22,27 +22,19 @@ class ComHellopublicUserapigatewayApiRestOptionsGreekResponse:
|
|
|
22
22
|
"""
|
|
23
23
|
Attributes:
|
|
24
24
|
symbol (str): The OSI-normalized format of the option symbol
|
|
25
|
-
greeks (
|
|
25
|
+
greeks (ComHellopublicUserapigatewayApiRestOptionsOptionGreeks | Unset):
|
|
26
26
|
"""
|
|
27
27
|
|
|
28
28
|
symbol: str
|
|
29
|
-
greeks:
|
|
29
|
+
greeks: ComHellopublicUserapigatewayApiRestOptionsOptionGreeks | Unset = UNSET
|
|
30
30
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
31
31
|
|
|
32
32
|
def to_dict(self) -> dict[str, Any]:
|
|
33
|
-
from ..models.com_hellopublic_userapigateway_api_rest_options_option_greeks_type_0 import (
|
|
34
|
-
ComHellopublicUserapigatewayApiRestOptionsOptionGreeksType0,
|
|
35
|
-
)
|
|
36
|
-
|
|
37
33
|
symbol = self.symbol
|
|
38
34
|
|
|
39
|
-
greeks: dict[str, Any] |
|
|
40
|
-
if isinstance(self.greeks, Unset):
|
|
41
|
-
greeks = UNSET
|
|
42
|
-
elif isinstance(self.greeks, ComHellopublicUserapigatewayApiRestOptionsOptionGreeksType0):
|
|
35
|
+
greeks: dict[str, Any] | Unset = UNSET
|
|
36
|
+
if not isinstance(self.greeks, Unset):
|
|
43
37
|
greeks = self.greeks.to_dict()
|
|
44
|
-
else:
|
|
45
|
-
greeks = self.greeks
|
|
46
38
|
|
|
47
39
|
field_dict: dict[str, Any] = {}
|
|
48
40
|
field_dict.update(self.additional_properties)
|
|
@@ -58,35 +50,19 @@ class ComHellopublicUserapigatewayApiRestOptionsGreekResponse:
|
|
|
58
50
|
|
|
59
51
|
@classmethod
|
|
60
52
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
61
|
-
from ..models.
|
|
62
|
-
|
|
53
|
+
from ..models.com_hellopublic_userapigateway_api_rest_options_option_greeks import (
|
|
54
|
+
ComHellopublicUserapigatewayApiRestOptionsOptionGreeks,
|
|
63
55
|
)
|
|
64
56
|
|
|
65
57
|
d = dict(src_dict)
|
|
66
58
|
symbol = d.pop("symbol")
|
|
67
59
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
return data
|
|
75
|
-
try:
|
|
76
|
-
if not isinstance(data, dict):
|
|
77
|
-
raise TypeError()
|
|
78
|
-
componentsschemascom_hellopublic_userapigateway_api_rest_options_option_greeks_type_0 = ComHellopublicUserapigatewayApiRestOptionsOptionGreeksType0.from_dict(
|
|
79
|
-
data
|
|
80
|
-
)
|
|
81
|
-
|
|
82
|
-
return componentsschemascom_hellopublic_userapigateway_api_rest_options_option_greeks_type_0
|
|
83
|
-
except (TypeError, ValueError, AttributeError, KeyError):
|
|
84
|
-
pass
|
|
85
|
-
return cast(
|
|
86
|
-
ComHellopublicUserapigatewayApiRestOptionsOptionGreeksType0 | None | Unset, data
|
|
87
|
-
)
|
|
88
|
-
|
|
89
|
-
greeks = _parse_greeks(d.pop("greeks", UNSET))
|
|
60
|
+
_greeks = d.pop("greeks", UNSET)
|
|
61
|
+
greeks: ComHellopublicUserapigatewayApiRestOptionsOptionGreeks | Unset
|
|
62
|
+
if isinstance(_greeks, Unset):
|
|
63
|
+
greeks = UNSET
|
|
64
|
+
else:
|
|
65
|
+
greeks = ComHellopublicUserapigatewayApiRestOptionsOptionGreeks.from_dict(_greeks)
|
|
90
66
|
|
|
91
67
|
com_hellopublic_userapigateway_api_rest_options_greek_response = cls(
|
|
92
68
|
symbol=symbol,
|
|
@@ -8,11 +8,11 @@ from attrs import field as _attrs_field
|
|
|
8
8
|
|
|
9
9
|
from ..types import UNSET, Unset
|
|
10
10
|
|
|
11
|
-
T = TypeVar("T", bound="
|
|
11
|
+
T = TypeVar("T", bound="ComHellopublicUserapigatewayApiRestOptionsOptionGreeks")
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
@_attrs_define
|
|
15
|
-
class
|
|
15
|
+
class ComHellopublicUserapigatewayApiRestOptionsOptionGreeks:
|
|
16
16
|
"""
|
|
17
17
|
Attributes:
|
|
18
18
|
delta (str | Unset): Delta is the theoretical estimate of how much an option's value may change given a $1 move
|
|
@@ -88,7 +88,7 @@ class ComHellopublicUserapigatewayApiRestOptionsOptionGreeksType0:
|
|
|
88
88
|
|
|
89
89
|
implied_volatility = d.pop("impliedVolatility", UNSET)
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
com_hellopublic_userapigateway_api_rest_options_option_greeks = cls(
|
|
92
92
|
delta=delta,
|
|
93
93
|
gamma=gamma,
|
|
94
94
|
theta=theta,
|
|
@@ -97,8 +97,8 @@ class ComHellopublicUserapigatewayApiRestOptionsOptionGreeksType0:
|
|
|
97
97
|
implied_volatility=implied_volatility,
|
|
98
98
|
)
|
|
99
99
|
|
|
100
|
-
|
|
101
|
-
return
|
|
100
|
+
com_hellopublic_userapigateway_api_rest_options_option_greeks.additional_properties = d
|
|
101
|
+
return com_hellopublic_userapigateway_api_rest_options_option_greeks
|
|
102
102
|
|
|
103
103
|
@property
|
|
104
104
|
def additional_keys(self) -> list[str]:
|