publicdotcom-cli 1.3.0__tar.gz → 1.3.1__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.0 → publicdotcom_cli-1.3.1}/CHANGELOG.md +18 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/PKG-INFO +1 -1
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/pyproject.toml +1 -1
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/__init__.py +1 -1
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/tax_lot_selling/get_unrealized_tax_lots.py +4 -4
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/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.1}/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.1}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_account_type.py +1 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_account_v2_account_type.py +1 -0
- publicdotcom_cli-1.3.1/tests/test_generated_enums.py +30 -0
- publicdotcom_cli-1.3.1/tests/test_output.py +33 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/uv.lock +1 -1
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/.gitattributes +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/.github/workflows/ci.yml +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/.github/workflows/release.yml +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/.gitignore +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/LICENSE +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/README.md +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/examples/order.single-leg.cash-only.json +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/examples/order.single-leg.market-buy.json +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/examples/order.single-leg.tax-lot-matching.json +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/examples/strategy-quote.request.json +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/scripts/generate_client.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/__main__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/account_details/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/account_details/get_account_portfolio_v2.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/account_details/get_history.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/authorization/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/authorization/create_personal_access_token.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/instrument_details/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/instrument_details/get_all_instruments.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/instrument_details/get_instrument.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/list_accounts/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/list_accounts/get_accounts.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/market_data/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/market_data/get_bars_v2.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/market_data/get_bars_v2_with_aggregation.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/market_data/get_option_chain.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/market_data/get_option_expirations.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/market_data/get_quotes.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/option_details/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/option_details/get_option_greeks.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/option_details/get_strategy_quote.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/order_placement/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/order_placement/cancel_order.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/order_placement/get_order.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/order_placement/place_multileg_order.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/order_placement/place_order.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/order_placement/preflight_multi_leg.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/order_placement/preflight_single_leg.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/order_placement/replace_order.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/tax_lot_selling/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/client.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/errors.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/__init__.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/bar.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/bars_response.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/com_hellopublic_core_dto_base_64_file.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/src/publicdotcom_cli/_generated/models/com_hellopublic_hstier_2_service_taxlots_api_out_of_date_status_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/src/publicdotcom_cli/_generated/models/com_hellopublic_trading_core_quote_signed_quote.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/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.1}/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.1}/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.1}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapiauthservice_domain_error_error_body.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_cancel_replace_order_request.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gain.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_price.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/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.1}/src/publicdotcom_cli/_generated/models/get_all_instruments_fractional_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/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.1}/src/publicdotcom_cli/_generated/models/get_all_instruments_option_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/get_all_instruments_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/get_all_instruments_type_filter_item.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/get_bars_v2_period.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/get_bars_v2_trading_session_toggle.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/get_bars_v2_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/get_bars_v2_with_aggregation_aggregation.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/get_bars_v2_with_aggregation_period.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/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.1}/src/publicdotcom_cli/_generated/models/get_bars_v2_with_aggregation_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/get_instrument_type.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/last_session_close.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/market_session_bars.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/regular_session_closing_data.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/types.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/cli.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/client.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/config.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/output.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/payloads.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/tests/test_cli.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/tests/test_client.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/tests/test_config.py +0 -0
- {publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/tests/test_payloads.py +0 -0
|
@@ -5,6 +5,24 @@ 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.1] - 2026-07-24
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- Regenerated `_generated/` API client from the updated `spec.yaml`:
|
|
12
|
+
- `ENTITY` added to the `accountType` enums on `GatewayPortfolioAccountV2` and
|
|
13
|
+
`AccountSettings`. Additive and non-breaking — the CLI treats `accountType`
|
|
14
|
+
as an opaque string (`public accounts` renders it in a table, `public
|
|
15
|
+
portfolio` emits raw JSON), so entity accounts already display correctly.
|
|
16
|
+
- The three `taxlots` endpoints now document `trading.read` (was `portfolio`)
|
|
17
|
+
as their required scope, matching the corrected spec. Behaviour is
|
|
18
|
+
unchanged; only the stated scope was wrong.
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
- `tests/test_generated_enums.py` asserting both regenerated `accountType`
|
|
22
|
+
enums parse `ENTITY` and match the spec's full member set.
|
|
23
|
+
- `tests/test_output.py` covering `print_accounts` rendering of an `ENTITY`
|
|
24
|
+
account, guarding against a future regression to strict enum parsing.
|
|
25
|
+
|
|
8
26
|
## [1.3.0] - 2026-07-20
|
|
9
27
|
|
|
10
28
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: publicdotcom-cli
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.1
|
|
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
|
|
@@ -66,7 +66,7 @@ def sync_detailed(
|
|
|
66
66
|
) -> Response[Any | ComHellopublicHstier2ServiceTaxlotsApiUnrealizedLotsSummaryResponse]:
|
|
67
67
|
"""Retrieve unrealized tax lots
|
|
68
68
|
|
|
69
|
-
Returns an overview of unrealized tax lots for the specified account. Requires the `
|
|
69
|
+
Returns an overview of unrealized tax lots for the specified account. Requires the `trading.read`
|
|
70
70
|
scope. Available to individual investors.
|
|
71
71
|
|
|
72
72
|
Args:
|
|
@@ -98,7 +98,7 @@ def sync(
|
|
|
98
98
|
) -> Any | ComHellopublicHstier2ServiceTaxlotsApiUnrealizedLotsSummaryResponse | None:
|
|
99
99
|
"""Retrieve unrealized tax lots
|
|
100
100
|
|
|
101
|
-
Returns an overview of unrealized tax lots for the specified account. Requires the `
|
|
101
|
+
Returns an overview of unrealized tax lots for the specified account. Requires the `trading.read`
|
|
102
102
|
scope. Available to individual investors.
|
|
103
103
|
|
|
104
104
|
Args:
|
|
@@ -125,7 +125,7 @@ async def asyncio_detailed(
|
|
|
125
125
|
) -> Response[Any | ComHellopublicHstier2ServiceTaxlotsApiUnrealizedLotsSummaryResponse]:
|
|
126
126
|
"""Retrieve unrealized tax lots
|
|
127
127
|
|
|
128
|
-
Returns an overview of unrealized tax lots for the specified account. Requires the `
|
|
128
|
+
Returns an overview of unrealized tax lots for the specified account. Requires the `trading.read`
|
|
129
129
|
scope. Available to individual investors.
|
|
130
130
|
|
|
131
131
|
Args:
|
|
@@ -155,7 +155,7 @@ async def asyncio(
|
|
|
155
155
|
) -> Any | ComHellopublicHstier2ServiceTaxlotsApiUnrealizedLotsSummaryResponse | None:
|
|
156
156
|
"""Retrieve unrealized tax lots
|
|
157
157
|
|
|
158
|
-
Returns an overview of unrealized tax lots for the specified account. Requires the `
|
|
158
|
+
Returns an overview of unrealized tax lots for the specified account. Requires the `trading.read`
|
|
159
159
|
scope. Available to individual investors.
|
|
160
160
|
|
|
161
161
|
Args:
|
|
@@ -60,8 +60,8 @@ def sync_detailed(
|
|
|
60
60
|
) -> Response[Any | ComHellopublicCoreDtoBase64File]:
|
|
61
61
|
"""Retrieve unrealized tax lots as CSV
|
|
62
62
|
|
|
63
|
-
Returns unrealized tax lots for the specified account in CSV format. Requires the `
|
|
64
|
-
Available to individual investors.
|
|
63
|
+
Returns unrealized tax lots for the specified account in CSV format. Requires the `trading.read`
|
|
64
|
+
scope. Available to individual investors.
|
|
65
65
|
|
|
66
66
|
Args:
|
|
67
67
|
account_id (str):
|
|
@@ -92,8 +92,8 @@ def sync(
|
|
|
92
92
|
) -> Any | ComHellopublicCoreDtoBase64File | None:
|
|
93
93
|
"""Retrieve unrealized tax lots as CSV
|
|
94
94
|
|
|
95
|
-
Returns unrealized tax lots for the specified account in CSV format. Requires the `
|
|
96
|
-
Available to individual investors.
|
|
95
|
+
Returns unrealized tax lots for the specified account in CSV format. Requires the `trading.read`
|
|
96
|
+
scope. Available to individual investors.
|
|
97
97
|
|
|
98
98
|
Args:
|
|
99
99
|
account_id (str):
|
|
@@ -119,8 +119,8 @@ async def asyncio_detailed(
|
|
|
119
119
|
) -> Response[Any | ComHellopublicCoreDtoBase64File]:
|
|
120
120
|
"""Retrieve unrealized tax lots as CSV
|
|
121
121
|
|
|
122
|
-
Returns unrealized tax lots for the specified account in CSV format. Requires the `
|
|
123
|
-
Available to individual investors.
|
|
122
|
+
Returns unrealized tax lots for the specified account in CSV format. Requires the `trading.read`
|
|
123
|
+
scope. Available to individual investors.
|
|
124
124
|
|
|
125
125
|
Args:
|
|
126
126
|
account_id (str):
|
|
@@ -149,8 +149,8 @@ async def asyncio(
|
|
|
149
149
|
) -> Any | ComHellopublicCoreDtoBase64File | None:
|
|
150
150
|
"""Retrieve unrealized tax lots as CSV
|
|
151
151
|
|
|
152
|
-
Returns unrealized tax lots for the specified account in CSV format. Requires the `
|
|
153
|
-
Available to individual investors.
|
|
152
|
+
Returns unrealized tax lots for the specified account in CSV format. Requires the `trading.read`
|
|
153
|
+
scope. Available to individual investors.
|
|
154
154
|
|
|
155
155
|
Args:
|
|
156
156
|
account_id (str):
|
|
@@ -77,8 +77,8 @@ def sync_detailed(
|
|
|
77
77
|
) -> Response[Any | ComHellopublicHstier2ServiceTaxlotsApiUnrealizedLotsDetailResponse]:
|
|
78
78
|
"""Retrieve unrealized tax lots for a specific symbol
|
|
79
79
|
|
|
80
|
-
Returns detailed unrealized tax lots for a specific symbol in the account. Requires the
|
|
81
|
-
scope. Available to individual investors.
|
|
80
|
+
Returns detailed unrealized tax lots for a specific symbol in the account. Requires the
|
|
81
|
+
`trading.read` scope. Available to individual investors.
|
|
82
82
|
|
|
83
83
|
Args:
|
|
84
84
|
account_id (str):
|
|
@@ -115,8 +115,8 @@ def sync(
|
|
|
115
115
|
) -> Any | ComHellopublicHstier2ServiceTaxlotsApiUnrealizedLotsDetailResponse | None:
|
|
116
116
|
"""Retrieve unrealized tax lots for a specific symbol
|
|
117
117
|
|
|
118
|
-
Returns detailed unrealized tax lots for a specific symbol in the account. Requires the
|
|
119
|
-
scope. Available to individual investors.
|
|
118
|
+
Returns detailed unrealized tax lots for a specific symbol in the account. Requires the
|
|
119
|
+
`trading.read` scope. Available to individual investors.
|
|
120
120
|
|
|
121
121
|
Args:
|
|
122
122
|
account_id (str):
|
|
@@ -148,8 +148,8 @@ async def asyncio_detailed(
|
|
|
148
148
|
) -> Response[Any | ComHellopublicHstier2ServiceTaxlotsApiUnrealizedLotsDetailResponse]:
|
|
149
149
|
"""Retrieve unrealized tax lots for a specific symbol
|
|
150
150
|
|
|
151
|
-
Returns detailed unrealized tax lots for a specific symbol in the account. Requires the
|
|
152
|
-
scope. Available to individual investors.
|
|
151
|
+
Returns detailed unrealized tax lots for a specific symbol in the account. Requires the
|
|
152
|
+
`trading.read` scope. Available to individual investors.
|
|
153
153
|
|
|
154
154
|
Args:
|
|
155
155
|
account_id (str):
|
|
@@ -184,8 +184,8 @@ async def asyncio(
|
|
|
184
184
|
) -> Any | ComHellopublicHstier2ServiceTaxlotsApiUnrealizedLotsDetailResponse | None:
|
|
185
185
|
"""Retrieve unrealized tax lots for a specific symbol
|
|
186
186
|
|
|
187
|
-
Returns detailed unrealized tax lots for a specific symbol in the account. Requires the
|
|
188
|
-
scope. Available to individual investors.
|
|
187
|
+
Returns detailed unrealized tax lots for a specific symbol in the account. Requires the
|
|
188
|
+
`trading.read` scope. Available to individual investors.
|
|
189
189
|
|
|
190
190
|
Args:
|
|
191
191
|
account_id (str):
|
|
@@ -4,6 +4,7 @@ from enum import Enum
|
|
|
4
4
|
class ComHellopublicUserapigatewayApiRestPortfolioGatewayPortfolioAccountV2AccountType(str, Enum):
|
|
5
5
|
BOND_ACCOUNT = "BOND_ACCOUNT"
|
|
6
6
|
BROKERAGE = "BROKERAGE"
|
|
7
|
+
ENTITY = "ENTITY"
|
|
7
8
|
HIGH_YIELD = "HIGH_YIELD"
|
|
8
9
|
RIA_ASSET = "RIA_ASSET"
|
|
9
10
|
ROTH_IRA = "ROTH_IRA"
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from publicdotcom_cli._generated.models import (
|
|
2
|
+
ComHellopublicUserapigatewayApiRestAccountAccountSettingsAccountType as AccountSettingsAccountType,
|
|
3
|
+
)
|
|
4
|
+
from publicdotcom_cli._generated.models import (
|
|
5
|
+
ComHellopublicUserapigatewayApiRestPortfolioGatewayPortfolioAccountV2AccountType as PortfolioAccountType,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
EXPECTED_ACCOUNT_TYPES = {
|
|
9
|
+
"BOND_ACCOUNT",
|
|
10
|
+
"BROKERAGE",
|
|
11
|
+
"ENTITY",
|
|
12
|
+
"HIGH_YIELD",
|
|
13
|
+
"RIA_ASSET",
|
|
14
|
+
"ROTH_IRA",
|
|
15
|
+
"TRADITIONAL_IRA",
|
|
16
|
+
"TREASURY",
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def test_portfolio_account_type_parses_entity() -> None:
|
|
21
|
+
assert PortfolioAccountType("ENTITY") is PortfolioAccountType.ENTITY
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def test_account_settings_account_type_parses_entity() -> None:
|
|
25
|
+
assert AccountSettingsAccountType("ENTITY") is AccountSettingsAccountType.ENTITY
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def test_account_type_enums_match_spec() -> None:
|
|
29
|
+
assert {member.value for member in PortfolioAccountType} == EXPECTED_ACCOUNT_TYPES
|
|
30
|
+
assert {member.value for member in AccountSettingsAccountType} == EXPECTED_ACCOUNT_TYPES
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import io
|
|
2
|
+
|
|
3
|
+
import pytest
|
|
4
|
+
from rich.console import Console
|
|
5
|
+
|
|
6
|
+
from publicdotcom_cli import output
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def _capture_accounts(monkeypatch: pytest.MonkeyPatch, data: object) -> str:
|
|
10
|
+
buffer = io.StringIO()
|
|
11
|
+
monkeypatch.setattr(output, "console", Console(file=buffer, width=200, no_color=True))
|
|
12
|
+
output.print_accounts(data)
|
|
13
|
+
return buffer.getvalue()
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def test_print_accounts_renders_entity_account_type(monkeypatch: pytest.MonkeyPatch) -> None:
|
|
17
|
+
rendered = _capture_accounts(
|
|
18
|
+
monkeypatch,
|
|
19
|
+
{
|
|
20
|
+
"accounts": [
|
|
21
|
+
{
|
|
22
|
+
"accountId": "acct-1",
|
|
23
|
+
"accountType": "ENTITY",
|
|
24
|
+
"brokerageAccountType": "MARGIN",
|
|
25
|
+
"optionsLevel": "LEVEL_2",
|
|
26
|
+
"tradePermissions": "FULL",
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
assert "ENTITY" in rendered
|
|
33
|
+
assert "acct-1" in rendered
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/examples/order.single-leg.tax-lot-matching.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/__init__.py
RENAMED
|
File without changes
|
{publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/__init__.py
RENAMED
|
File without changes
|
{publicdotcom_cli-1.3.0 → publicdotcom_cli-1.3.1}/src/publicdotcom_cli/_generated/models/bar.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|