GET /api/v1/signals/history
Last verified
Auto-generated. This article is rebuilt from FastAPI route introspection by
scripts/build_api_kb.py. Edit the route docstring inapp/and re-run the script β do not edit this file directly.
GET /api/v1/signals/history
Handler: app.signals.routes.get_signal_history
Methods: GET
Description
Daily signal rows for charting + event-study analysis.
Two selection modes (D.3, API audit 2026-06-11):
- count mode (default): the most recent
daysrows. - range mode: pass
start_dateand/orend_date(YYYY-MM-DD). Range params SUPERSEDEdays; the response echoes the resolvedmodeso the consumer knows which path served it.
trading_days_only=true filters out weekend/holiday carry-forward rows
that otherwise poison event-study math (journal M3) β the endpoint stays
public and the default is unchanged.
Parameters
| In | Name | Type | Default | Description |
|---|---|---|---|---|
| query | days |
int |
30 |
|
| query | trading_days_only |
bool |
False |
When true, drop weekend/holiday carry-forward rows (NYSE calendar; early-close half-days are kept β they carry real bars). Default false = zero breaking change. |
| query | start_date |
Optional[str] |
Inclusive range start, YYYY-MM-DD (ET). Supersedes days when set. Pair with end_date for a window. |
|
| query | end_date |
Optional[str] |
Inclusive range end, YYYY-MM-DD (ET). Supersedes days when set. |
Curl
curl -s https://bigclawd.com/api/v1/signals/history