fvg
Retrieve Fair Value Gap zones with CE, gap size, age, fill status, and distance from price for any symbol. Supports crypto and stocks with standard timeframes matching TradingView candles.
Instructions
Fair Value Gap zones (standard ICT/LuxAlgo) with CE (50%), gap size, age, fill status, distance from price — Fair Value Gap zones (standard ICT/LuxAlgo) with CE (50%), gap size, age, fill status, distance from price. Standard timeframes match TradingView candles. Crypto or stocks.
Example: /v1/fvg?symbol=BTC&timeframe=1h
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class | No | Optional. stock|crypto for non-curated symbols. | |
| symbol | Yes | Required. e.g. BTC, NVDA, SPY (or any with &class=). | |
| lookback | No | Optional. Timeframe candles to analyze (default 120, max 500). | |
| timeframe | No | Optional. 1m,5m,15m,30m,1h,2h,4h,6h,12h,1D,1W (default 1h). Matches TradingView candles. | |
| min_gap_pct | No | Optional. Filter out gaps smaller than this % of price (default 0 = all). | |
| include_filled | No | Optional. true to include filled FVGs (default false = active only). |