Skip to content

Octagon Metrics Agent

Model Name: octagon-metrics-agent

Specialized agent for analyzing financial ratios and key metrics of public companies, providing comprehensive insights into company performance, valuation, and operational efficiency.

Capabilities

  • Calculate and analyze financial ratios across multiple categories
  • Track key performance metrics over time
  • Compare metrics across companies and sectors
  • Evaluate company performance through various financial lenses
  • Generate current and historical metric trends and analysis
  • Provide detailed valuation and operational insights

Use Cases

The Metrics Agent is best for:

  • Detailed ratio analysis of public companies
  • Historical metric trend analysis
  • Cross-company metric comparisons
  • Valuation analysis and assessment
  • Operational efficiency evaluation
  • Financial health monitoring

Example Queries

  • "Get historical quarterly EV/S for $TSLA for the last 20 quarters"
  • "What is NVDA's cash conversion cycle trend over the past 8 quarters?"
  • "Calculate the Graham Number for META and compare it to current price"
  • "Show me Amazon's capex to operating cash flow ratio for the past 3 years"

Code Examples

Python
response = client.responses.create(
    model="octagon-metrics-agent",
    input="Get historical quarterly EV/S for $TSLA for the last 20 quarters",
)
JavaScript
const response = await client.responses.create({
  model: "octagon-metrics-agent",
  input: "Get historical quarterly EV/S for $TSLA for the last 20 quarters",
});
cURL
curl -X POST https://api-gateway.octagonagents.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your-octagon-api-key" \
  -d '{
    "model": "octagon-metrics-agent",
    "input": "Get historical quarterly EV/S for $TSLA for the last 20 quarters",
    "stream": true
  }' \
  --no-buffer

Available Metrics

Profitability Ratios

MetricDescription
Gross Profit MarginGross profit as a percentage of revenue
EBIT MarginEarnings before interest and taxes as a percentage of revenue
EBITDA MarginEarnings before interest, taxes, depreciation, and amortization as a percentage of revenue
Operating Profit MarginOperating income as a percentage of revenue
Pretax Profit MarginIncome before taxes as a percentage of revenue
Net Profit MarginNet income as a percentage of revenue
Continuous Operations Profit MarginProfit margin from continuing operations
Bottom Line Profit MarginFinal profit margin after all deductions

Efficiency/Activity Ratios

MetricDescription
Receivables TurnoverRevenue divided by average accounts receivable
Payables TurnoverPurchases divided by average accounts payable
Inventory TurnoverCost of goods sold divided by average inventory
Fixed Asset TurnoverRevenue divided by average fixed assets
Asset TurnoverRevenue divided by average total assets
Working Capital TurnoverRevenue divided by average working capital

Liquidity Ratios

MetricDescription
Current RatioCurrent assets divided by current liabilities
Quick Ratio(Current assets - inventory) divided by current liabilities
Cash RatioCash and equivalents divided by current liabilities
Solvency Ratio(Net income + depreciation) divided by total liabilities

Valuation Ratios

MetricDescription
PE RatioPrice per share divided by earnings per share
PEG RatioPE ratio divided by earnings growth rate
Forward PEG RatioForward PE ratio divided by expected earnings growth rate
PB RatioPrice per share divided by book value per share
PS RatioPrice per share divided by sales per share
PCF RatioPrice per share divided by free cash flow per share
POCF RatioPrice per share divided by operating cash flow per share
Price to Fair ValueCurrent price divided by estimated fair value
Enterprise Value MultipleEnterprise value divided by EBITDA

Leverage/Solvency Ratios

MetricDescription
Debt to AssetsTotal debt divided by total assets
Debt to EquityTotal debt divided by shareholders' equity
Debt to CapitalTotal debt divided by (total debt + equity)
Long Term Debt to CapitalLong-term debt divided by (long-term debt + equity)
Financial LeverageAverage assets divided by average equity
Debt to Market CapTotal debt divided by market capitalization

Cash Flow Ratios

MetricDescription
Operating Cash Flow RatioOperating cash flow divided by current liabilities
Operating Cash Flow Sales RatioOperating cash flow divided by sales
Free Cash Flow Operating Cash Flow RatioFree cash flow divided by operating cash flow
Debt Service CoverageOperating income divided by debt service requirements
Interest CoverageEBIT divided by interest expense
Operating Cash Flow CoverageOperating cash flow divided by total debt
Capex CoverageOperating cash flow divided by capital expenditures
Dividend Capex CoverageOperating cash flow divided by (dividends + capex)

Per Share Metrics

MetricDescription
Revenue Per ShareTotal revenue divided by shares outstanding
Net Income Per ShareNet income divided by shares outstanding
Interest Debt Per ShareTotal interest-bearing debt per share
Cash Per ShareTotal cash and equivalents per share
Book Value Per ShareShareholders' equity divided by shares outstanding
Tangible Book Value Per ShareTangible equity divided by shares outstanding
Operating Cash Flow Per ShareOperating cash flow divided by shares outstanding
Free Cash Flow Per ShareFree cash flow divided by shares outstanding

Key Operating Metrics

MetricDescription
Market CapTotal market value of outstanding shares
Enterprise ValueMarket cap plus debt minus cash
EV to SalesEnterprise value divided by sales
EV to Operating Cash FlowEnterprise value divided by operating cash flow
EV to EBITDAEnterprise value divided by EBITDA
Net Debt to EBITDANet debt divided by EBITDA
Income QualityOperating cash flow divided by net income
Graham NumberSquare root of (22.5 × EPS × BVPS)
Working CapitalCurrent assets minus current liabilities
Return on AssetsNet income divided by average assets
Return on EquityNet income divided by average equity
Return on Invested CapitalNOPAT divided by invested capital
Operating CycleDays inventory outstanding plus days sales outstanding
Cash Conversion CycleOperating cycle minus days payables outstanding

Growth and Efficiency Metrics

MetricDescription
Capex to Operating Cash FlowCapital expenditures divided by operating cash flow
Capex to RevenueCapital expenditures divided by revenue
SGA to RevenueSG&A expenses divided by revenue
Research to RevenueR&D expenses divided by revenue
Stock Comp to RevenueStock-based compensation divided by revenue
Days Sales Outstanding(Accounts receivable / revenue) × 365
Days Payables Outstanding(Accounts payable / COGS) × 365
Days Inventory Outstanding(Inventory / COGS) × 365

Note: All metrics are calculated using standardized formulas and may be adjusted for industry-specific factors.