publicdotcom-cli 1.3.3__tar.gz → 1.3.4__tar.gz

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