publicdotcom-cli 1.3.2__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.2 → publicdotcom_cli-1.3.4}/CHANGELOG.md +62 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/PKG-INFO +48 -2
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/README.md +46 -0
- publicdotcom_cli-1.3.4/examples/order.single-leg.bracket.json +21 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/pyproject.toml +1 -1
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/__init__.py +1 -1
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/market_data/get_bars_v2.py +15 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/market_data/get_bars_v2_with_aggregation.py +15 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/place_order.py +16 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/replace_order.py +12 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/__init__.py +30 -16
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/bars_response.py +18 -0
- {publicdotcom_cli-1.3.2 → 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.2 → 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.2/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.2 → 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.2 → 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.2/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.2 → 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.2/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.2/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.2/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.4/src/publicdotcom_cli/_generated/models/leading_fill.py +99 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/cli.py +117 -1
- publicdotcom_cli-1.3.4/tests/test_cli.py +248 -0
- {publicdotcom_cli-1.3.2 → 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.2 → publicdotcom_cli-1.3.4}/uv.lock +1 -1
- publicdotcom_cli-1.3.2/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_quote_request.py +0 -157
- publicdotcom_cli-1.3.2/tests/test_cli.py +0 -96
- publicdotcom_cli-1.3.2/tests/test_generated_models.py +0 -26
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/.gitattributes +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/.github/workflows/ci.yml +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/.github/workflows/release.yml +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/.gitignore +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/LICENSE +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/examples/order.replace.notional.json +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/examples/order.single-leg.cash-only.json +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/examples/order.single-leg.market-buy.json +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/examples/order.single-leg.tax-lot-matching.json +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/examples/strategy-quote.request.json +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/scripts/generate_client.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/__main__.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/__init__.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/__init__.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/account_details/__init__.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/account_details/get_account_portfolio_v2.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/account_details/get_history.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/authorization/__init__.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/authorization/create_personal_access_token.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/instrument_details/__init__.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/instrument_details/get_all_instruments.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/instrument_details/get_instrument.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/instrument_details/search_bonds.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/list_accounts/__init__.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/list_accounts/get_accounts.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/market_data/__init__.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/market_data/get_bond_details.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/market_data/get_option_chain.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/market_data/get_option_expirations.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/market_data/get_quotes.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/option_details/__init__.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/option_details/get_option_greeks.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/option_details/get_strategy_quote.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/__init__.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/cancel_order.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/get_order.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/place_multileg_order.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/preflight_multi_leg.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/order_placement/preflight_single_leg.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/tax_lot_selling/__init__.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/api/tax_lot_selling/get_unrealized_tax_lots.py +0 -0
- {publicdotcom_cli-1.3.2 → 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.2 → 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.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/client.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/errors.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/bar.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_core_dto_base_64_file.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_fixedincomegateway_instrument_instrument_dto.py +0 -0
- {publicdotcom_cli-1.3.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_trading_core_quote_signed_quote.py +0 -0
- {publicdotcom_cli-1.3.2 → 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.2 → 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.2 → 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.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapiauthservice_domain_error_error_body.py +0 -0
- {publicdotcom_cli-1.3.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gain.py +0 -0
- {publicdotcom_cli-1.3.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_price.py +0 -0
- {publicdotcom_cli-1.3.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → 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.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_all_instruments_fractional_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.3.2 → 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.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_all_instruments_option_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_all_instruments_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_all_instruments_type_filter_item.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_bars_v2_period.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_bars_v2_trading_session_toggle.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_bars_v2_type.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_bars_v2_with_aggregation_aggregation.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_bars_v2_with_aggregation_period.py +0 -0
- {publicdotcom_cli-1.3.2 → 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.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_bars_v2_with_aggregation_type.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/get_instrument_type.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/last_session_close.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/market_session_bars.py +0 -0
- {publicdotcom_cli-1.3.2 → 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.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/pageable_object.py +9 -9
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/regular_session_closing_data.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_bond_status_item.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_bond_type_item.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_coupon_frequency_item.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_rating_category.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_rating_item.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_sort_direction.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_sp_creditwatch_item.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_sp_outlook_item.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/search_bonds_treasury_subtype_item.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/models/sort_object.py +9 -9
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/_generated/types.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/client.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/config.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/output.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/src/publicdotcom_cli/payloads.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/tests/test_client.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/tests/test_config.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/tests/test_output.py +0 -0
- {publicdotcom_cli-1.3.2 → publicdotcom_cli-1.3.4}/tests/test_payloads.py +0 -0
|
@@ -5,6 +5,68 @@ 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
|
+
|
|
45
|
+
## [1.3.3] - 2026-08-11
|
|
46
|
+
|
|
47
|
+
### Added
|
|
48
|
+
- `--ipo-date` option on `public historicdata bars`, mirroring the new optional
|
|
49
|
+
`ipoDate` query parameter on both historic-data endpoints. Supplying the
|
|
50
|
+
asset's IPO / first-trade date lets the backend switch to a finer aggregation
|
|
51
|
+
over post-IPO history for assets younger than the requested period; the
|
|
52
|
+
response then includes a `leadingFill` object describing the flat pre-IPO
|
|
53
|
+
lead-in. Omitted, behavior is unchanged; not applied to the `DAY` chart.
|
|
54
|
+
- README examples for `--ipo-date`.
|
|
55
|
+
|
|
56
|
+
### Changed
|
|
57
|
+
- Regenerated `_generated/` from the updated `spec.yaml`:
|
|
58
|
+
- New `LeadingFill` model (`startTimestamp`, `endTimestamp`, `value`,
|
|
59
|
+
`count`, `includedInTotalExpectedBars`, all required) and the optional
|
|
60
|
+
`leadingFill` field on `BarsResponse`.
|
|
61
|
+
- `ipo_date` parameter on the `get_bars_v2` and
|
|
62
|
+
`get_bars_v2_with_aggregation` endpoint modules.
|
|
63
|
+
- `PageableObject` / `SortObject` field order follows a cosmetic key reorder
|
|
64
|
+
in the spec (no behavioral change).
|
|
65
|
+
- The generator's usual unrelated churn (unpinned newer generator rewriting
|
|
66
|
+
`from_dict` to `typing_extensions.Self`, which is not a declared
|
|
67
|
+
dependency) was reverted; new/changed files were normalized to the
|
|
68
|
+
vendored TypeVar style.
|
|
69
|
+
|
|
8
70
|
## [1.3.2] - 2026-08-05
|
|
9
71
|
|
|
10
72
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
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
|
|
@@ -192,6 +192,7 @@ public options strategy-quote --file examples/strategy-quote.request.json
|
|
|
192
192
|
public historicdata bars EQUITY AAPL YEAR
|
|
193
193
|
public historicdata bars EQUITY AAPL DAY --aggregation FIVE_MINUTES
|
|
194
194
|
public historicdata bars EQUITY AAPL SINCE_PURCHASE --purchase-date 2024-01-15
|
|
195
|
+
public historicdata bars EQUITY RDDT FIVE_YEARS --ipo-date 2024-03-21
|
|
195
196
|
public taxlots list
|
|
196
197
|
public taxlots symbol AAPL
|
|
197
198
|
public taxlots csv --output taxlots.csv
|
|
@@ -223,6 +224,12 @@ When using the `SINCE_PURCHASE` period, supply the purchase date:
|
|
|
223
224
|
public historicdata bars EQUITY AAPL SINCE_PURCHASE --purchase-date 2024-01-15
|
|
224
225
|
```
|
|
225
226
|
|
|
227
|
+
For recently listed assets, pass the IPO / first-trade date with `--ipo-date`. When the asset is younger than the requested period, the backend switches to a finer aggregation over the available post-IPO history and the response includes a `leadingFill` object describing the flat lead-in to draw for the pre-IPO portion. Omitting the option leaves behavior unchanged, and it is not applied to the `DAY` chart:
|
|
228
|
+
|
|
229
|
+
```bash
|
|
230
|
+
public historicdata bars EQUITY RDDT FIVE_YEARS --ipo-date 2024-03-21
|
|
231
|
+
```
|
|
232
|
+
|
|
226
233
|
Trading requests use JSON files so the exact payload is visible before submission:
|
|
227
234
|
|
|
228
235
|
```bash
|
|
@@ -248,6 +255,45 @@ Order-placement and single-leg preflight payloads also accept an optional
|
|
|
248
255
|
which tax lots to close when selling equity. See
|
|
249
256
|
`examples/order.single-leg.tax-lot-matching.json` for a sample.
|
|
250
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
|
+
|
|
251
297
|
`order replace` submits a cancel-replace request for an open order. The replacement can
|
|
252
298
|
specify either a `quantity` or a notional `amount` — the two fields are mutually
|
|
253
299
|
exclusive. `--quantity` and `--amount` override the corresponding field in the request
|
|
@@ -154,6 +154,7 @@ public options strategy-quote --file examples/strategy-quote.request.json
|
|
|
154
154
|
public historicdata bars EQUITY AAPL YEAR
|
|
155
155
|
public historicdata bars EQUITY AAPL DAY --aggregation FIVE_MINUTES
|
|
156
156
|
public historicdata bars EQUITY AAPL SINCE_PURCHASE --purchase-date 2024-01-15
|
|
157
|
+
public historicdata bars EQUITY RDDT FIVE_YEARS --ipo-date 2024-03-21
|
|
157
158
|
public taxlots list
|
|
158
159
|
public taxlots symbol AAPL
|
|
159
160
|
public taxlots csv --output taxlots.csv
|
|
@@ -185,6 +186,12 @@ When using the `SINCE_PURCHASE` period, supply the purchase date:
|
|
|
185
186
|
public historicdata bars EQUITY AAPL SINCE_PURCHASE --purchase-date 2024-01-15
|
|
186
187
|
```
|
|
187
188
|
|
|
189
|
+
For recently listed assets, pass the IPO / first-trade date with `--ipo-date`. When the asset is younger than the requested period, the backend switches to a finer aggregation over the available post-IPO history and the response includes a `leadingFill` object describing the flat lead-in to draw for the pre-IPO portion. Omitting the option leaves behavior unchanged, and it is not applied to the `DAY` chart:
|
|
190
|
+
|
|
191
|
+
```bash
|
|
192
|
+
public historicdata bars EQUITY RDDT FIVE_YEARS --ipo-date 2024-03-21
|
|
193
|
+
```
|
|
194
|
+
|
|
188
195
|
Trading requests use JSON files so the exact payload is visible before submission:
|
|
189
196
|
|
|
190
197
|
```bash
|
|
@@ -210,6 +217,45 @@ Order-placement and single-leg preflight payloads also accept an optional
|
|
|
210
217
|
which tax lots to close when selling equity. See
|
|
211
218
|
`examples/order.single-leg.tax-lot-matching.json` for a sample.
|
|
212
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
|
+
|
|
213
259
|
`order replace` submits a cancel-replace request for an open order. The replacement can
|
|
214
260
|
specify either a `quantity` or a notional `amount` — the two fields are mutually
|
|
215
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
|
+
}
|
|
@@ -20,6 +20,7 @@ def _get_kwargs(
|
|
|
20
20
|
*,
|
|
21
21
|
purchase_date: str | Unset = UNSET,
|
|
22
22
|
trading_session_toggle: GetBarsV2TradingSessionToggle | Unset = UNSET,
|
|
23
|
+
ipo_date: str | Unset = UNSET,
|
|
23
24
|
) -> dict[str, Any]:
|
|
24
25
|
|
|
25
26
|
params: dict[str, Any] = {}
|
|
@@ -32,6 +33,8 @@ def _get_kwargs(
|
|
|
32
33
|
|
|
33
34
|
params["tradingSessionToggle"] = json_trading_session_toggle
|
|
34
35
|
|
|
36
|
+
params["ipoDate"] = ipo_date
|
|
37
|
+
|
|
35
38
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
36
39
|
|
|
37
40
|
_kwargs: dict[str, Any] = {
|
|
@@ -80,6 +83,7 @@ def sync_detailed(
|
|
|
80
83
|
client: AuthenticatedClient | Client,
|
|
81
84
|
purchase_date: str | Unset = UNSET,
|
|
82
85
|
trading_session_toggle: GetBarsV2TradingSessionToggle | Unset = UNSET,
|
|
86
|
+
ipo_date: str | Unset = UNSET,
|
|
83
87
|
) -> Response[BarsResponse]:
|
|
84
88
|
"""Fetch bar data for a given symbol and period
|
|
85
89
|
|
|
@@ -89,6 +93,7 @@ def sync_detailed(
|
|
|
89
93
|
period (GetBarsV2Period):
|
|
90
94
|
purchase_date (str | Unset): Example: 2025-02-24.
|
|
91
95
|
trading_session_toggle (GetBarsV2TradingSessionToggle | Unset):
|
|
96
|
+
ipo_date (str | Unset): Example: 2026-07-20.
|
|
92
97
|
|
|
93
98
|
Raises:
|
|
94
99
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -104,6 +109,7 @@ def sync_detailed(
|
|
|
104
109
|
period=period,
|
|
105
110
|
purchase_date=purchase_date,
|
|
106
111
|
trading_session_toggle=trading_session_toggle,
|
|
112
|
+
ipo_date=ipo_date,
|
|
107
113
|
)
|
|
108
114
|
|
|
109
115
|
response = client.get_httpx_client().request(
|
|
@@ -121,6 +127,7 @@ def sync(
|
|
|
121
127
|
client: AuthenticatedClient | Client,
|
|
122
128
|
purchase_date: str | Unset = UNSET,
|
|
123
129
|
trading_session_toggle: GetBarsV2TradingSessionToggle | Unset = UNSET,
|
|
130
|
+
ipo_date: str | Unset = UNSET,
|
|
124
131
|
) -> BarsResponse | None:
|
|
125
132
|
"""Fetch bar data for a given symbol and period
|
|
126
133
|
|
|
@@ -130,6 +137,7 @@ def sync(
|
|
|
130
137
|
period (GetBarsV2Period):
|
|
131
138
|
purchase_date (str | Unset): Example: 2025-02-24.
|
|
132
139
|
trading_session_toggle (GetBarsV2TradingSessionToggle | Unset):
|
|
140
|
+
ipo_date (str | Unset): Example: 2026-07-20.
|
|
133
141
|
|
|
134
142
|
Raises:
|
|
135
143
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -146,6 +154,7 @@ def sync(
|
|
|
146
154
|
client=client,
|
|
147
155
|
purchase_date=purchase_date,
|
|
148
156
|
trading_session_toggle=trading_session_toggle,
|
|
157
|
+
ipo_date=ipo_date,
|
|
149
158
|
).parsed
|
|
150
159
|
|
|
151
160
|
|
|
@@ -157,6 +166,7 @@ async def asyncio_detailed(
|
|
|
157
166
|
client: AuthenticatedClient | Client,
|
|
158
167
|
purchase_date: str | Unset = UNSET,
|
|
159
168
|
trading_session_toggle: GetBarsV2TradingSessionToggle | Unset = UNSET,
|
|
169
|
+
ipo_date: str | Unset = UNSET,
|
|
160
170
|
) -> Response[BarsResponse]:
|
|
161
171
|
"""Fetch bar data for a given symbol and period
|
|
162
172
|
|
|
@@ -166,6 +176,7 @@ async def asyncio_detailed(
|
|
|
166
176
|
period (GetBarsV2Period):
|
|
167
177
|
purchase_date (str | Unset): Example: 2025-02-24.
|
|
168
178
|
trading_session_toggle (GetBarsV2TradingSessionToggle | Unset):
|
|
179
|
+
ipo_date (str | Unset): Example: 2026-07-20.
|
|
169
180
|
|
|
170
181
|
Raises:
|
|
171
182
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -181,6 +192,7 @@ async def asyncio_detailed(
|
|
|
181
192
|
period=period,
|
|
182
193
|
purchase_date=purchase_date,
|
|
183
194
|
trading_session_toggle=trading_session_toggle,
|
|
195
|
+
ipo_date=ipo_date,
|
|
184
196
|
)
|
|
185
197
|
|
|
186
198
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -196,6 +208,7 @@ async def asyncio(
|
|
|
196
208
|
client: AuthenticatedClient | Client,
|
|
197
209
|
purchase_date: str | Unset = UNSET,
|
|
198
210
|
trading_session_toggle: GetBarsV2TradingSessionToggle | Unset = UNSET,
|
|
211
|
+
ipo_date: str | Unset = UNSET,
|
|
199
212
|
) -> BarsResponse | None:
|
|
200
213
|
"""Fetch bar data for a given symbol and period
|
|
201
214
|
|
|
@@ -205,6 +218,7 @@ async def asyncio(
|
|
|
205
218
|
period (GetBarsV2Period):
|
|
206
219
|
purchase_date (str | Unset): Example: 2025-02-24.
|
|
207
220
|
trading_session_toggle (GetBarsV2TradingSessionToggle | Unset):
|
|
221
|
+
ipo_date (str | Unset): Example: 2026-07-20.
|
|
208
222
|
|
|
209
223
|
Raises:
|
|
210
224
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -222,5 +236,6 @@ async def asyncio(
|
|
|
222
236
|
client=client,
|
|
223
237
|
purchase_date=purchase_date,
|
|
224
238
|
trading_session_toggle=trading_session_toggle,
|
|
239
|
+
ipo_date=ipo_date,
|
|
225
240
|
)
|
|
226
241
|
).parsed
|
|
@@ -24,6 +24,7 @@ def _get_kwargs(
|
|
|
24
24
|
*,
|
|
25
25
|
purchase_date: str | Unset = UNSET,
|
|
26
26
|
trading_session_toggle: GetBarsV2WithAggregationTradingSessionToggle | Unset = UNSET,
|
|
27
|
+
ipo_date: str | Unset = UNSET,
|
|
27
28
|
) -> dict[str, Any]:
|
|
28
29
|
|
|
29
30
|
params: dict[str, Any] = {}
|
|
@@ -36,6 +37,8 @@ def _get_kwargs(
|
|
|
36
37
|
|
|
37
38
|
params["tradingSessionToggle"] = json_trading_session_toggle
|
|
38
39
|
|
|
40
|
+
params["ipoDate"] = ipo_date
|
|
41
|
+
|
|
39
42
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
40
43
|
|
|
41
44
|
_kwargs: dict[str, Any] = {
|
|
@@ -86,6 +89,7 @@ def sync_detailed(
|
|
|
86
89
|
client: AuthenticatedClient | Client,
|
|
87
90
|
purchase_date: str | Unset = UNSET,
|
|
88
91
|
trading_session_toggle: GetBarsV2WithAggregationTradingSessionToggle | Unset = UNSET,
|
|
92
|
+
ipo_date: str | Unset = UNSET,
|
|
89
93
|
) -> Response[BarsResponse]:
|
|
90
94
|
"""Fetch bar data for a given symbol and period
|
|
91
95
|
|
|
@@ -96,6 +100,7 @@ def sync_detailed(
|
|
|
96
100
|
aggregation (GetBarsV2WithAggregationAggregation):
|
|
97
101
|
purchase_date (str | Unset): Example: 2025-02-24.
|
|
98
102
|
trading_session_toggle (GetBarsV2WithAggregationTradingSessionToggle | Unset):
|
|
103
|
+
ipo_date (str | Unset): Example: 2026-07-20.
|
|
99
104
|
|
|
100
105
|
Raises:
|
|
101
106
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -112,6 +117,7 @@ def sync_detailed(
|
|
|
112
117
|
aggregation=aggregation,
|
|
113
118
|
purchase_date=purchase_date,
|
|
114
119
|
trading_session_toggle=trading_session_toggle,
|
|
120
|
+
ipo_date=ipo_date,
|
|
115
121
|
)
|
|
116
122
|
|
|
117
123
|
response = client.get_httpx_client().request(
|
|
@@ -130,6 +136,7 @@ def sync(
|
|
|
130
136
|
client: AuthenticatedClient | Client,
|
|
131
137
|
purchase_date: str | Unset = UNSET,
|
|
132
138
|
trading_session_toggle: GetBarsV2WithAggregationTradingSessionToggle | Unset = UNSET,
|
|
139
|
+
ipo_date: str | Unset = UNSET,
|
|
133
140
|
) -> BarsResponse | None:
|
|
134
141
|
"""Fetch bar data for a given symbol and period
|
|
135
142
|
|
|
@@ -140,6 +147,7 @@ def sync(
|
|
|
140
147
|
aggregation (GetBarsV2WithAggregationAggregation):
|
|
141
148
|
purchase_date (str | Unset): Example: 2025-02-24.
|
|
142
149
|
trading_session_toggle (GetBarsV2WithAggregationTradingSessionToggle | Unset):
|
|
150
|
+
ipo_date (str | Unset): Example: 2026-07-20.
|
|
143
151
|
|
|
144
152
|
Raises:
|
|
145
153
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -157,6 +165,7 @@ def sync(
|
|
|
157
165
|
client=client,
|
|
158
166
|
purchase_date=purchase_date,
|
|
159
167
|
trading_session_toggle=trading_session_toggle,
|
|
168
|
+
ipo_date=ipo_date,
|
|
160
169
|
).parsed
|
|
161
170
|
|
|
162
171
|
|
|
@@ -169,6 +178,7 @@ async def asyncio_detailed(
|
|
|
169
178
|
client: AuthenticatedClient | Client,
|
|
170
179
|
purchase_date: str | Unset = UNSET,
|
|
171
180
|
trading_session_toggle: GetBarsV2WithAggregationTradingSessionToggle | Unset = UNSET,
|
|
181
|
+
ipo_date: str | Unset = UNSET,
|
|
172
182
|
) -> Response[BarsResponse]:
|
|
173
183
|
"""Fetch bar data for a given symbol and period
|
|
174
184
|
|
|
@@ -179,6 +189,7 @@ async def asyncio_detailed(
|
|
|
179
189
|
aggregation (GetBarsV2WithAggregationAggregation):
|
|
180
190
|
purchase_date (str | Unset): Example: 2025-02-24.
|
|
181
191
|
trading_session_toggle (GetBarsV2WithAggregationTradingSessionToggle | Unset):
|
|
192
|
+
ipo_date (str | Unset): Example: 2026-07-20.
|
|
182
193
|
|
|
183
194
|
Raises:
|
|
184
195
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -195,6 +206,7 @@ async def asyncio_detailed(
|
|
|
195
206
|
aggregation=aggregation,
|
|
196
207
|
purchase_date=purchase_date,
|
|
197
208
|
trading_session_toggle=trading_session_toggle,
|
|
209
|
+
ipo_date=ipo_date,
|
|
198
210
|
)
|
|
199
211
|
|
|
200
212
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -211,6 +223,7 @@ async def asyncio(
|
|
|
211
223
|
client: AuthenticatedClient | Client,
|
|
212
224
|
purchase_date: str | Unset = UNSET,
|
|
213
225
|
trading_session_toggle: GetBarsV2WithAggregationTradingSessionToggle | Unset = UNSET,
|
|
226
|
+
ipo_date: str | Unset = UNSET,
|
|
214
227
|
) -> BarsResponse | None:
|
|
215
228
|
"""Fetch bar data for a given symbol and period
|
|
216
229
|
|
|
@@ -221,6 +234,7 @@ async def asyncio(
|
|
|
221
234
|
aggregation (GetBarsV2WithAggregationAggregation):
|
|
222
235
|
purchase_date (str | Unset): Example: 2025-02-24.
|
|
223
236
|
trading_session_toggle (GetBarsV2WithAggregationTradingSessionToggle | Unset):
|
|
237
|
+
ipo_date (str | Unset): Example: 2026-07-20.
|
|
224
238
|
|
|
225
239
|
Raises:
|
|
226
240
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -239,5 +253,6 @@ async def asyncio(
|
|
|
239
253
|
client=client,
|
|
240
254
|
purchase_date=purchase_date,
|
|
241
255
|
trading_session_toggle=trading_session_toggle,
|
|
256
|
+
ipo_date=ipo_date,
|
|
242
257
|
)
|
|
243
258
|
).parsed
|
|
@@ -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):
|