Skip to content
Logo

Market data tools

Live data from Hyperliquid for every market Farao lists. All four tools need the markets:read scope and are read-only.

get_supported_assets

The exact symbol of every tradeable market, HIP-3 markets included.

Input: none

Output
assetsSymbols such as BTC, xyz:NVDA, xyz:GOLD
countHow many there are

Call it once when a symbol is uncertain, then use the returned name as is. See Symbols.

get_market_snapshot

What an agent needs before it sizes an order.

InputType
coinsstring[]Optional. Omit for every market

Each market has:

Output
midPriceCurrent mid price
maxLeverageHighest leverage the market allows
minNotionalUsdSmallest order by notional, about $10
minSizeSmallest order in units of the asset
fundingRateCurrent funding. Positive means longs pay shorts

get_candles

Raw OHLCV bars.

InputType
coinsstring[]Required. Exact symbols
intervalsstring[]Required. Any of 1m 3m 5m 15m 30m 1h 2h 4h 8h 12h 1d 3d 1w 1M
limitinteger, 1 to 120Most recent bars per series. Default 50

Coins are crossed with intervals, up to 8 series per call. Each series has bars, oldest first, with t (bar close time in epoch ms), o, h, l, c and v (volume in units of the asset, not USD). The last bar may still be open. truncated: true means older bars were dropped to fit the response, so ask for fewer series to get more depth.

A series that fails is reported in errors without failing the rest.

get_indicators

About 20 indicators computed on the server, matching the chart in the Farao app. Prefer it to pulling candles and doing the math in the model: it uses far less context.

InputType
coinsstring[]Required. Exact symbols
intervalsstring[]Required. Same 14 intervals as get_candles

One call reads one market across several timeframes, or screens a watchlist at one timeframe. Each reading has:

GroupIndicators
trendSMA, EMA, VWAP, MACD, ADX with +DI and −DI, Parabolic SAR, Ichimoku, Supertrend
momentumRSI, Stochastic, Stochastic RSI, CCI, Williams %R, ROC, MFI
volatilityBollinger Bands with %B and bandwidth, ATR and ATR as a percent of price, Keltner, Donchian
volumeOBV as a direction over the last 20 bars, its change, and any divergence from price
emaCrossDirection of the EMA 12/26 cross (golden or death) and barsAgo. A null age means the cross is older than the window, not that it is recent

Each reading also has close, lastBarAt and barsUsed. These are numbers, not recommendations. A good agent shows the readings it used so you can disagree with them.