Skip to content

Octagon Financials Agent

Model Name: octagon-financials-agent

Specialized agent for public companies' financial statement analysis and ratio calculations.

Capabilities

  • Analyze public companies' financial statements
  • Calculate financial metrics and ratios
  • Compare performance indicators across companies
  • Evaluate profitability, liquidity, and efficiency metrics
  • Track financial performance over time
  • Conduct peer comparisons and benchmarking

Use Cases

The Financials Agent is best for:

  • Deep financial analysis of public companies
  • Comparison of company financial performance
  • Ratio analysis and financial health assessment
  • Trend analysis of key financial metrics
  • Competitive positioning analysis

Example Queries

  • "Compare the gross margins, operating margins, and net margins of Apple, Microsoft, and Google over the last 3 years"
  • "Analyze Tesla's cash flow statements from 2021 to 2023 and calculate free cash flow trends"
  • "Calculate and explain key financial ratios for Amazon including P/E, EV/EBITDA, and ROIC"

Code Examples

Python
response = client.responses.create(
    model="octagon-financials-agent",
    input="Compare the gross margins, operating margins, and net margins of Apple, Microsoft, and Google over the last 3 years",
    stream=True
)
JavaScript
const response = await client.responses.create({
  model: "octagon-financials-agent",
  input: "Compare the gross margins, operating margins, and net margins of Apple, Microsoft, and Google over the last 3 years",
  stream: true
});
cURL
curl -X POST https://api.octagonagents.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your-octagon-api-key" \
  -d '{
    "model": "octagon-financials-agent",
    "input": "Compare the gross margins, operating margins, and net margins of Apple, Microsoft, and Google over the last 3 years",
    "stream": true
  }' \
  --no-buffer

How to Create Effective Prompts for Financial Data Analysis

When working with financial data, consider these strategies for more effective prompts:

  1. Specify time periods: Include exact fiscal periods or calendar dates.

    • Example: "Extract quarterly revenue growth rates for AAPL from Q1 2021 through Q4 2023."
  2. Request comparative analysis: Ask for comparisons across companies or time periods.

    • Example: "Compare gross margins for MSFT, GOOGL, and AMZN over the last 8 quarters."
  3. Focus on specific metrics: Clearly identify which financial metrics you need.

    • Example: "Calculate the debt-to-equity ratio trend for TSLA from 2020 to present."
  4. Combine metrics for deeper insights: Request calculations that combine multiple data points.

    • Example: "Analyze the relationship between R&D spending and revenue growth for semiconductor companies."
  5. Specify visualization needs: Indicate if you need data presented visually.

    • Example: "Create a chart showing NVDA's quarterly EPS versus analyst estimates for the past 3 years."
  6. Request trend analysis: Ask for identification of patterns over time.

    • Example: "Identify trends in operating margins for FB over the past 5 years and highlight significant changes."
  7. Incorporate industry benchmarks: Ask for comparisons against industry standards.

    • Example: "How does AMD's P/E ratio compare to the semiconductor industry average?"
  8. Target specific financial events: Focus on data around earnings releases or other events.

    • Example: "Extract revenue surprises for NFLX during the last 6 earnings reports."

Financial Data Fields

Income Statement Data

FieldDescription
Total RevenueGross income from all business activities
Revenue GrowthYear-over-year or quarter-over-quarter percentage change in revenue
Cost of RevenueDirect costs attributable to the production of goods/services sold
Gross ProfitRevenue minus cost of revenue
Gross MarginGross profit as a percentage of revenue
Operating ExpensesCosts associated with business operations
Research & DevelopmentExpenses related to innovation and product development
Sales & MarketingExpenses for promoting and selling products/services
General & AdministrativeOverhead expenses for running the business
Operating IncomeProfit from core business operations
Operating MarginOperating income as a percentage of revenue
Interest ExpenseCost of borrowed money
Interest IncomeIncome earned from investments or cash
Other Income/ExpenseNon-operational gains or losses
Income Before TaxesProfit before tax obligations
Income Tax ExpenseAmount paid in taxes
Effective Tax RateIncome tax expense as a percentage of income before taxes
Net IncomeFinal profit after all expenses and taxes
Net Profit MarginNet income as a percentage of revenue
Earnings Per Share (Basic)Net income divided by basic weighted average shares
Earnings Per Share (Diluted)Net income divided by diluted weighted average shares
EBITDAEarnings Before Interest, Taxes, Depreciation, and Amortization
Adjusted Net IncomeNet income excluding one-time items
Extraordinary ItemsUnusual or infrequent gains or losses

Balance Sheet Data

FieldDescription
Cash & EquivalentsHighly liquid short-term investments
Short-term InvestmentsInvestments expected to be converted to cash within a year
Accounts ReceivableMoney owed by customers for goods/services delivered
InventoryGoods available for sale or materials for production
Total Current AssetsAssets expected to be converted to cash within a year
Property, Plant & EquipmentLong-term tangible assets
GoodwillPremium paid for acquired companies above fair value
Intangible AssetsNon-physical assets like patents, trademarks, etc.
Long-term InvestmentsInvestments intended to be held for over a year
Total AssetsSum of all assets owned by the company
Accounts PayableMoney owed to suppliers
Short-term DebtDebt obligations due within one year
Total Current LiabilitiesObligations due within one year
Long-term DebtDebt obligations due after one year
Total LiabilitiesSum of all company obligations
Common StockPar value of issued common shares
Additional Paid-in CapitalAmount received from issuing stock above par value
Retained EarningsAccumulated profits not distributed as dividends
Treasury StockStock repurchased by the company
Total Shareholders' EquityNet value of the company to shareholders
Working CapitalCurrent assets minus current liabilities
Net DebtTotal debt minus cash and equivalents

Cash Flow Statement Data

FieldDescription
Net IncomeStarting point for cash flow calculation
Depreciation & AmortizationNon-cash expenses added back to net income
Stock-based CompensationNon-cash employee compensation expense
Changes in Working CapitalImpact of changes in operational assets and liabilities
Cash from Operating ActivitiesNet cash generated from core business operations
Capital ExpendituresInvestments in long-term assets
AcquisitionsCash spent on acquiring other businesses
Purchases of InvestmentsCash used to purchase marketable securities
Sale of InvestmentsCash received from selling marketable securities
Cash from Investing ActivitiesNet cash used in or provided by investment activities
Debt IssuanceCash received from issuing debt
Debt RepaymentCash used to repay debt
Stock IssuanceCash received from issuing stock
Stock RepurchaseCash used to buy back company shares
Dividends PaidCash distributed to shareholders
Cash from Financing ActivitiesNet cash used in or provided by financing activities
Net Change in CashOverall increase or decrease in cash position
Free Cash FlowOperating cash flow minus capital expenditures
Operating Cash Flow MarginOperating cash flow as percentage of revenue

Financial Ratios

FieldDescription
Current RatioCurrent assets divided by current liabilities
Quick Ratio(Current assets - inventory) divided by current liabilities
Debt-to-Equity RatioTotal debt divided by shareholders' equity
Interest Coverage RatioEBIT divided by interest expense
Return on Assets (ROA)Net income divided by average total assets
Return on Equity (ROE)Net income divided by average shareholders' equity
Return on Invested Capital (ROIC)Net operating profit after tax divided by invested capital
Asset TurnoverRevenue divided by average total assets
Inventory TurnoverCost of goods sold divided by average inventory
Receivables TurnoverRevenue divided by average accounts receivable
Days Sales Outstanding365 divided by receivables turnover
Days Inventory Outstanding365 divided by inventory turnover
Price-to-Earnings RatioShare price divided by earnings per share
Price-to-Sales RatioMarket cap divided by annual revenue
Price-to-Book RatioShare price divided by book value per share
EV/EBITDAEnterprise value divided by EBITDA
Dividend Payout RatioDividends per share divided by earnings per share
Dividend YieldAnnual dividends per share divided by share price

Earnings & Estimates

FieldDescription
Earnings Announcement DateDate when earnings were or will be announced
Fiscal PeriodQuarter or year for reported earnings
Fiscal YearYear for reported earnings
Reported EPSActual earnings per share reported by company
Estimated EPSAnalysts' consensus EPS estimate
EPS SurpriseDifference between reported and estimated EPS
EPS Surprise PercentagePercentage difference from estimated EPS
Revenue SurpriseDifference between reported and estimated revenue
Revenue Surprise PercentagePercentage difference from estimated revenue
Number of EstimatesCount of analyst estimates included in consensus
EPS GrowthYear-over-year growth in earnings per share
Forward P/EPrice divided by estimated future earnings
PEG RatioP/E ratio divided by earnings growth rate
Next Earnings DateExpected date of next earnings announcement
Analyst RevisionsChanges in analyst estimates over time

Company Financial Metrics

FieldDescription
Market CapitalizationTotal market value of outstanding shares
Enterprise ValueMarket cap plus debt minus cash
Shares OutstandingTotal number of shares issued
FloatNumber of shares available for public trading
Insider OwnershipPercentage of shares owned by company insiders
Institutional OwnershipPercentage of shares owned by institutions
Book Value Per ShareShareholders' equity divided by shares outstanding
Tangible Book ValueBook value minus intangible assets
Revenue Per ShareAnnual revenue divided by shares outstanding
Cash Per ShareCash and equivalents divided by shares outstanding
Debt-to-EBITDATotal debt divided by EBITDA
EBITDA MarginEBITDA as a percentage of revenue
FCF MarginFree cash flow as a percentage of revenue
FCF YieldFree cash flow per share divided by share price
Dividend HistoryRecord of past dividend payments

Growth & Profitability Metrics

FieldDescription
3-Year Revenue CAGRCompound annual growth rate of revenue over 3 years
5-Year Revenue CAGRCompound annual growth rate of revenue over 5 years
3-Year EPS CAGRCompound annual growth rate of EPS over 3 years
5-Year EPS CAGRCompound annual growth rate of EPS over 5 years
Revenue Growth YoYYear-over-year percentage change in revenue
EPS Growth YoYYear-over-year percentage change in EPS
Sequential GrowthQuarter-over-quarter growth rates
Gross Margin TrendPattern of gross margin changes over time
Operating Margin TrendPattern of operating margin changes over time
Net Margin TrendPattern of net profit margin changes over time
R&D as % of RevenueResearch and development expense as percentage of revenue
SG&A as % of RevenueSales, general, and administrative expenses as percentage of revenue
Capex as % of RevenueCapital expenditures as percentage of revenue

Segment & Geographic Data

FieldDescription
Segment RevenueRevenue breakdown by business division
Segment GrowthGrowth rates for specific business segments
Segment ProfitProfit contribution from each business segment
Segment MarginProfit margins for specific business segments
Geographic RevenueRevenue breakdown by region or country
Geographic GrowthGrowth rates for specific geographic regions
Product Category RevenueRevenue breakdown by product category
Customer ConcentrationPercentage of revenue from top customers
Segment AssetsAssets allocated to specific business segments
Segment CapexCapital expenditures by business segment
Domestic vs. InternationalSplit between domestic and international business
Segment R&DResearch and development spending by segment

Dividend & Capital Return Data

FieldDescription
Dividend Per ShareAmount paid per share as dividends
Dividend FrequencyHow often dividends are paid
Dividend Ex-DateDate when shares begin trading without dividend rights
Dividend Record DateDate determining which shareholders receive dividends
Dividend Payment DateDate when dividends are actually paid
Dividend Growth RateRate of increase in dividend payments
Years of Consecutive DividendsHow many years the company has paid dividends without interruption
Share Repurchase AuthorizationAmount approved for stock buybacks
Share Repurchase ActivityActual amount spent on stock buybacks
Net Share Count ReductionPercentage reduction in outstanding shares
Total Shareholder ReturnCombination of dividends and share price appreciation
Capital Return YieldTotal capital returned to shareholders as percentage of market cap

Industry & Peer Comparison

FieldDescription
Industry ClassificationSpecific industry category
Industry Average P/EAverage price-to-earnings ratio for the industry
Industry Average MarginsAverage profit margins for the industry
Industry Average GrowthAverage revenue growth for the industry
Peer GroupSet of comparable companies
Relative ValuationValuation metrics compared to industry peers
Relative GrowthGrowth metrics compared to industry peers
Relative MarginsMargin metrics compared to industry peers
Market ShareCompany's share of total industry revenue
Market Share TrendChanges in market share over time
Competitive PositioningStanding relative to competitors
Sector PerformanceHow the company performs within its sector

Note: Some fields may require premium access or might not be available for all securities.