What problem does it solve? Building trading, recurring-invest, or portfolio flows on Alpaca requires navigating the Broker API's order lifecycle, fractional-share rules, and account-scoped endpoints, where mistakes like mixing qty and notional or mishandling order states cause rejected orders and broken user experiences. ## Core Features & Use Cases - Order Management: Create, list, replace, and cancel orders for any end-user account using account-scoped endpoints, with support for market, limit, stop, stop-limit, and trailing-stop types plus bracket, OCO, OTO, and multi-leg order classes. - Fractional & Notional Trading: Place dollar-based or fractional-share orders with correct time-in-force constraints, precision rules, and fractionability checks. - Positions & Buying Power: Read positions and trading-account details to validate buying power before submitting notional orders. - Use Case: Build a recurring-invest feature that fetches pending invest instructions, checks each account's buying power, places notional market day orders with idempotent client order IDs, and tracks fills through the trade-events stream. ## Quick Start Place a $25 fractional market buy order for AAPL on a given Alpaca Broker account and check its status.