The same data tools Apex uses: catalog, quotes, news, financials, filings, events and analysis.
list_markets
· List marketsread-onlyno key neededMarkets a project can trade and research: crypto, forex, US stocks, ETFs, indices and commodities. Filter by text and kind. Use the id (or symbol) with create_project and get_market_dossier.
| Parameter | Type | Description |
|---|
| query | string | Matches symbol, name or group, e.g. "nvidia", "BTC", "semis". |
| kind | "crypto" | "fx" | "stock" | "etf" | "index" | "commodity" | |
| limit | integer | (default 40) |
get_market_dossier
· Market research dossierread-onlyno key neededEverything AlgoGP knows about one market: price statistics (returns, volatility, drawdowns, trend), earnings, financial statements, SEC filings, corporate actions, recent headlines and a computed analysis. Each section reports its status and sources. Sections: price, earnings, financials, filings, actions, news, analysis.
| Parameter | Type | Description |
|---|
| market* | string | Market id or symbol, e.g. "nvda" or "BTC/USD". |
| sections | string[] | Only these sections; omit for all. |
find_markets
· Find markets by themeread-onlyFind markets the platform supports (crypto, forex, stocks, ETFs, indices, commodities) by symbol, name or theme. Returns market ids to use with the other tools.
| Parameter | Type | Description |
|---|
| query* | string | Symbol, name or theme, e.g. "bitcoin", "NVDA", "gold". |
| kind | "crypto" | "fx" | "stock" | "etf" | "index" | "commodity" | |
get_market_snapshot
· Market snapshotread-onlyLive quote plus statistics computed from real bars for one market: daily changes, volatility, RSI, moving-average trend, and 15-minute bar base rates (share of up bars, typical move, how often a move continues). Use before saying anything about price or behaviour.
| Parameter | Type | Description |
|---|
| pairId* | string | |
get_market_news
· Market newsread-onlyRecent headlines and social posts for a market. Use when the user asks what is moving it or for catalysts.
| Parameter | Type | Description |
|---|
| pairId* | string | |
search_library
· Search the Trading Libraryread-onlySearch the Trading Library (articles on strategies, indicators, risk, backtesting). Results that teach a buildable strategy include a strategySlug that createProject can seed from.
| Parameter | Type | Description |
|---|
| query* | string | |
| pairId | string | Prefer articles that fit this market. |
get_market_context
· Market contextread-onlyWhat AlgoGP has for a market without loading it: available capabilities (with descriptions), per-source availability and freshness, cached analyses, plus the compact MarketState (price, change, next events, latest headlines). Start here for a market you have not looked at.
| Parameter | Type | Description |
|---|
| marketId* | string | Market id or symbol, e.g. "aapl", "USD/JPY", "btc-usd". |
get_price_history
· Price historyread-onlyOHLCV bars for a market over a range, with a summary (change, high, low, average volume). Rows are thinned evenly to `maxRows`; use computeAnalysis for statistics over the full series.
| Parameter | Type | Description |
|---|
| marketId* | string | Market id or symbol, e.g. "aapl", "USD/JPY", "btc-usd". |
| interval | "15m" | "1h" | "4h" | "1d" | "1w" | (default "1d") |
| start | string | ISO date (YYYY-MM-DD) or instant. |
| end | string | ISO date (YYYY-MM-DD) or instant. |
| lookbackDays | number | |
| maxRows | integer | (default 60) |
query_financials
· Financial statementsread-onlyReported financial statement lines (SEC XBRL) by quarter or year, with filing dates. Equities only.
| Parameter | Type | Description |
|---|
| marketId* | string | Market id or symbol, e.g. "aapl", "USD/JPY", "btc-usd". |
| metrics | "revenue" | "grossProfit" | "operatingIncome" | "netIncome" | "epsDiluted" | "operatingCashFlow" | "capex" | "freeCashFlow" | "totalAssets" | "totalLiabilities" | "equity" | "cash" | "longTermDebt"[] | |
| kind | "quarter" | "annual" | (default "quarter") |
| periods | integer | (default 8) |
get_earnings
· Earningsread-onlyEarnings releases with reported numbers, EPS vs consensus surprises and the next scheduled report. Equities only.
| Parameter | Type | Description |
|---|
| marketId* | string | Market id or symbol, e.g. "aapl", "USD/JPY", "btc-usd". |
| start | string | ISO date (YYYY-MM-DD) or instant. |
| end | string | ISO date (YYYY-MM-DD) or instant. |
search_market_documents
· Search news, filings and transcriptsread-onlyHybrid search (keywords + meaning + recency + source quality) over news, SEC filings, press releases, earnings call transcripts and documents attached to this conversation. Returns snippets with document ids, sources and publication times; read full text with readMarketDocuments. Leave `query` empty for the latest documents.
| Parameter | Type | Description |
|---|
| marketIds* | string[] | |
| query | string | |
| documentTypes | string[] | e.g. news, social, filing, press_release, earnings_transcript, user_note. |
| sources | string[] | |
| start | string | ISO date (YYYY-MM-DD) or instant. |
| end | string | ISO date (YYYY-MM-DD) or instant. |
| language | string | |
| limit | integer | (default 8) |
read_market_documents
· Read documentsread-onlyFull text of documents by id (from searchMarketDocuments or the conversation working set), up to 8 at a time.
| Parameter | Type | Description |
|---|
| ids* | string[] | |
| maxChars | integer | (default 6000) |
get_upcoming_events
· Upcoming eventsread-onlyScheduled events ahead for markets: next earnings, splits, dividends.
| Parameter | Type | Description |
|---|
| marketIds* | string[] | |
| days | integer | (default 45) |
find_related_markets
· Related marketsread-onlyMarkets related to one (benchmark, same sector/group, shared currency legs) for comparisons.
| Parameter | Type | Description |
|---|
| marketId* | string | Market id or symbol, e.g. "aapl", "USD/JPY", "btc-usd". |
compute_analysis
· Compute analysisread-onlySafe numerical analysis: load named series (price fields or financial metrics for markets) and run operations on them (returns, rolling stats, describe, correlation, rolling_correlation, beta, drawdown, normalize, event_study around dates, aggregate by weekday/month/hour/year, compare_periods). Use for any statistic instead of mental arithmetic.
| Parameter | Type | Description |
|---|
| datasets* | object[] | |
| operations* | object[] | |
get_cached_analysis
· Cached analysesread-onlyCheck for a fresh cached analysis before doing expensive analysis. With analysisKey (snake_case, e.g. news_sentiment, management_tone, earnings_reaction_trend) returns the artifact with its result, sources, model and age; without it, lists every cached analysis for the markets so you can pick an equivalent one.
| Parameter | Type | Description |
|---|
| marketIds* | string[] | |
| analysisKey | string | |
| timeRange | object | |
| includeStale | boolean | (default false) |