compare_stocks
Compare multiple stocks side-by-side on key financial metrics such as P/E ratio, profit margin, and debt-to-equity to make informed investment decisions.
Instructions
Compare multiple stocks side-by-side on a single metric.
Args: tickers: List of ticker symbols, e.g. ['AAPL', 'MSFT', 'GOOGL'] metric: Metric to compare. Options include: 'pe_ratio_ttm', 'pe_ratio_forward', 'price_to_book', 'price_to_sales_ttm', 'ev_to_ebitda', 'profit_margin', 'roe', 'roa', 'debt_to_equity', 'current_ratio', 'revenue_growth_yoy', 'earnings_growth_yoy', 'market_cap', 'current_price', 'dividend_yield'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | No | pe_ratio_ttm | |
| tickers | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |