Ta API
Auto-generated from
openapi-snapshot.json. Do not edit by hand — changes are overwritten byscripts/docs/generate_api_reference.py.
3 endpoints in this group.
GET /api/ta/fvg
Scan for 3-candle Fair Value Gaps (SMC).
Return all unfilled 3-candle Fair Value Gaps for symbol in
[start, end] using bars from provider at interval.
Today the only wired provider is postgres_eod (1d). Intraday intervals
become available as intraday providers land.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
symbol | query | string | required | Ticker symbol |
start | query | string | required | Inclusive range start (ISO date/datetime) |
end | query | string | required | Inclusive range end (ISO date/datetime) |
interval | query | string | optional | Bar granularity, e.g. ‘1d’ |
provider | query | string | optional | OHLCV provider name. Default: postgres_eod (1d only). |
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
GET /api/ta/health
Ta Health
Liveness probe for the TA module. No auth required.
Responses
| Code | Description |
|---|---|
200 | Successful Response |
GET /api/ta/volume-profile
Volume profile (POC/VAH/VAL) for a symbol
Compute a volume profile for symbol over [start, end].
mode=daily— EOD 1d bars via PostgresEODProvider, then :func:compute_volume_profile.mode=intraday— pre-aggregated 30m bins from themv_volume_bins_30mmaterialized view; POC/VAH/VAL are computed from the cached bin totals.
TA-013: warm path served from Redis (ta:vp:*, TTL 300s). Cache
failures degrade silently to the cold path — Redis is a perf
optimization, never a correctness dependency.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
symbol | query | string | required | |
mode | query | string | optional | |
start | query | string | required | |
end | query | string | required | |
bins | query | integer | optional | |
va_pct | query | number | optional |
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |