Premarket API
4 endpoints in this group.
GET /api/portfolio/extended-valuation
Portfolio Extended Valuation
24x7 portfolio valuation: overlays extended-hours prices on latest snapshot.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
account_id | query | — | optional |
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
GET /api/trading-intel/afterhours/movers
Afterhours Movers
Top after-hours movers from curated universe.
P0: dropped leftover tenant_id Query param. Effective tenant is always derived from the authenticated session — caller cannot override.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | optional | |
min_pct | query | number | optional | |
source | query | string | optional |
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
GET /api/trading-intel/premarket/gap-map
Premarket Gap Map
User's current positions + pre-market quotes for gap visualization.
Additive data_status envelope on scan, gap-map, after-hours movers, and Friday movers: {status, as_of, reason?}. status is ok when redistributable market data is present (including a quiet tape below min_pct) and unavailable when it is not. Database errors return HTTP 200 with data_status.reason=query_failed rather than HTTP 5xx. Gap-map reports ok only when at least one live or snapshot quote was obtained for the positions.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
account_id | query | — | optional |
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
GET /api/trading-intel/premarket/scan
Premarket Scan
Top pre-market gappers from curated universe.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | optional | |
min_pct | query | number | optional | |
source | query | string | optional |
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |