classify_market_segment
Classify one stretch of market: a date range, or a catalog window by file name. Explicit date ranges require daily (1d) candles; catalog windows retain their stored interval. Returns its direction band, volatility band, trend character and the three features behind them, using the same labels the sweep catalog carries. Use it for a period the person names, or to see what a window a sweep selected contains. For an asset's current conditions use get_market_regime instead. Volatility reads unscored when no fitted band covers the stretch's length; the bands come back with it. For an exact crypto market, supply quote_token and market_data_venue together. A date range covers crypto and the stocks, ETFs, commodities and bonds in Oracle's regime catalog: SPY, QQQ, DIA, IWM, AAPL, AMD, AMZN, COST, GOOGL, HD, JNJ, JPM, META, MSFT, NFLX, NVDA, PG, TSLA, UNH, WMT, XOM, GLD, SLV, USO, GOLD (gold futures), CRUDE (crude oil futures) and TLT. Without explicit source arguments, those tickers are read from their exchange-session daily series, even where a crypto token shares one (DIA and META are the ETF and the stock here); any other ticker is read as crypto, so a stock not named here cannot be read. Explicit market or provider arguments select the crypto history path. venue says which feed was read. A listed ticker needs at least 15 sessions with a close, about three weeks; anything shorter is refused as too little history.
[Access: pay 0.02 USDC via x402 (PAYMENT-SIGNATURE header) OR authenticate with an API key. An x402-capable client will auto-pay; API-key clients pay nothing per call.]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | Asset symbol, e.g. BTC or ETH. | |
| end_date | No | ISO end of the window. | |
| provider | No | Optional upstream override; omitted uses the existing server default. | |
| start_date | No | ISO start of the window, e.g. 2026-01-01. | |
| candle_size | No | Duration of one candle, e.g. 1h or 1d. | 1d |
| quote_token | No | Quote currency of the requested market. | |
| window_file | No | A catalog window's file name, classified as it stands. Supply this or the asset with both dates, not both. | |
| market_data_venue | No | Exact venue of the requested market. |