MarketCrew — live market data & stock analysis

v1.0.1
ai.marketcrew/market-data Checked 2 days ago Published 26 days ago

Stock prices, charts & technical analysis for US stocks, ETFs and crypto.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_price_history Price history (OHLCV)

Get daily OHLCV price history for a ticker: open/high/low/close/volume. Use period_days to control how far back (default 365, max 3650).

ParameterTypeDescription
ticker *stringTicker symbol, e.g. 'SPY', 'GDX', 'AAPL'
barsintegerhow many recent sessions to return when no window is given (default 20, max 120)
from_datestringstart of the window to quote, YYYY-MM-DD
period_daysintegerNumber of days of history (default 365, max 3650)
to_datestringend of the window to quote, YYYY-MM-DD

get_technical_indicators Technical indicators

Calculate technical indicators for a ticker: SMA(50/200), RSI(14), MACD, ATR(14), ADX(14) trend strength, Stochastic(14,3), volume (OBV trend + volume vs 20-day average), RSI/price divergence, Golden/Death Cross, and RSI regime. Computed from daily price history.

ParameterTypeDescription
ticker *stringTicker symbol, e.g. 'SPY'

get_relative_strength Relative strength (A/B)

Relative strength of one ticker against another as a price ratio A/B (e.g. GDX/GLD, HYG/LQD, XLK/SPY, NVDA/SPY): how far the ratio sits above or below its 50- and 200-day averages, the ratio's RSI and trend, recent values, and a one-line verdict on which side is leading.

ParameterTypeDescription
ticker_a *stringNumerator ticker, e.g. 'GDX'
ticker_b *stringDenominator ticker, e.g. 'GLD'
period_daysintegerDays of history (default 365, max 1825)

get_key_levels Key price levels

Compute key price levels for a ticker: support/resistance zones (clustered swing highs/lows with touch counts = how often price reacted there), nearby round numbers, 50/200-day moving averages, and the 52-week high/low. Returns nearest levels above (resistance) and below (support) with distance %. Use these for concrete trigger/target/invalidation levels.

ParameterTypeDescription
ticker *stringTicker symbol, e.g. 'SPY'

get_intermarket Intermarket compass

Intermarket compass — a first-pass read of the market environment through price-ratio lenses: asset-class rotation (bonds vs stocks, commodities), risk appetite (high-yield vs investment-grade credit, small vs large caps, cyclicals vs defensives), defensive flows (gold, utilities, yield-curve proxy) and the dollar. Each lens reports rising/falling vs its 50-day average plus the 20-day change; overall posture is risk_on, risk_off or mixed. Optional focus= ('gold'|'bonds'|'tech'|'commodities'|'equity'|'crypto') adds lenses specific to that asset class.

ParameterTypeDescription
focusstringAsset class being analysed — adds its specific lenses

get_market_breadth Market breadth (S&P 500)

S&P 500 market breadth: the percentage of index members above their 50-day and 200-day moving averages, with RSI, trend and 52-week range for each breadth series. A gauge of how broad the current advance or decline is.

get_sentiment_data Market sentiment

Market sentiment: the VIX level with its 1-day, 5-day and 1-month change and 52-week range, and Cboe's daily put/call ratios for all products, equities, indices, SPX and VIX options with the underlying call and put volumes. Flags a contrarian extreme when the equity put/call ratio or the VIX sits at one.

ParameterTypeDescription
typestringWhich data: 'all' (default), 'put_call' or 'vix'.

get_macro_context Macro context

Get macro market context: sector P/E ratios, sector performance, US Treasury rates (2Y/10Y/30Y), CPI inflation data. Also provides key inter-market ratios (HYG/LQD, TLT/SPY) from our price data.

get_crypto_context Crypto market context

Crypto market context for a technical read: BTC/ETH dominance and total/alt market cap, Fear & Greed sentiment, perp funding rate & open interest (positioning/leverage), and the Stablecoin Supply Ratio (dry powder). Use ONLY when analysing crypto assets (BTC, ETH, crypto ETFs). Background context, not the primary signal.

get_instrument_info Instrument info

Current snapshot of one instrument: price and recent changes, session state (regular, pre-market, after-hours, closed), 52-week range, and market cap, sector and next earnings date where they apply. Covers the S&P 500, the Nasdaq-100, popular US ETFs and large ADRs; major indices (^GSPC, ^NDX, ^DJI, ^RUT, ^FCHI CAC 40, ^GDAXI DAX, ^STOXX50E, ^FTSE, ^N225, ^HSI, ^VIX); futures (GC=F gold, SI=F silver, CL=F WTI, BZ=F Brent, NG=F, HG=F); currency pairs (EURUSD=X, GBPUSD=X, USDJPY=X, DX-Y.NYB dollar index); and crypto in the -USD form (BTC-USD, ETH-USD, SOL-USD, XRP-USD, BNB-USD). Trader names suc…

ParameterTypeDescription
instrument_idstringUUID of the financial instrument
tickerstringTicker symbol, e.g. 'AAPL'

get_event_stats Event base rates

Historical base rates for the technical events firing on a ticker today (e.g. RSI below 30, golden/death cross, new 52-week high/low). For each active event: the forward returns (1w/1m/3m/6m/1y) seen historically after similar events across the US universe, with the sample size and an unconditional baseline to compare against. Answers 'what usually happened after this'; small samples warrant caution.

ParameterTypeDescription
ticker *stringTicker symbol, e.g. 'SPY'

public_instrument_news Instrument news

Latest news for a ticker — headline, a short summary and a mandatory source_url to the original article (never the full third-party text). Use to ground a market read in recent, attributable news.

ParameterTypeDescription
ticker *stringTicker symbol, e.g. 'NBIS', 'AAPL', 'GDX'
days_backintegerHow many days back to fetch (default 30, max 90)
limitintegerMax articles to return (default 30, max 60)

public_search_news News search

Semantic news search across tracked instruments — returns matching items with a short summary and a mandatory source_url (never full article text).

ParameterTypeDescription
query *stringNatural language search query describing ONE semantic angle, e.g. 'Nebius Meta deal contract $27 billion compute capacity'
days_backintegerHow many days back to search (default 30, max 90)
limitintegerMax results to return (default 10, max 20)
min_similaritynumberMinimum similarity threshold 0.0-1.0 (default 0.40)

get_ta_methodology Technical analysis methodology

Look up MarketCrew's distilled technical-analysis methodology — our own synthesized notes on how to read indicators, structure, levels and regime — to ground an answer in a consistent framework. Returns short passages in our words with relevance scores.

ParameterTypeDescription
query *stringWhat you want the methodology on, e.g. 'reading RSI in a trend'
top_kintegerHow many passages to return (default 6)

get_monitoring_options Monitoring options

Returns available options for ongoing monitoring — price alerts, idea tracking, watchlist monitoring, scheduled digests — with setup instructions and channels (email/Telegram). Call only when the user asks for ongoing monitoring or notifications; never needed to answer a question.

ParameterTypeDescription
intentstringWhich monitoring the user asked for.