publicdotcom-cli 1.0.0__tar.gz → 1.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/PKG-INFO +30 -1
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/README.md +29 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/pyproject.toml +1 -1
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/__init__.py +1 -1
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/cli.py +36 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/.gitattributes +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/.gitignore +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/examples/order.single-leg.market-buy.json +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/scripts/generate_client.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/__main__.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/__init__.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/__init__.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/account_details/__init__.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/account_details/get_account_portfolio_v2.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/account_details/get_history.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/authorization/__init__.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/authorization/create_personal_access_token.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/instrument_details/__init__.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/instrument_details/get_all_instruments.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/instrument_details/get_instrument.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/list_accounts/__init__.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/list_accounts/get_accounts.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/market_data/__init__.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/market_data/get_option_chain.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/market_data/get_option_expirations.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/market_data/get_quotes.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/option_details/__init__.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/option_details/get_option_greeks.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/order_placement/__init__.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/order_placement/cancel_order.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/order_placement/get_order.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/order_placement/place_multileg_order.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/order_placement/place_order.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/order_placement/preflight_multi_leg.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/order_placement/preflight_single_leg.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/api/order_placement/replace_order.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/client.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/errors.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/__init__.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_holdingsystem_core_types_option_price_increment.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapiauthservice_api_personal_create_access_token_request.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapiauthservice_api_personal_create_access_token_response.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapiauthservice_domain_error_error_body.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_account_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_brokerage_account_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_options_level.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_response.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_account_account_settings_trade_permissions.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_response_page.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction_direction.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction_security_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction_side.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction_sub_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_history_gateway_history_transaction_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_option_chain_request.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_option_chain_response.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_option_expirations_request.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_option_expirations_response.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_quote.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_quote_outcome.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_quote_request.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_gateway_quote_response.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_one_day_change.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_marketdata_quote_option_details.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_options_greek_response.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_options_greeks_response.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_options_option_greeks_type_0.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_cancel_replace_order_request.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_cancel_replace_order_request_order_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto_fractional_trading.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto_option_spread_trading.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto_option_trading.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto_shorting_availability.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_dto_trading.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_instrument_response.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_multileg_order_request.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_multileg_order_request_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request_equity_market_session.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request_order_side.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_request_order_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_api_order_result.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_leg_instrument.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_leg_instrument_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_instrument.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_instrument_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_leg.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_leg_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_leg_side.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_side.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_status.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_order_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_short_selling.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_short_selling_availability.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_gateway_short_selling_uptick_rule.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_instrumentdetails_api_instrument_details.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_instrumentdetails_api_instrument_details_bond.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_instrumentdetails_api_instrument_details_crypto.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_order_expiration.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_order_order_expiration_time_in_force.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gain_type_0.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_buying_power.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_cost_basis_type_0.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_account_v2.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_account_v2_account_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_equity_v2.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_equity_v2_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_instrument.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_instrument_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_portfolio_position.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_strategy.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_gateway_strategy_leg.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_portfolio_price_type_0.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_margin_impact.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_margin_requirement.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_option_details.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_option_details_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_option_rebate.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_price_increment.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_gateway_regulatory_fees.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_leg_response.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_leg_response_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_leg_response_side.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_multi_leg_request.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_multi_leg_request_order_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_multi_leg_response.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_request.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_request_equity_market_session.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_request_open_close_indicator.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_request_order_side.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_request_order_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/com_hellopublic_userapigateway_api_rest_preflight_preflight_single_leg_response.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/get_all_instruments_fractional_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/get_all_instruments_option_spread_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/get_all_instruments_option_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/get_all_instruments_trading_filter_item.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/get_all_instruments_type_filter_item.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/get_instrument_type.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/types.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/client.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/config.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/output.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/payloads.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/tests/test_cli.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/tests/test_client.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/tests/test_config.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/tests/test_payloads.py +0 -0
- {publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: publicdotcom-cli
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.1.0
|
|
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
|
|
@@ -185,6 +185,35 @@ public market quotes AAPL MSFT --type EQUITY
|
|
|
185
185
|
public market option-expirations AAPL
|
|
186
186
|
public market option-chain AAPL 2026-05-15
|
|
187
187
|
public options greeks "AAPL 260515C00200000"
|
|
188
|
+
public historicdata bars AAPL YEAR
|
|
189
|
+
public historicdata bars AAPL DAY --aggregation FIVE_MINUTES
|
|
190
|
+
public historicdata bars AAPL SINCE_PURCHASE --purchase-date 2024-01-15
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
## Historic Bar Data
|
|
194
|
+
|
|
195
|
+
Fetch OHLCV bar data for a symbol over a given time period:
|
|
196
|
+
|
|
197
|
+
```bash
|
|
198
|
+
public historicdata bars AAPL YEAR
|
|
199
|
+
public historicdata bars BTC-USD WEEK
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
Available periods: `DAY`, `WEEK`, `MONTH`, `QUARTER`, `HALF_YEAR`, `YEAR`, `FIVE_YEARS`, `YTD`, `SINCE_PURCHASE`.
|
|
203
|
+
|
|
204
|
+
Override the default bar aggregation with `--aggregation`:
|
|
205
|
+
|
|
206
|
+
```bash
|
|
207
|
+
public historicdata bars AAPL DAY --aggregation FIVE_MINUTES
|
|
208
|
+
public historicdata bars AAPL MONTH --aggregation ONE_HOUR
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
Available aggregations: `ONE_MINUTE`, `FIVE_MINUTES`, `TEN_MINUTES`, `FIFTEEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`, `ONE_DAY`, `ONE_WEEK`, `ONE_MONTH`, `THREE_MONTHS`, `SIX_MONTHS`, `ONE_YEAR`.
|
|
212
|
+
|
|
213
|
+
When using the `SINCE_PURCHASE` period, supply the purchase date:
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
public historicdata bars AAPL SINCE_PURCHASE --purchase-date 2024-01-15
|
|
188
217
|
```
|
|
189
218
|
|
|
190
219
|
Trading requests use JSON files so the exact payload is visible before submission:
|
|
@@ -148,6 +148,35 @@ public market quotes AAPL MSFT --type EQUITY
|
|
|
148
148
|
public market option-expirations AAPL
|
|
149
149
|
public market option-chain AAPL 2026-05-15
|
|
150
150
|
public options greeks "AAPL 260515C00200000"
|
|
151
|
+
public historicdata bars AAPL YEAR
|
|
152
|
+
public historicdata bars AAPL DAY --aggregation FIVE_MINUTES
|
|
153
|
+
public historicdata bars AAPL SINCE_PURCHASE --purchase-date 2024-01-15
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
## Historic Bar Data
|
|
157
|
+
|
|
158
|
+
Fetch OHLCV bar data for a symbol over a given time period:
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
public historicdata bars AAPL YEAR
|
|
162
|
+
public historicdata bars BTC-USD WEEK
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Available periods: `DAY`, `WEEK`, `MONTH`, `QUARTER`, `HALF_YEAR`, `YEAR`, `FIVE_YEARS`, `YTD`, `SINCE_PURCHASE`.
|
|
166
|
+
|
|
167
|
+
Override the default bar aggregation with `--aggregation`:
|
|
168
|
+
|
|
169
|
+
```bash
|
|
170
|
+
public historicdata bars AAPL DAY --aggregation FIVE_MINUTES
|
|
171
|
+
public historicdata bars AAPL MONTH --aggregation ONE_HOUR
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Available aggregations: `ONE_MINUTE`, `FIVE_MINUTES`, `TEN_MINUTES`, `FIFTEEN_MINUTES`, `THIRTY_MINUTES`, `ONE_HOUR`, `ONE_DAY`, `ONE_WEEK`, `ONE_MONTH`, `THREE_MONTHS`, `SIX_MONTHS`, `ONE_YEAR`.
|
|
175
|
+
|
|
176
|
+
When using the `SINCE_PURCHASE` period, supply the purchase date:
|
|
177
|
+
|
|
178
|
+
```bash
|
|
179
|
+
public historicdata bars AAPL SINCE_PURCHASE --purchase-date 2024-01-15
|
|
151
180
|
```
|
|
152
181
|
|
|
153
182
|
Trading requests use JSON files so the exact payload is visible before submission:
|
|
@@ -47,6 +47,7 @@ instruments_app = typer.Typer(help="Instrument lookup commands.")
|
|
|
47
47
|
market_app = typer.Typer(help="Market data commands.")
|
|
48
48
|
options_app = typer.Typer(help="Option details commands.")
|
|
49
49
|
order_app = typer.Typer(help="Order and preflight commands.")
|
|
50
|
+
historicdata_app = typer.Typer(help="Historic bar data commands.")
|
|
50
51
|
|
|
51
52
|
app.add_typer(auth_app, name="auth")
|
|
52
53
|
app.add_typer(accounts_app, name="accounts")
|
|
@@ -56,6 +57,7 @@ app.add_typer(instruments_app, name="instruments")
|
|
|
56
57
|
app.add_typer(market_app, name="market")
|
|
57
58
|
app.add_typer(options_app, name="options")
|
|
58
59
|
app.add_typer(order_app, name="order")
|
|
60
|
+
app.add_typer(historicdata_app, name="historicdata")
|
|
59
61
|
|
|
60
62
|
|
|
61
63
|
@dataclass
|
|
@@ -757,5 +759,39 @@ def order_cancel(
|
|
|
757
759
|
_print(ctx, result if result is not None else {"cancelRequested": True})
|
|
758
760
|
|
|
759
761
|
|
|
762
|
+
@historicdata_app.command("bars")
|
|
763
|
+
def historicdata_bars(
|
|
764
|
+
ctx: typer.Context,
|
|
765
|
+
symbol: Annotated[str, typer.Argument(help="Ticker symbol, e.g. AAPL.")],
|
|
766
|
+
period: Annotated[
|
|
767
|
+
str,
|
|
768
|
+
typer.Argument(
|
|
769
|
+
help="Time period: DAY, WEEK, MONTH, QUARTER, HALF_YEAR, YEAR, FIVE_YEARS, YTD, SINCE_PURCHASE."
|
|
770
|
+
),
|
|
771
|
+
],
|
|
772
|
+
aggregation: Annotated[
|
|
773
|
+
str | None,
|
|
774
|
+
typer.Option(
|
|
775
|
+
"--aggregation",
|
|
776
|
+
help=(
|
|
777
|
+
"Bar aggregation override: ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, "
|
|
778
|
+
"FIFTEEN_MINUTES, THIRTY_MINUTES, ONE_HOUR, ONE_DAY, ONE_WEEK, "
|
|
779
|
+
"ONE_MONTH, THREE_MONTHS, SIX_MONTHS, ONE_YEAR."
|
|
780
|
+
),
|
|
781
|
+
),
|
|
782
|
+
] = None,
|
|
783
|
+
purchase_date: Annotated[
|
|
784
|
+
str | None,
|
|
785
|
+
typer.Option("--purchase-date", help="Required when period is SINCE_PURCHASE. YYYY-MM-DD."),
|
|
786
|
+
] = None,
|
|
787
|
+
) -> None:
|
|
788
|
+
if aggregation:
|
|
789
|
+
path = f"/userapigateway/historicdata/{symbol.upper()}/{period.upper()}/{aggregation.upper()}"
|
|
790
|
+
else:
|
|
791
|
+
path = f"/userapigateway/historicdata/{symbol.upper()}/{period.upper()}"
|
|
792
|
+
result = _call(ctx, "GET", path, params={"purchaseDate": purchase_date})
|
|
793
|
+
_print(ctx, result)
|
|
794
|
+
|
|
795
|
+
|
|
760
796
|
def main() -> None:
|
|
761
797
|
app()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/__init__.py
RENAMED
|
File without changes
|
{publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/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
|
{publicdotcom_cli-1.0.0 → publicdotcom_cli-1.1.0}/src/publicdotcom_cli/_generated/models/__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
|
|
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
|