publicdotcom-cli 1.3.0__tar.gz → 1.3.3__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/CHANGELOG.md +155 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/PKG-INFO +50 -2
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/README.md +48 -0
- publicdotcom_cli-1.3.3/examples/order.replace.notional.json +10 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/pyproject.toml +1 -1
- publicdotcom_cli-1.3.3/scripts/generate_client.py +108 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/__init__.py +1 -1
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/account_details/get_history.py +12 -8
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/instrument_details/get_all_instruments.py +4 -4
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/instrument_details/get_instrument.py +39 -15
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/api/instrument_details/search_bonds.py +672 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/market_data/get_bars_v2.py +15 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/market_data/get_bars_v2_with_aggregation.py +15 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/api/market_data/get_bond_details.py +191 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/market_data/get_quotes.py +8 -8
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/option_details/get_option_greeks.py +8 -8
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/order_placement/replace_order.py +24 -20
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/tax_lot_selling/get_unrealized_tax_lots.py +4 -4
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/tax_lot_selling/get_unrealized_tax_lots_csv.py +8 -8
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/tax_lot_selling/get_unrealized_tax_lots_for_symbol.py +8 -8
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/__init__.py +36 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/bars_response.py +18 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/com_hellopublic_fixedincomegateway_instrument_instrument_dto.py +446 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_out_of_date_status_type.py +1 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_account_type.py +1 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_bonddetails_bond_details_response.py +876 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_cancel_replace_order_request.py +12 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_account_v2_account_type.py +1 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/leading_fill.py +99 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/org_springframework_data_domain_page_com_hellopublic_fixedincomegateway_instrument_instrument_dto.py +196 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/pageable_object.py +119 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/search_bonds_bond_status_item.py +21 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/search_bonds_bond_type_item.py +13 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/search_bonds_coupon_frequency_item.py +13 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/search_bonds_rating_category.py +9 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/search_bonds_rating_item.py +36 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/search_bonds_sort_direction.py +9 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/search_bonds_sp_creditwatch_item.py +11 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/search_bonds_sp_outlook_item.py +13 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/search_bonds_treasury_subtype_item.py +13 -0
- publicdotcom_cli-1.3.3/src/publicdotcom_cli/_generated/models/sort_object.py +79 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/cli.py +274 -1
- publicdotcom_cli-1.3.3/tests/test_cli.py +103 -0
- publicdotcom_cli-1.3.3/tests/test_generated_enums.py +65 -0
- publicdotcom_cli-1.3.3/tests/test_generated_models.py +64 -0
- publicdotcom_cli-1.3.3/tests/test_output.py +33 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/uv.lock +1 -1
- publicdotcom_cli-1.3.0/CHANGELOG.md +0 -77
- publicdotcom_cli-1.3.0/scripts/generate_client.py +0 -49
- publicdotcom_cli-1.3.0/tests/test_cli.py +0 -27
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/.gitattributes +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/.github/workflows/ci.yml +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/.github/workflows/release.yml +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/.gitignore +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/LICENSE +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/examples/order.single-leg.cash-only.json +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/examples/order.single-leg.market-buy.json +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/examples/order.single-leg.tax-lot-matching.json +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/examples/strategy-quote.request.json +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/__main__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/account_details/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/account_details/get_account_portfolio_v2.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/authorization/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/authorization/create_personal_access_token.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/instrument_details/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/list_accounts/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/list_accounts/get_accounts.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/market_data/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/market_data/get_option_chain.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/market_data/get_option_expirations.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/option_details/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/option_details/get_strategy_quote.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/order_placement/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/order_placement/cancel_order.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/order_placement/get_order.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/order_placement/place_multileg_order.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/order_placement/place_order.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/order_placement/preflight_multi_leg.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/order_placement/preflight_single_leg.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/api/tax_lot_selling/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/client.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/errors.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/bar.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_core_dto_base_64_file.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_holdingsystem_core_types_option_price_increment.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_instrument_specific_tax_lot_details.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_option_specific_tax_lot_details.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/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.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_order_reference.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_out_of_date_status.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_out_of_date_status_description.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_unrealized_lot.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_unrealized_lot_summary.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_unrealized_lots_detail_response.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_unrealized_lots_summary_response.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_trading_core_quote_bond_quote_detail.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_trading_core_quote_quote_specific_detail.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_trading_core_quote_signed_quote.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_trading_core_quote_signed_quote_uptick_rule.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapiauthservice_api_personal_create_access_token_request.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapiauthservice_api_personal_create_access_token_response.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapiauthservice_domain_error_error_body.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_brokerage_account_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_options_level.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_response.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_trade_permissions.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_response_page.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction_direction.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction_security_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction_side.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction_sub_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_bond_details.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_option_chain_request.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_option_chain_response.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_option_expirations_request.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_option_expirations_response.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_quote.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_quote_outcome.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_quote_request.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_quote_response.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_one_day_change.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_option_details.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_options_greek_response.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_options_greeks_response.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_options_option_greeks_type_0.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/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.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto_fractional_trading.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto_option_spread_trading.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto_option_trading.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto_shorting_availability.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto_trading.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_response.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_multileg_order_request.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_multileg_order_request_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request_equity_market_session.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request_order_side.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request_order_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_result.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_leg_instrument.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_leg_instrument_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_instrument.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_instrument_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_leg.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_leg_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_leg_side.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_side.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_status.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_short_selling.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_short_selling_availability.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_short_selling_uptick_rule.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_tax_lot_matching_instruction.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_instrumentdetails_api_instrument_details.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_instrumentdetails_api_instrument_details_bond.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_instrumentdetails_api_instrument_details_crypto.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_order_expiration.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_order_expiration_time_in_force.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gain.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_available_to_withdraw_type_0.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_buying_power.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_cost_basis.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_account_v2.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_equity_v2.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_equity_v2_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_instrument.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_instrument_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_position.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_strategy.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_strategy_leg.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_price.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_margin_impact.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_margin_requirement.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_option_details.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_option_details_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_option_rebate.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_price_increment.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_regulatory_fees.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_leg_response.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_leg_response_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_leg_response_side.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_multi_leg_request.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_multi_leg_request_order_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_multi_leg_response.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_request.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/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.0 → publicdotcom_cli-1.3.3}/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.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_request_order_side.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_request_order_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_response.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_order_leg_type_0.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_order_leg_type_0_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_order_leg_type_0_side.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_leg_dto.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_leg_dto_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_leg_dto_side.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_leg_instrument_dto.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_leg_instrument_dto_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_quote_dto.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_quote_dto_debit_credit.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/com_matadorapp_shared_customerordergateway_dto_strategy_quote_request.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/get_all_instruments_fractional_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/get_all_instruments_option_spread_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/get_all_instruments_option_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/get_all_instruments_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/get_all_instruments_type_filter_item.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/get_bars_v2_period.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/get_bars_v2_trading_session_toggle.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/get_bars_v2_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/get_bars_v2_with_aggregation_aggregation.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/get_bars_v2_with_aggregation_period.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/get_bars_v2_with_aggregation_trading_session_toggle.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/get_bars_v2_with_aggregation_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/get_instrument_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/last_session_close.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/market_session_bars.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/models/regular_session_closing_data.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/_generated/types.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/client.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/config.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/output.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/src/publicdotcom_cli/payloads.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/tests/test_client.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/tests/test_config.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.3}/tests/test_payloads.py +0 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [1.3.3] - 2026-08-11
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- `--ipo-date` option on `public historicdata bars`, mirroring the new optional
|
|
12
|
+
`ipoDate` query parameter on both historic-data endpoints. Supplying the
|
|
13
|
+
asset's IPO / first-trade date lets the backend switch to a finer aggregation
|
|
14
|
+
over post-IPO history for assets younger than the requested period; the
|
|
15
|
+
response then includes a `leadingFill` object describing the flat pre-IPO
|
|
16
|
+
lead-in. Omitted, behavior is unchanged; not applied to the `DAY` chart.
|
|
17
|
+
- README examples for `--ipo-date`.
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
- Regenerated `_generated/` from the updated `spec.yaml`:
|
|
21
|
+
- New `LeadingFill` model (`startTimestamp`, `endTimestamp`, `value`,
|
|
22
|
+
`count`, `includedInTotalExpectedBars`, all required) and the optional
|
|
23
|
+
`leadingFill` field on `BarsResponse`.
|
|
24
|
+
- `ipo_date` parameter on the `get_bars_v2` and
|
|
25
|
+
`get_bars_v2_with_aggregation` endpoint modules.
|
|
26
|
+
- `PageableObject` / `SortObject` field order follows a cosmetic key reorder
|
|
27
|
+
in the spec (no behavioral change).
|
|
28
|
+
- The generator's usual unrelated churn (unpinned newer generator rewriting
|
|
29
|
+
`from_dict` to `typing_extensions.Self`, which is not a declared
|
|
30
|
+
dependency) was reverted; new/changed files were normalized to the
|
|
31
|
+
vendored TypeVar style.
|
|
32
|
+
|
|
33
|
+
## [1.3.2] - 2026-08-05
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
- `public instruments bonds` command covering the new
|
|
37
|
+
`GET /userapigateway/trading/instruments/bonds` endpoint: paged, filtered
|
|
38
|
+
fixed-income search with options for issuer, bond status/type, treasury
|
|
39
|
+
subtype, S&P rating/outlook/creditwatch, coupon, maturity dates, current
|
|
40
|
+
yield, par value, liquidity rating, and callable/perpetual/partial-par flags.
|
|
41
|
+
- `public market bond-details SYMBOL` command covering the new
|
|
42
|
+
`GET /userapigateway/marketdata/{accountId}/bond-details/{symbol}` endpoint,
|
|
43
|
+
returning comprehensive bond pricing, rating, coupon, and maturity/call data.
|
|
44
|
+
- `--quantity` and `--amount` overrides on `public order replace`, mirroring the
|
|
45
|
+
cancel-replace request schema's new notional `amount` field. The two are
|
|
46
|
+
mutually exclusive (enforced before submission, including when both fields
|
|
47
|
+
appear in the request file). Replacement is now supported for equity, option,
|
|
48
|
+
and crypto quantity orders.
|
|
49
|
+
- `examples/order.replace.notional.json` demonstrating a notional (`amount`)
|
|
50
|
+
cancel-replace payload.
|
|
51
|
+
- README sections for bond search, bond details, and order replacement.
|
|
52
|
+
|
|
53
|
+
### Changed
|
|
54
|
+
- Regenerated `_generated/` from the updated `spec.yaml`:
|
|
55
|
+
- New `search-bonds` and `get-bond-details` endpoint modules and models
|
|
56
|
+
(`InstrumentDto`, `BondDetailsResponse`, Spring page/pageable/sort, and the
|
|
57
|
+
bond search filter enums).
|
|
58
|
+
- `amount` added to `ApiCancelReplaceOrderRequest` (mutually exclusive with
|
|
59
|
+
`quantity`).
|
|
60
|
+
- `AGGREGATE` added to the tax-lot `OutOfDateStatus` `type` enum.
|
|
61
|
+
- Refreshed endpoint docstrings (instruments list/get, quotes, greeks,
|
|
62
|
+
history, replace-order) to match the updated spec text; `get-instrument`
|
|
63
|
+
now documents 400/404 responses.
|
|
64
|
+
- `scripts/generate_client.py` now injects `x-enum-varnames` for enum values
|
|
65
|
+
that collide after sanitization (e.g. S&P ratings `AA+`/`AA`/`AA-`), which
|
|
66
|
+
the bonds `rating` filter requires for generation to succeed.
|
|
67
|
+
|
|
68
|
+
## [1.3.1] - 2026-07-24
|
|
69
|
+
|
|
70
|
+
### Changed
|
|
71
|
+
- Regenerated `_generated/` API client from the updated `spec.yaml`:
|
|
72
|
+
- `ENTITY` added to the `accountType` enums on `GatewayPortfolioAccountV2` and
|
|
73
|
+
`AccountSettings`. Additive and non-breaking — the CLI treats `accountType`
|
|
74
|
+
as an opaque string (`public accounts` renders it in a table, `public
|
|
75
|
+
portfolio` emits raw JSON), so entity accounts already display correctly.
|
|
76
|
+
- The three `taxlots` endpoints now document `trading.read` (was `portfolio`)
|
|
77
|
+
as their required scope, matching the corrected spec. Behaviour is
|
|
78
|
+
unchanged; only the stated scope was wrong.
|
|
79
|
+
|
|
80
|
+
### Added
|
|
81
|
+
- `tests/test_generated_enums.py` asserting both regenerated `accountType`
|
|
82
|
+
enums parse `ENTITY` and match the spec's full member set.
|
|
83
|
+
- `tests/test_output.py` covering `print_accounts` rendering of an `ENTITY`
|
|
84
|
+
account, guarding against a future regression to strict enum parsing.
|
|
85
|
+
|
|
86
|
+
## [1.3.0] - 2026-07-20
|
|
87
|
+
|
|
88
|
+
### Added
|
|
89
|
+
- `public taxlots` command group covering the new unrealized tax-lot endpoints:
|
|
90
|
+
`taxlots list` (`GET /userapigateway/trading/{accountId}/taxlots/unrealized`),
|
|
91
|
+
`taxlots symbol SYMBOL [--price]`
|
|
92
|
+
(`GET /userapigateway/trading/{accountId}/taxlots/unrealized/{symbol}`), and
|
|
93
|
+
`taxlots csv [--output PATH]`
|
|
94
|
+
(`GET /userapigateway/trading/{accountId}/taxlots/csv/unrealized`), which can
|
|
95
|
+
decode the returned base64 CSV to a file.
|
|
96
|
+
- `public options strategy-quote --file FILE` command covering
|
|
97
|
+
`POST /userapigateway/option-details/{accountId}/strategy-details/quote`.
|
|
98
|
+
- `examples/order.single-leg.tax-lot-matching.json` demonstrating the optional
|
|
99
|
+
`taxLotMatchingInstructions` field now accepted on order-placement and
|
|
100
|
+
single-leg preflight request payloads.
|
|
101
|
+
- `examples/strategy-quote.request.json` sample `StrategyQuoteRequest` body.
|
|
102
|
+
- README sections documenting the tax-lot and strategy-quote commands.
|
|
103
|
+
|
|
104
|
+
### Changed
|
|
105
|
+
- Regenerated `_generated/` API client from the updated `spec.yaml`.
|
|
106
|
+
|
|
107
|
+
## [1.2.1] - 2026-06-17
|
|
108
|
+
|
|
109
|
+
### Added
|
|
110
|
+
- `examples/order.single-leg.cash-only.json` demonstrating the optional `useMargin`
|
|
111
|
+
field, which controls whether margin or cash-only buying power is used when placing
|
|
112
|
+
single-leg and multi-leg orders. Documented in README.
|
|
113
|
+
|
|
114
|
+
### Changed
|
|
115
|
+
- `public historicdata bars` help text now lists the `TEN_YEARS` and `ALL` period
|
|
116
|
+
values added in the updated API spec.
|
|
117
|
+
|
|
118
|
+
## [1.2.0] - 2026-05-14
|
|
119
|
+
|
|
120
|
+
### Changed
|
|
121
|
+
- **Breaking:** `public historicdata bars` now requires a leading `SECURITY_TYPE`
|
|
122
|
+
positional argument (`EQUITY`, `CRYPTO`, `OPTION`, or `INDEX`) to match the
|
|
123
|
+
updated `/userapigateway/historicdata/{type}/{symbol}/{period}` spec. Existing
|
|
124
|
+
invocations like `public historicdata bars AAPL YEAR` must become
|
|
125
|
+
`public historicdata bars EQUITY AAPL YEAR`.
|
|
126
|
+
- Regenerated `_generated/` API client from `spec.yaml`; the bar endpoints now
|
|
127
|
+
land under `_generated/api/market_data/` as `get_bars_v2` and
|
|
128
|
+
`get_bars_v2_with_aggregation`.
|
|
129
|
+
- README quick-reference and Historic Bar Data section updated for the new
|
|
130
|
+
argument order.
|
|
131
|
+
|
|
132
|
+
### Added
|
|
133
|
+
- `LICENSE` file containing the Apache License, Version 2.0 text (the project
|
|
134
|
+
was already declared as Apache-2.0 in `pyproject.toml`).
|
|
135
|
+
|
|
136
|
+
## [1.1.0] - 2026-05-06
|
|
137
|
+
|
|
138
|
+
### Added
|
|
139
|
+
- `public historicdata bars` command covering
|
|
140
|
+
`GET /userapigateway/historicdata/{symbol}/{period}` and
|
|
141
|
+
`GET /userapigateway/historicdata/{symbol}/{period}/{aggregation}`, with
|
|
142
|
+
`--aggregation` and `--purchase-date` options.
|
|
143
|
+
- README section documenting historic bar data usage.
|
|
144
|
+
|
|
145
|
+
## [1.0.0] - 2026-04-29
|
|
146
|
+
|
|
147
|
+
### Added
|
|
148
|
+
- First tagged release of the CLI.
|
|
149
|
+
|
|
150
|
+
## [0.1.0] - 2026-04-29
|
|
151
|
+
|
|
152
|
+
### Added
|
|
153
|
+
- Initial commit: CLI scaffolding, generated API client from `spec.yaml`,
|
|
154
|
+
authentication, accounts, portfolio, history, instruments, market data,
|
|
155
|
+
option details, and order placement commands.
|
|
@@ -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.3
|
|
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
|
|
@@ -182,7 +182,9 @@ public accounts set-default ACCOUNT_ID
|
|
|
182
182
|
public portfolio show
|
|
183
183
|
public history list --page-size 25
|
|
184
184
|
public instruments get AAPL EQUITY
|
|
185
|
+
public instruments bonds --bond-type TREASURY --rating AAA
|
|
185
186
|
public market quotes AAPL MSFT --type EQUITY
|
|
187
|
+
public market bond-details 912828XG0-BOND
|
|
186
188
|
public market option-expirations AAPL
|
|
187
189
|
public market option-chain AAPL 2026-05-15
|
|
188
190
|
public options greeks "AAPL 260515C00200000"
|
|
@@ -190,6 +192,7 @@ public options strategy-quote --file examples/strategy-quote.request.json
|
|
|
190
192
|
public historicdata bars EQUITY AAPL YEAR
|
|
191
193
|
public historicdata bars EQUITY AAPL DAY --aggregation FIVE_MINUTES
|
|
192
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
|
|
193
196
|
public taxlots list
|
|
194
197
|
public taxlots symbol AAPL
|
|
195
198
|
public taxlots csv --output taxlots.csv
|
|
@@ -221,11 +224,18 @@ When using the `SINCE_PURCHASE` period, supply the purchase date:
|
|
|
221
224
|
public historicdata bars EQUITY AAPL SINCE_PURCHASE --purchase-date 2024-01-15
|
|
222
225
|
```
|
|
223
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
|
+
|
|
224
233
|
Trading requests use JSON files so the exact payload is visible before submission:
|
|
225
234
|
|
|
226
235
|
```bash
|
|
227
236
|
public order preflight-single --file examples/order.single-leg.market-buy.json
|
|
228
237
|
public order place --file examples/order.single-leg.market-buy.json
|
|
238
|
+
public order replace --file examples/order.replace.notional.json
|
|
229
239
|
public order get ORDER_ID
|
|
230
240
|
public order cancel ORDER_ID
|
|
231
241
|
```
|
|
@@ -245,6 +255,18 @@ Order-placement and single-leg preflight payloads also accept an optional
|
|
|
245
255
|
which tax lots to close when selling equity. See
|
|
246
256
|
`examples/order.single-leg.tax-lot-matching.json` for a sample.
|
|
247
257
|
|
|
258
|
+
`order replace` submits a cancel-replace request for an open order. The replacement can
|
|
259
|
+
specify either a `quantity` or a notional `amount` — the two fields are mutually
|
|
260
|
+
exclusive. `--quantity` and `--amount` override the corresponding field in the request
|
|
261
|
+
file. Replacement is supported for equity, option, and crypto quantity orders, and is
|
|
262
|
+
asynchronous: verify order status after submitting. See
|
|
263
|
+
`examples/order.replace.notional.json` for a sample notional replacement payload.
|
|
264
|
+
|
|
265
|
+
```bash
|
|
266
|
+
public order replace --file examples/order.replace.notional.json
|
|
267
|
+
public order replace --file examples/order.replace.notional.json --amount 250.00
|
|
268
|
+
```
|
|
269
|
+
|
|
248
270
|
## Tax Lots
|
|
249
271
|
|
|
250
272
|
Inspect unrealized tax lots for the configured (or `--account-id`) account:
|
|
@@ -276,6 +298,32 @@ The request body is a `StrategyQuoteRequest` with a `baseSymbol` and an `optionL
|
|
|
276
298
|
(each leg is `{symbol, side, openCloseIndicator, ratioQuantity}`), plus an optional
|
|
277
299
|
`equityLeg`. See `examples/strategy-quote.request.json` for a sample.
|
|
278
300
|
|
|
301
|
+
## Bonds
|
|
302
|
+
|
|
303
|
+
Search fixed income instruments with optional filtering, sorting, and pagination:
|
|
304
|
+
|
|
305
|
+
```bash
|
|
306
|
+
public instruments bonds
|
|
307
|
+
public instruments bonds --bond-type TREASURY --treasury-subtype NOTE --min-coupon 4
|
|
308
|
+
public instruments bonds --rating AAA --rating AA+ --max-maturity-date 2030-12-31
|
|
309
|
+
public instruments bonds --page-size 50 --sort-property maturityDate --sort-direction ASC
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
Filters cover issuer, bond status/type, treasury subtype, S&P ratings and outlook,
|
|
313
|
+
coupon, maturity dates, current yield, par value, liquidity rating, and
|
|
314
|
+
callable/perpetual/partial-par flags. Repeatable options (for example `--rating`) can be
|
|
315
|
+
passed multiple times. Results are returned as a page with `content` plus paging
|
|
316
|
+
metadata. The API defaults the minimum maturity date to today + 14 days to exclude bonds
|
|
317
|
+
nearing maturity with volatile yields; pass `--min-maturity-date` to override.
|
|
318
|
+
|
|
319
|
+
Retrieve comprehensive details for a single bond — pricing, ratings, coupon, and
|
|
320
|
+
maturity/call information — using the configured (or `--account-id`) account. The bond
|
|
321
|
+
symbol is typically in `CUSIP-BOND` format:
|
|
322
|
+
|
|
323
|
+
```bash
|
|
324
|
+
public market bond-details 912828XG0-BOND
|
|
325
|
+
```
|
|
326
|
+
|
|
279
327
|
## JSON Output
|
|
280
328
|
|
|
281
329
|
Use `--json` before the command group to print raw JSON:
|
|
@@ -144,7 +144,9 @@ public accounts set-default ACCOUNT_ID
|
|
|
144
144
|
public portfolio show
|
|
145
145
|
public history list --page-size 25
|
|
146
146
|
public instruments get AAPL EQUITY
|
|
147
|
+
public instruments bonds --bond-type TREASURY --rating AAA
|
|
147
148
|
public market quotes AAPL MSFT --type EQUITY
|
|
149
|
+
public market bond-details 912828XG0-BOND
|
|
148
150
|
public market option-expirations AAPL
|
|
149
151
|
public market option-chain AAPL 2026-05-15
|
|
150
152
|
public options greeks "AAPL 260515C00200000"
|
|
@@ -152,6 +154,7 @@ public options strategy-quote --file examples/strategy-quote.request.json
|
|
|
152
154
|
public historicdata bars EQUITY AAPL YEAR
|
|
153
155
|
public historicdata bars EQUITY AAPL DAY --aggregation FIVE_MINUTES
|
|
154
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
|
|
155
158
|
public taxlots list
|
|
156
159
|
public taxlots symbol AAPL
|
|
157
160
|
public taxlots csv --output taxlots.csv
|
|
@@ -183,11 +186,18 @@ When using the `SINCE_PURCHASE` period, supply the purchase date:
|
|
|
183
186
|
public historicdata bars EQUITY AAPL SINCE_PURCHASE --purchase-date 2024-01-15
|
|
184
187
|
```
|
|
185
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
|
+
|
|
186
195
|
Trading requests use JSON files so the exact payload is visible before submission:
|
|
187
196
|
|
|
188
197
|
```bash
|
|
189
198
|
public order preflight-single --file examples/order.single-leg.market-buy.json
|
|
190
199
|
public order place --file examples/order.single-leg.market-buy.json
|
|
200
|
+
public order replace --file examples/order.replace.notional.json
|
|
191
201
|
public order get ORDER_ID
|
|
192
202
|
public order cancel ORDER_ID
|
|
193
203
|
```
|
|
@@ -207,6 +217,18 @@ Order-placement and single-leg preflight payloads also accept an optional
|
|
|
207
217
|
which tax lots to close when selling equity. See
|
|
208
218
|
`examples/order.single-leg.tax-lot-matching.json` for a sample.
|
|
209
219
|
|
|
220
|
+
`order replace` submits a cancel-replace request for an open order. The replacement can
|
|
221
|
+
specify either a `quantity` or a notional `amount` — the two fields are mutually
|
|
222
|
+
exclusive. `--quantity` and `--amount` override the corresponding field in the request
|
|
223
|
+
file. Replacement is supported for equity, option, and crypto quantity orders, and is
|
|
224
|
+
asynchronous: verify order status after submitting. See
|
|
225
|
+
`examples/order.replace.notional.json` for a sample notional replacement payload.
|
|
226
|
+
|
|
227
|
+
```bash
|
|
228
|
+
public order replace --file examples/order.replace.notional.json
|
|
229
|
+
public order replace --file examples/order.replace.notional.json --amount 250.00
|
|
230
|
+
```
|
|
231
|
+
|
|
210
232
|
## Tax Lots
|
|
211
233
|
|
|
212
234
|
Inspect unrealized tax lots for the configured (or `--account-id`) account:
|
|
@@ -238,6 +260,32 @@ The request body is a `StrategyQuoteRequest` with a `baseSymbol` and an `optionL
|
|
|
238
260
|
(each leg is `{symbol, side, openCloseIndicator, ratioQuantity}`), plus an optional
|
|
239
261
|
`equityLeg`. See `examples/strategy-quote.request.json` for a sample.
|
|
240
262
|
|
|
263
|
+
## Bonds
|
|
264
|
+
|
|
265
|
+
Search fixed income instruments with optional filtering, sorting, and pagination:
|
|
266
|
+
|
|
267
|
+
```bash
|
|
268
|
+
public instruments bonds
|
|
269
|
+
public instruments bonds --bond-type TREASURY --treasury-subtype NOTE --min-coupon 4
|
|
270
|
+
public instruments bonds --rating AAA --rating AA+ --max-maturity-date 2030-12-31
|
|
271
|
+
public instruments bonds --page-size 50 --sort-property maturityDate --sort-direction ASC
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
Filters cover issuer, bond status/type, treasury subtype, S&P ratings and outlook,
|
|
275
|
+
coupon, maturity dates, current yield, par value, liquidity rating, and
|
|
276
|
+
callable/perpetual/partial-par flags. Repeatable options (for example `--rating`) can be
|
|
277
|
+
passed multiple times. Results are returned as a page with `content` plus paging
|
|
278
|
+
metadata. The API defaults the minimum maturity date to today + 14 days to exclude bonds
|
|
279
|
+
nearing maturity with volatile yields; pass `--min-maturity-date` to override.
|
|
280
|
+
|
|
281
|
+
Retrieve comprehensive details for a single bond — pricing, ratings, coupon, and
|
|
282
|
+
maturity/call information — using the configured (or `--account-id`) account. The bond
|
|
283
|
+
symbol is typically in `CUSIP-BOND` format:
|
|
284
|
+
|
|
285
|
+
```bash
|
|
286
|
+
public market bond-details 912828XG0-BOND
|
|
287
|
+
```
|
|
288
|
+
|
|
241
289
|
## JSON Output
|
|
242
290
|
|
|
243
291
|
Use `--json` before the command group to print raw JSON:
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import re
|
|
4
|
+
import shutil
|
|
5
|
+
import subprocess
|
|
6
|
+
import tempfile
|
|
7
|
+
from pathlib import Path
|
|
8
|
+
|
|
9
|
+
ROOT = Path(__file__).resolve().parents[1]
|
|
10
|
+
SPEC_PATH = ROOT / "spec.yaml"
|
|
11
|
+
OUTPUT_PATH = ROOT / "src" / "publicdotcom_cli" / "_generated"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def normalized_spec_text() -> str:
|
|
15
|
+
if not SPEC_PATH.exists():
|
|
16
|
+
raise SystemExit(
|
|
17
|
+
f"OpenAPI spec not found at {SPEC_PATH}. "
|
|
18
|
+
"Place the local, uncommitted spec at the repository root as spec.yaml."
|
|
19
|
+
)
|
|
20
|
+
text = SPEC_PATH.read_text(encoding="utf-8")
|
|
21
|
+
text = re.sub(r"^(\s*)'\*/\*':", r"\1application/json:", text, flags=re.MULTILINE)
|
|
22
|
+
return _inject_enum_varnames(text)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def _enum_collision_key(value: str) -> str:
|
|
26
|
+
"""Approximate the enum member key openapi-python-client derives from a value."""
|
|
27
|
+
return "_".join(re.findall(r"[A-Za-z0-9]+", value)).upper()
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def _enum_varname(value: str, index: int) -> str:
|
|
31
|
+
"""Build a distinct, valid enum member name for a value like `AA+` or `SP-1`."""
|
|
32
|
+
name = value.strip().upper()
|
|
33
|
+
if not name or not name[0].isalpha():
|
|
34
|
+
return f"VALUE_{index}"
|
|
35
|
+
name = name.replace("+", "_PLUS")
|
|
36
|
+
if name.endswith("-"):
|
|
37
|
+
name = f"{name[:-1]}_MINUS"
|
|
38
|
+
return re.sub(r"[^A-Z0-9]+", "_", name).strip("_")
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def _inject_enum_varnames(text: str) -> str:
|
|
42
|
+
"""Add `x-enum-varnames` to enum blocks whose values collide after sanitization.
|
|
43
|
+
|
|
44
|
+
openapi-python-client derives enum member names by stripping symbols, so values
|
|
45
|
+
such as `AA+`, `AA`, and `AA-` (S&P bond ratings) all map to `AA` and generation
|
|
46
|
+
fails with a duplicate-key error. Providing explicit `x-enum-varnames` keeps the
|
|
47
|
+
enum values faithful to the spec while giving each member a distinct name.
|
|
48
|
+
"""
|
|
49
|
+
lines = text.split("\n")
|
|
50
|
+
out: list[str] = []
|
|
51
|
+
i = 0
|
|
52
|
+
enum_re = re.compile(r"^(\s*)enum:\s*$")
|
|
53
|
+
while i < len(lines):
|
|
54
|
+
out.append(lines[i])
|
|
55
|
+
match = enum_re.match(lines[i])
|
|
56
|
+
if not match:
|
|
57
|
+
i += 1
|
|
58
|
+
continue
|
|
59
|
+
indent = match.group(1)
|
|
60
|
+
item_re = re.compile(rf"^({re.escape(indent)}\s+)- (\S.*?)\s*$")
|
|
61
|
+
values: list[str] = []
|
|
62
|
+
item_indent = ""
|
|
63
|
+
j = i + 1
|
|
64
|
+
while j < len(lines):
|
|
65
|
+
item = item_re.match(lines[j])
|
|
66
|
+
if not item:
|
|
67
|
+
break
|
|
68
|
+
item_indent = item.group(1)
|
|
69
|
+
values.append(item.group(2).strip("'\""))
|
|
70
|
+
out.append(lines[j])
|
|
71
|
+
j += 1
|
|
72
|
+
keys = [_enum_collision_key(value) for value in values]
|
|
73
|
+
if values and len(set(keys)) != len(keys):
|
|
74
|
+
varnames = [_enum_varname(value, index) for index, value in enumerate(values)]
|
|
75
|
+
if len(set(varnames)) != len(varnames):
|
|
76
|
+
raise SystemExit(f"Could not build distinct x-enum-varnames for enum: {values}")
|
|
77
|
+
out.append(f"{indent}x-enum-varnames:")
|
|
78
|
+
out.extend(f"{item_indent}- {varname}" for varname in varnames)
|
|
79
|
+
i = j
|
|
80
|
+
return "\n".join(out)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
def main() -> None:
|
|
84
|
+
with tempfile.TemporaryDirectory() as tmp:
|
|
85
|
+
normalized_spec = Path(tmp) / "spec.codegen.yaml"
|
|
86
|
+
normalized_spec.write_text(normalized_spec_text(), encoding="utf-8")
|
|
87
|
+
subprocess.run(
|
|
88
|
+
[
|
|
89
|
+
"uvx",
|
|
90
|
+
"openapi-python-client",
|
|
91
|
+
"generate",
|
|
92
|
+
"--path",
|
|
93
|
+
str(normalized_spec),
|
|
94
|
+
"--output-path",
|
|
95
|
+
str(OUTPUT_PATH),
|
|
96
|
+
"--overwrite",
|
|
97
|
+
"--meta",
|
|
98
|
+
"none",
|
|
99
|
+
],
|
|
100
|
+
check=True,
|
|
101
|
+
cwd=ROOT,
|
|
102
|
+
)
|
|
103
|
+
|
|
104
|
+
shutil.rmtree(OUTPUT_PATH / ".ruff_cache", ignore_errors=True)
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
if __name__ == "__main__":
|
|
108
|
+
main()
|
|
@@ -95,8 +95,9 @@ def sync_detailed(
|
|
|
95
95
|
) -> Response[Any | ComHellopublicUserapigatewayApiRestHistoryGatewayHistoryResponsePage]:
|
|
96
96
|
"""Retrieve account history
|
|
97
97
|
|
|
98
|
-
Fetches a paginated list of historical events
|
|
99
|
-
|
|
98
|
+
Fetches a paginated list of historical account events — including trades, money movements, and
|
|
99
|
+
position adjustments — for the specified account. Supports optional time-range filtering (start/end)
|
|
100
|
+
and pagination via the nextToken continuation token.
|
|
100
101
|
|
|
101
102
|
Args:
|
|
102
103
|
account_id (str):
|
|
@@ -139,8 +140,9 @@ def sync(
|
|
|
139
140
|
) -> Any | ComHellopublicUserapigatewayApiRestHistoryGatewayHistoryResponsePage | None:
|
|
140
141
|
"""Retrieve account history
|
|
141
142
|
|
|
142
|
-
Fetches a paginated list of historical events
|
|
143
|
-
|
|
143
|
+
Fetches a paginated list of historical account events — including trades, money movements, and
|
|
144
|
+
position adjustments — for the specified account. Supports optional time-range filtering (start/end)
|
|
145
|
+
and pagination via the nextToken continuation token.
|
|
144
146
|
|
|
145
147
|
Args:
|
|
146
148
|
account_id (str):
|
|
@@ -178,8 +180,9 @@ async def asyncio_detailed(
|
|
|
178
180
|
) -> Response[Any | ComHellopublicUserapigatewayApiRestHistoryGatewayHistoryResponsePage]:
|
|
179
181
|
"""Retrieve account history
|
|
180
182
|
|
|
181
|
-
Fetches a paginated list of historical events
|
|
182
|
-
|
|
183
|
+
Fetches a paginated list of historical account events — including trades, money movements, and
|
|
184
|
+
position adjustments — for the specified account. Supports optional time-range filtering (start/end)
|
|
185
|
+
and pagination via the nextToken continuation token.
|
|
183
186
|
|
|
184
187
|
Args:
|
|
185
188
|
account_id (str):
|
|
@@ -220,8 +223,9 @@ async def asyncio(
|
|
|
220
223
|
) -> Any | ComHellopublicUserapigatewayApiRestHistoryGatewayHistoryResponsePage | None:
|
|
221
224
|
"""Retrieve account history
|
|
222
225
|
|
|
223
|
-
Fetches a paginated list of historical events
|
|
224
|
-
|
|
226
|
+
Fetches a paginated list of historical account events — including trades, money movements, and
|
|
227
|
+
position adjustments — for the specified account. Supports optional time-range filtering (start/end)
|
|
228
|
+
and pagination via the nextToken continuation token.
|
|
225
229
|
|
|
226
230
|
Args:
|
|
227
231
|
account_id (str):
|
|
@@ -127,7 +127,7 @@ def sync_detailed(
|
|
|
127
127
|
option_spread_trading_filter: list[GetAllInstrumentsOptionSpreadTradingFilterItem]
|
|
128
128
|
| Unset = UNSET,
|
|
129
129
|
) -> Response[ComHellopublicUserapigatewayApiRestOrderApiInstrumentResponse]:
|
|
130
|
-
"""
|
|
130
|
+
"""Retrieve all trading instruments
|
|
131
131
|
|
|
132
132
|
Retrieves all available trading instruments with optional filtering capabilities.
|
|
133
133
|
|
|
@@ -176,7 +176,7 @@ def sync(
|
|
|
176
176
|
option_spread_trading_filter: list[GetAllInstrumentsOptionSpreadTradingFilterItem]
|
|
177
177
|
| Unset = UNSET,
|
|
178
178
|
) -> ComHellopublicUserapigatewayApiRestOrderApiInstrumentResponse | None:
|
|
179
|
-
"""
|
|
179
|
+
"""Retrieve all trading instruments
|
|
180
180
|
|
|
181
181
|
Retrieves all available trading instruments with optional filtering capabilities.
|
|
182
182
|
|
|
@@ -220,7 +220,7 @@ async def asyncio_detailed(
|
|
|
220
220
|
option_spread_trading_filter: list[GetAllInstrumentsOptionSpreadTradingFilterItem]
|
|
221
221
|
| Unset = UNSET,
|
|
222
222
|
) -> Response[ComHellopublicUserapigatewayApiRestOrderApiInstrumentResponse]:
|
|
223
|
-
"""
|
|
223
|
+
"""Retrieve all trading instruments
|
|
224
224
|
|
|
225
225
|
Retrieves all available trading instruments with optional filtering capabilities.
|
|
226
226
|
|
|
@@ -267,7 +267,7 @@ async def asyncio(
|
|
|
267
267
|
option_spread_trading_filter: list[GetAllInstrumentsOptionSpreadTradingFilterItem]
|
|
268
268
|
| Unset = UNSET,
|
|
269
269
|
) -> ComHellopublicUserapigatewayApiRestOrderApiInstrumentResponse | None:
|
|
270
|
-
"""
|
|
270
|
+
"""Retrieve all trading instruments
|
|
271
271
|
|
|
272
272
|
Retrieves all available trading instruments with optional filtering capabilities.
|
|
273
273
|
|