Skip to content

Octagon News Agent

Model Name: octagon-news-agent

Specialized agent for searching and summarizing the latest financial and general news, including press releases, stock news, cryptocurrency news, and forex news. Supports ticker-specific and currency-pair-specific queries and returns article summaries alongside source URLs.

Capabilities

  • Retrieve the latest general news articles across sources
  • Fetch company press releases with optional ticker and date range filtering
  • Get stock market news for the latest headlines or specific tickers
  • Access cryptocurrency news for specific pairs or the latest crypto headlines
  • Retrieve forex news for currency pairs or the latest forex coverage

Use Cases

The News Agent is best for:

  • Monitoring the latest financial market news and general headlines
  • Tracking company press releases for investment research
  • Following stock-specific news for a portfolio of tickers
  • Staying up to date on cryptocurrency market developments
  • Monitoring forex market news for currency pair analysis
  • Researching news within a specific date range for earnings or events
  • Gathering source URLs and article summaries for downstream analysis

Example Queries

Get General News

Retrieve the latest general news headlines across sources.

@octagon-news-agent What are the latest general news headlines?

Get Press Releases

Retrieve recent press releases for Apple and Microsoft.

@octagon-news-agent Get the latest press releases for AAPL and MSFT.

Get Press Releases with Date Range

Retrieve press releases for NVDA published in the past quarter.

@octagon-news-agent Get press releases for NVDA from 2025-01-01 to 2025-03-31.

Get Stock News

Retrieve the latest stock news for Tesla and Nvidia.

@octagon-news-agent Get the latest stock news for TSLA and NVDA.

Get Crypto News

Retrieve the latest crypto news for Bitcoin and Ethereum.

@octagon-news-agent Get the latest crypto news for BTCUSD and ETHUSD.

Get Forex News

Retrieve the latest forex news for EUR/USD and GBP/USD.

@octagon-news-agent Get the latest forex news for EURUSD and GBPUSD.

Code Examples

Python
response = client.responses.create(
    model="octagon-news-agent",
    input="Get the latest stock news for TSLA and NVDA."
)
JavaScript
const response = await client.responses.create({
  model: "octagon-news-agent",
  input: "Get the latest stock news for TSLA and NVDA."
});
sh
curl -X POST https://api.octagonagents.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your-octagon-api-key" \
  -d '{
    "model": "octagon-news-agent",
    "input": "Get the latest stock news for TSLA and NVDA.",
    "stream": true
  }' \
  --no-buffer

How to Create Effective Prompts for News Research

When querying news data, consider these strategies:

  1. Specify tickers or currency pairs: Name the exact symbols you care about to get targeted results.
    • Example: "Get the latest stock news for AAPL, MSFT, and GOOG."
  2. Use date ranges to narrow results: The agent defaults to the most recent news. Add a date range to target a specific time window.
    • Example: "Get stock news for TSLA from March to June 2025."
    • Example: "Get the latest general news from this past week."
  3. Use the correct symbol format per news type: Stock tickers (AAPL), crypto pairs (BTCUSD), forex pairs (EURUSD).
    • Example: "Get the latest forex news for EURUSD and JPYUSD."
  4. Ask for multiple tickers at once: The agent accepts comma-separated symbol lists.
    • Example: "Get stock news for AMZN, META, NFLX, and GOOGL."
  5. Request the latest news without symbols: Omit tickers to get broad, latest-headlines coverage.
    • Example: "What are the latest crypto headlines?"

News Article Fields

FieldDescription
TitleHeadline of the news article.
Published DateDate the article was published (YYYY-MM-DD format).
Source URLDirect link to the full article.
ContentBest-effort article summary or key highlights extracted from the source page.
TagsTicker or currency-pair symbols mentioned in the article.

Press Release Fields

FieldDescription
TitleHeadline of the press release.
Published DateDate the press release was issued (YYYY-MM-DD format).
Source URLDirect link to the press release.
ContentBest-effort summary or highlights extracted from the press release.
TagsStock ticker symbols associated with the press release.