Data requests / Reference
alerta.footprint.get_row_by_price
TradingView-compatible spelling: footprint.get_row_by_price, runs without warnings
The row holding a price (down_price < price ≤ up_price), or na outside the bar's rows.
alerta.footprint.get_row_by_price(id, price) → volume_rowParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id | footprint | Yes | — | A footprint from request.footprint(). |
price | series float | Yes | — | The price to look up. |
Returns
volume_row — na outside the bar's rowsExample
alerta.footprint.get_row_by_price
indicator("Delta at the close")footprint fp = request.footprint(10)volume_row atClose = na(fp) ? na : fp.get_row_by_price(close)plot(na(atClose) ? na : atClose.delta(), "Delta at the close")Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.