Get Started
Alpaca
Agent for stock trading, portfolio management, and market data through Alpaca's trading API
Available Tools(32)
getAccount
Get account information including buying power, equity, and account status
getAsset
Get details of a specific asset by symbol or asset ID
getOptionContract
Get details of a specific option contract by symbol or ID
getOrders
Get a list of orders filtered by various criteria
getOrderByClientOrderId
Get order details by client order ID
deleteOrder
Cancel a specific order by order ID
getPositions
Get all open positions
closePosition
Close a position (liquidate all or part of a position)
exerciseOptionsPosition
Exercise a held options position to convert to underlying asset
getWatchlists
Get all watchlists
getWatchlist
Get details of a specific watchlist
deleteWatchlist
Delete a watchlist
removeFromWatchlist
Remove a symbol from a watchlist
getWatchlistByName
Get watchlist details by watchlist name
addToWatchlistByName
Add a symbol to a watchlist by watchlist name
getAccountActivities
Get account activities (trades, dividends, transfers, etc.)
getAssets
Get a list of assets available for trading
getOptionContracts
Get a list of option contracts based on filtering criteria
createOrder
Place a new order for trading stocks, options, or crypto
getOrder
Get details of a specific order by order ID
replaceOrder
Replace an existing order with updated parameters
deleteAllOrders
Cancel all open orders
getPosition
Get details of a specific position by symbol or asset ID
closeAllPositions
Close all open positions (liquidate entire portfolio)
getPortfolioHistory
Get portfolio history and performance metrics
createWatchlist
Create a new watchlist
updateWatchlist
Update a watchlist name and/or symbols
addToWatchlist
Add a symbol to an existing watchlist
deleteSymbolFromWatchlist
Delete/remove a specific symbol from a watchlist by watchlist ID and symbol
updateWatchlistByName
Update watchlist by name
deleteWatchlistByName
Delete a watchlist by name
getClock
Get current market clock status
Alpaca