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
getOptionContracts
Get a list of option contracts based on filtering criteria
getAsset
Get details of a specific asset by symbol or asset ID
getOrders
Get a list of orders filtered by various criteria
getOrderByClientOrderId
Get order details by client order ID
getPosition
Get details of a specific position by symbol or asset ID
replaceOrder
Replace an existing order with updated parameters
closePosition
Close a position (liquidate all or part of a position)
exerciseOptionsPosition
Exercise a held options position to convert to underlying asset
createWatchlist
Create a new watchlist
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
createOrder
Place a new order for trading stocks, options, or crypto
getOptionContract
Get details of a specific option contract by symbol or ID
getOrder
Get details of a specific order by order ID
deleteAllOrders
Cancel all open orders
deleteOrder
Cancel a specific order by order ID
getPositions
Get all open positions
closeAllPositions
Close all open positions (liquidate entire portfolio)
getWatchlists
Get all watchlists
getPortfolioHistory
Get portfolio history and performance metrics
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