Get the current account information including balances and status.
Get all current positions in the portfolio.
Get the latest quote for a stock. Args: symbol: Stock ticker symbol (e.g., AAPL, MSFT)
Get historical price bars for a stock. Args: symbol: Stock ticker symbol (e.g., AAPL, MSFT) days: Number of trading days to look back (default: 5)
Get orders with the specified status. Args: status: Order status to filter by (open, closed, all) limit: Maximum number of orders to return (default: 10)
Place a market order. Args: symbol: Stock ticker symbol (e.g., AAPL, MSFT) side: Order side (buy or sell) quantity: Number of shares to buy or sell
Place a limit order. Args: symbol: Stock ticker symbol (e.g., AAPL, MSFT) side: Order side (buy or sell) quantity: Number of shares to buy or sell limit_price: Limit price for the order
Cancel all open orders.
Close all open positions. Args: cancel_orders: Whether to cancel all open orders before closing positions (default: True)
Your Alpaca API Key ID
Your Alpaca API Secret Key
Optional URL to fetch the README from GitHub if local README.md fails