What problem does it solve? Building automated trading systems against the Alpaca Trading API requires handling order lifecycle states, rate limits, authentication differences between paper and live environments, and WebSocket event streams, which is error-prone without structured guidance. ## Core Features & Use Cases - Order Management: Submit, replace, and cancel market, limit, stop, trailing stop, bracket, OTO, and OCO orders with correct time-in-force and order class parameters. - Account & Position Operations: Query account status, buying power, open positions, and close positions individually or in bulk. - Real-Time Streaming: Authenticate and subscribe to trade_updates and account_updates channels over the Alpaca WebSocket feed. - Use Case: You are writing a Go trading bot that submits bracket orders with take-profit and stop-loss legs, retries on 429 rate limits using the Retry-After header, and validates strategies against the paper trading endpoint before going live. ## Quick Start Use the alpaca-trading skill to submit a bracket buy order for 10 shares of AAPL with a take-profit and stop-loss against the paper trading API.