Signals guide
What each field means, and how a signal changes from day to day.
| Field | Meaning |
|---|---|
date |
The trading day the signal was generated, at that day's close. |
tidm, name, exchange |
The stock: ticker, company name, and XNYS or XNAS. |
signalType |
COTB, COTS, COTD2U or COTU2D. See Swing signals. |
currentTrend |
up or down, by Gann's swing rules. |
buyAt / sellAt |
The entry level. Only one is set: buyAt on buy signals, sellAt on sell signals. |
stopAt |
Where the signal is wrong. The distance from entry to stop is the risk per share (or per point). |
barType |
The day's swing bar: up, down, inside or outside. |
moveCount |
Which day of a continuation set-up this is: 0 on the first day, then 1, 2… while it isn't filled. |
repeatCount |
How many continuation set-ups the trend has had before this one. |
How a signal changes
A continuation signal is re-issued each day until price reaches the entry or the set-up ends, so the same stock can appear on several days running with moveCount counting up. A change of trend starts the counts again.
When the data is corrected
Signals are computed from end-of-day price data. When the data is corrected, recent signals can change or be withdrawn; history reflects the current data.
Signals are meant never to change once published, and when one does it means a price was wrong. If you act on a signal the evening it's published, check again the next morning: a correction, when there is one, is most likely to the previous day's signal. Corrections aren't yet reported in detail in the API: a corrected signal simply appears as it now is.
Reading an answer
Every list of signals has a meta object that says what the list is and how far to trust it as a statement of "what's published":
| Field | Meaning |
|---|---|
editionId, generatedAtUtc |
The published edition the answer came from, and when it was generated. |
tradingDatesByExchange |
The current and delayed dates for each exchange: XNYS and XNAS can differ. |
publicationStatus |
current, or late when the next edition is overdue: it's due by 09:00 New York time on the trading day after the one it covers. The data is still served; late says it isn't the newest there should be. publicationDueUtc is that deadline. |
delayed, delaySessions |
Whether your plan sees signals late, and by how many trading sessions (three on Free). This is separate from publicationStatus: a Free answer can be three sessions behind and late. |
notice |
What these signals are and aren't. Show it with them. |
glossary |
What the signal types, bar types and counters mean. |
returnedCount, totalCount, hasMore, cursor |
How many signals are in this answer, how many your plan can see that match, and whether there's another page. |
unmatched |
Tickers you asked for that have no signal in data, each with why. |
"No signals" is never one answer. A ticker you asked for that isn't in data is listed in meta.unmatched as one of: no_signal (we cover it, and nothing matching is published), unknown (we don't cover that ticker), ambiguous (it's on more than one exchange: add exchange) or outside_plan (we cover it, your plan doesn't; the message says which plans do and what they cost).
Paging
latest, active and instruments return every match unless you ask for pages with limit (1 to 500). The answer's meta.cursor goes back as cursor for the next page; it is null on the last page. A cursor belongs to the edition, the filters and the plan it was made for. If a new edition is published while you're paging, the next page is refused with 409 and the code EDITION_CHANGED: start the list again. history keeps its page and pageSize; use limit and cursor instead if you prefer, but not both.
Error codes
Errors are problem details with a stable code: PLAN_REQUIRED, INSTRUMENT_NOT_FOUND, AMBIGUOUS_INSTRUMENT, DATA_UNAVAILABLE, EDITION_CHANGED, RATE_LIMITED, INVALID_ARGUMENT and INVALID_CURSOR. The wording of title and detail may improve; the codes won't change.
What a signal isn't
A signal is a set-up, not a filled trade. It's the same for every subscriber, and it's information about what the method detected, not advice about your own circumstances.