finatic-server-python 0.9.1__tar.gz → 0.9.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/PKG-INFO +11 -11
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/demo-app/demo_cli.py +2 -1
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/pyproject.toml +11 -11
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/FinaticServer.py +4 -4
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/__init__.py +0 -2
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/api/brokers_api.py +25 -26
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/__init__.py +0 -1
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_broker_balance.py +15 -1
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_broker_order.py +8 -1
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_broker_position.py +8 -1
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_broker_position_lot.py +15 -1
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/utils/pagination.py +19 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/wrappers/brokers.py +9 -10
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/uv.lock +108 -1370
- finatic_server_python-0.9.1/src/generated/models/broker_data_order_status_enum.py +0 -46
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/.editorconfig +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/.gitignore +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/CHANGELOG.md +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/LICENSE +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/README.md +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/demo-app/README.md +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/demo-app/env.example +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/demo-app/pyproject.toml +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/demo-app/uv.lock +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/finatic_server_python/__init__.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/pytest.ini +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/quality_check.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/.openapi-generator-ignore +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/__init__.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/custom/FinaticServer.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/custom/__init__.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/custom/wrappers/brokers.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/custom/wrappers/company.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/custom/wrappers/session.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/api/__init__.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/api/company_api.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/api/session_api.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/api_client.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/api_response.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/config.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/configuration.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/exceptions.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/account_status.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/accountstatus0.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/accounttype.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/assettype.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/availablebalance.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/availabletowithdraw.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/averagebuyprice.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/averagefillprice.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/averagesellprice.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/balancetype.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/broker_data_account_type_enum.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/broker_data_asset_type_enum.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/broker_data_order_side_enum.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/broker_data_position_status_enum.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/broker_info.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/buyingpower.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/cashbalance.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/closedquantity.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/closepriceavg.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/commission.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/commissionshare.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/company_response.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/costbasis.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/costbasis1.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/costbasiswithcommission.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/costbasiswithcommission1.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/currentbalance.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/currentprice.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/disconnect_action_result.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/eventtype.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_account_status.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_account_type.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_asset_type.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_balance_type.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_broker_account.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_broker_order_event.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_broker_order_fill.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_broker_order_group.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_broker_position_lot_fill.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_order_class.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_order_event_type.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_order_group_order.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_order_group_type.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_order_leg.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_order_side.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_order_status.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_order_type.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_position_side.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_position_status.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_security_id_type.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_time_in_force.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/filledquantity.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fillprice.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fillquantity.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_error.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_company_response.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_disconnect_action_result.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_list_broker_info.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_list_fdx_broker_account.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_list_fdx_broker_balance.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_list_fdx_broker_order.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_list_fdx_broker_order_event.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_list_fdx_broker_order_fill.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_list_fdx_broker_order_group.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_list_fdx_broker_position.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_list_fdx_broker_position_lot.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_list_fdx_broker_position_lot_fill.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_list_user_broker_connection_with_permissions.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_portal_url_response.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_session_response_data.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_session_user_response.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/finatic_response_token_response_data.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/futureunderlyingassettype.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/grouptype.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/http_validation_error.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/initialmargin.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/limitprice.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/maintenancemargin.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/marketvalue.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/netliquidationvalue.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/openprice.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/openquantity.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/orderclass.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/orderstatus.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/ordertype.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/pendingbalance.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/portal_url_response.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/previousstatus.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/price.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/quantity.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/quantity1.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/quantity2.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/realizedprofitloss.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/realizedprofitloss1.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/realizedprofitlosspercent.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/realizedprofitlosswithcommission.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/realizedprofitlosswithcommission1.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/remainingquantity.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/remainingquantity1.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/securityidtype.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/session_response_data.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/session_start_request.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/session_status.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/session_user_response.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/side.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/side1.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/side2.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/side3.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/status.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/status1.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/stopprice.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/strikeprice.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_company_response.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_disconnect_action_result.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_list_broker_info.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_list_fdx_broker_account.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_list_fdx_broker_balance.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_list_fdx_broker_order.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_list_fdx_broker_order_event.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_list_fdx_broker_order_fill.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_list_fdx_broker_order_group.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_list_fdx_broker_position.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_list_fdx_broker_position_lot.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_list_fdx_broker_position_lot_fill.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_list_user_broker_connection_with_permissions.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_portal_url_response.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_session_response_data.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_session_user_response.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/success_payload_token_response_data.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/timeinforce.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/token_response_data.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/totalcashvalue.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/totalrealizedpnl.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/units.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/unrealizedprofitloss.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/unrealizedprofitlosspercent.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/user_broker_connection_with_permissions.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/validation_error.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/validation_error_loc_inner.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/rest.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/types.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/utils/__init__.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/utils/cache.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/utils/enum_coercion.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/utils/error_handling.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/utils/interceptors.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/utils/logger.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/utils/plain_object.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/utils/request_id.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/utils/retry.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/utils/url_utils.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/utils/validation.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/wrappers/__init__.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/wrappers/company.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/wrappers/session.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/tests/conftest.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/tests/unit/test_brokers.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/tests/unit/test_company.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/tests/unit/test_market_data.py +0 -0
- {finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/tests/unit/test_session.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: finatic-server-python
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.3
|
|
4
4
|
Summary: Python SDK for Finatic Server API
|
|
5
5
|
Project-URL: Homepage, https://github.com/FinaticORG/FinaticServerSDK-Python
|
|
6
6
|
Project-URL: Documentation, https://docs.finatic.com/python
|
|
@@ -21,16 +21,16 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
22
22
|
Classifier: Topic :: Office/Business :: Financial
|
|
23
23
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
24
|
-
Requires-Python: >=3.
|
|
25
|
-
Requires-Dist: aiohttp-retry>=2.
|
|
26
|
-
Requires-Dist: aiohttp>=3.
|
|
27
|
-
Requires-Dist: cachetools>=
|
|
28
|
-
Requires-Dist: pydantic>=2.
|
|
29
|
-
Requires-Dist: python-dateutil>=2.
|
|
30
|
-
Requires-Dist: structlog>=
|
|
31
|
-
Requires-Dist: tenacity>=
|
|
32
|
-
Requires-Dist: typing-extensions>=4.
|
|
33
|
-
Requires-Dist: urllib3>=
|
|
24
|
+
Requires-Python: >=3.9
|
|
25
|
+
Requires-Dist: aiohttp-retry>=2.9.1
|
|
26
|
+
Requires-Dist: aiohttp>=3.13.2
|
|
27
|
+
Requires-Dist: cachetools>=6.2.2
|
|
28
|
+
Requires-Dist: pydantic>=2.12.5
|
|
29
|
+
Requires-Dist: python-dateutil>=2.9.0.post0
|
|
30
|
+
Requires-Dist: structlog>=25.5.0
|
|
31
|
+
Requires-Dist: tenacity>=9.1.2
|
|
32
|
+
Requires-Dist: typing-extensions>=4.15.0
|
|
33
|
+
Requires-Dist: urllib3>=2.6.1
|
|
34
34
|
Provides-Extra: dev
|
|
35
35
|
Requires-Dist: black>=23.0.0; extra == 'dev'
|
|
36
36
|
Requires-Dist: flake8>=6.0.0; extra == 'dev'
|
|
@@ -93,7 +93,8 @@ async def main():
|
|
|
93
93
|
if orders.get("success"):
|
|
94
94
|
print("We are in orders")
|
|
95
95
|
paginated_data = orders["success"]["data"]
|
|
96
|
-
print(paginated_data)
|
|
96
|
+
print("orders length", len(paginated_data))
|
|
97
|
+
print("orders toJSON", paginated_data.to_dict())
|
|
97
98
|
if paginated_data.has_more:
|
|
98
99
|
print("orders has more")
|
|
99
100
|
next_order = await paginated_data.next_page()
|
|
@@ -4,12 +4,12 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "finatic-server-python"
|
|
7
|
-
version = "0.9.
|
|
7
|
+
version = "0.9.3"
|
|
8
8
|
description = "Python SDK for Finatic Server API"
|
|
9
9
|
authors = [{ name = "Finatic", email = "support@finatic.dev" }]
|
|
10
10
|
license = { text = "PROPRIETARY" }
|
|
11
11
|
readme = "README.md"
|
|
12
|
-
requires-python = ">=3.
|
|
12
|
+
requires-python = ">=3.9"
|
|
13
13
|
classifiers = [
|
|
14
14
|
"Development Status :: 3 - Alpha",
|
|
15
15
|
"Intended Audience :: Developers",
|
|
@@ -25,15 +25,15 @@ classifiers = [
|
|
|
25
25
|
]
|
|
26
26
|
keywords = ["finatic", "trading", "finance", "api", "sdk"]
|
|
27
27
|
dependencies = [
|
|
28
|
-
"aiohttp-retry>=2.
|
|
29
|
-
"aiohttp>=3.
|
|
30
|
-
"cachetools>=
|
|
31
|
-
"pydantic>=2.
|
|
32
|
-
"python-dateutil>=2.
|
|
33
|
-
"structlog>=
|
|
34
|
-
"tenacity>=
|
|
35
|
-
"typing-extensions>=4.
|
|
36
|
-
"urllib3>=
|
|
28
|
+
"aiohttp-retry>=2.9.1",
|
|
29
|
+
"aiohttp>=3.13.2",
|
|
30
|
+
"cachetools>=6.2.2",
|
|
31
|
+
"pydantic>=2.12.5",
|
|
32
|
+
"python-dateutil>=2.9.0.post0",
|
|
33
|
+
"structlog>=25.5.0",
|
|
34
|
+
"tenacity>=9.1.2",
|
|
35
|
+
"typing-extensions>=4.15.0",
|
|
36
|
+
"urllib3>=2.6.1",
|
|
37
37
|
]
|
|
38
38
|
|
|
39
39
|
[project.optional-dependencies]
|
|
@@ -2076,9 +2076,9 @@ class FinaticServer:
|
|
|
2076
2076
|
Args:
|
|
2077
2077
|
broker_id (str, optional): Filter by broker ID
|
|
2078
2078
|
connection_id (str, optional): Filter by connection ID
|
|
2079
|
-
account_id (str, optional): Filter by broker provided account ID
|
|
2079
|
+
account_id (str, optional): Filter by broker provided account ID or internal account UUID
|
|
2080
2080
|
symbol (str, optional): Filter by symbol
|
|
2081
|
-
order_status (
|
|
2081
|
+
order_status (str, optional): Filter by order status (e.g., 'filled', 'pending_new', 'cancelled')
|
|
2082
2082
|
side (BrokerDataOrderSideEnum, optional): Filter by order side (e.g., 'buy', 'sell')
|
|
2083
2083
|
asset_type (BrokerDataAssetTypeEnum, optional): Filter by asset type (e.g., 'stock', 'option', 'crypto', 'future')
|
|
2084
2084
|
limit (int, optional): Maximum number of orders to return
|
|
@@ -2166,7 +2166,7 @@ class FinaticServer:
|
|
|
2166
2166
|
Args:
|
|
2167
2167
|
broker_id (str, optional): Filter by broker ID
|
|
2168
2168
|
connection_id (str, optional): Filter by connection ID
|
|
2169
|
-
account_id (str, optional): Filter by broker provided account ID
|
|
2169
|
+
account_id (str, optional): Filter by broker provided account ID or internal account UUID
|
|
2170
2170
|
symbol (str, optional): Filter by symbol
|
|
2171
2171
|
side (BrokerDataOrderSideEnum, optional): Filter by position side (e.g., 'long', 'short')
|
|
2172
2172
|
asset_type (BrokerDataAssetTypeEnum, optional): Filter by asset type (e.g., 'stock', 'option', 'crypto', 'future')
|
|
@@ -2256,7 +2256,7 @@ class FinaticServer:
|
|
|
2256
2256
|
Args:
|
|
2257
2257
|
broker_id (str, optional): Filter by broker ID
|
|
2258
2258
|
connection_id (str, optional): Filter by connection ID
|
|
2259
|
-
account_id (str, optional): Filter by broker provided account ID
|
|
2259
|
+
account_id (str, optional): Filter by broker provided account ID or internal account UUID
|
|
2260
2260
|
is_end_of_day_snapshot (bool, optional): Filter by end-of-day snapshot status (true/false)
|
|
2261
2261
|
limit (int, optional): Maximum number of balances to return
|
|
2262
2262
|
offset (int, optional): Number of balances to skip for pagination
|
|
@@ -43,7 +43,6 @@ __all__ = [
|
|
|
43
43
|
"BrokerDataAccountTypeEnum",
|
|
44
44
|
"BrokerDataAssetTypeEnum",
|
|
45
45
|
"BrokerDataOrderSideEnum",
|
|
46
|
-
"BrokerDataOrderStatusEnum",
|
|
47
46
|
"BrokerDataPositionStatusEnum",
|
|
48
47
|
"BrokerInfo",
|
|
49
48
|
"Buyingpower",
|
|
@@ -206,7 +205,6 @@ from .models.balancetype import Balancetype as Balancetype
|
|
|
206
205
|
from .models.broker_data_account_type_enum import BrokerDataAccountTypeEnum as BrokerDataAccountTypeEnum
|
|
207
206
|
from .models.broker_data_asset_type_enum import BrokerDataAssetTypeEnum as BrokerDataAssetTypeEnum
|
|
208
207
|
from .models.broker_data_order_side_enum import BrokerDataOrderSideEnum as BrokerDataOrderSideEnum
|
|
209
|
-
from .models.broker_data_order_status_enum import BrokerDataOrderStatusEnum as BrokerDataOrderStatusEnum
|
|
210
208
|
from .models.broker_data_position_status_enum import BrokerDataPositionStatusEnum as BrokerDataPositionStatusEnum
|
|
211
209
|
from .models.broker_info import BrokerInfo as BrokerInfo
|
|
212
210
|
from .models.buyingpower import Buyingpower as Buyingpower
|
{finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/api/brokers_api.py
RENAMED
|
@@ -25,7 +25,6 @@ from ..models.account_status import AccountStatus
|
|
|
25
25
|
from ..models.broker_data_account_type_enum import BrokerDataAccountTypeEnum
|
|
26
26
|
from ..models.broker_data_asset_type_enum import BrokerDataAssetTypeEnum
|
|
27
27
|
from ..models.broker_data_order_side_enum import BrokerDataOrderSideEnum
|
|
28
|
-
from ..models.broker_data_order_status_enum import BrokerDataOrderStatusEnum
|
|
29
28
|
from ..models.broker_data_position_status_enum import BrokerDataPositionStatusEnum
|
|
30
29
|
from ..models.finatic_response_disconnect_action_result import FinaticResponseDisconnectActionResult
|
|
31
30
|
from ..models.finatic_response_list_broker_info import FinaticResponseListBrokerInfo
|
|
@@ -752,7 +751,7 @@ class BrokersApi:
|
|
|
752
751
|
self,
|
|
753
752
|
broker_id: Annotated[Optional[StrictStr], Field(description="Filter by broker ID")] = None,
|
|
754
753
|
connection_id: Annotated[Optional[UUID], Field(description="Filter by connection ID")] = None,
|
|
755
|
-
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID")] = None,
|
|
754
|
+
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID or internal account UUID")] = None,
|
|
756
755
|
is_end_of_day_snapshot: Annotated[Optional[StrictBool], Field(description="Filter by end-of-day snapshot status (true/false)")] = None,
|
|
757
756
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of balances to return")] = None,
|
|
758
757
|
offset: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of balances to skip for pagination")] = None,
|
|
@@ -780,7 +779,7 @@ class BrokersApi:
|
|
|
780
779
|
:type broker_id: str
|
|
781
780
|
:param connection_id: Filter by connection ID
|
|
782
781
|
:type connection_id: str
|
|
783
|
-
:param account_id: Filter by broker provided account ID
|
|
782
|
+
:param account_id: Filter by broker provided account ID or internal account UUID
|
|
784
783
|
:type account_id: str
|
|
785
784
|
:param is_end_of_day_snapshot: Filter by end-of-day snapshot status (true/false)
|
|
786
785
|
:type is_end_of_day_snapshot: bool
|
|
@@ -859,7 +858,7 @@ class BrokersApi:
|
|
|
859
858
|
self,
|
|
860
859
|
broker_id: Annotated[Optional[StrictStr], Field(description="Filter by broker ID")] = None,
|
|
861
860
|
connection_id: Annotated[Optional[UUID], Field(description="Filter by connection ID")] = None,
|
|
862
|
-
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID")] = None,
|
|
861
|
+
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID or internal account UUID")] = None,
|
|
863
862
|
is_end_of_day_snapshot: Annotated[Optional[StrictBool], Field(description="Filter by end-of-day snapshot status (true/false)")] = None,
|
|
864
863
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of balances to return")] = None,
|
|
865
864
|
offset: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of balances to skip for pagination")] = None,
|
|
@@ -887,7 +886,7 @@ class BrokersApi:
|
|
|
887
886
|
:type broker_id: str
|
|
888
887
|
:param connection_id: Filter by connection ID
|
|
889
888
|
:type connection_id: str
|
|
890
|
-
:param account_id: Filter by broker provided account ID
|
|
889
|
+
:param account_id: Filter by broker provided account ID or internal account UUID
|
|
891
890
|
:type account_id: str
|
|
892
891
|
:param is_end_of_day_snapshot: Filter by end-of-day snapshot status (true/false)
|
|
893
892
|
:type is_end_of_day_snapshot: bool
|
|
@@ -966,7 +965,7 @@ class BrokersApi:
|
|
|
966
965
|
self,
|
|
967
966
|
broker_id: Annotated[Optional[StrictStr], Field(description="Filter by broker ID")] = None,
|
|
968
967
|
connection_id: Annotated[Optional[UUID], Field(description="Filter by connection ID")] = None,
|
|
969
|
-
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID")] = None,
|
|
968
|
+
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID or internal account UUID")] = None,
|
|
970
969
|
is_end_of_day_snapshot: Annotated[Optional[StrictBool], Field(description="Filter by end-of-day snapshot status (true/false)")] = None,
|
|
971
970
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of balances to return")] = None,
|
|
972
971
|
offset: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of balances to skip for pagination")] = None,
|
|
@@ -994,7 +993,7 @@ class BrokersApi:
|
|
|
994
993
|
:type broker_id: str
|
|
995
994
|
:param connection_id: Filter by connection ID
|
|
996
995
|
:type connection_id: str
|
|
997
|
-
:param account_id: Filter by broker provided account ID
|
|
996
|
+
:param account_id: Filter by broker provided account ID or internal account UUID
|
|
998
997
|
:type account_id: str
|
|
999
998
|
:param is_end_of_day_snapshot: Filter by end-of-day snapshot status (true/false)
|
|
1000
999
|
:type is_end_of_day_snapshot: bool
|
|
@@ -2571,9 +2570,9 @@ class BrokersApi:
|
|
|
2571
2570
|
self,
|
|
2572
2571
|
broker_id: Annotated[Optional[StrictStr], Field(description="Filter by broker ID")] = None,
|
|
2573
2572
|
connection_id: Annotated[Optional[UUID], Field(description="Filter by connection ID")] = None,
|
|
2574
|
-
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID")] = None,
|
|
2573
|
+
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID or internal account UUID")] = None,
|
|
2575
2574
|
symbol: Annotated[Optional[StrictStr], Field(description="Filter by symbol")] = None,
|
|
2576
|
-
order_status: Annotated[Optional[
|
|
2575
|
+
order_status: Annotated[Optional[StrictStr], Field(description="Filter by order status (e.g., 'filled', 'pending_new', 'cancelled')")] = None,
|
|
2577
2576
|
side: Annotated[Optional[BrokerDataOrderSideEnum], Field(description="Filter by order side (e.g., 'buy', 'sell')")] = None,
|
|
2578
2577
|
asset_type: Annotated[Optional[BrokerDataAssetTypeEnum], Field(description="Filter by asset type (e.g., 'stock', 'option', 'crypto', 'future')")] = None,
|
|
2579
2578
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of orders to return")] = None,
|
|
@@ -2602,12 +2601,12 @@ class BrokersApi:
|
|
|
2602
2601
|
:type broker_id: str
|
|
2603
2602
|
:param connection_id: Filter by connection ID
|
|
2604
2603
|
:type connection_id: str
|
|
2605
|
-
:param account_id: Filter by broker provided account ID
|
|
2604
|
+
:param account_id: Filter by broker provided account ID or internal account UUID
|
|
2606
2605
|
:type account_id: str
|
|
2607
2606
|
:param symbol: Filter by symbol
|
|
2608
2607
|
:type symbol: str
|
|
2609
2608
|
:param order_status: Filter by order status (e.g., 'filled', 'pending_new', 'cancelled')
|
|
2610
|
-
:type order_status:
|
|
2609
|
+
:type order_status: str
|
|
2611
2610
|
:param side: Filter by order side (e.g., 'buy', 'sell')
|
|
2612
2611
|
:type side: BrokerDataOrderSideEnum
|
|
2613
2612
|
:param asset_type: Filter by asset type (e.g., 'stock', 'option', 'crypto', 'future')
|
|
@@ -2690,9 +2689,9 @@ class BrokersApi:
|
|
|
2690
2689
|
self,
|
|
2691
2690
|
broker_id: Annotated[Optional[StrictStr], Field(description="Filter by broker ID")] = None,
|
|
2692
2691
|
connection_id: Annotated[Optional[UUID], Field(description="Filter by connection ID")] = None,
|
|
2693
|
-
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID")] = None,
|
|
2692
|
+
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID or internal account UUID")] = None,
|
|
2694
2693
|
symbol: Annotated[Optional[StrictStr], Field(description="Filter by symbol")] = None,
|
|
2695
|
-
order_status: Annotated[Optional[
|
|
2694
|
+
order_status: Annotated[Optional[StrictStr], Field(description="Filter by order status (e.g., 'filled', 'pending_new', 'cancelled')")] = None,
|
|
2696
2695
|
side: Annotated[Optional[BrokerDataOrderSideEnum], Field(description="Filter by order side (e.g., 'buy', 'sell')")] = None,
|
|
2697
2696
|
asset_type: Annotated[Optional[BrokerDataAssetTypeEnum], Field(description="Filter by asset type (e.g., 'stock', 'option', 'crypto', 'future')")] = None,
|
|
2698
2697
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of orders to return")] = None,
|
|
@@ -2721,12 +2720,12 @@ class BrokersApi:
|
|
|
2721
2720
|
:type broker_id: str
|
|
2722
2721
|
:param connection_id: Filter by connection ID
|
|
2723
2722
|
:type connection_id: str
|
|
2724
|
-
:param account_id: Filter by broker provided account ID
|
|
2723
|
+
:param account_id: Filter by broker provided account ID or internal account UUID
|
|
2725
2724
|
:type account_id: str
|
|
2726
2725
|
:param symbol: Filter by symbol
|
|
2727
2726
|
:type symbol: str
|
|
2728
2727
|
:param order_status: Filter by order status (e.g., 'filled', 'pending_new', 'cancelled')
|
|
2729
|
-
:type order_status:
|
|
2728
|
+
:type order_status: str
|
|
2730
2729
|
:param side: Filter by order side (e.g., 'buy', 'sell')
|
|
2731
2730
|
:type side: BrokerDataOrderSideEnum
|
|
2732
2731
|
:param asset_type: Filter by asset type (e.g., 'stock', 'option', 'crypto', 'future')
|
|
@@ -2809,9 +2808,9 @@ class BrokersApi:
|
|
|
2809
2808
|
self,
|
|
2810
2809
|
broker_id: Annotated[Optional[StrictStr], Field(description="Filter by broker ID")] = None,
|
|
2811
2810
|
connection_id: Annotated[Optional[UUID], Field(description="Filter by connection ID")] = None,
|
|
2812
|
-
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID")] = None,
|
|
2811
|
+
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID or internal account UUID")] = None,
|
|
2813
2812
|
symbol: Annotated[Optional[StrictStr], Field(description="Filter by symbol")] = None,
|
|
2814
|
-
order_status: Annotated[Optional[
|
|
2813
|
+
order_status: Annotated[Optional[StrictStr], Field(description="Filter by order status (e.g., 'filled', 'pending_new', 'cancelled')")] = None,
|
|
2815
2814
|
side: Annotated[Optional[BrokerDataOrderSideEnum], Field(description="Filter by order side (e.g., 'buy', 'sell')")] = None,
|
|
2816
2815
|
asset_type: Annotated[Optional[BrokerDataAssetTypeEnum], Field(description="Filter by asset type (e.g., 'stock', 'option', 'crypto', 'future')")] = None,
|
|
2817
2816
|
limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="Maximum number of orders to return")] = None,
|
|
@@ -2840,12 +2839,12 @@ class BrokersApi:
|
|
|
2840
2839
|
:type broker_id: str
|
|
2841
2840
|
:param connection_id: Filter by connection ID
|
|
2842
2841
|
:type connection_id: str
|
|
2843
|
-
:param account_id: Filter by broker provided account ID
|
|
2842
|
+
:param account_id: Filter by broker provided account ID or internal account UUID
|
|
2844
2843
|
:type account_id: str
|
|
2845
2844
|
:param symbol: Filter by symbol
|
|
2846
2845
|
:type symbol: str
|
|
2847
2846
|
:param order_status: Filter by order status (e.g., 'filled', 'pending_new', 'cancelled')
|
|
2848
|
-
:type order_status:
|
|
2847
|
+
:type order_status: str
|
|
2849
2848
|
:param side: Filter by order side (e.g., 'buy', 'sell')
|
|
2850
2849
|
:type side: BrokerDataOrderSideEnum
|
|
2851
2850
|
:param asset_type: Filter by asset type (e.g., 'stock', 'option', 'crypto', 'future')
|
|
@@ -2973,7 +2972,7 @@ class BrokersApi:
|
|
|
2973
2972
|
|
|
2974
2973
|
if order_status is not None:
|
|
2975
2974
|
|
|
2976
|
-
_query_params.append(('order_status', order_status
|
|
2975
|
+
_query_params.append(('order_status', order_status))
|
|
2977
2976
|
|
|
2978
2977
|
if side is not None:
|
|
2979
2978
|
|
|
@@ -3785,7 +3784,7 @@ class BrokersApi:
|
|
|
3785
3784
|
self,
|
|
3786
3785
|
broker_id: Annotated[Optional[StrictStr], Field(description="Filter by broker ID")] = None,
|
|
3787
3786
|
connection_id: Annotated[Optional[UUID], Field(description="Filter by connection ID")] = None,
|
|
3788
|
-
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID")] = None,
|
|
3787
|
+
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID or internal account UUID")] = None,
|
|
3789
3788
|
symbol: Annotated[Optional[StrictStr], Field(description="Filter by symbol")] = None,
|
|
3790
3789
|
side: Annotated[Optional[BrokerDataOrderSideEnum], Field(description="Filter by position side (e.g., 'long', 'short')")] = None,
|
|
3791
3790
|
asset_type: Annotated[Optional[BrokerDataAssetTypeEnum], Field(description="Filter by asset type (e.g., 'stock', 'option', 'crypto', 'future')")] = None,
|
|
@@ -3816,7 +3815,7 @@ class BrokersApi:
|
|
|
3816
3815
|
:type broker_id: str
|
|
3817
3816
|
:param connection_id: Filter by connection ID
|
|
3818
3817
|
:type connection_id: str
|
|
3819
|
-
:param account_id: Filter by broker provided account ID
|
|
3818
|
+
:param account_id: Filter by broker provided account ID or internal account UUID
|
|
3820
3819
|
:type account_id: str
|
|
3821
3820
|
:param symbol: Filter by symbol
|
|
3822
3821
|
:type symbol: str
|
|
@@ -3904,7 +3903,7 @@ class BrokersApi:
|
|
|
3904
3903
|
self,
|
|
3905
3904
|
broker_id: Annotated[Optional[StrictStr], Field(description="Filter by broker ID")] = None,
|
|
3906
3905
|
connection_id: Annotated[Optional[UUID], Field(description="Filter by connection ID")] = None,
|
|
3907
|
-
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID")] = None,
|
|
3906
|
+
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID or internal account UUID")] = None,
|
|
3908
3907
|
symbol: Annotated[Optional[StrictStr], Field(description="Filter by symbol")] = None,
|
|
3909
3908
|
side: Annotated[Optional[BrokerDataOrderSideEnum], Field(description="Filter by position side (e.g., 'long', 'short')")] = None,
|
|
3910
3909
|
asset_type: Annotated[Optional[BrokerDataAssetTypeEnum], Field(description="Filter by asset type (e.g., 'stock', 'option', 'crypto', 'future')")] = None,
|
|
@@ -3935,7 +3934,7 @@ class BrokersApi:
|
|
|
3935
3934
|
:type broker_id: str
|
|
3936
3935
|
:param connection_id: Filter by connection ID
|
|
3937
3936
|
:type connection_id: str
|
|
3938
|
-
:param account_id: Filter by broker provided account ID
|
|
3937
|
+
:param account_id: Filter by broker provided account ID or internal account UUID
|
|
3939
3938
|
:type account_id: str
|
|
3940
3939
|
:param symbol: Filter by symbol
|
|
3941
3940
|
:type symbol: str
|
|
@@ -4023,7 +4022,7 @@ class BrokersApi:
|
|
|
4023
4022
|
self,
|
|
4024
4023
|
broker_id: Annotated[Optional[StrictStr], Field(description="Filter by broker ID")] = None,
|
|
4025
4024
|
connection_id: Annotated[Optional[UUID], Field(description="Filter by connection ID")] = None,
|
|
4026
|
-
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID")] = None,
|
|
4025
|
+
account_id: Annotated[Optional[StrictStr], Field(description="Filter by broker provided account ID or internal account UUID")] = None,
|
|
4027
4026
|
symbol: Annotated[Optional[StrictStr], Field(description="Filter by symbol")] = None,
|
|
4028
4027
|
side: Annotated[Optional[BrokerDataOrderSideEnum], Field(description="Filter by position side (e.g., 'long', 'short')")] = None,
|
|
4029
4028
|
asset_type: Annotated[Optional[BrokerDataAssetTypeEnum], Field(description="Filter by asset type (e.g., 'stock', 'option', 'crypto', 'future')")] = None,
|
|
@@ -4054,7 +4053,7 @@ class BrokersApi:
|
|
|
4054
4053
|
:type broker_id: str
|
|
4055
4054
|
:param connection_id: Filter by connection ID
|
|
4056
4055
|
:type connection_id: str
|
|
4057
|
-
:param account_id: Filter by broker provided account ID
|
|
4056
|
+
:param account_id: Filter by broker provided account ID or internal account UUID
|
|
4058
4057
|
:type account_id: str
|
|
4059
4058
|
:param symbol: Filter by symbol
|
|
4060
4059
|
:type symbol: str
|
{finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/__init__.py
RENAMED
|
@@ -26,7 +26,6 @@ from .balancetype import Balancetype
|
|
|
26
26
|
from .broker_data_account_type_enum import BrokerDataAccountTypeEnum
|
|
27
27
|
from .broker_data_asset_type_enum import BrokerDataAssetTypeEnum
|
|
28
28
|
from .broker_data_order_side_enum import BrokerDataOrderSideEnum
|
|
29
|
-
from .broker_data_order_status_enum import BrokerDataOrderStatusEnum
|
|
30
29
|
from .broker_data_position_status_enum import BrokerDataPositionStatusEnum
|
|
31
30
|
from .broker_info import BrokerInfo
|
|
32
31
|
from .buyingpower import Buyingpower
|
|
@@ -42,6 +42,8 @@ class FDXBrokerBalance(BaseModel):
|
|
|
42
42
|
id: Optional[StrictStr] = Field(default=None, alias="_id")
|
|
43
43
|
balance_id: StrictStr = Field(description="Unique balance identifier", alias="balanceId")
|
|
44
44
|
account_id: StrictStr = Field(description="Associated account identifier", alias="accountId")
|
|
45
|
+
internal_account_id: Optional[StrictStr] = Field(default=None, alias="internalAccountId")
|
|
46
|
+
connection_id: Optional[StrictStr] = Field(default=None, alias="connectionId")
|
|
45
47
|
balance_type: Balancetype = Field(alias="balanceType")
|
|
46
48
|
balance_name: Optional[StrictStr] = Field(default=None, alias="balanceName")
|
|
47
49
|
available_balance: Optional[Availablebalance] = Field(default=None, alias="availableBalance")
|
|
@@ -60,7 +62,7 @@ class FDXBrokerBalance(BaseModel):
|
|
|
60
62
|
last_updated: Optional[datetime] = Field(default=None, alias="lastUpdated")
|
|
61
63
|
metadata: Optional[Dict[str, Any]] = None
|
|
62
64
|
additional_properties: Dict[str, Any] = {}
|
|
63
|
-
__properties: ClassVar[List[str]] = ["_id", "balanceId", "accountId", "balanceType", "balanceName", "availableBalance", "currentBalance", "pendingBalance", "buyingPower", "cashBalance", "netLiquidationValue", "initialMargin", "maintenanceMargin", "totalCashValue", "availableToWithdraw", "totalRealizedPnl", "currencyCode", "balanceDate", "lastUpdated", "metadata"]
|
|
65
|
+
__properties: ClassVar[List[str]] = ["_id", "balanceId", "accountId", "internalAccountId", "connectionId", "balanceType", "balanceName", "availableBalance", "currentBalance", "pendingBalance", "buyingPower", "cashBalance", "netLiquidationValue", "initialMargin", "maintenanceMargin", "totalCashValue", "availableToWithdraw", "totalRealizedPnl", "currencyCode", "balanceDate", "lastUpdated", "metadata"]
|
|
64
66
|
|
|
65
67
|
model_config = ConfigDict(
|
|
66
68
|
populate_by_name=True,
|
|
@@ -144,6 +146,16 @@ class FDXBrokerBalance(BaseModel):
|
|
|
144
146
|
for _key, _value in self.additional_properties.items():
|
|
145
147
|
_dict[_key] = _value
|
|
146
148
|
|
|
149
|
+
# set to None if internal_account_id (nullable) is None
|
|
150
|
+
# and model_fields_set contains the field
|
|
151
|
+
if self.internal_account_id is None and "internal_account_id" in self.model_fields_set:
|
|
152
|
+
_dict['internalAccountId'] = None
|
|
153
|
+
|
|
154
|
+
# set to None if connection_id (nullable) is None
|
|
155
|
+
# and model_fields_set contains the field
|
|
156
|
+
if self.connection_id is None and "connection_id" in self.model_fields_set:
|
|
157
|
+
_dict['connectionId'] = None
|
|
158
|
+
|
|
147
159
|
# set to None if balance_name (nullable) is None
|
|
148
160
|
# and model_fields_set contains the field
|
|
149
161
|
if self.balance_name is None and "balance_name" in self.model_fields_set:
|
|
@@ -239,6 +251,8 @@ class FDXBrokerBalance(BaseModel):
|
|
|
239
251
|
"_id": obj.get("_id"),
|
|
240
252
|
"balanceId": obj.get("balanceId"),
|
|
241
253
|
"accountId": obj.get("accountId"),
|
|
254
|
+
"internalAccountId": obj.get("internalAccountId"),
|
|
255
|
+
"connectionId": obj.get("connectionId"),
|
|
242
256
|
"balanceType": Balancetype.from_dict(obj["balanceType"]) if obj.get("balanceType") is not None else None,
|
|
243
257
|
"balanceName": obj.get("balanceName"),
|
|
244
258
|
"availableBalance": Availablebalance.from_dict(obj["availableBalance"]) if obj.get("availableBalance") is not None else None,
|
{finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/models/fdx_broker_order.py
RENAMED
|
@@ -37,6 +37,7 @@ class FDXBrokerOrder(BaseModel):
|
|
|
37
37
|
broker_order_id: Optional[StrictStr] = Field(default=None, alias="brokerOrderId")
|
|
38
38
|
client_order_id: Optional[StrictStr] = Field(default=None, alias="clientOrderId")
|
|
39
39
|
account_id: StrictStr = Field(description="Broker account identifier", alias="accountId")
|
|
40
|
+
internal_account_id: Optional[StrictStr] = Field(default=None, alias="internalAccountId")
|
|
40
41
|
connection_id: Optional[StrictStr] = Field(default=None, alias="connectionId")
|
|
41
42
|
order_type: Optional[Ordertype] = Field(default=None, alias="orderType")
|
|
42
43
|
order_class: Optional[Orderclass] = Field(default=None, alias="orderClass")
|
|
@@ -51,7 +52,7 @@ class FDXBrokerOrder(BaseModel):
|
|
|
51
52
|
order_terminal_at: Optional[datetime] = Field(default=None, alias="orderTerminalAt")
|
|
52
53
|
metadata: Optional[Dict[str, Any]] = None
|
|
53
54
|
additional_properties: Dict[str, Any] = {}
|
|
54
|
-
__properties: ClassVar[List[str]] = ["_id", "orderId", "brokerOrderId", "clientOrderId", "accountId", "connectionId", "orderType", "orderClass", "timeInForce", "status", "state", "legs", "orderGroupId", "orderCreatedAt", "orderLiveAt", "orderUpdatedAt", "orderTerminalAt", "metadata"]
|
|
55
|
+
__properties: ClassVar[List[str]] = ["_id", "orderId", "brokerOrderId", "clientOrderId", "accountId", "internalAccountId", "connectionId", "orderType", "orderClass", "timeInForce", "status", "state", "legs", "orderGroupId", "orderCreatedAt", "orderLiveAt", "orderUpdatedAt", "orderTerminalAt", "metadata"]
|
|
55
56
|
|
|
56
57
|
model_config = ConfigDict(
|
|
57
58
|
populate_by_name=True,
|
|
@@ -128,6 +129,11 @@ class FDXBrokerOrder(BaseModel):
|
|
|
128
129
|
if self.client_order_id is None and "client_order_id" in self.model_fields_set:
|
|
129
130
|
_dict['clientOrderId'] = None
|
|
130
131
|
|
|
132
|
+
# set to None if internal_account_id (nullable) is None
|
|
133
|
+
# and model_fields_set contains the field
|
|
134
|
+
if self.internal_account_id is None and "internal_account_id" in self.model_fields_set:
|
|
135
|
+
_dict['internalAccountId'] = None
|
|
136
|
+
|
|
131
137
|
# set to None if connection_id (nullable) is None
|
|
132
138
|
# and model_fields_set contains the field
|
|
133
139
|
if self.connection_id is None and "connection_id" in self.model_fields_set:
|
|
@@ -200,6 +206,7 @@ class FDXBrokerOrder(BaseModel):
|
|
|
200
206
|
"brokerOrderId": obj.get("brokerOrderId"),
|
|
201
207
|
"clientOrderId": obj.get("clientOrderId"),
|
|
202
208
|
"accountId": obj.get("accountId"),
|
|
209
|
+
"internalAccountId": obj.get("internalAccountId"),
|
|
203
210
|
"connectionId": obj.get("connectionId"),
|
|
204
211
|
"orderType": Ordertype.from_dict(obj["orderType"]) if obj.get("orderType") is not None else None,
|
|
205
212
|
"orderClass": Orderclass.from_dict(obj["orderClass"]) if obj.get("orderClass") is not None else None,
|
|
@@ -46,6 +46,7 @@ class FDXBrokerPosition(BaseModel):
|
|
|
46
46
|
""" # noqa: E501
|
|
47
47
|
id: Optional[StrictStr] = None
|
|
48
48
|
account_id: StrictStr = Field(description="Broker account identifier", alias="accountId")
|
|
49
|
+
internal_account_id: Optional[StrictStr] = Field(default=None, alias="internalAccountId")
|
|
49
50
|
connection_id: StrictStr = Field(description="User-broker connection identifier", alias="connectionId")
|
|
50
51
|
security_id: StrictStr = Field(description="Symbol or instrument", alias="securityId")
|
|
51
52
|
security_id_type: Securityidtype = Field(alias="securityIdType")
|
|
@@ -73,7 +74,7 @@ class FDXBrokerPosition(BaseModel):
|
|
|
73
74
|
instrument_key: Optional[StrictStr] = Field(default=None, alias="instrumentKey")
|
|
74
75
|
metadata: Optional[Dict[str, Any]] = None
|
|
75
76
|
additional_properties: Dict[str, Any] = {}
|
|
76
|
-
__properties: ClassVar[List[str]] = ["id", "accountId", "connectionId", "securityId", "securityIdType", "assetType", "quantity", "side", "status", "costBasis", "marketValue", "units", "averageBuyPrice", "averageSellPrice", "costBasisWithCommission", "currentPrice", "realizedProfitLoss", "realizedProfitLossWithCommission", "realizedProfitLossPercent", "unrealizedProfitLoss", "unrealizedProfitLossPercent", "positionCreatedAt", "positionUpdatedAt", "positionClosedAt", "positionGroupId", "snapshotDate", "instrumentKey", "metadata"]
|
|
77
|
+
__properties: ClassVar[List[str]] = ["id", "accountId", "internalAccountId", "connectionId", "securityId", "securityIdType", "assetType", "quantity", "side", "status", "costBasis", "marketValue", "units", "averageBuyPrice", "averageSellPrice", "costBasisWithCommission", "currentPrice", "realizedProfitLoss", "realizedProfitLossWithCommission", "realizedProfitLossPercent", "unrealizedProfitLoss", "unrealizedProfitLossPercent", "positionCreatedAt", "positionUpdatedAt", "positionClosedAt", "positionGroupId", "snapshotDate", "instrumentKey", "metadata"]
|
|
77
78
|
|
|
78
79
|
model_config = ConfigDict(
|
|
79
80
|
populate_by_name=True,
|
|
@@ -177,6 +178,11 @@ class FDXBrokerPosition(BaseModel):
|
|
|
177
178
|
if self.id is None and "id" in self.model_fields_set:
|
|
178
179
|
_dict['id'] = None
|
|
179
180
|
|
|
181
|
+
# set to None if internal_account_id (nullable) is None
|
|
182
|
+
# and model_fields_set contains the field
|
|
183
|
+
if self.internal_account_id is None and "internal_account_id" in self.model_fields_set:
|
|
184
|
+
_dict['internalAccountId'] = None
|
|
185
|
+
|
|
180
186
|
# set to None if side (nullable) is None
|
|
181
187
|
# and model_fields_set contains the field
|
|
182
188
|
if self.side is None and "side" in self.model_fields_set:
|
|
@@ -296,6 +302,7 @@ class FDXBrokerPosition(BaseModel):
|
|
|
296
302
|
_obj = cls.model_validate({
|
|
297
303
|
"id": obj.get("id"),
|
|
298
304
|
"accountId": obj.get("accountId"),
|
|
305
|
+
"internalAccountId": obj.get("internalAccountId"),
|
|
299
306
|
"connectionId": obj.get("connectionId"),
|
|
300
307
|
"securityId": obj.get("securityId"),
|
|
301
308
|
"securityIdType": Securityidtype.from_dict(obj["securityIdType"]) if obj.get("securityIdType") is not None else None,
|
|
@@ -43,6 +43,8 @@ class FDXBrokerPositionLot(BaseModel):
|
|
|
43
43
|
lot_id: StrictStr = Field(description="Lot identifier", alias="lotId")
|
|
44
44
|
position_id: Optional[StrictStr] = Field(default=None, alias="positionId")
|
|
45
45
|
account_id: StrictStr = Field(description="Broker account identifier", alias="accountId")
|
|
46
|
+
internal_account_id: Optional[StrictStr] = Field(default=None, alias="internalAccountId")
|
|
47
|
+
connection_id: Optional[StrictStr] = Field(default=None, alias="connectionId")
|
|
46
48
|
security_id: StrictStr = Field(description="Security identifier", alias="securityId")
|
|
47
49
|
asset_type: Assettype = Field(alias="assetType")
|
|
48
50
|
side: Optional[Side3] = None
|
|
@@ -60,7 +62,7 @@ class FDXBrokerPositionLot(BaseModel):
|
|
|
60
62
|
position_lot_fills: Optional[List[FDXBrokerPositionLotFill]] = Field(default=None, description="Fills associated with this lot", alias="positionLotFills")
|
|
61
63
|
metadata: Optional[Dict[str, Any]] = None
|
|
62
64
|
additional_properties: Dict[str, Any] = {}
|
|
63
|
-
__properties: ClassVar[List[str]] = ["_id", "lotId", "positionId", "accountId", "securityId", "assetType", "side", "openedAt", "closedAt", "openQuantity", "remainingQuantity", "closedQuantity", "openPrice", "closePriceAvg", "costBasis", "costBasisWithCommission", "realizedProfitLoss", "realizedProfitLossWithCommission", "positionLotFills", "metadata"]
|
|
65
|
+
__properties: ClassVar[List[str]] = ["_id", "lotId", "positionId", "accountId", "internalAccountId", "connectionId", "securityId", "assetType", "side", "openedAt", "closedAt", "openQuantity", "remainingQuantity", "closedQuantity", "openPrice", "closePriceAvg", "costBasis", "costBasisWithCommission", "realizedProfitLoss", "realizedProfitLossWithCommission", "positionLotFills", "metadata"]
|
|
64
66
|
|
|
65
67
|
model_config = ConfigDict(
|
|
66
68
|
populate_by_name=True,
|
|
@@ -153,6 +155,16 @@ class FDXBrokerPositionLot(BaseModel):
|
|
|
153
155
|
if self.position_id is None and "position_id" in self.model_fields_set:
|
|
154
156
|
_dict['positionId'] = None
|
|
155
157
|
|
|
158
|
+
# set to None if internal_account_id (nullable) is None
|
|
159
|
+
# and model_fields_set contains the field
|
|
160
|
+
if self.internal_account_id is None and "internal_account_id" in self.model_fields_set:
|
|
161
|
+
_dict['internalAccountId'] = None
|
|
162
|
+
|
|
163
|
+
# set to None if connection_id (nullable) is None
|
|
164
|
+
# and model_fields_set contains the field
|
|
165
|
+
if self.connection_id is None and "connection_id" in self.model_fields_set:
|
|
166
|
+
_dict['connectionId'] = None
|
|
167
|
+
|
|
156
168
|
# set to None if side (nullable) is None
|
|
157
169
|
# and model_fields_set contains the field
|
|
158
170
|
if self.side is None and "side" in self.model_fields_set:
|
|
@@ -189,6 +201,8 @@ class FDXBrokerPositionLot(BaseModel):
|
|
|
189
201
|
"lotId": obj.get("lotId"),
|
|
190
202
|
"positionId": obj.get("positionId"),
|
|
191
203
|
"accountId": obj.get("accountId"),
|
|
204
|
+
"internalAccountId": obj.get("internalAccountId"),
|
|
205
|
+
"connectionId": obj.get("connectionId"),
|
|
192
206
|
"securityId": obj.get("securityId"),
|
|
193
207
|
"assetType": Assettype.from_dict(obj["assetType"]) if obj.get("assetType") is not None else None,
|
|
194
208
|
"side": Side3.from_dict(obj["side"]) if obj.get("side") is not None else None,
|
{finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/utils/pagination.py
RENAMED
|
@@ -190,6 +190,25 @@ class PaginatedData(Generic[T]):
|
|
|
190
190
|
except ValueError:
|
|
191
191
|
return -1
|
|
192
192
|
|
|
193
|
+
def to_dict(self) -> list[T]:
|
|
194
|
+
"""
|
|
195
|
+
Return the items array as a list (for JSON serialization).
|
|
196
|
+
|
|
197
|
+
This allows clean serialization without exposing internal methods.
|
|
198
|
+
Use with json.dumps() default parameter for automatic serialization.
|
|
199
|
+
|
|
200
|
+
Returns:
|
|
201
|
+
The items array
|
|
202
|
+
|
|
203
|
+
Example:
|
|
204
|
+
>>> import json
|
|
205
|
+
>>> orders = await sdk.get_orders()
|
|
206
|
+
>>> print(orders) # Shows full PaginatedData with methods
|
|
207
|
+
>>> print(orders.to_dict()) # Shows just the items array
|
|
208
|
+
>>> json.dumps(orders, default=lambda o: o.to_dict() if hasattr(o, 'to_dict') else o.__dict__)
|
|
209
|
+
"""
|
|
210
|
+
return self.items
|
|
211
|
+
|
|
193
212
|
async def next_page(self) -> "PaginatedData[T]":
|
|
194
213
|
"""
|
|
195
214
|
Get the next page of data.
|
{finatic_server_python-0.9.1 → finatic_server_python-0.9.3}/src/generated/wrappers/brokers.py
RENAMED
|
@@ -17,7 +17,6 @@ from ..models.account_status import AccountStatus
|
|
|
17
17
|
from ..models.broker_data_account_type_enum import BrokerDataAccountTypeEnum
|
|
18
18
|
from ..models.broker_data_asset_type_enum import BrokerDataAssetTypeEnum
|
|
19
19
|
from ..models.broker_data_order_side_enum import BrokerDataOrderSideEnum
|
|
20
|
-
from ..models.broker_data_order_status_enum import BrokerDataOrderStatusEnum
|
|
21
20
|
from ..models.broker_data_position_status_enum import BrokerDataPositionStatusEnum
|
|
22
21
|
from ..models.broker_info import BrokerInfo
|
|
23
22
|
from ..models.disconnect_action_result import DisconnectActionResult
|
|
@@ -70,12 +69,12 @@ class GetOrdersParams:
|
|
|
70
69
|
broker_id: str = None
|
|
71
70
|
# Filter by connection ID
|
|
72
71
|
connection_id: str = None
|
|
73
|
-
# Filter by broker provided account ID
|
|
72
|
+
# Filter by broker provided account ID or internal account UUID
|
|
74
73
|
account_id: str = None
|
|
75
74
|
# Filter by symbol
|
|
76
75
|
symbol: str = None
|
|
77
76
|
# Filter by order status (e.g., 'filled', 'pending_new', 'cancelled')
|
|
78
|
-
order_status:
|
|
77
|
+
order_status: str = None
|
|
79
78
|
# Filter by order side (e.g., 'buy', 'sell')
|
|
80
79
|
side: BrokerDataOrderSideEnum = None
|
|
81
80
|
# Filter by asset type (e.g., 'stock', 'option', 'crypto', 'future')
|
|
@@ -98,7 +97,7 @@ class GetPositionsParams:
|
|
|
98
97
|
broker_id: str = None
|
|
99
98
|
# Filter by connection ID
|
|
100
99
|
connection_id: str = None
|
|
101
|
-
# Filter by broker provided account ID
|
|
100
|
+
# Filter by broker provided account ID or internal account UUID
|
|
102
101
|
account_id: str = None
|
|
103
102
|
# Filter by symbol
|
|
104
103
|
symbol: str = None
|
|
@@ -126,7 +125,7 @@ class GetBalancesParams:
|
|
|
126
125
|
broker_id: str = None
|
|
127
126
|
# Filter by connection ID
|
|
128
127
|
connection_id: str = None
|
|
129
|
-
# Filter by broker provided account ID
|
|
128
|
+
# Filter by broker provided account ID or internal account UUID
|
|
130
129
|
account_id: str = None
|
|
131
130
|
# Filter by end-of-day snapshot status (true/false)
|
|
132
131
|
is_end_of_day_snapshot: Optional[bool] = None
|
|
@@ -992,9 +991,9 @@ class BrokersWrapper:
|
|
|
992
991
|
Args:
|
|
993
992
|
broker_id (str, optional): Filter by broker ID
|
|
994
993
|
connection_id (str, optional): Filter by connection ID
|
|
995
|
-
account_id (str, optional): Filter by broker provided account ID
|
|
994
|
+
account_id (str, optional): Filter by broker provided account ID or internal account UUID
|
|
996
995
|
symbol (str, optional): Filter by symbol
|
|
997
|
-
order_status (
|
|
996
|
+
order_status (str, optional): Filter by order status (e.g., 'filled', 'pending_new', 'cancelled')
|
|
998
997
|
side (BrokerDataOrderSideEnum, optional): Filter by order side (e.g., 'buy', 'sell')
|
|
999
998
|
asset_type (BrokerDataAssetTypeEnum, optional): Filter by asset type (e.g., 'stock', 'option', 'crypto', 'future')
|
|
1000
999
|
limit (int, optional): Maximum number of orders to return
|
|
@@ -1049,7 +1048,7 @@ class BrokersWrapper:
|
|
|
1049
1048
|
connection_id = getattr(params, 'connection_id', None)
|
|
1050
1049
|
account_id = getattr(params, 'account_id', None)
|
|
1051
1050
|
symbol = getattr(params, 'symbol', None)
|
|
1052
|
-
order_status =
|
|
1051
|
+
order_status = getattr(params, 'order_status', None)
|
|
1053
1052
|
side = coerce_enum_value(getattr(params, 'side', None), BrokerDataOrderSideEnum, 'side') if getattr(params, 'side', None) is not None else None
|
|
1054
1053
|
asset_type = coerce_enum_value(getattr(params, 'asset_type', None), BrokerDataAssetTypeEnum, 'asset_type') if getattr(params, 'asset_type', None) is not None else None
|
|
1055
1054
|
limit = getattr(params, 'limit', None)
|
|
@@ -1268,7 +1267,7 @@ class BrokersWrapper:
|
|
|
1268
1267
|
Args:
|
|
1269
1268
|
broker_id (str, optional): Filter by broker ID
|
|
1270
1269
|
connection_id (str, optional): Filter by connection ID
|
|
1271
|
-
account_id (str, optional): Filter by broker provided account ID
|
|
1270
|
+
account_id (str, optional): Filter by broker provided account ID or internal account UUID
|
|
1272
1271
|
symbol (str, optional): Filter by symbol
|
|
1273
1272
|
side (BrokerDataOrderSideEnum, optional): Filter by position side (e.g., 'long', 'short')
|
|
1274
1273
|
asset_type (BrokerDataAssetTypeEnum, optional): Filter by asset type (e.g., 'stock', 'option', 'crypto', 'future')
|
|
@@ -1544,7 +1543,7 @@ class BrokersWrapper:
|
|
|
1544
1543
|
Args:
|
|
1545
1544
|
broker_id (str, optional): Filter by broker ID
|
|
1546
1545
|
connection_id (str, optional): Filter by connection ID
|
|
1547
|
-
account_id (str, optional): Filter by broker provided account ID
|
|
1546
|
+
account_id (str, optional): Filter by broker provided account ID or internal account UUID
|
|
1548
1547
|
is_end_of_day_snapshot (bool, optional): Filter by end-of-day snapshot status (true/false)
|
|
1549
1548
|
limit (int, optional): Maximum number of balances to return
|
|
1550
1549
|
offset (int, optional): Number of balances to skip for pagination
|