Field reference / model equity
model_segment
Whether the row is a backtest or live. backtest = computed in a replay of history, dated before the model's activation, and replaced if the model is replayed; live = decided on the day, dated on or after activation, and never rewritten.
| Level | Per model, one value per date |
| Type | string (band) |
| Can be null | Yes |
| Category | model equity |
| Returned by | /v1/models |
Values
One of these, in order:
backtest live
Getting it
One model's history of it:
curl -G "https://api.tickerdb.com/v1/models/garp-core-10/history" \
--data-urlencode 'start=2025-01-01' \
--data-urlencode 'fields=["model_segment"]' \
-H "Authorization: Bearer YOUR_API_KEY"
Models matching it:
curl -G "https://api.tickerdb.com/v1/models" \
--data-urlencode 'filters=[{"field":"model_segment","op":"eq","value":"backtest"}]' \
-H "Authorization: Bearer YOUR_API_KEY"
Related fields
Every field, with its type and values, is also in /v1/schema/fields.